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-devel

Re: [Xen-devel] domU to dom0 switch question

To: George Valzcig <gvalzcig@xxxxxxxxx>
Subject: Re: [Xen-devel] domU to dom0 switch question
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Fri, 02 Apr 2010 19:13:57 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 02 Apr 2010 19:14:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <k2t4f493b121004021602s65acb9d9h33464aacfe368981@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <k2t4f493b121004021602s65acb9d9h33464aacfe368981@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.4
On 04/02/2010 04:02 PM, George Valzcig wrote:
I have two questions on between a switch one dom to another dom in Xen. I hope this is the right forum to ask these questions ...

1) other than I / O, there is no reason to switch from one domU to dom0 (memory page remapping etc)? If I have a 1 CPU in my physical machine and I run a domU with while loop that does nothing but use CPU, there is no reason to switch to dom0? 2) In Xen PV is the hyper call entry page in the address space of the domU - so call to a mapped hyper call not cause context switch - yes?

I don't follow your questions.

"Dom0" is the domain started by Xen automatically at boot time, which is privileged and is typically used for its hardware device drivers and systemwide administrative functions. "DomU" is a less privileged "guest" domain, which may be either paravirtualized (PV) or using hardware virtualization features (HVM).

Note that "dom0" and "domU" are just roles; a single (pvops Linux) kernel image can be used unchanged as dom0, PV domU or HVM domU.

You seem to be using the terms "dom0" and "domU" in some other way, so I think you need to clarify the question before you get the answer you're looking for.

    J

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>