mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-10-27 01:55:20 +03:00
filesystem: Fix target validation when editing device (bz 1089422)
This commit is contained in:
parent
b20462d861
commit
e6a67fc709
@ -100,7 +100,8 @@ class VirtualFilesystem(VirtualDevice):
|
||||
# actually a directory, it is merely a arbitrary string tag
|
||||
# that is exported to the guest as a hint for where to mount
|
||||
if (self.conn.is_qemu() and
|
||||
(self.type == self.TYPE_DEFAULT or
|
||||
(self.type is None or
|
||||
self.type == self.TYPE_DEFAULT or
|
||||
self.type == self.TYPE_MOUNT)):
|
||||
pass
|
||||
elif not os.path.isabs(val):
|
||||
|
Loading…
Reference in New Issue
Block a user