Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1640203
| From | Xiao Guangrong <guangrong.xiao@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] KVM: nVMX: fix EPT permissions as reported in exit qualification |
| Date | 2017-05-12 07:20 +0200 |
| Message-ID | <tGb9D-87M-3@gated-at.bofh.it> (permalink) |
| References | <tFUs9-5GE-3@gated-at.bofh.it> <tFUs9-5GE-1@gated-at.bofh.it> <tGa3T-7oh-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 05/12/2017 11:59 AM, Xiao Guangrong wrote:
error:
>> @@ -452,7 +459,7 @@ static int FNAME(walk_addr_generic)(struct guest_walker *walker,
>> */
>> if (!(errcode & PFERR_RSVD_MASK)) {
>> vcpu->arch.exit_qualification &= 0x187;
>> - vcpu->arch.exit_qualification |= ((pt_access & pte) & 0x7) << 3;
> ^ here, the original code
> is buggy as pt_access and pte have different bit order, fortunately, this patch fixes it
> too. :)
>
It's exactly what this patch aims at, do not know what i was thinking when
wrote these down. :(
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/2] KVM: nVMX: fix EPT permissions as reported in exit qualification Paolo Bonzini <pbonzini@redhat.com> - 2017-05-11 13:30 +0200
Re: [PATCH 1/2] KVM: nVMX: fix EPT permissions as reported in exit qualification Xiao Guangrong <guangrong.xiao@gmail.com> - 2017-05-12 06:10 +0200
Re: [PATCH 1/2] KVM: nVMX: fix EPT permissions as reported in exit qualification Xiao Guangrong <guangrong.xiao@gmail.com> - 2017-05-12 07:20 +0200
csiph-web