RE: [PATCH 04/04] qemu-kvm: other archs should maintain memory mapping also.

2009-05-11 Thread Zhang, Xiantao
Any conclusion on this thread ? Xiantao Zhang, Xiantao wrote: From d184d9b0a91ca674961000ed3d35b7fc25d29e03 Mon Sep 17 00:00:00 2001 From: Xiantao Zhang xiantao.zh...@intel.com Date: Tue, 28 Apr 2009 16:59:36 +0800 Subject: [PATCH] qemu-kvm: other archs should maintain memory mapping also.

Re: [PATCH 04/04] qemu-kvm: other archs should maintain memory mapping also.

2009-05-11 Thread Jes Sorensen
Zhang, Xiantao wrote: Any conclusion on this thread ? Xiantao Hi Xiantao, Not that I am aware of, I suspect it's still pending in Avi's tree. Cheers, Jes Zhang, Xiantao wrote: From d184d9b0a91ca674961000ed3d35b7fc25d29e03 Mon Sep 17 00:00:00 2001 From: Xiantao Zhang

Re: [PATCH 04/04] qemu-kvm: other archs should maintain memory mapping also.

2009-05-04 Thread Avi Kivity
Jes Sorensen wrote: Avi Kivity wrote: Currently, use TARGET_I386 to comment out the mapping machanism for other archs, but mapping machanism should be useful for other archs to maintain guest's memory mapping. Hollis, does this work for you? If now, you can add a new define KVM_WANT_MAPPING

Re: [PATCH 04/04] qemu-kvm: other archs should maintain memory mapping also.

2009-05-04 Thread Jes Sorensen
Avi Kivity wrote: Jes Sorensen wrote: +int destroy_region_works = 0; Global name, prefix with kvm_. Does it actually need to be global? Gone, now local to qemu-kvm-x86.c. I moved the initializer into kvm_arch_create_context() instead. The header depends on target_phys_addr_t, so it must

Re: [PATCH 04/04] qemu-kvm: other archs should maintain memory mapping also.

2009-05-04 Thread Jes Sorensen
Avi Kivity wrote: Avi Kivity wrote: This is the one implementing the KVM_WANT_MAPPING change. There is in fact a call to drop_mapping() outside any #ifdef (in kvm_cpu_register_physical_memory()). I'm confused... maybe we should make this code unconditional. Hi Avi, I don't follow this -

Re: [PATCH 04/04] qemu-kvm: other archs should maintain memory mapping also.

2009-05-04 Thread Avi Kivity
Avi Kivity wrote: Jes Sorensen wrote: Avi Kivity wrote: Hollis, does this work for you? If now, you can add a new define KVM_WANT_MAPPING or something, and define it for I386 and IA64. Hi, This is the one implementing the KVM_WANT_MAPPING change. Cheers, Jes There is in fact a call

Re: [PATCH 04/04] qemu-kvm: other archs should maintain memory mapping also.

2009-05-04 Thread Avi Kivity
Jes Sorensen wrote: Avi Kivity wrote: Currently, use TARGET_I386 to comment out the mapping machanism for other archs, but mapping machanism should be useful for other archs to maintain guest's memory mapping. Hollis, does this work for you? If now, you can add a new define KVM_WANT_MAPPING

Re: [PATCH 04/04] qemu-kvm: other archs should maintain memory mapping also.

2009-05-04 Thread Avi Kivity
Avi Kivity wrote: Jes Sorensen wrote: Avi Kivity wrote: Hollis, does this work for you? If now, you can add a new define KVM_WANT_MAPPING or something, and define it for I386 and IA64. Hi, This is the one implementing the KVM_WANT_MAPPING change. Cheers, Jes There is in fact a call

Re: [PATCH 04/04] qemu-kvm: other archs should maintain memory mapping also.

2009-04-29 Thread Jes Sorensen
Avi == Avi Kivity a...@redhat.com writes: Avi Zhang, Xiantao wrote: From d184d9b0a91ca674961000ed3d35b7fc25d29e03 Mon Sep 17 00:00:00 2001 From: Xiantao Zhang xiantao.zh...@intel.com Date: Tue, 28 Apr 2009 16:59:36 +0800 Subject: [PATCH] qemu-kvm: other archs should maintain memory mapping

Re: Re: [PATCH 04/04] qemu-kvm: other archs should maintain memory mapping also.

2009-04-29 Thread Jes Sorensen
Avi Kivity wrote: Currently, use TARGET_I386 to comment out the mapping machanism for other archs, but mapping machanism should be useful for other archs to maintain guest's memory mapping. Hollis, does this work for you? If now, you can add a new define KVM_WANT_MAPPING or something, and

Re: [PATCH 04/04] qemu-kvm: other archs should maintain memory mapping also.

2009-04-29 Thread Jes Sorensen
Avi Kivity wrote: Hollis, does this work for you? If now, you can add a new define KVM_WANT_MAPPING or something, and define it for I386 and IA64. Hi, This is the one implementing the KVM_WANT_MAPPING change. Cheers, Jes Introduce KVM_WANT_MAPPING define to switch on mapping code,

Re: [PATCH 04/04] qemu-kvm: other archs should maintain memory mapping also.

2009-04-29 Thread Jes Sorensen
Avi Kivity wrote: Hollis, does this work for you? If now, you can add a new define KVM_WANT_MAPPING or something, and define it for I386 and IA64. Hi, This is the one implementing the KVM_WANT_MAPPING change. Cheers, Jes Introduce KVM_WANT_MAPPING define to switch on mapping code,

Re: [PATCH 04/04] qemu-kvm: other archs should maintain memory mapping also.

2009-04-28 Thread Avi Kivity
Zhang, Xiantao wrote: From d184d9b0a91ca674961000ed3d35b7fc25d29e03 Mon Sep 17 00:00:00 2001 From: Xiantao Zhang xiantao.zh...@intel.com Date: Tue, 28 Apr 2009 16:59:36 +0800 Subject: [PATCH] qemu-kvm: other archs should maintain memory mapping also. Currently, use TARGET_I386 to comment out

[PATCH 04/04] qemu-kvm: other archs should maintain memory mapping also.

2009-04-28 Thread Zhang, Xiantao
From d184d9b0a91ca674961000ed3d35b7fc25d29e03 Mon Sep 17 00:00:00 2001 From: Xiantao Zhang xiantao.zh...@intel.com Date: Tue, 28 Apr 2009 16:59:36 +0800 Subject: [PATCH] qemu-kvm: other archs should maintain memory mapping also. Currently, use TARGET_I386 to comment out the mapping machanism for