diff mbox

kvm: fix set_ept_identity_addr() in pae

Message ID 1249316595-19882-2-git-send-email-sheng@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sheng Yang Aug. 3, 2009, 4:23 p.m. UTC
The argument to kernel space should be u64 rather than unsigned long.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
---
 qemu-kvm-x86.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Avi Kivity Aug. 4, 2009, 11:59 a.m. UTC | #1
On 08/03/2009 07:23 PM, Sheng Yang wrote:
> The argument to kernel space should be u64 rather than unsigned long.
>    

Applied, thanks.
diff mbox

Patch

diff --git a/qemu-kvm-x86.c b/qemu-kvm-x86.c
index 492dbc5..5fa89e8 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;