KVM: Fix vmx I/O bitmap initialization on highmem systems
authorAvi Kivity <avi@qumranet.com>
Tue, 8 May 2007 08:34:07 +0000 (11:34 +0300)
committerAvi Kivity <avi@qumranet.com>
Mon, 16 Jul 2007 09:05:41 +0000 (12:05 +0300)
commitcd0536d7cb4d5d5c5aa37ccd3edd71c4b0524add
treeb68b65aa2abdd5a7b7b7085105e4edb51a2255e3
parent653e3108b7d6097d25089d25ab4e99bc58b28962
KVM: Fix vmx I/O bitmap initialization on highmem systems

kunmap() expects a struct page, not a virtual address.  Fixes an oops loading
kvm-intel.ko on i386 with CONFIG_HIGHMEM.

Thanks to Michael Ivanov <deruhu@peterstar.ru> for reporting.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/vmx.c