diff options
author | Bandan Das <bsd@redhat.com> | 2014-04-21 23:20:14 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-04-28 13:14:51 +0400 |
commit | fe2b201b3be91575857227da7ef21f661bc460b1 (patch) | |
tree | dd1d04f0273b4cdc23d3882395e31e0d2ed4c4c2 /net/netfilter/nf_conntrack_netlink.c | |
parent | e8e249d78e0600cb892c87992b6c8c9ea3b301ae (diff) | |
download | linux-fe2b201b3be91575857227da7ef21f661bc460b1.tar.xz |
KVM: x86: Check for host supported fields in shadow vmcs
We track shadow vmcs fields through two static lists,
one for read only and another for r/w fields. However, with
addition of new vmcs fields, not all fields may be supported on
all hosts. If so, copy_vmcs12_to_shadow() trying to vmwrite on
unsupported hosts will result in a vmwrite error. For example, commit
36be0b9deb23161 introduced GUEST_BNDCFGS, which is not supported
by all processors. Filter out host unsupported fields before
letting guests use shadow vmcs
Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net/netfilter/nf_conntrack_netlink.c')
0 files changed, 0 insertions, 0 deletions