summaryrefslogtreecommitdiff
path: root/virt-xml
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2019-06-14 12:38:51 -0400
committerCole Robinson <crobinso@redhat.com>2019-06-14 12:38:51 -0400
commitf6b87bd6d6e047a67b07dcd3f46e20cc6ca44c55 (patch)
tree46d8d92e583c99a18e12fa4d1b79112e63aff622 /virt-xml
parentbd7d213cf8cfd68b58759146eee16a5e0b1c17e2 (diff)
downloadvirt-manager-f6b87bd6d6e047a67b07dcd3f46e20cc6ca44c55.tar.gz
virt-xml: Remove virt_xml_setup hack
Not sure why this was originally required, but I can't think how to even trigger this occasion nowadays
Diffstat (limited to 'virt-xml')
-rwxr-xr-xvirt-xml4
1 files changed, 0 insertions, 4 deletions
diff --git a/virt-xml b/virt-xml
index 3a8cc587..432da74c 100755
--- a/virt-xml
+++ b/virt-xml
@@ -241,13 +241,9 @@ def action_build_xml(conn, options, parserclass):
def setup_device(dev):
if getattr(dev, "DEVICE_TYPE", None) != "disk":
return
- if getattr(dev, "virt_xml_setup", None) is True:
- return
logging.debug("Doing setup for disk=%s", dev)
-
dev.build_storage(cli.get_meter())
- dev.virt_xml_setup = True
def define_changes(conn, inactive_xmlobj, devs, action, confirm):