diff options
author | Cole Robinson <crobinso@redhat.com> | 2019-05-13 14:23:27 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2019-05-14 11:57:50 -0400 |
commit | b2b9d7d366e7d7adff5ce1aa9b2e31278017b195 (patch) | |
tree | ec317b604e18ebc8ff10673bf05b77059d603172 /virtManager/addhardware.py | |
parent | 1b3e8e1a3234d8df42ced2673f9e020e528d0332 (diff) | |
download | virt-manager-b2b9d7d366e7d7adff5ce1aa9b2e31278017b195.tar.gz |
devices: char: Add CharSource
Move all ./source handling into CharSource, which will be reused by
other device classes as well. This requires us to add ../ handling
into our xmlapi xpath engine
Diffstat (limited to 'virtManager/addhardware.py')
-rw-r--r-- | virtManager/addhardware.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/virtManager/addhardware.py b/virtManager/addhardware.py index 82332cc5..da51b3f1 100644 --- a/virtManager/addhardware.py +++ b/virtManager/addhardware.py @@ -1337,8 +1337,8 @@ class vmmAddHardware(vmmGObjectUI): dev = char_class(self.conn.get_backend()) dev.type = devtype - dev.source_path = source_path - dev.source_channel = source_channel + dev.source.path = source_path + dev.source.channel = source_channel dev.target_name = target_name dev.target_type = target_type return dev |