RE: [PATCH v10 07/14] KVM: ARM: Memory virtualization setup

2012-08-23 Thread Min-gyu Kim
To: kvm...@lists.cs.columbia.edu; kvm@vger.kernel.org Subject: [PATCH v10 07/14] KVM: ARM: Memory virtualization setup This commit introduces the framework for guest memory management through the use of 2nd stage translation. Each VM has a pointer to a level-1 table (the pgd field in struct kvm_arch

Re: [PATCH v10 07/14] KVM: ARM: Memory virtualization setup

2012-08-23 Thread Christoffer Dall
On Thu, Aug 23, 2012 at 4:12 AM, Min-gyu Kim mingyu84@samsung.com wrote: Dear Christoffer Dall, Hi Min-gyu (it's not considered best practice to top-post in these types of mailing list, please post inline or bottom-post in the future). In you code, kvm_alloc_stage2_pgd function allocates

Re: [kvmarm] [PATCH v10 07/14] KVM: ARM: Memory virtualization setup

2012-08-19 Thread Peter Maydell
On 19 August 2012 05:34, Christoffer Dall c.d...@virtualopensystems.com wrote: On Thu, Aug 16, 2012 at 2:25 PM, Alexander Graf ag...@suse.de wrote: A single hva can have multiple gpas mapped, no? At least that's what I gathered from the discussion about my attempt to a function similar to

Re: [kvmarm] [PATCH v10 07/14] KVM: ARM: Memory virtualization setup

2012-08-19 Thread Avi Kivity
On 08/19/2012 12:38 PM, Peter Maydell wrote: On 19 August 2012 05:34, Christoffer Dall c.d...@virtualopensystems.com wrote: On Thu, Aug 16, 2012 at 2:25 PM, Alexander Graf ag...@suse.de wrote: A single hva can have multiple gpas mapped, no? At least that's what I gathered from the

Re: [kvmarm] [PATCH v10 07/14] KVM: ARM: Memory virtualization setup

2012-08-19 Thread Christoffer Dall
On Sun, Aug 19, 2012 at 9:00 AM, Avi Kivity a...@redhat.com wrote: On 08/19/2012 12:38 PM, Peter Maydell wrote: On 19 August 2012 05:34, Christoffer Dall c.d...@virtualopensystems.com wrote: On Thu, Aug 16, 2012 at 2:25 PM, Alexander Graf ag...@suse.de wrote: A single hva can have multiple

Re: [kvmarm] [PATCH v10 07/14] KVM: ARM: Memory virtualization setup

2012-08-18 Thread Christoffer Dall
On Thu, Aug 16, 2012 at 2:25 PM, Alexander Graf ag...@suse.de wrote: On 16.08.2012, at 17:29, Christoffer Dall wrote: This commit introduces the framework for guest memory management through the use of 2nd stage translation. Each VM has a pointer to a level-1 table (the pgd field in struct

[PATCH v10 07/14] KVM: ARM: Memory virtualization setup

2012-08-16 Thread Christoffer Dall
This commit introduces the framework for guest memory management through the use of 2nd stage translation. Each VM has a pointer to a level-1 table (the pgd field in struct kvm_arch) which is used for the 2nd stage translations. Entries are added when handling guest faults (later patch) and the

Re: [kvmarm] [PATCH v10 07/14] KVM: ARM: Memory virtualization setup

2012-08-16 Thread Alexander Graf
On 16.08.2012, at 17:29, Christoffer Dall wrote: This commit introduces the framework for guest memory management through the use of 2nd stage translation. Each VM has a pointer to a level-1 table (the pgd field in struct kvm_arch) which is used for the 2nd stage translations. Entries are