From a84067960de619ef9c4b2b937d088d6d88b38c2b Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Mon, 21 Nov 2011 15:15:54 +0000 Subject: Port for package building of virtio kernel lodable modules. This port support only 8.2 and 9.0 releases. WWW: http://people.FreeBSD.org/~kuriyama/virtio/ Feature safe: yes --- emulators/virtio-kmod/pkg-message | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 emulators/virtio-kmod/pkg-message (limited to 'emulators/virtio-kmod/pkg-message') diff --git a/emulators/virtio-kmod/pkg-message b/emulators/virtio-kmod/pkg-message new file mode 100644 index 000000000000..91eba778a71f --- /dev/null +++ b/emulators/virtio-kmod/pkg-message @@ -0,0 +1,27 @@ +To use these modules, copy into /boot/kernel directory: + +# cp -Rp ${PREFIX}/modules/* /boot/kernel/ +# kldxref /boot/kernel + +and add loading lines in /boot/loader.conf: + +virtio_load="YES" +virtio_pci_load="YES" +virtio_blk_load="YES" +if_vtnet_load="YES" +virtio_balloon_load="YES" + +and edit fstab and interface config in rc.conf: + +# sed -i.bak -e 's|/dev/ada?/|/dev/vtbd/|' /etc/fstab +# sed -i.bak -e 's|em0|vtnet0|' /etc/rc.conf + +and enable virtio devices in host's domain.xml: + +- ++ +... +- +-
++ ++
-- cgit v1.2.3