All of lore.kernel.org
 help / color / mirror / Atom feed
* what's the type of nested xen? HVM or PV?
@ 2015-12-24 13:02 quizyjones
  2016-01-04 12:52 ` Stefano Stabellini
  0 siblings, 1 reply; 3+ messages in thread
From: quizyjones @ 2015-12-24 13:02 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 294 bytes --]

Happy Holiday, guys. God tell me that I should work this out before celebrate ; )I create a HVM first, then compile Xen on it. The dom0 of this Xen is a PV. So is this nested xen a HVM or a PV? It's hard to differentiate when concerning to enable events as only HVM supports events. 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 523 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: what's the type of nested xen? HVM or PV?
  2015-12-24 13:02 what's the type of nested xen? HVM or PV? quizyjones
@ 2016-01-04 12:52 ` Stefano Stabellini
  2016-01-04 13:18   ` Ian Campbell
  0 siblings, 1 reply; 3+ messages in thread
From: Stefano Stabellini @ 2016-01-04 12:52 UTC (permalink / raw)
  To: quizyjones; +Cc: xen-devel

On Thu, 24 Dec 2015, quizyjones wrote:
> Happy Holiday, guys. God tell me that I should work this out before celebrate ; )I create a HVM first, then
> compile Xen on it. The dom0 of this Xen is a PV. So is this nested xen a HVM or a PV? It's hard to differentiate
> when concerning to enable events as only HVM supports events.

Xen itself, the hypervisor, is neither HVM or PV. HVM and PV are types
of virtual machines; the distinction doesn't apply to the hypervisor.

Dom0 is always PV (unless you use PVH which is experimental and not
something you would use by chance).

All the other nested guests are going to be PV unless you passed
nestedhvm=1 in your external VM config file. If you passed nestedhvm=1,
you can start both nested PV and HVM guests.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: what's the type of nested xen? HVM or PV?
  2016-01-04 12:52 ` Stefano Stabellini
@ 2016-01-04 13:18   ` Ian Campbell
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Campbell @ 2016-01-04 13:18 UTC (permalink / raw)
  To: Stefano Stabellini, quizyjones; +Cc: xen-devel

On Mon, 2016-01-04 at 12:52 +0000, Stefano Stabellini wrote:
> On Thu, 24 Dec 2015, quizyjones wrote:
> > Happy Holiday, guys. God tell me that I should work this out before
> > celebrate ; )I create a HVM first, then
> > compile Xen on it. The dom0 of this Xen is a PV. So is this nested xen
> > a HVM or a PV? It's hard to differentiate
> > when concerning to enable events as only HVM supports events.
> 
> Xen itself, the hypervisor, is neither HVM or PV. HVM and PV are types
> of virtual machines; the distinction doesn't apply to the hypervisor.

I think it's a little more subtle (AKA complicated) than that.

The L1 Xen is running "bare metal" inside what L0 Xen sees as an HVM guest.

However the L1 Dom0 is running PV, but it is PV WRT the L1 Xen, not the L0
Xen. From the L0's point of view the combination of L0 Xen+Dom0 remains
HVM.

In fact the PV L1 Dom0 might even be able to see some "PVHVM" like aspects
of the L0 HVM domain in which it is running, although typical
configurations don't (or can't) make use of that.

I'm not sure what the original "enable events" is referring to, so I'm not
sure whether this has clarified anything or not.

Ian.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-04 13:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-24 13:02 what's the type of nested xen? HVM or PV? quizyjones
2016-01-04 12:52 ` Stefano Stabellini
2016-01-04 13:18   ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.