Messages in this thread | | | Date | Tue, 27 Jul 2021 11:46:12 -0400 | From | Peter Xu <> | Subject | Re: [PATCH] KVM: add missing compat KVM_CLEAR_DIRTY_LOG |
| |
On Tue, Jul 27, 2021 at 08:49:01AM -0400, Paolo Bonzini wrote: > 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: stable@vger.kernel.org > Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
-- Peter Xu
| |