KVM: x86: Warn if guest virtual address space is not 48-bits
authorNadav Amit <namit@cs.technion.ac.il>
Tue, 16 Sep 2014 12:10:03 +0000 (15:10 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 24 Sep 2014 12:07:48 +0000 (14:07 +0200)
The KVM emulator code assumes that the guest virtual address space (in 64-bit)
is 48-bits wide.  Fail the KVM_SET_CPUID and KVM_SET_CPUID2 ioctl if
userspace tries to create a guest that does not obey this restriction.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

No differences found