You are not logged in.
Pages: 1
I have the same problem as this guy here https://bbs.archlinux.org/viewtopic.php?id=232466 - but the solution they used doesn't work for me.
I am following this wiki article: https://wiki.archlinux.org/index.php/PC … d_guest_VM
I have installed the ovmf package and set up the nvram variable in /etc/libvirt/qemu.conf:
nvram = [
"/usr/share/ovmf/x64/OVMF_CODE.fd:/usr/share/ovmf/x64/OVMF_VARS.fd"
]
My file now looks like this: https://p.teknik.io/oPbLa
After that I have restarted the libvirtd service and even the whole host system.
The two files exist:
> ls -lh /usr/share/ovmf/x64/OVMF_CODE.fd /usr/share/ovmf/x64/OVMF_VARS.fd
-rw-r--r-- 1 root root 1.9M Jul 8 18:25 /usr/share/ovmf/x64/OVMF_CODE.fd
-rw-r--r-- 1 root root 128K Jul 8 18:25 /usr/share/ovmf/x64/OVMF_VARS.fd
And yet when I'm creating a new VM in virt manager the UEFI option is grayed out and I get a warning saying that libvirt did not detect the OVMF binaries:
https://i.redd.it/bjfnmzjdjbt31.png
https://i.redd.it/6i0j1hwejbt31.png
I only have one connection in virt-manager and it says system, not session (this is what the wiki says to check, and it's the other thread's problem):
https://i.redd.it/zxt281ubjbt31.png
The only error with libvirtd is just a virtualbox warning:
> systemctl status libvirtd
● libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; disabled; vendor preset: disabled)
Active: active (running) since Fri 2019-10-18 17:46:20 CEST; 25s ago
Docs: man:libvirtd(8)
https://libvirt.org
Main PID: 39856 (libvirtd)
Tasks: 17 (limit: 32768)
Memory: 53.5M
CGroup: /system.slice/libvirtd.service
└─39856 /usr/bin/libvirtd
Oct 18 17:46:20 altair systemd[1]: Started Virtualization daemon.
Oct 18 17:46:20 altair libvirtd[39856]: libvirt version: 5.8.0
Oct 18 17:46:20 altair libvirtd[39856]: hostname: altair
Oct 18 17:46:20 altair libvirtd[39856]: Libvirt doesn't support VirtualBox API version 6000014
Can anyone see what I'm doing wrong?
moderator edit -- replaced oversized images with links.
Pasting pictures and code
Last edited by 2ManyDogs (2019-10-18 22:47:57)
Offline
I'm having the exact same problem. Started going through the process about three days ago.
Offline
Literally made an account just for this issue.
I've been playing about with this for a few weeks without issue, now all of a sudden I have no UEFI detected when I'm trying to create a new VM? What?
I think it has something to do with the most recent update:
pacman -Q --info libvirt
reveals a "Build Date 17-Oct-2019 17:34"
Downloading version 5.6.0 from here: https://archive.archlinux.org/packages/l/libvirt/ (inc. signature file) and running
pacman -U libvirt-5.6.0-1-x86_64.pkg.tar.xz
Issue is now fixed for me and UEFI is now detected!
Last edited by meowcat (2019-10-19 00:02:25)
Offline
That's a downgrade. The current version is 5.8.0-1, which is what I have installed.
So downgrading all the way to 5.6.0-1 is what fixes the issue?
Offline
That's what fixed the issue for me at least, I had 5.8.0-1 installed too
Last edited by meowcat (2019-10-19 00:15:26)
Offline
Downgrading fixed it for me. Did anyone file a bug report?
Offline
Downgrading fixed it for me. Did anyone file a bug report?
Offline
Is you run from the console
virt-manager --debug
Is there any difference in the outputs produced between libvirt 5.6 and 5.8?
Offline
A workaround to get this working in v5.8 has been added to that bug.
Offline
fail post
Last edited by iGwadaa (2019-12-01 00:36:06)
Offline
Hi, i'm making an installation from scratch, with the wiki (https://wiki.archlinux.org/index.php/PC … d_guest_VM).
After downgrading libvirt to the v5.6.0, i get libvirtd who fails to start the Virtualization daemon, so i run libvirtd -v :
[...]
2019-11-30 21:23:06.760+0000: 2417: info : virEventPollAddHandle:133 : EVENT_POLL_ADD_HANDLE: watch=1 fd=4 events=1 cb=0x7f5f3d3a8580 opaque=(nil) ff=(nil)
2019-11-30 21:23:06.760+0000: 2417: info : virObjectNew:252 : OBJECT_NEW: obj=0x56187e95c590 classname=virNetServer
2019-11-30 21:23:06.760+0000: 2417: info : virObjectRef:401 : OBJECT_REF: obj=0x56187e95c590
2019-11-30 21:23:06.765+0000: 2417: error : virModuleLoadFile:52 : internal error: Failed to load module '/usr/lib/libvirt/storage-backend/libvirt_storage_backend_iscsi-direct.so': libiscsi.so.8: cannot open shared object file: No such file or directory
2019-11-30 21:23:06.765+0000: 2417: info : virNetlinkEventServiceStopAll:941 : stopping all netlink event services
2019-11-30 21:23:06.765+0000: 2417: info : virNetlinkEventServiceStop:904 : stopping netlink event service
2019-11-30 21:23:06.765+0000: 2417: info : virNetlinkEventServiceStop:904 : stopping netlink event service
[...]
I downgraded libiscsi to the previous version but then i got this error from virt-manager : ImportError: /usr/lib/libvirt.so.0: version `LIBVIRT_5.7.0' not found (required by /usr/lib/python3.8/site-packages/libvirtmod.cpython-38-x86_64-linux-gnu.so)
I tried with other version and only the v5.8.0-1 is working with the old version of libiscsi but virt-manager still couldn't find the firmware. So i tryed to isolate the failing package by downgrading all the packages before the date of the release of the v5.6.0... but turned out i got a bunch of errors and because i'm on it since 20 hours now i'm thinking about giving up. If that can help i have a file with the links of the packages before the v5.6.0 of libvirt : https://drive.google.com/open?id=10HzZU … da6ozdwgY9
Last edited by iGwadaa (2019-12-01 01:12:37)
Offline
Did you try with 5.8 the workaround from https://bugs.archlinux.org/task/64175#comment183769
or removing /usr/share/qemu/firmware/*edk* ?
Offline
Sorry i don't understand what to do
Last edited by iGwadaa (2019-12-01 01:39:07)
Offline
https://bugs.archlinux.org/task/64175#comment183769 may require altering the PKGBUILD or creating a file in /etc/qemu/firmware/
but for my other suggestion execute the following (# mean execute it as root) then restart libvirt
# rm /usr/share/qemu/firmware/*edk*
Offline
Yes it works perfectly thanks a lot :)
Last edited by iGwadaa (2019-12-01 01:40:59)
Offline
I am searching a way to have a better resolution through the VM tho. I'm stuck in 800x600
Last edited by iGwadaa (2019-12-01 01:50:21)
Offline
https://bugs.archlinux.org/task/64175#comment183769 may require altering the PKGBUILD or creating a file in /etc/qemu/firmware/
but for my other suggestion execute the following (# mean execute it as root) then restart libvirt# rm /usr/share/qemu/firmware/*edk*
Created an account and logged in just to thank you. This is what got it working for me!
Offline
I am searching a way to have a better resolution through the VM tho. I'm stuck in 800x600
I fixed the 800x600 problem by installing Spice Guest Additions on Windows VM: https://www.spice-space.org/download.html. Under "Guest -> Windows Binaries" section
Offline
Some stupid new update of libvirt or virt manager screwed the whole thing up.
Please enable xml editing in virt-manager and in the <os>....</os> section of the vm xml file just add:
<loader readonly="yes" type="pflash">/usr/share/ovmf/x64/OVMF_CODE.fd</loader>
<nvram>/var/lib/libvirt/qemu/nvram/_archlinux-uefi_VARS.fd</nvram>
after first creating the VM,
taking care that the above entry reflects your ovfm settings in /etc/libvirt/qemu.conf.
Offline
Some stupid new update of libvirt or virt manager screwed the whole thing up.
Please enable xml editing in virt-manager and in the <os>....</os> section of the vm xml file just add:<loader readonly="yes" type="pflash">/usr/share/ovmf/x64/OVMF_CODE.fd</loader> <nvram>/var/lib/libvirt/qemu/nvram/_archlinux-uefi_VARS.fd</nvram>
after first creating the VM,
taking care that the above entry reflects your ovfm settings in /etc/libvirt/qemu.conf.
The above is the simplest fix for the time being. It doesn't require messing with anything but your XML config.
Offline
Pages: 1