VMX: Report the correct flags in IA32_APICBASE MSR emulation
authorGan Shun Lim <ganshun@gmail.com>
Thu, 22 Dec 2016 02:24:49 +0000 (10:24 +0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 17 Jan 2017 19:16:49 +0000 (14:16 -0500)
commite842d892fe308250ae7f3b794c94cb7a1f78c130
tree3ef237540beb9b94ab39cee786a08cfe21daed7f
parentdc51020ec7e7b764da2515dd6491a9b1eb838c53
VMX: Report the correct flags in IA32_APICBASE MSR emulation

This commit reports to the guest that the apics are already in x2apic
mode, and reports the bsp flag only for guest pcore 0.

Change-Id: If04a424cc7a9668e966536e5369aefb1679321e5
Signed-off-by: Gan Shun Lim <ganshun@gmail.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/x86/vmm/vmm.c