O'Reilly logo

KVM Virtualization Cookbook by Konstantin Ivanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

There's more...

In this chapter, we have been starting KVM virtual machines using the virsh command, provided by the libvirt toolset and libraries. If you check the process tree after starting a guest, you can see that virsh command actually calls the /usr/bin/qemu-system-x86_64 binary. If you recall from the Running virtual machines with qemu-system-* recipe in Chapter 1, Getting Started with QEMU and KVM; this is exactly what we used to start QEMU/KVM virtual machines.

Note the process that the libvirt daemon started when we ran started the KVM instance in this recipe:

root@kvm:~# pgrep -lfa qemu6233 /usr/bin/qemu-system-x86_64 -name kvm1 -S -machine pc-i440fx-trusty,accel=kvm,usb=off -m 2048 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required