aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kletzander <mkletzan@redhat.com>2012-09-13 15:27:07 +0200
committerMartin Kletzander <mkletzan@redhat.com>2012-09-14 08:32:56 +0200
commitfbf9aa12c7e5ade035f208584b3a55401bc097a3 (patch)
tree146cab572a987b5a2b39ee44d0e9d54b3c72aaf5 /tests/qemuxml2argvdata/qemuxml2argv-cpu-eoi-disabled.xml
parentAdd support for EOI with APIC (diff)
downloadlibvirt-fbf9aa12c7e5ade035f208584b3a55401bc097a3.tar.gz
libvirt-fbf9aa12c7e5ade035f208584b3a55401bc097a3.tar.bz2
libvirt-fbf9aa12c7e5ade035f208584b3a55401bc097a3.zip
qemu: Add support for EOI with APIC
This patch adds full support for EOI setting for domains. Because this is CPU feature (flag), the model needs to be added even when it's not specified. Fortunately this problem was already solved with kvmclock, so this patch simply abuses that. And due to the size of the patch (17 lines) I dared to include the tests.
Diffstat (limited to 'tests/qemuxml2argvdata/qemuxml2argv-cpu-eoi-disabled.xml')
-rw-r--r--tests/qemuxml2argvdata/qemuxml2argv-cpu-eoi-disabled.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-cpu-eoi-disabled.xml b/tests/qemuxml2argvdata/qemuxml2argv-cpu-eoi-disabled.xml
new file mode 100644
index 000000000..467df3041
--- /dev/null
+++ b/tests/qemuxml2argvdata/qemuxml2argv-cpu-eoi-disabled.xml
@@ -0,0 +1,28 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>6</vcpu>
+ <os>
+ <type arch='i686' machine='pc'>hvm</type>
+ <boot dev='network'/>
+ </os>
+ <features>
+ <acpi/>
+ <apic eoi='off'/>
+ <pae/>
+ </features>
+ <cpu mode='custom' match='exact'>
+ <model fallback='allow'>qemu32</model>
+ </cpu>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/./qemu.sh</emulator>
+ <controller type='usb' index='0'/>
+ <memballoon model='virtio'/>
+ </devices>
+</domain>