QEMU

From YobiWiki
Revision as of 00:01, 2 March 2008 by <bdi>PhilippeTeuwen</bdi> (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Converted with HTML::WikiConverter::MediaWiki from my old phpwiki site


QEMU official site

  • As today on Debian: v0.7.0
  • On the official site: v0.7.1

To compile kqemu: (kernel module accelerator to provide userspace virtualisation)

  • extract qemu sources
  • extract kqemu sources in qemu/
  • in qemu/: ./configure --disable-gfx-check
  • in qemu/kqemu/: make
    (for it to work, you must have the tree used for the current kernel, and no make-kpkg clean!!)
  • mkdir -p "/lib/modules/`uname -r`/misc"
  • cp kqemu.ko "/lib/modules/`uname -r`/misc"
  • /sbin/depmod -a
  • echo "KERNEL=\"kqemu\", MODE=\"0666\"">/etc/udev/rules.d/kqemu.rules
  • modprobe kqemu major=0
  • modprobe tun
  • chmod 666 /dev/net/tun

This would be better to create appropriate groups for kqemu and tun instead of chmod 666.

To boot from the cdrom:

  • qemu -cdrom /dev/cdrom -boot d