On Tue, 26 Apr 2016, Marcin Cieslak wrote: > On Tue, 26 Apr 2016, Roger Pau Monné wrote: > > > You will have to boot it using OVMF, which is not compiled with Xen by > > default. I will try to add an OVMF package (like the SeaBIOS one that we > > already have), and wire it into the xen-tools package. > > > > If you want to try it yourself, you can add "--enable-ovmf" to the > > xen-tools > > package configure and see what breaks ;). > > Thanks, lots of bad Linux-only scripts (#!/bin/bash and the like), will try!
I got lazy and I have downloaded https://sourceforge.net/projects/edk2/files/OVMF/OVMF-X64-r15214.zip/download recompiled xen-tools by adding to xen-tools/Makefile CONFIGURE_ARGS+= --enable-ovmf CONFIGURE_ARGS+= --with-system-ovmf=/root/xen/OVMF.fd and worked pretty much out of the box. This is Windows Server 2016 Technical Preview 2016, with GPL PV drivers added to get networking. My config: builder = "hvm" memory = 4096 vcpus = 2 name = "Windows" disk = [ '/dev/zvol/zroot/windows0,raw,hda,w','/root/fat.bin,raw,hdb,w' ] boot = "c" # Boot to hard disk image vnc = 2 vnclisten = "0.0.0.0" usbdevice = 'tablet' on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'restart' acpi = 1 bios = 'ovmf' vif = [ 'bridge=bridge0' ] /root/fat.bin is a little partitioned "hard drive" with FAT16 partition used to provide GPL drivers. Marcin _______________________________________________ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"