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

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



On 5/16/2017 12:13 PM, Boris Ostrovsky wrote:
On 05/16/2017 11:52 AM, Gary R Hook wrote:
A PVH guest's config looks something like
     kernel="/root/64/vmlinux"
May I ask from whence this kernel came?
One of 4.11's rcs. Make sure you set CONFIG_XEN_PVH in your .config file.

Please excuse my lack of clarity. I meant, on what filesystem
does this kernel reside? dom0. Got it.

So here's where I stand:

I have pulled the torvalds repo, found the "Linux 4.11" commit
to create a branch, verified that the config parameters suggested
in a different post are all enabled (CONFIG_XEN, CONFIG_XEN_PVH,
etc): they're all turned on. Built a kernel. Boot dom0 with it,
and I have it in my guest, too (by booting the xvda in a PV guest
and building it there... I'm hoping that's not a problem?). And the
kernel and initrd are in /root/64 on dom0, per the above.


I have this configuration (using a logical volume for my raw disk):

extra = "root=/dev/xvda1 console=hvc0"
kernel = "/root/64/vmlinuz-4.11.0-pvh+"
ramdisk = "/root/64/initrd.img-4.11.0-pvh+"
pvh = 1
device_model_version="none"
memory = 4096
name = "sospv2"
vcpus = 8
vif = ['']
disk = ['phy:/dev/vg0/pvclient2,xvda,w']

It boots, but I get:

$ dmesg | egrep -i 'xen|front'
[ 0.000000] Linux version 4.11.0-pvh+ (amd@xxxxxxxxxxxxxx) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) ) #10 SMP Tue May 16 16:36:14 CDT 2017
[    0.000000] Xen: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved
[    0.000000] Xen: [mem 0x0000000000100000-0x00000000ffffffff] usable
[    0.000000] Hypervisor detected: Xen
[    0.000000] Booting paravirtualized kernel on Xen
[    0.000000] Xen version: 4.9-rc (preserve-AD)
[    0.000000] xen: PV spinlocks enabled

No PVH indication. :-( And /var/log/xen/xl-sospv2.log has only a
"waiting for domain to die" message in it.

Please forgive my ignorance. What magic am I missing, or what
have I not observed in this exchange? Guidance and expertise are
greatly appreciated.

_______________________________________________
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®.