diff options
author | nox <nox@FreeBSD.org> | 2008-05-14 02:29:38 +0800 |
---|---|---|
committer | nox <nox@FreeBSD.org> | 2008-05-14 02:29:38 +0800 |
commit | 6cfd3e83727d8f025c65443dfc3d04f7e509879d (patch) | |
tree | a79c998afa1f3ba3dcf2e8f09892ba1a8faf0e8f | |
parent | 27e45771454dffcff72cfec67177b1f7cc010fe4 (diff) | |
download | freebsd-ports-gnome-6cfd3e83727d8f025c65443dfc3d04f7e509879d.tar.gz freebsd-ports-gnome-6cfd3e83727d8f025c65443dfc3d04f7e509879d.tar.zst freebsd-ports-gnome-6cfd3e83727d8f025c65443dfc3d04f7e509879d.zip |
- Add notes about how to autoload kqemu at boot and about the fact that
kqemu only accellerates qemu-system-x86_64 on amd64 that were missing
in qemu's pkg-message [1]
- Update the note about kqemu on amd64 SMP, and add a reminder to keep
kqemu in sync with the kernel while I'm at it
- Bump PORTREVISION
Noticed by: bakul [1]
-rw-r--r-- | emulators/qemu-devel/Makefile | 2 | ||||
-rw-r--r-- | emulators/qemu-devel/pkg-message | 22 | ||||
-rw-r--r-- | emulators/qemu/Makefile | 2 | ||||
-rw-r--r-- | emulators/qemu/pkg-message | 22 |
4 files changed, 40 insertions, 8 deletions
diff --git a/emulators/qemu-devel/Makefile b/emulators/qemu-devel/Makefile index 19b1c6439cfa..3bcf351bb1b4 100644 --- a/emulators/qemu-devel/Makefile +++ b/emulators/qemu-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= qemu PORTVERSION= 0.9.1s.20080302 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= emulators MASTER_SITES= http://qemu.org/:release \ http://qemu-forum.ipi.fi/qemu-snapshots/:snapshot \ diff --git a/emulators/qemu-devel/pkg-message b/emulators/qemu-devel/pkg-message index 91b649ee1715..fe903a8c8eb1 100644 --- a/emulators/qemu-devel/pkg-message +++ b/emulators/qemu-devel/pkg-message @@ -77,9 +77,25 @@ and one for 6 and 5(?) is here: or larger on i386 hosts you need to increase the kern.maxdsiz tunable in loader.conf(5) since the default is 512 MB, and qemu needs memory for itself also. -- kqemu seems to be broken on amd64 SMP hosts atm (causing the host -to panic), if this affects you you can either use an UP host kernel as a -workaround or disable kqemu. +- if you use kqemu make sure your kqemu.ko is always in sync with your +kernel (like with any kld installed outside of base), i.e. rebuild its +port whenever you update the kernel - especially if you are switching +branches or are following a -stable or even -current branch! +- you can enable autoloading of kqemu (and aio) at boot by adding a line + kqemu_enable=YES +to /etc/rc.conf +- kqemu liked to panic the host on amd64 SMP until before 1.3.0.p11_6 +(revision 1.25 of /usr/ports/emulators/kqemu-kmod/Makefile), so if your +host is such you might want to make sure your kqemu-kmod port is new enough. +(and don't forget to reload it...) +- also remember that on amd64 you need to run the amd64 (x86_64) system +emulation if you want to use kqemu, i.e. run qemu-system-x86_64 instead of +qemu (the latter only emulates a 32 bit system.) Unfortunately there can +still be guests that don't run correctly in the amd64 emulation even when +they do run in the 32 bit one, the same is true about kqemu and -kernel-kqemu +on amd64 - not much you can do about that other than help debugging (k)qemu's +amd64 emulation... (well or falling back to unaccellerated, possibly 32 bit +qemu/leaving out -kernel-kqemu if its that what's causing the problems.) - qemu now uses aio at least for ide dma, so if you get `Invalid system call' crashes that is because aio is not (kld)loaded. - The default configuration location (qemu-ifup script etc.) has been diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index 42b4874cfcc2..7e413185f343 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -7,7 +7,7 @@ PORTNAME= qemu PORTVERSION= 0.9.1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= emulators MASTER_SITES= http://fabrice.bellard.free.fr/qemu/:release \ http://qemu.org/:release \ diff --git a/emulators/qemu/pkg-message b/emulators/qemu/pkg-message index 80d50d29e44a..13d976f6384e 100644 --- a/emulators/qemu/pkg-message +++ b/emulators/qemu/pkg-message @@ -76,9 +76,25 @@ and one for 6 and 5(?) is here: or larger on i386 hosts you need to increase the kern.maxdsiz tunable in loader.conf(5) since the default is 512 MB, and qemu needs memory for itself also. -- kqemu seems to be broken on amd64 SMP hosts atm (causing the host -to panic), if this affects you you can either use an UP host kernel as a -workaround or disable kqemu. +- if you use kqemu make sure your kqemu.ko is always in sync with your +kernel (like with any kld installed outside of base), i.e. rebuild its +port whenever you update the kernel - especially if you are switching +branches or are following a -stable or even -current branch! +- you can enable autoloading of kqemu (and aio) at boot by adding a line + kqemu_enable=YES +to /etc/rc.conf +- kqemu liked to panic the host on amd64 SMP until before 1.3.0.p11_6 +(revision 1.25 of /usr/ports/emulators/kqemu-kmod/Makefile), so if your +host is such you might want to make sure your kqemu-kmod port is new enough. +(and don't forget to reload it...) +- also remember that on amd64 you need to run the amd64 (x86_64) system +emulation if you want to use kqemu, i.e. run qemu-system-x86_64 instead of +qemu (the latter only emulates a 32 bit system.) Unfortunately there can +still be guests that don't run correctly in the amd64 emulation even when +they do run in the 32 bit one, the same is true about kqemu and -kernel-kqemu +on amd64 - not much you can do about that other than help debugging (k)qemu's +amd64 emulation... (well or falling back to unaccellerated, possibly 32 bit +qemu/leaving out -kernel-kqemu if its that what's causing the problems.) - qemu now uses aio at least for ide dma, so if you get `Invalid system call' crashes that is because aio is not (kld)loaded. - The default configuration location (qemu-ifup script etc.) has been |