OpenBSD as DomU works using hardware virtualization for me.  There's
the occasional lockup that I haven't looked into too much.  You can
launch vncviewer to get a console.  My working config is at the bottom.

John

On Wed, Feb 06, 2008 at 11:55:05PM +0100, Julien Cabillot wrote:
> It's work but I had really bad performances with the network (timeout on
> the interface re).
> Dmesg: http://www.openbsd-france.org/ml/archives/msg02494.html
>

I found that setting the vif interface to 'model=ne2k_pci' helps with 
the timeouts.

>
> On jeu, 2008-02-07 at 00:29 +0200, NetOne - Doichin Dokov wrote:
> > I'm looking to replace a Linux domU with a BSD one, preferably OpenBSD.
> > Anyone any success running stable OpenBSD (FreeBSD would also suffice)
> > as domU in a Xen system? If so, willing to share config / how-to /
> > experience?
> >
> > Kind regards,
> > Doichin
>

Here's a working Xen config:
=================================================================
import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 256
name = "obsd"
pae=0
vif = [ 'type=ioemu, mac=00:16:3e:7d:be:ef, model=ne2k_pci' ]
disk = [ 
'file:/disk/homer.disk,hda,w','file:/disk/obsd42_amd64.iso,ioemu:hdc:cdrom,r' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot='cd'
sdl=0
vnc=1
vncviewer=0
nographic=0
stdvga=0
serial='pty'
ne2000=1
audio=0
localtime=1
=================================================================

Reply via email to