From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Date: Wed, 15 Dec 2010 12:25:26 +0000 Subject: Re: re-writing on powerpc Message-Id: <4D08B3B6.8090800@redhat.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc@vger.kernel.org On 12/15/2010 01:32 PM, Sethi Varun-B16395 wrote: > > > > > > But KVM would be aware of guest page mappings, so access permissions > > > for any particular mapping can be controlled by KVM. > > > > kvm isn't aware of all guest mappings (only those that were instantiated > > in shadow tlb/pagetables). > I am not sure if I understand, but guest would have to be instantiate the mapping in the tlb (for BookE) before page can be accessed. > That's when we can set the access permissions. You're right, for a shadow tlb kvm has all guest mappings at all time. For page table models, it doesn't. -- error compiling committee.c: too many arguments to function