From: Sheng Yang <[email protected]> The argument to kernel space should be u64 rather than unsigned long.
Signed-off-by: Sheng Yang <[email protected]> Signed-off-by: Avi Kivity <[email protected]> diff --git a/qemu-kvm-x86.c b/qemu-kvm-x86.c index 87ace30..64398fb 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; -- To unsubscribe from this list: send the line "unsubscribe kvm-commits" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
