mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
domain: Fix filesystem device editing
This commit is contained in:
parent
a91137dbdd
commit
f8744a34da
@ -980,9 +980,9 @@ class vmmDomain(vmmLibvirtObject):
|
||||
editdev.target = newdev.target
|
||||
|
||||
if do_hotplug:
|
||||
self._redefine_xmlobj(xmlobj)
|
||||
else:
|
||||
self.hotplug(device=editdev)
|
||||
else:
|
||||
self._redefine_xmlobj(xmlobj)
|
||||
|
||||
|
||||
def define_hostdev(self, devobj, do_hotplug, rom_bar=_SENTINEL):
|
||||
|
Loading…
Reference in New Issue
Block a user