Comment 3 for bug 1867460

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Repro is easy, right after install:

root@f-dcap-after-cap:~# virsh domcapabilities
error: failed to get emulator capabilities
error: invalid argument: unable to find any emulator to serve 'x86_64' architecture

But if you run cap, then dcap works:
$ virsh capabilities
...
$ virsh domcapabilities
... now it works ...

The situation can be re-created on a system later on via:

$ rm /var/cache/libvirt/qemu/capabilities/*.xml
$ systemctl restart libvirtd
$ virsh domcapabilities
error: failed to get emulator capabilities
error: invalid argument: unable to find any emulator to serve 'x86_64' architecture