Skip to content
Snippets Groups Projects
user avatar
Paolo Bonzini authored
The offset for reading the shadow VMCS is sizeof(*kvm_state)+VMCS12_SIZE,
so the correct size must be that plus sizeof(*vmcs12).  This could lead
to KVM reading garbage data from userspace and not reporting an error,
but is otherwise not sensitive.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
db80927e
History
Name Last commit Last update