Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1429952
| From | Paolo Bonzini <pbonzini@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] KVM: nVMX: VMX instructions: fix segment checks when L1 is in long mode. |
| Date | 2016-06-23 18:10 +0200 |
| Message-ID | <rNfmy-41u-33@gated-at.bofh.it> (permalink) |
| References | <rLkgG-1Ny-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 18/06/2016 11:01, Quentin Casasnovas wrote: > Cross-checking the KVM/VMX VMREAD emulation code with the Intel Software > Developper Manual Volume 3C - "VMREAD - Read Field from Virtual-Machine > Control Structure", I found that we're enforcing that the destination > operand is NOT located in a read-only data segment or any code segment when > the L1 is in long mode - BUT that check should only happen when it is in > protected mode. > > Shuffling the code a bit to make our emulation follow the specification > allows me to boot a Xen dom0 in a nested KVM and start HVM L2 guests > without problems. That's great, and I'm applying the patch, but it's also pretty weird. :) Do you have a pointer to Xen source code that does a VMREAD into a read-only data segment or a code segment? Thanks, Paolo
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] KVM: nVMX: VMX instructions: fix segment checks when L1 is in long mode. Quentin Casasnovas <quentin.casasnovas@oracle.com> - 2016-06-18 11:00 +0200
Re: [PATCH] KVM: nVMX: VMX instructions: fix segment checks when L1 is in long mode. Paolo Bonzini <pbonzini@redhat.com> - 2016-06-23 18:10 +0200
Re: [PATCH] KVM: nVMX: VMX instructions: fix segment checks when L1 is in long mode. Quentin Casasnovas <quentin.casasnovas@oracle.com> - 2016-06-24 15:10 +0200
Re: [PATCH] KVM: nVMX: VMX instructions: fix segment checks when L1 is in long mode. Paolo Bonzini <pbonzini@redhat.com> - 2016-06-24 15:20 +0200
Re: [PATCH] KVM: nVMX: VMX instructions: fix segment checks when L1 is in long mode. Quentin Casasnovas <quentin.casasnovas@oracle.com> - 2016-06-29 19:30 +0200
Re: [PATCH] KVM: nVMX: VMX instructions: fix segment checks when L1 is in long mode. Paolo Bonzini <pbonzini@redhat.com> - 2016-06-29 22:50 +0200
csiph-web