HEADS UP: merged PVHv2 support and future plans

Kai Otto kai_otto at duckster.net
Mon Aug 13 15:24:29 UTC 2018


On 30/07/18 12:19, Roger Pau Monné wrote:
> Packages for Xen 4.11 are now available in pkg.
> 
> Remember that in order to use those you need a very recent FreeBSD
> kernel (r336475 or newer) and the Xen command line has slightly changed,
> so dom0=pvh must be used instead of dom0pvh in order to boot. I will
> see about changing this in the handbook.
> 
> Roger.
> _______________________________________________
> freebsd-xen at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-xen
> To unsubscribe, send any mail to "freebsd-xen-unsubscribe at freebsd.org"
> 

Hi Roger,
I tried to get some VMs running on
FreeBSD-12.0-CURRENT-amd64-20180802-r337160.
System is a Supermicro X9DRi-LN4F+ mainboard with dual Intel E5-2680v2
(ivy bridge).

When using xen-tools47/xen-kernel47, during boot of dom0, I only get the
error seen in the attached png ("d0v0 Triple fault").


When using xen-tools411/xen-kernel411, I can boot without problems, but
when running "xl create", neither a PVH nor HVM config work (see configs
and logs attached).
They both throw "libxl: info:
libxl_create.c:109:libxl__domain_build_info_setdefault: qemu-xen is
unavailable, using qemu-xen-traditional instead: No such file or directory"

Which doesn't make much sense to me, as PVH shouldn't use qemu at all?

The config files were put together following the documentation in
http://xenbits.xen.org/docs/4.11-testing/man/xl.cfg.5.html
which marks some of the keywords or syntax used in the FreeBSD handbook
as deprecated (i.e. 'builder' vs. 'type').

If I should do something different, or test a patch or something, let me
know. I'm super excited to see a recent Xen version ported to FreeBSD! :-)

- Kai
-------------- next part --------------
type="hvm"

name = "test_server"
memory = 512
vcpus = 1
vif = [ 'bridge=bridge0' ]
disk = [ '/dev/zvol/zbulk/vm/universal_media_server,raw,hda,rw',
         '/zbulk/mediashare/isos/linux/alpine-virt-3.8.0-x86_64.iso,raw,hdc,r,cdrom'
]

vnc = 1
vnclisten = "0.0.0.0"
usbdevice = ['tablet']


-------------- next part --------------
type='pvh'

name = "test_server"
memory = 512
vcpus = 1
kernel = "/mnt/boot/vmlinuz-virt"
ramdisk = "/mnt/boot/initramfs-virt"
vif = [ 'bridge=bridge0' ]
vfb = [ 'vnc=1, vnclisten=0.0.0.0,vncunused=1']
disk = [ '/dev/zvol/zbulk/vm/universal_media_server,raw,xvda,rw',
         '/zbulk/mediashare/isos/linux/alpine-virt-3.8.0-x86_64.iso,raw,xvdb,r,cdrom'
]
usbdevice = "tablet"




More information about the freebsd-xen mailing list