Re: Q: Why not use struct mm_struct to manage guest physical addresses in new port?

2013-02-08 Thread Marcelo Tosatti
On Tue, Feb 05, 2013 at 11:02:32AM -0800, David Daney wrote: Hi, I am starting to working on a port of KVM to an architecture that has a dual TLB. The Guest Virtual Addresses (GVA) are translated to Guest Physical Addresses (GPA) by the first TLB, then a second TLB translates the GPA to a

Re: Q: Why not use struct mm_struct to manage guest physical addresses in new port?

2013-02-08 Thread David Daney
On 02/08/2013 02:11 PM, Marcelo Tosatti wrote: On Tue, Feb 05, 2013 at 11:02:32AM -0800, David Daney wrote: Hi, I am starting to working on a port of KVM to an architecture that has a dual TLB. The Guest Virtual Addresses (GVA) are translated to Guest Physical Addresses (GPA) by the first

Q: Why not use struct mm_struct to manage guest physical addresses in new port?

2013-02-05 Thread David Daney
Hi, I am starting to working on a port of KVM to an architecture that has a dual TLB. The Guest Virtual Addresses (GVA) are translated to Guest Physical Addresses (GPA) by the first TLB, then a second TLB translates the GPA to a Root Physical Address (RPA). For the sake of this question,