Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1448653

Re: [PATCH 4/4] nvmx: check for shadow vmcs check on entry

From Bandan Das <bsd@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 4/4] nvmx: check for shadow vmcs check on entry
Date 2016-07-22 18:00 +0200
Message-ID <rXL1M-7Ib-17@gated-at.bofh.it> (permalink)
References <rX8a6-7mz-9@gated-at.bofh.it> <rX8a6-7mz-15@gated-at.bofh.it> <rXij7-5uu-1@gated-at.bofh.it> <rXrPr-3ny-5@gated-at.bofh.it> <rXEjE-3pq-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Paolo Bonzini <pbonzini@redhat.com> writes:

>> Paolo Bonzini <pbonzini@redhat.com> writes:
>> 
>> > On 21/07/2016 00:25, Bandan Das wrote:
>> >> vmentry should check whether the vmcs provided by
>> >> the guest hypervisor is a shadow vmcs and fail.
>> >
>> > How can this happen, since vmptrld checks the revision_id as you said
>> > below?
>> 
>> This is more of a change that adheres to the spec
>> (26.1 Basic VM-Entry Checks); the failure path
>> is slightly different compared to vmptrld though.
>> It's small and harmless but I am ok if you prefer dropping it.
>
> Do you mean that this could happen if the VMCS is modified by L1
> after VMPTRLD?  That makes sense, but with David Matlack's change

Yeah that's the only way I can see it happen. If there's a separate path
that takes care of this, should I drop this one ?

> to cache the VMCS it wouldn't be possible to trigger it anymore.
>
> Paolo
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 4/4] nvmx: check for shadow vmcs check on entry Bandan Das <bsd@redhat.com> - 2016-07-21 00:30 +0200
  Re: [PATCH 4/4] nvmx: check for shadow vmcs check on entry Paolo Bonzini <pbonzini@redhat.com> - 2016-07-21 11:20 +0200
    Re: [PATCH 4/4] nvmx: check for shadow vmcs check on entry Bandan Das <bsd@redhat.com> - 2016-07-21 21:30 +0200
      Re: [PATCH 4/4] nvmx: check for shadow vmcs check on entry Paolo Bonzini <pbonzini@redhat.com> - 2016-07-22 10:50 +0200
        Re: [PATCH 4/4] nvmx: check for shadow vmcs check on entry Bandan Das <bsd@redhat.com> - 2016-07-22 18:00 +0200

csiph-web