Skip to content

Commit a833404

Browse files
committed
libvirt_xml: add acpi and apic features to VMFeaturesXML
Signed-off-by: Dan Zheng <dzheng@redhat.com>
1 parent e66fdb3 commit a833404

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

virttest/libvirt_xml/vm_xml.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3844,6 +3844,8 @@ class VMFeaturesXML(base.LibvirtXMLBase):
38443844
"pmu",
38453845
"kvm_poll_control",
38463846
"ioapic",
3847+
"acpi",
3848+
"apic",
38473849
"kvm_dirty_ring_state",
38483850
"kvm_dirty_ring_size",
38493851
"ras",
@@ -3926,6 +3928,16 @@ def __init__(self, virsh_instance=base.virsh):
39263928
accessors.XMLElementDict(
39273929
property_name="ioapic", libvirtxml=self, parent_xpath="/", tag_name="ioapic"
39283930
)
3931+
accessors.XMLElementBool(
3932+
property_name="acpi",
3933+
libvirtxml=self,
3934+
parent_xpath="/",
3935+
tag_name="acpi")
3936+
accessors.XMLElementBool(
3937+
property_name="apic",
3938+
libvirtxml=self,
3939+
parent_xpath="/",
3940+
tag_name="apic")
39293941
accessors.XMLAttribute(
39303942
property_name="kvm_dirty_ring_state",
39313943
libvirtxml=self,

0 commit comments

Comments
 (0)