summaryrefslogtreecommitdiff
path: root/virtinst/guest.py
diff options
context:
space:
mode:
Diffstat (limited to 'virtinst/guest.py')
-rw-r--r--virtinst/guest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/virtinst/guest.py b/virtinst/guest.py
index 5479d4e9..6a60583e 100644
--- a/virtinst/guest.py
+++ b/virtinst/guest.py
@@ -145,7 +145,7 @@ class Guest(XMLBuilder):
XML_NAME = "domain"
_XML_PROP_ORDER = [
"type", "name", "uuid", "genid", "genid_enable",
- "title", "description", "_metadata",
+ "title", "description", "_metadata", "iothreads",
"maxMemory", "maxMemorySlots", "memory", "_currentMemory",
"blkiotune", "memtune", "memoryBacking",
"_vcpus", "vcpu_current", "vcpu_placement",
@@ -179,6 +179,8 @@ class Guest(XMLBuilder):
name = XMLProperty("./name")
+ iothreads = XMLProperty("./iothreads", is_int=True)
+
def _set_currentMemory(self, val):
if val is not None:
val = int(val)