tools/libxc: disable x2APIC when using nested virtualization
authorRoger Pau Monne <roger.pau@citrix.com>
Fri, 3 Jan 2020 17:29:35 +0000 (18:29 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 3 Jan 2020 18:37:25 +0000 (18:37 +0000)
commit7b3c5b70a32303b46d0d051e695f18d72cce5ed0
tree287d8bbb1bbe6c962c4cd836c691b8cf69cf81a0
parente726a82ca0dce1e00a181f478a21f0045cde0e06
tools/libxc: disable x2APIC when using nested virtualization

There are issues as reported by osstest when Xen is running nested on
itself and the L1 Xen is using x2APIC. While those are being
investigated, disable announcing the x2APIC feature in CPUID when nested
HVM mode is enabled.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
tools/libxc/xc_cpuid_x86.c