From: PGNet Dev <pgnet.dev@gmail.com>
To: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Guidance for PVHv2 usage?
Date: Mon, 29 May 2017 08:58:04 -0700 [thread overview]
Message-ID: <fc856483-2ae3-5e2d-e322-9d0884f0ce51@gmail.com> (raw)
Starting with
Xen Changes For Linux 4.11: Lands PVHv2 Guest Support
https://www.phoronix.com/scan.php?page=news_item&px=Linux-4.11-Xen-Changes
[GIT PULL] xen: features and fixes for 4.11-rc0
http://lkml.iu.edu/hypermail/linux/kernel/1702.2/03209.html
IIUC, Xen 4.9 + kernel-default > v4.11 should now fully support PVHv2?
I'm running Xen 4.9.0 host on kernel 4.11.3
dmesg | egrep -i "linux version|xen version"
[ 0.000000] Linux version 4.11.3-2.g7262353-default (geeko@buildhost) (gcc version 7.1.1 20170517 [gcc-7-branch revision 248152] (SUSE Linux) ) #1 SMP PREEMPT Thu May 25 17:55:04 UTC 2017 (7262353)
[ 0.000000] Xen version: 4.9.0_07-503 (preserve-AD)
, both installed from pkgs built for an Opensuse Leap 42.2 env.
The docs @
https://xenbits.xen.org/docs/unstable/misc/hvmlite.html
https://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html#Support-for-Paravirtualisation-of-HVM-Guests
are not clear on usage.
This
https://xenbits.xen.org/docs/unstable/misc/pvh.html
suggests that for
PVH
...
ELFNOTE(Xen, XEN_ELFNOTE_LOADER, .asciz, "generic")
...
the .cfg spec'n should be
builder='generic'
but, there's no mention of which value for specific PVHv2 usage.
Poking around, I've found discussion that PVH may be eventually retired, and replaced with PVHv2, with same usage.
Is that the case already? Or is there a transition state in effect, where both are available?
Atm, I do have a 'converted' HVM guest booting into _some- form of PVH for testing.
My current setup -- cobbled together from old PVH notes and some older posts, contains, in Grub
GRUB_CMDLINE_XEN="dom0=hvm dom0_mem=4G,max:4G dom0_max_vcpus=4 ..."
^^^^^^^^
and in Guest.cfg
builder = 'linux'
kernel = '/usr/lib/grub2/x86_64-xen/grub.xen'
xen_platform_pci = 1
device_model_version = 'qemu-xen'
...
With that^, the guest *IS* up & , as far as I've tested, functional.
At current host & guest loglevels, I've not yet seen any errors -- I'm just not yet clear whether it's successfully, or completely & correctly, PVHv2 ...
Bottom line --
What *IS* the config/usage for PVHv2? (Any current docs available?)
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next reply other threads:[~2017-05-29 15:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-29 15:58 PGNet Dev [this message]
2017-05-29 17:03 ` Guidance for PVHv2 usage? Roger Pau Monné
2017-05-29 17:28 ` PGNet Dev
2017-05-30 7:29 ` Roger Pau Monné
2017-05-30 12:34 ` PGNet Dev
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=fc856483-2ae3-5e2d-e322-9d0884f0ce51@gmail.com \
--to=pgnet.dev@gmail.com \
--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.