Re: [Qemu-devel] [PATCH] hax: Properly handle IA32_APIC_BASE MSR

2018-03-20 Thread Qin, Chao
On 3/20/2018 3:12 PM, Igor Mammedov wrote: On Tue, 20 Mar 2018 13:29:24 +0800 "Qin, Chao" > wrote: > >> On 3/20/2018 12:05 AM, Igor Mammedov wrote: >>> On Mon, 19 Mar 2018 17:04:49 +0800 chao@linux.intel.com >>> wrote: > >> From: Qin Chao > / something horribly wrong with mail client u

Re: [Qemu-devel] [PATCH] hax: Properly handle IA32_APIC_BASE MSR

2018-03-20 Thread Igor Mammedov
On Tue, 20 Mar 2018 13:29:24 +0800 "Qin, Chao" wrote: > On 3/20/2018 12:05 AM, Igor Mammedov wrote: > > On Mon, 19 Mar 2018 17:04:49 +0800 chao@linux.intel.com wrote: > >> > > From: Qin Chao / something horribly wrong with mail client used for reply / >> @@ > -933,6 +944,9 @@ static int

Re: [Qemu-devel] [PATCH] hax: Properly handle IA32_APIC_BASE MSR

2018-03-19 Thread Qin, Chao
On 3/20/2018 12:05 AM, Igor Mammedov wrote: On Mon, 19 Mar 2018 17:04:49 +0800 chao@linux.intel.com wrote: > >> From: Qin Chao >> >> Emulation of IA32_APIC_BASE MSR in HAXM is not correct, such as >> bit 8, which is BSP flag and should be set to 1 for the bootstrap >> processor and set

Re: [Qemu-devel] [PATCH] hax: Properly handle IA32_APIC_BASE MSR

2018-03-19 Thread Igor Mammedov
On Mon, 19 Mar 2018 17:04:49 +0800 chao@linux.intel.com wrote: > From: Qin Chao > > Emulation of IA32_APIC_BASE MSR in HAXM is not correct, such as bit > 8, which is BSP flag and should be set to 1 for the bootstrap > processor and set to 0 for the application processors, but it's set > to 0

Re: [Qemu-devel] [PATCH] hax: Properly handle IA32_APIC_BASE MSR

2018-03-19 Thread Paolo Bonzini
On 19/03/2018 10:04, chao@linux.intel.com wrote: > From: Qin Chao > > Emulation of IA32_APIC_BASE MSR in HAXM is not correct, such as bit > 8, which is BSP flag and should be set to 1 for the bootstrap > processor and set to 0 for the application processors, but it's set > to 0 for all proces

[Qemu-devel] [PATCH] hax: Properly handle IA32_APIC_BASE MSR

2018-03-19 Thread chao . qin
From: Qin Chao Emulation of IA32_APIC_BASE MSR in HAXM is not correct, such as bit 8, which is BSP flag and should be set to 1 for the bootstrap processor and set to 0 for the application processors, but it's set to 0 for all processors in HAXM. So guest OSes that expect a valid BSP flag, such as