Re: [kvm-devel] [RFC][PATCH] ignore set_cr3 GP fault in non-pae mode

2007-09-23 Thread Avi Kivity
Ryan Harper wrote: > Playing around with running VMware-server within a KVM guest and noticed > that whenever we launch a VM within the guest, KVM reports a GP fault in > set_cr3. Removing the fault injection (raised for attempting to set > reserved bits) for the non-pae case allows memtest to boo

Re: [kvm-devel] [RFC][PATCH] ignore set_cr3 GP fault in non-pae mode

2007-09-19 Thread Ryan Harper
* Ryan Harper <[EMAIL PROTECTED]> [2007-09-19 09:56]: > * Avi Kivity <[EMAIL PROTECTED]> [2007-09-19 03:58]: > > Ryan Harper wrote: > > >> > > >>We have a test which verifies #GP is not caused by setting the bits on > > >>either AMD or Intel chips. "Stray" bits can get turned on in some cases > >

Re: [kvm-devel] [RFC][PATCH] ignore set_cr3 GP fault in non-pae mode

2007-09-19 Thread Avi Kivity
Zachary Amsden wrote: > BTW, VMware can run 64-bit guests on a 32-bit host, all it needs is > capable hardware, so unless you mask the 64-bit support in KVM, you > could have a strange situation where the 32-bit KVM starts (or tries to > start, expecting success) running 64-bit code. I can imagine

Re: [kvm-devel] [RFC][PATCH] ignore set_cr3 GP fault in non-pae mode

2007-09-19 Thread Zachary Amsden
On Wed, 2007-09-19 at 10:08 -0500, Anthony Liguori wrote: > Ryan Harper wrote: > > * Avi Kivity <[EMAIL PROTECTED]> [2007-09-19 03:58]: > > > >> Ryan Harper wrote: > >> > We have a test which verifies #GP is not caused by setting the bits on > either AMD or Intel chips. "Stray" b

Re: [kvm-devel] [RFC][PATCH] ignore set_cr3 GP fault in non-pae mode

2007-09-19 Thread Anthony Liguori
Ryan Harper wrote: > * Avi Kivity <[EMAIL PROTECTED]> [2007-09-19 03:58]: > >> Ryan Harper wrote: >> We have a test which verifies #GP is not caused by setting the bits on either AMD or Intel chips. "Stray" bits can get turned on in some cases when switching between 64-bit,

Re: [kvm-devel] [RFC][PATCH] ignore set_cr3 GP fault in non-pae mode

2007-09-19 Thread Ryan Harper
* Avi Kivity <[EMAIL PROTECTED]> [2007-09-19 03:58]: > Ryan Harper wrote: > >> > >>We have a test which verifies #GP is not caused by setting the bits on > >>either AMD or Intel chips. "Stray" bits can get turned on in some cases > >>when switching between 64-bit, PAE and non-PAE address modes. >

Re: [kvm-devel] [RFC][PATCH] ignore set_cr3 GP fault in non-pae mode

2007-09-19 Thread Avi Kivity
Ryan Harper wrote: >> >> We have a test which verifies #GP is not caused by setting the bits on >> either AMD or Intel chips. "Stray" bits can get turned on in some cases >> when switching between 64-bit, PAE and non-PAE address modes. >> >> Were you testing on a 64-bit host kernel? >> > > 64

Re: [kvm-devel] [RFC][PATCH] ignore set_cr3 GP fault in non-pae mode

2007-09-18 Thread Ryan Harper
* Zachary Amsden <[EMAIL PROTECTED]> [2007-09-18 16:59]: > On Tue, 2007-09-18 at 16:25 -0500, Ryan Harper wrote: > > * Nakajima, Jun <[EMAIL PROTECTED]> [2007-09-18 16:22]: > > > Anthony Liguori wrote: > > > > Ryan Harper wrote: > > > > > Playing around with running VMware-server within a KVM guest

Re: [kvm-devel] [RFC][PATCH] ignore set_cr3 GP fault in non-pae mode

2007-09-18 Thread Zachary Amsden
On Tue, 2007-09-18 at 16:25 -0500, Ryan Harper wrote: > * Nakajima, Jun <[EMAIL PROTECTED]> [2007-09-18 16:22]: > > Anthony Liguori wrote: > > > Ryan Harper wrote: > > > > Playing around with running VMware-server within a KVM guest and > > noticed > > > > that whenever we launch a VM within the gu

Re: [kvm-devel] [RFC][PATCH] ignore set_cr3 GP fault in non-pae mode

2007-09-18 Thread Nakajima, Jun
Ryan Harper wrote: > * Nakajima, Jun <[EMAIL PROTECTED]> [2007-09-18 16:22]: > > Anthony Liguori wrote: > > > Ryan Harper wrote: > > > > Playing around with running VMware-server within a KVM guest and noticed > > > > that whenever we launch a VM within the guest, KVM reports a GP fault in > > > >

Re: [kvm-devel] [RFC][PATCH] ignore set_cr3 GP fault in non-pae mode

2007-09-18 Thread Ryan Harper
* Nakajima, Jun <[EMAIL PROTECTED]> [2007-09-18 16:22]: > Anthony Liguori wrote: > > Ryan Harper wrote: > > > Playing around with running VMware-server within a KVM guest and > noticed > > > that whenever we launch a VM within the guest, KVM reports a GP > fault in > > > set_cr3. Removing the faul

Re: [kvm-devel] [RFC][PATCH] ignore set_cr3 GP fault in non-pae mode

2007-09-18 Thread Nakajima, Jun
Anthony Liguori wrote: > Ryan Harper wrote: > > Playing around with running VMware-server within a KVM guest and noticed > > that whenever we launch a VM within the guest, KVM reports a GP fault in > > set_cr3. Removing the fault injection (raised for attempting to set > > reserved bits) for the n

Re: [kvm-devel] [RFC][PATCH] ignore set_cr3 GP fault in non-pae mode

2007-09-18 Thread Anthony Liguori
Ryan Harper wrote: > Playing around with running VMware-server within a KVM guest and noticed > that whenever we launch a VM within the guest, KVM reports a GP fault in > set_cr3. Removing the fault injection (raised for attempting to set > reserved bits) for the non-pae case allows memtest to boo

[kvm-devel] [RFC][PATCH] ignore set_cr3 GP fault in non-pae mode

2007-09-18 Thread Ryan Harper
Playing around with running VMware-server within a KVM guest and noticed that whenever we launch a VM within the guest, KVM reports a GP fault in set_cr3. Removing the fault injection (raised for attempting to set reserved bits) for the non-pae case allows memtest to boot and run within VMWare Se