From the course: Ubuntu Linux: Virtualization

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Modify a QEMU + KVM virtual machine

Modify a QEMU + KVM virtual machine

From the course: Ubuntu Linux: Virtualization

Start my 1-month free trial

Modify a QEMU + KVM virtual machine

Now that we have a virtual machine, we can make changes to it in a few different ways. The first was is to use the QEMU command line tool and change the options that we use when we start up the machine. We can set a different amount of memory, of disable specific kinds of hardware. We can manage which disk images are attached to the machine, and what network adapters are available, in addition to many other specific settings that I won't dig into in detail. Let's give this machine four gigabytes of memory and remove its network adapter temporarily. And let's give the machine a paravirtualized video adapter instead of the emulated one that we were using before. I'll shut down my guest, and back here at the command line I'll use the QEMU system x 86 64 command and my image and this time dash M 4G to give this machine four gigabytes of RAM. And with the option dash net none the system won't provide an emulated network adapter for the guest. They I'll use the dash VGA option, and tell it…

Contents