I'm showing kqemu is loaded but not used: $ lsmod |grep kqemu kqemu 106372 0 # ls -alh /dev/kqemu crw-rw-rw- 1 root root 250, 0 Aug 3 21:04 /dev/kqemu (Just for reference, I've also tried recreating the device with " mknod --mode=0666 /dev/kqemu c 250 0 " to no avail of the modules being shown used.) Maybe it's the versions I've unmasked? # qpkg -I -v |grep qemu app-emulation/qemu-0.8.1 * app-emulation/qemu-softmmu-0.8.1-r1 * app-emulation/qemu-user-0.8.1 * app-emulation/kqemu-1.3.0_pre7 * (On a side note, noticing a IUSE variable in qemu-softmmu referencing qemu-fast?) I'm assuming since it's taking forever for windowsupdate to commence and sometimes long load times, it *must* be because kqemu is not working as planned?
Never mind. I've removed all my unmasked *qemu* packages in /etc/portage/package.keywords and simply did: emerge kqemu (Allowing kqemu resolve any deps.) Sorry. Dumb_Qemu_User here! I'm now seeing after lsmod: kqemu 39816 2 Now, from here, I'll unmask and upgrade to see if it breaks, but I'll bet I was using the wrong qemu package for kqemu!!!
Those versions indeed don't mix nicely.
So far, kqemu will appear to be being used from what lsmod says with the following versions: app-emulation/kqemu-0.7.2 * app-emulation/qemu-softmmu-0.8.0 * However, as you've said, trying to use app-emulation/qemu-softmmu-0.8.2 with app-emulation/kqemu-1.3.0_pre7. Out of curiousity, which are the highest versions that will match and work?
I've done some further research with app-emulation/kqemu && app-emulation/qemu-softmmu, and the following version work: app-emulation/kqemu-0.7.2 app-emulation/qemu-softmmu-0.8.0 Although app-emulation/qemu-softmmu-0.8.2 ships with kqemu-0.7.2, kqemu does not work. This appears to be an issue with the qemu-softmmu-0.8.2.ebuild modifying the Makefile? To rule out the kqemu ebuild, I've already downloaded & built the kqemu original tarball && make, but still does not work. I've also tried the kqemu-1.3.0_pre7 & kqemu-1.3.0_pre9 and still lsmod shows kqemu is not being utilized. Is there a method I can use to debug why qemu isn't using kqemu? Strace doesn't seem to be reporting much. One other thing I noticed, qemu-softmmu ebuilds are building all targets. Why not a $TARGET in /etc/make.conf so users only have to build their needed targets saving lots of build time for targets they won't use?
btw, during the app-emulation/qemu-softmmu-0.8.2 emerge, kqemu is showing active via the configure output.
Well, I've found one option "-S" to be useful. It will stop loading the o/s, & if kqemu isn't in use by then, chances are kqemu won't be used. Any info would be helpful.
Should be fixed now
Was just about to debug myself with original sources. I'll put it on my agenda for (hopefully) tonight and will report back.
Confirmed. kqemu is now being used. For reference, I'm using the following: # qpkg -I -v |grep qemu app-emulation/qemu-softmmu-0.8.2-r1 * app-emulation/kqemu-1.3.0_pre9 *
Just a quick note, using "-smp 2" option causes the kqemu not to be used. kqemu will still be enabled if the "-smp 1" option is used. Basically, it looks like kqemu doesn't like smp or multiprocessing. Looks like an upstream bug.