Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1528339
| From | Paolo Bonzini <pbonzini@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/4] KVM: nVMX: fix checks on CR{0,4} during virtual VMX operation |
| Date | 2016-11-23 12:40 +0100 |
| Message-ID | <sGE4a-4fv-31@gated-at.bofh.it> (permalink) |
| References | <sGuo9-6vC-5@gated-at.bofh.it> <sGuo9-6vC-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 23/11/2016 02:14, David Matlack wrote:
> +static bool fixed_bits_valid(u64 val, u64 fixed0, u64 fixed1)
> +{
> + return ((val & fixed0) == fixed0) && ((~val & ~fixed1) == ~fixed1);
> +}
> +
This is the same as vmx_control_verify (except with u64 arguments
instead of u32).
Paolo
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/4] VMX Capability MSRs David Matlack <dmatlack@google.com> - 2016-11-23 02:20 +0100
[PATCH 1/4] KVM: nVMX: support restore of VMX capability MSRs David Matlack <dmatlack@google.com> - 2016-11-23 02:20 +0100
Re: [PATCH 1/4] KVM: nVMX: support restore of VMX capability MSRs Paolo Bonzini <pbonzini@redhat.com> - 2016-11-23 12:50 +0100
[PATCH 2/4] KVM: nVMX: fix checks on CR{0,4} during virtual VMX operation David Matlack <dmatlack@google.com> - 2016-11-23 02:20 +0100
Re: [PATCH 2/4] KVM: nVMX: fix checks on CR{0,4} during virtual VMX operation Paolo Bonzini <pbonzini@redhat.com> - 2016-11-23 12:40 +0100
[PATCH 4/4] KVM: nVMX: load GUEST_EFER after GUEST_CR0 during emulated VM-entry David Matlack <dmatlack@google.com> - 2016-11-23 02:30 +0100
Re: [PATCH 0/4] VMX Capability MSRs Paolo Bonzini <pbonzini@redhat.com> - 2016-11-23 12:50 +0100
csiph-web