All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alvin Starr <alvin@netvel.net>
To: xen-devel@lists.xen.org
Subject: libvirt and nestedhvm.
Date: Fri, 06 Jun 2014 09:28:19 -0400	[thread overview]
Message-ID: <5391C1F3.9040603@netvel.net> (raw)

I am trying to shoehorn the ability to start a nested HVM into libvirt 
through the libxl interface.

Setting the nestedhvm flag is easy enough but I also need to mask the 
svm_npt cpuid flags.

This is where life gets interesting.

LIbvirt seems to probe the CPUID registers to determine what flags are 
available.
Libvirt then stops me from trying to mask the svm or npt flags since 
they are not visible in dom0.

So my question is.
Can I enable the svm,npt flags in dom0?
Is there anything equivalent to nestedhvm for dom0?

or is there a way to read the raw CPU flags?



-- 
Alvin Starr                   ||   voice: (905)513-7688
Netvel Inc.                   ||   Cell:  (416)806-0133
alvin@netvel.net              ||

             reply	other threads:[~2014-06-06 13:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-06 13:28 Alvin Starr [this message]
2014-06-06 13:33 ` libvirt and nestedhvm Andrew Cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5391C1F3.9040603@netvel.net \
    --to=alvin@netvel.net \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.