O'Reilly logo

Troubleshooting Ubuntu Server by Skanda Bhargav

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

libvirt

The libvirt library is an open source library that is helpful for interfacing with different virtualization technologies. One small task before starting with libvirt is to check your hardware support extensions for KVM. The command to do so is as follows:

kvm-ok

You will see a message stating whether or not your CPU supports hardware virtualization. An additional task would be to verify the BIOS settings for virtualization and activate it.

Installation

Use the following command to install the package for libvirt:

sudo apt-get install kvm libvirt-bin

Next, you will need to add the user to the group libvirt. This will ensure that user gets additional options for networking. The command is as follows:

sudo adduser $USER libvirtd

We are now ...

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