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

[Xen-users] VIRT to MACHINE conversion

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] VIRT to MACHINE conversion
From: Security Initiative Team <passrete@xxxxxxxxx>
Date: Tue, 9 Jan 2007 17:47:09 -0800 (PST)
Delivery-date: Wed, 10 Jan 2007 01:38:09 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=F7yZTmKHaMEyIx+a7QQEikNaPYDyfYjTnWiNOQf3DR+iuoJLAng/XCHAIyX1wXreggpG/jAoUDQnOgxbeo9y21jVfibfKsJddP8jrvTD9nw+hgELLwb2PBYFLvKwYw9wmf30svDDjkMOACNHNV8SBKyp2sVQDng7yXlO9AmcOOo=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E1805@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
Why does virt_to_machine() call phys_to_machine()
directly.

153 /* VIRT <-> MACHINE conversion */
154 #define virt_to_machine(v) (phys_to_machine(__pa(v)))
How does one convert the virt to phy?
Is that done by the __pa() function?

I'm confused about the relation between
virt and phy addresses in a guest domain?
What is the co-relation between the two?




__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>