# emerge -1v qemu-kvm
* If you don't have kvm compiled into the kernel, make sure you have
* the kernel module loaded before running kvm. The easiest way to
* ensure that the kernel module is loaded is to load it on boot.
* For AMD CPUs the module is called 'kvm-amd'
* For Intel CPUs the module is called 'kvm-intel'
* Please review /etc/conf.d/modules for how to load these
* Make sure your user is in the 'kvm' group
* Just run 'gpasswd -a <USER> kvm', then have <USER> re-login.
* You will need the Universal TUN/TAP driver compiled into your
* kernel or loaded as a module to use the virtual network device
* if using -net tap. You will also need support for 802.1d
* Ethernet Bridging and a configured bridge if using the provided
* kvm-ifup script from /etc/kvm.
* The gnutls use flag was renamed to ssl, so adjust your use flags.
# gpasswd -a fitzcarraldo kvm
# modprobe kvm-intel
# lsmod | grep kvm
kvm_intel 39148 0
kvm 183285 1 kvm_intel
$ cat /proc/cpuinfo | grep " lm "
$ qemu-img create -f qcow qemu_disk.img 3G
$ qemu-kvm -smp 2 -m 1024m -boot d -cdrom ./livedvd-x86-amd64-32ul-11.0.iso -hda qemu_disk.img
Users browsing this forum: No registered users and 0 guests