[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Questions about PVHv2/HVMlite



On Thu, May 18, 2017 at 09:48:02AM -0500, Gary R Hook wrote:
> On 05/18/2017 03:16 AM, Roger Pau Monné wrote:
> > 
> > So using your example, the config file should look like:
> > 
> > extra = "root=/dev/xvda1 console=hvc0"
> > kernel = "/root/64/vmlinuz-4.11.0-pvh+"
> > ramdisk = "/root/64/initrd.img-4.11.0-pvh+"
> > builder="hvm"
> > device_model_version="none"
> > memory = 4096
> > name = "sospv2"
> > vcpus = 8
> > vif = ['']
> > disk = ['phy:/dev/vg0/pvclient2,xvda,w']
> 
> Well, huzzah!
> 
> amd@sospvclient2:~$ dmesg | grep -i xen
> [    0.000000] Hypervisor detected: Xen
> [    0.000000] Xen version 4.9.
> [    0.000000] Xen Platform PCI: unrecognised magic value
> [    0.000000] ACPI: RSDP 0x00000000000FFFC0 000024 (v02 Xen   )
> [    0.000000] ACPI: XSDT 0x00000000FC007FA0 000034 (v01 Xen    HVM 00000000
> HVML 00000000)
> [    0.000000] ACPI: FACP 0x00000000FC007D70 00010C (v05 Xen    HVM 00000000
> HVML 00000000)
> [    0.000000] ACPI: DSDT 0x00000000FC001050 006C9B (v05 Xen    HVM 00000000
> INTL 20140214)
> [    0.000000] ACPI: APIC 0x00000000FC007E80 00006C (v02 Xen    HVM 00000000
> HVML 00000000)
> [    0.000000] Booting paravirtualized kernel on Xen PVH
> [    0.000000] xen: PV spinlocks enabled
>                                                  ^^^^^^^
> 
> 
> > This is a temporary interface, and it's not stable.
> 
> "Stable" as in syntax and keywords are subject to change?

"not stable" as in device_model_version="none" will stop working at some point
(because xl/libxl will only understand pvh=1).

> >  Long term PVH guest should
> > be created using "pvh=1", sadly this has not yet been implemented.
> 
> Do I understand this to mean that using "pvh=1" in the config file hasn't
> been wired
> up to do everything needed to create a PVH guest?

That's right, the pvh option doesn't exist ATM.

> Is there more to be done
> besides
> turning that parameter into "builder='hvm" device_model_version="none"?

Hm, no, pvh=1 should be a guest type in libxl, so there's more to it. It should
have it's own libxl_domain_type, and it's own struct in
libxl_domain_build_info. Boris was working on this, he might be able to share
some more info.

> Or,
> better yet,
> are there any design notes on this?

The interface it's not yet clear, it's very likely that we will have a design
discussion about this in the upcoming XenSummit.

Roger.

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.