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.
This commit is contained in:
Martin Kletzander
2012-09-13 15:27:07 +02:00
parent 4a8b7cba80
commit fbf9aa12c7
11 changed files with 150 additions and 0 deletions

View File

@@ -138,6 +138,12 @@ mymain(void)
DO_TEST("cpu-kvmclock");
DO_TEST("cpu-host-kvmclock");
DO_TEST("kvmclock");
DO_TEST("cpu-eoi-disabled");
DO_TEST("cpu-eoi-enabled");
DO_TEST("eoi-disabled");
DO_TEST("eoi-enabled");
DO_TEST("hugepages");
DO_TEST("disk-aio");
DO_TEST("disk-cdrom");