diff options
| author | Paolo Bonzini <[email protected]> | 2021-07-27 12:43:10 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-07-27 20:59:01 +0000 |
| commit | 8750f9bbda115f3f79bfe43be85551ee5e12b6ff (patch) | |
| tree | a61e5aaa7d209014be8a5f08a24712b2e7ce9e06 /drivers/usb/cdns3/cdns3-ep0.c | |
| parent | KVM: use cpu_relax when halt polling (diff) | |
| download | kernel-8750f9bbda115f3f79bfe43be85551ee5e12b6ff.tar.gz kernel-8750f9bbda115f3f79bfe43be85551ee5e12b6ff.zip | |
KVM: add missing compat KVM_CLEAR_DIRTY_LOG
The arguments to the KVM_CLEAR_DIRTY_LOG ioctl include a pointer,
therefore it needs a compat ioctl implementation. Otherwise,
32-bit userspace fails to invoke it on 64-bit kernels; for x86
it might work fine by chance if the padding is zero, but not
on big-endian architectures.
Reported-by: Thomas Sattler
Cc: [email protected]
Fixes: 2a31b9db1535 ("kvm: introduce manual dirty log reprotect")
Reviewed-by: Peter Xu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ep0.c')
0 files changed, 0 insertions, 0 deletions
