CFT: replacing XENHVM kernel config with GENERIC + xenhvm.ko

Roger Pau Monné roger.pau at
Wed Aug 28 15:45:05 UTC 2013

On 27/08/13 07:08, Colin Percival wrote:
> Hi all,
> I've attached a patch which eliminates the XENHVM kernel configuration and
> instead allows FreeBSD to run under Xen/HVM with PV drivers by loading a
> new xenhvm.ko module from the boot loader.  This will mean that FreeBSD
> virtual machines running under Xen/HVM will be able to run "straight off
> the ISO" binaries; this will also mean they will be able to use FreeBSD
> Update to update the kernel.
> I have spent about 10 minutes testing this in Amazon EC2.  Please help me
> out by doing some more testing. ;-)

Hello Colin,

I'm sorry to say this, but I'm not sure this is the best way to move
forward, I would prefer to just have the files merged directly into the
GENERIC kernel rather than having to load a module. Also with the PVHVM
changes I've posted earlier I'm modifying some common files, which
cannot be put into a module, so it makes me wonder if it's worth it to
have some Xen specific code into a module while the rest of it is
already integrated into GENERIC.


More information about the freebsd-xen mailing list