]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Switch 'requests' to be 64-bit (explicitly)
authorKarimAllah Ahmed <karahmed@amazon.de>
Tue, 10 Jul 2018 09:27:19 +0000 (11:27 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Aug 2018 15:31:59 +0000 (17:31 +0200)
commit3b3c1d36e605ae4ad1fc200bd20f22c63c475608
tree07fad87e84b7329e56d90948e15c4b2743310234
parent6fdfdd16ab14493ffe96d90d39303f8a713ff8ed
KVM: Switch 'requests' to be 64-bit (explicitly)

Switch 'requests' to be explicitly 64-bit and update BUILD_BUG_ON check to
use the size of "requests" instead of the hard-coded '32'.

That gives us a bit more room again for arch-specific requests as we
already ran out of space for x86 due to the hard-coded check.

The only exception here is ARM32 as it is still 32-bits.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim KrÄmář <rkrcmar@redhat.com>
Cc: kvm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: KarimAllah Ahmed <karahmed@amazon.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/linux/kvm_host.h