summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-08-04 00:23:15 +0800
committerAvi Kivity <avi@redhat.com>2009-08-04 14:54:14 +0300
commit07a324d62586741457205e99940dc4e0ba3a2a16 (patch)
tree9fa48d231f17f5e25a13cadeec0ac42ba5d45a57 /qemu-kvm-x86.c
parentRemove useless wrappers around functions (diff)
downloadqemu-kvm-07a324d62586741457205e99940dc4e0ba3a2a16.tar.gz
qemu-kvm-07a324d62586741457205e99940dc4e0ba3a2a16.tar.bz2
qemu-kvm-07a324d62586741457205e99940dc4e0ba3a2a16.zip
kvm: fix set_ept_identity_addr() in pae
The argument to kernel space should be u64 rather than unsigned long. Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'qemu-kvm-x86.c')
-rw-r--r--qemu-kvm-x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-kvm-x86.c b/qemu-kvm-x86.c
index 87ace303a..64398fbdf 100644
--- a/qemu-kvm-x86.c
+++ b/qemu-kvm-x86.c
@@ -73,7 +73,7 @@ static int kvm_init_tss(kvm_context_t kvm)
return 0;
}
-static int kvm_set_identity_map_addr(kvm_context_t kvm, unsigned long addr)
+static int kvm_set_identity_map_addr(kvm_context_t kvm, uint64_t addr)
{
#ifdef KVM_CAP_SET_IDENTITY_MAP_ADDR
int r;