aboutsummaryrefslogtreecommitdiffstats
path: root/lib/assoc_array.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2016-03-29 09:23:25 +0000
committerPaolo Bonzini <[email protected]>2016-04-01 10:10:09 +0000
commita2b5c3c0c8eea2d5d0eefcfc0fc0bdf386daa260 (patch)
treebec7cf046706e3d2c8ecfaa6bb232f7ef232861a /lib/assoc_array.c
parentKVM: x86: Inject pending interrupt even if pending nmi exist (diff)
downloadkernel-a2b5c3c0c8eea2d5d0eefcfc0fc0bdf386daa260.tar.gz
kernel-a2b5c3c0c8eea2d5d0eefcfc0fc0bdf386daa260.zip
KVM: Hyper-V: do not do hypercall userspace exits if SynIC is disabled
If SynIC is disabled, there is nothing that userspace can do to handle these exits; on the other hand, userspace probably will not know about KVM_EXIT_HYPERV_HCALL and complain about it or even exit. Just prevent anything bad from happening by handling the hypercall in KVM and returning an "invalid hypercall" code. Fixes: 83326e43f27e9a8a501427a0060f8af519a39bb2 Cc: Andrey Smetanin <[email protected]> Reviewed-by: Roman Kagan <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions