summaryrefslogtreecommitdiff
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-12-03 15:56:55 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2015-12-16 18:49:47 +0100
commit8a86aea920f1bb1cf7050e48112227a1c42cafe5 (patch)
treeba6acc993b63221e9bbeafb5c68d072dc6cbbd15 /include/linux/kvm_host.h
parent845c5b4054635f98eb6f1c783c0cc14b28772cb0 (diff)
downloadlwn-8a86aea920f1bb1cf7050e48112227a1c42cafe5.tar.gz
lwn-8a86aea920f1bb1cf7050e48112227a1c42cafe5.zip
KVM: vmx: detect mismatched size in VMCS read/write
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- I am sending this as RFC because the error messages it produces are very ugly. Because of inlining, the original line is lost. The alternative is to change vmcs_read/write/checkXX into macros, but then you need to have a single huge BUILD_BUG_ON or BUILD_BUG_ON_MSG because multiple BUILD_BUG_ON* with the same __LINE__ are not supported well.
Diffstat (limited to 'include/linux/kvm_host.h')
0 files changed, 0 insertions, 0 deletions