Re: [SeaBIOS] A20: ahci_process_op is called with A20 off

2017-05-12 Thread Xu, Anthony
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Friday, May 12, 2017 9:29 AM > To: Kevin O'Connor ; Xu, Anthony > > Cc: seabios@seabios.org; kra...@redhat.com; stefa...@gmail.com; Zhong, > Yang > Subject: Re: [SeaBIOS] A20: a

Re: [SeaBIOS] A20: ahci_process_op is called with A20 off

2017-05-12 Thread Kevin O'Connor
On Fri, May 12, 2017 at 06:29:19PM +0200, Paolo Bonzini wrote: > On 12/05/2017 18:26, Kevin O'Connor wrote: > > On Thu, May 11, 2017 at 11:22:02PM +, Xu, Anthony wrote: > >>> SeaBIOS has a couple of different methods to accomplish this mode > >>> switching - it can directly switch modes (C16_BI

Re: [SeaBIOS] A20: ahci_process_op is called with A20 off

2017-05-12 Thread Paolo Bonzini
On 12/05/2017 18:26, Kevin O'Connor wrote: > On Thu, May 11, 2017 at 11:22:02PM +, Xu, Anthony wrote: >>> SeaBIOS has a couple of different methods to accomplish this mode >>> switching - it can directly switch modes (C16_BIG switch) or it can >>> use a helper in SMM mode to perform the switc

Re: [SeaBIOS] A20: ahci_process_op is called with A20 off

2017-05-12 Thread Kevin O'Connor
On Thu, May 11, 2017 at 11:22:02PM +, Xu, Anthony wrote: > > SeaBIOS has a couple of different methods to accomplish this mode > > switching - it can directly switch modes (C16_BIG switch) or it can > > use a helper in SMM mode to perform the switch (C16_SMM). The > > preferred method is C16_S

Re: [SeaBIOS] A20: ahci_process_op is called with A20 off

2017-05-12 Thread Paolo Bonzini
On 12/05/2017 01:22, Xu, Anthony wrote: >> SeaBIOS has a couple of different methods to accomplish this mode >> switching - it can directly switch modes (C16_BIG switch) or it can >> use a helper in SMM mode to perform the switch (C16_SMM). The >> preferred method is C16_SMM as C16_BIG isn't ava

Re: [SeaBIOS] A20: ahci_process_op is called with A20 off

2017-05-11 Thread Xu, Anthony
> SeaBIOS has a couple of different methods to accomplish this mode > switching - it can directly switch modes (C16_BIG switch) or it can > use a helper in SMM mode to perform the switch (C16_SMM). The > preferred method is C16_SMM as C16_BIG isn't available in VM86 mode > and it also clobbers the

Re: [SeaBIOS] A20: ahci_process_op is called with A20 off

2017-05-11 Thread Kevin O'Connor
On Wed, May 10, 2017 at 07:28:44PM +, Xu, Anthony wrote: > > From: Kevin O'Connor [mailto:ke...@koconnor.net] > > On Tue, May 09, 2017 at 08:39:07PM +, Xu, Anthony wrote: > > > I dig into seebios code, and found ahci_process_op is called with A20 off, > > > > > > The call trace is, > > > pr

Re: [SeaBIOS] A20: ahci_process_op is called with A20 off

2017-05-11 Thread Kevin O'Connor
On Tue, May 09, 2017 at 08:39:07PM +, Xu, Anthony wrote: > Hi All, > > I recently met an issue, I can't boot my centos guest in below scenarios. > > I disabled kvmvapic by > > diff --git a/hw/intc/apic_common.c b/hw/intc/apic_common.c > index c3829e3..52be2b0 100644 > --- a/hw/intc/apic_comm

Re: [SeaBIOS] A20: ahci_process_op is called with A20 off

2017-05-11 Thread Paolo Bonzini
On 10/05/2017 21:21, Kevin O'Connor wrote: > On Tue, May 09, 2017 at 08:39:07PM +, Xu, Anthony wrote: >> Hi All, >> >> I recently met an issue, I can't boot my centos guest in below scenarios. >> >> I disabled kvmvapic by >> >> diff --git a/hw/intc/apic_common.c b/hw/intc/apic_common.c >> ind

[SeaBIOS] A20: ahci_process_op is called with A20 off

2017-05-10 Thread Xu, Anthony
Hi All, I recently met an issue, I can't boot my centos guest in below scenarios. I disabled kvmvapic by diff --git a/hw/intc/apic_common.c b/hw/intc/apic_common.c index c3829e3..52be2b0 100644 --- a/hw/intc/apic_common.c +++ b/hw/intc/apic_common.c @@ -440,7 +440,7 @@ static const VMStateDescri