summaryrefslogtreecommitdiff
path: root/virtinst/domain
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2022-01-11 11:21:39 -0600
committerCole Robinson <crobinso@redhat.com>2022-01-11 18:26:06 -0500
commit9766beea0432faad7cded9e0285d05851659020e (patch)
treeac0ee814b8396024fd857b4877ef5737e95649e0 /virtinst/domain
parentcdd7061f8e0dc2885b48fbe1f085f028c42fd75c (diff)
downloadvirt-manager-9766beea0432faad7cded9e0285d05851659020e.tar.gz
cli: add 'ioapic.driver' to --features
Add the ability to set the ioapic driver using the --features argument: $ virt-install --features ioapic.driver=qemu ... This results in the following xml: <features> ... <ioapic driver="qemu"/> </features> This is required in order to install a guest with >255 cpus. Such a configuration requires an iommu with extended interrupt mode enabled, which in turn requires IOMMU interrupt remapping to be enabled, which in turn requires a split I/O APIC. Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Diffstat (limited to 'virtinst/domain')
-rw-r--r--virtinst/domain/features.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/virtinst/domain/features.py b/virtinst/domain/features.py
index 29e7d965..87de4358 100644
--- a/virtinst/domain/features.py
+++ b/virtinst/domain/features.py
@@ -42,6 +42,7 @@ class DomainFeatures(XMLBuilder):
smm = XMLProperty("./smm/@state", is_onoff=True)
vmcoreinfo = XMLProperty("./vmcoreinfo/@state", is_onoff=True)
+ ioapic_driver = XMLProperty("./ioapic/@driver")
##################