]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Add support for EOI with APIC
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 13 Sep 2012 13:27:07 +0000 (15:27 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 14 Sep 2012 06:32:56 +0000 (08:32 +0200)
commitfbf9aa12c7e5ade035f208584b3a55401bc097a3
tree146cab572a987b5a2b39ee44d0e9d54b3c72aaf5
parent4a8b7cba80cf64dac63da3faad1b06304413e766
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.
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-cpu-eoi-disabled.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-cpu-eoi-disabled.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-cpu-eoi-enabled.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-cpu-eoi-enabled.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-eoi-disabled.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-eoi-disabled.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-eoi-enabled.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-eoi-enabled.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c