Boot FreeBSD 10 in HVM mode under Xen?

Roger Pau Monné roger.pau at citrix.com
Fri Jul 31 14:19:08 UTC 2015


El 31/07/15 a les 15.47, Karl Pielorz ha escrit:
> 
> Hi,
> 
> Is there any way of booting FreeBSD 10.x as HVM under Xen?
> 
> I've tried removing,
> 
>   options         XENHVM
>   device          xenpci
> 
>> From the kernel - but this just panics on boot now.

This is a bug then. You should be able to boot without XENHVM/xenpci,
and get a pure HVM guest with no PV devices at all.

> <https://wiki.freebsd.org/FreeBSD/XenNG> seems to suggest you can no
> longer boot 10 under Xen as HVM?
> 
> If I can't boot HVM, I can't get HVM network support (i.e. Realtek) -
> and I can't get that, all the VM's I have to run as HVM due to a number
> of xen/freebsd/network oddities can't be 10.x machines :(

Since this seems to be getting quite popular (booting without PV
devices), I think adding a sysctl to disable PV nics and PV hard drives
would be interesting. We could still use some of the PV goodies, like
the timer.

> This is painting those roles/systems into non-agile HVM 9.x boxes that
> have no upgrade path now :(
> 
> Unless there's a workaround to ditch xn and replace it with re and / or
> boot HVM under FreeBSD 10?

I will deal with this ASAP.

Roger.



More information about the freebsd-xen mailing list