Re: [Qemu-devel] Possible bug in target-i386/helper.c:do_cpu_init()?

2015-10-01 Thread Bill Paul
Ping? > Consider the following circumstances: > > - An x86-64 multicore system is running with all cores set for long mode > (EFER.LME and EFER.LMA set) > - The OS decides to re-launch one of the AP CPUs using an INIT IPI > > According to the Intel architecture manual, an INIT IPI should

Re: [Qemu-devel] Possible bug in target-i386/helper.c:do_cpu_init()?

2015-10-01 Thread Paolo Bonzini
On 25/09/2015 01:26, Bill Paul wrote: > The result of this is that if the CPU was in long mode and you do an INIT > IPI, > the CPU still has the EFER.LMA and EFER.LME bits set, even though it's not > actually running in long mode anymore. It doesn't seem possible for the guest > to get the

[Qemu-devel] Possible bug in target-i386/helper.c:do_cpu_init()?

2015-09-24 Thread Bill Paul
Consider the following circumstances: - An x86-64 multicore system is running with all cores set for long mode (EFER.LME and EFER.LMA set) - The OS decides to re-launch one of the AP CPUs using an INIT IPI According to the Intel architecture manual, an INIT IPI should reset the CPU state