* [SPAM] how does hypervisor isolates DomU from Dom0
[not found] <AANLkTi==yes96umbA=256cg0px_Q9hMXioZ7zRTZgFZH@mail.gmail.com>
@ 2010-08-15 20:25 ` Tapas Mishra
2010-08-15 20:48 ` Pasi Kärkkäinen
0 siblings, 1 reply; 6+ messages in thread
From: Tapas Mishra @ 2010-08-15 20:25 UTC (permalink / raw)
To: Xen List
I am not clear with the working of hypervisor xen.
How does an instruction executed by kernel in Ring0 of DomU gets
mapped or executed by hypervisor and then is excuted in Dom0.
Is this thing some where on the wiki page?
--
Tapas
http://mightydreams.blogspot.com
http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [SPAM] how does hypervisor isolates DomU from Dom0
2010-08-15 20:25 ` [SPAM] how does hypervisor isolates DomU from Dom0 Tapas Mishra
@ 2010-08-15 20:48 ` Pasi Kärkkäinen
2010-08-16 10:59 ` Tapas Mishra
0 siblings, 1 reply; 6+ messages in thread
From: Pasi Kärkkäinen @ 2010-08-15 20:48 UTC (permalink / raw)
To: Tapas Mishra; +Cc: Xen List
On Mon, Aug 16, 2010 at 01:55:25AM +0530, Tapas Mishra wrote:
> I am not clear with the working of hypervisor xen.
> How does an instruction executed by kernel in Ring0 of DomU gets
> mapped or executed by hypervisor and then is excuted in Dom0.
> Is this thing some where on the wiki page?
>
Xen hypervisor runs in ring0.
Xen PV domUs don't run in ring0, instead they run in ring1.
In case of Xen HVM guests the Xen hypervisor runs in ring -1,
with help of the CPU virtualization extensions (Intel VT / AMD-V),
so the HVM guest kernel can run in it's own private virtual ring0.
And what do you mean with "then is executed in dom0" ?
Dom0 is another guest VM, but it has some more privileges
(direct access to the hardware) and responsibilities
(run management toolstack and provide virtual disks and nics for other guests).
-- Pasi
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [SPAM] how does hypervisor isolates DomU from Dom0
2010-08-15 20:48 ` Pasi Kärkkäinen
@ 2010-08-16 10:59 ` Tapas Mishra
2010-08-16 11:24 ` Pasi Kärkkäinen
0 siblings, 1 reply; 6+ messages in thread
From: Tapas Mishra @ 2010-08-16 10:59 UTC (permalink / raw)
To: Pasi Kärkkäinen; +Cc: Xen List
On Mon, Aug 16, 2010 at 2:18 AM, Pasi Kärkkäinen <pasik@iki.fi> wrote:
> In case of Xen HVM guests the Xen hypervisor runs in ring -1,
Can you point me to some section of code to the above ?
> And what do you mean with "then is executed in dom0" ?
That question was due to some confusion.
I was discussing about AMD instruction sets for Xen with some one we
had this confusion so this question came.
> Dom0 is another guest VM, but it has some more privileges
I am not clear with this Dom0 is another guest ?
Can you give a link
specially to the code.
--
Tapas
http://mightydreams.blogspot.com
http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [SPAM] how does hypervisor isolates DomU from Dom0
2010-08-16 10:59 ` Tapas Mishra
@ 2010-08-16 11:24 ` Pasi Kärkkäinen
2010-08-16 15:12 ` [SPAM] " Tapas Mishra
0 siblings, 1 reply; 6+ messages in thread
From: Pasi Kärkkäinen @ 2010-08-16 11:24 UTC (permalink / raw)
To: Tapas Mishra; +Cc: Xen List
On Mon, Aug 16, 2010 at 04:29:36PM +0530, Tapas Mishra wrote:
> On Mon, Aug 16, 2010 at 2:18 AM, Pasi Kärkkäinen <pasik@iki.fi> wrote:
>
>
> > In case of Xen HVM guests the Xen hypervisor runs in ring -1,
> Can you point me to some section of code to the above ?
>
Not really. Someone familiar with the code might be able to help..
> > And what do you mean with "then is executed in dom0" ?
> That question was due to some confusion.
> I was discussing about AMD instruction sets for Xen with some one we
> had this confusion so this question came.
>
Ok.
> > Dom0 is another guest VM, but it has some more privileges
> I am not clear with this Dom0 is another guest ?
> Can you give a link
> specially to the code.
>
Just run "xm list" and you see Domain-0 in the list.
Or take a look at the boottime messages.. first Xen hypervisor
is started (the lines starting with XEN), and when Xen hypervisor
is started it boots up the first guest VM: dom0 Linux. So you see
dom0 Linux boot messages after Xen boot messages.
-- Pasi
^ permalink raw reply [flat|nested] 6+ messages in thread
* [SPAM] Re: [SPAM] how does hypervisor isolates DomU from Dom0
2010-08-16 11:24 ` Pasi Kärkkäinen
@ 2010-08-16 15:12 ` Tapas Mishra
2010-08-16 16:41 ` Pasi Kärkkäinen
0 siblings, 1 reply; 6+ messages in thread
From: Tapas Mishra @ 2010-08-16 15:12 UTC (permalink / raw)
To: Pasi Kärkkäinen; +Cc: Xen List
> Or take a look at the boottime messages.. first Xen hypervisor
> is started (the lines starting with XEN), and when Xen hypervisor
> is started it boots up the first guest VM: dom0 Linux. So you see
> dom0 Linux boot messages after Xen boot messages.
Yes this I have noticed.
So dom0 is just a guest for the hypervisor but a previleged guest.
--
Tapas
http://mightydreams.blogspot.com
http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [SPAM] how does hypervisor isolates DomU from Dom0
2010-08-16 15:12 ` [SPAM] " Tapas Mishra
@ 2010-08-16 16:41 ` Pasi Kärkkäinen
0 siblings, 0 replies; 6+ messages in thread
From: Pasi Kärkkäinen @ 2010-08-16 16:41 UTC (permalink / raw)
To: Tapas Mishra; +Cc: Xen List
On Mon, Aug 16, 2010 at 08:42:20PM +0530, Tapas Mishra wrote:
> > Or take a look at the boottime messages.. first Xen hypervisor
> > is started (the lines starting with XEN), and when Xen hypervisor
> > is started it boots up the first guest VM: dom0 Linux. So you see
> > dom0 Linux boot messages after Xen boot messages.
> Yes this I have noticed.
> So dom0 is just a guest for the hypervisor but a previleged guest.
>
Yes, correct.
-- Pasi
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-08-16 16:41 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <AANLkTi==yes96umbA=256cg0px_Q9hMXioZ7zRTZgFZH@mail.gmail.com>
2010-08-15 20:25 ` [SPAM] how does hypervisor isolates DomU from Dom0 Tapas Mishra
2010-08-15 20:48 ` Pasi Kärkkäinen
2010-08-16 10:59 ` Tapas Mishra
2010-08-16 11:24 ` Pasi Kärkkäinen
2010-08-16 15:12 ` [SPAM] " Tapas Mishra
2010-08-16 16:41 ` Pasi Kärkkäinen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).