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)
commit86dafed50e2b9b18198cc663775ece819ff113ba
tree07fad87e84b7329e56d90948e15c4b2743310234
parentca359066889f753ca6d54bb333b783e7a784c0d1
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