Uwe Dippel wrote:
Trying to install a virtual OpenBSD on OpenBSD 4.6 on amd64, I did:
# env ETHER=em0 qemu -net nic,model=rtl8139 -net tap -m 32 -monitor
stdio -no-fd-bootchk -hda virtual.img \
-cdrom cd46.iso -boot d
I start qemu instances like this:
qemu -no-fd-bootchk -hda 1hda.img -m 512 -usb -usbdevice tablet -boot c
-net nic,macaddr=12:34:56:78:90:01 -net tap -name qemu1 -vnc :0
qemu -no-fd-bootchk -hda 2hda.img -m 512 -usb -usbdevice tablet -boot c
-net nic,macaddr=12:34:56:78:90:02 -net tap -name qemu2 -vnc :1
The scripts /etc/qemu-ifdown and -ifup (included in the qemu package)
are automatically executed when qemu is run to manage a bridge and add
the tap devices to it.
Works nicely.
kind regards,
Robert