Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

virt-manger ovmf

$
0
0
I want to configure a VirtuaI Machine graphically and the virt-manager, qemu packages offered by Ubuntu are a tad too old for my taste so I used the virtualization PPA for Ubuntu (ppa:jacob/virtualisation) to get the latest qemu and libvirt without getting into the headache of compiling them. After that I used

Code:

apt-get install ovmf
to get the OVMF option in libvirt and virt-manager but virt-manger threw this warning
Quote:

Libvirt did not detect any UEFI/OVMF firmware image installed on the host
After some searching I found out that the OVMF image supplied with Ubuntu is quite old so I found a fairly recent one in the unstable packages of Debian 8. After I downloaded it I installed and restarted libvirt-bin using:

Code:

dpkg -i ovmf_0~20150106.5c2d456b-1_all.deb
systemctl restart libvirt-bin

But still virt-manager would not see OVMF. After some more searching I found this page that explains when virt-manger displays the warning:

Quote:

1) libvirt supports the necessary domcapabilities bits,
2) it detects that qemu supports the necessary command line options, and
3) libvirt detects a UEFI binary on the host that maps to a known template via qemu.conf
After reading that I realized that the 3rd option was surely the problem, meaning that when I installed OVMF (either from the Ubuntu PPA or the deb package) it did not create the necessary links in /etc/libvirt/qemu.conf. Opening it I found at the bottom of the file that I have to list the OVMF images in this format:

Code:

nvram = [
  "/usr/share/OVMF/OVMF_CODE.fd:/usr/share/OVMF/OVMF_VARS.fd"
]

Here is where I hit a wall. I don't know what or how to make an OVMF_VARS file. I only have one image in /usr/share/ovmf/ and I don't understand how I can split it or what is the syntax for the qemu.conf file to put just the unified image.

PS: I'm a noob when it comes to Linux & Visualization so I'm sorry if my question seems easy or stupid.

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>