Re: [Qemu-devel] [PATCH] Correctly re-init EFER state during INIT IPI

2015-10-02 Thread Eduardo Habkost
On Wed, Sep 30, 2015 at 03:33:29PM -0700, Bill Paul wrote: > When doing a re-initialization of a CPU core, the default state is to _not_ > have 64-bit long mode enabled. This means the LME (long mode enable) and LMA > (long mode active) bits in the EFER model-specific register should be cleared. >

[Qemu-devel] [PATCH] Correctly re-init EFER state during INIT IPI

2015-10-01 Thread Bill Paul
When doing a re-initialization of a CPU core, the default state is to _not_ have 64-bit long mode enabled. This means the LME (long mode enable) and LMA (long mode active) bits in the EFER model-specific register should be cleared. However, the EFER state is part of the CPU environment which is

Re: [Qemu-devel] [PATCH] Correctly re-init EFER state during INIT IPI

2015-10-01 Thread Paolo Bonzini
On 01/10/2015 00:33, Bill Paul wrote: > When doing a re-initialization of a CPU core, the default state is to _not_ > have 64-bit long mode enabled. This means the LME (long mode enable) and LMA > (long mode active) bits in the EFER model-specific register should be cleared. > > However, the