WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] VIRT to MACHINE conversion

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>, Ulrich Windl <ulrich.windl@xxxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] VIRT to MACHINE conversion
From: Security Initiative Team <passrete@xxxxxxxxx>
Date: Wed, 10 Jan 2007 05:27:49 -0800 (PST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 11 Jan 2007 02:09:05 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=jLTIiGFKnJqNab8lE/4p4BAI9oLSIG1LlcJGfwFhGmaV01rZu9CUqgFCLbW+iqkzvjENQpUmlVddVl54ggxw20nQx3zt7iuu9KOHdLmgRCQokFb6XKqgOf8hlVtiq2Ps0bsYAoYhOhZwyPKnBLpyg9hEaRXAbOO4bLzoqcg6xsU=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E185A@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
In the default mode of operation, doesn't Xen work without SPTs?

The addresses entered into the PTs of the guest are actual machine addresses,
right?
So the PTs remain a virtual-to-machine address mapping,
so where do the (pseudo) physical addresses come into play.

Also, when a guest domain wants to update the PT of a process,
(say to change the permissions from read-only to writable),
what is the exact parameter that it sends to the hypervisor --
page frame number ?



"Petersson, Mats" <Mats.Petersson@xxxxxxx> wrote:
> > I'm confused about the relation between
> > virt and phy addresses in a guest domain?
> > What is the co-relation between the two?
> >

The guest will manage it's own virtual memory mappings. However, those
are guest physical addresses, so the guest will think that it's got
0..256M address range, whilst the machine physical address is, say,
256M..512M.

So there is, essentially, a second level of indirection. This is managed
by the shadow page table code in Xen - this works in essence by having
two different page-tables, one that the guest updates, one that is
maintained by the SPT code. The SPT table will be the one that the
processor actually uses.


Access over 1 million songs - Yahoo! Music Unlimited.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>