Message ID | 1249316595-19882-2-git-send-email-sheng@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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 --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;
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(-)