Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virt-manager keeps store-paths as part of virtual machines configuration #1200

Closed
bjornfor opened this issue Nov 10, 2013 · 2 comments
Closed

Comments

@bjornfor
Copy link
Contributor

This leads to issues like this, where the virtual machine cannot start, after having set up a virtual machine some time ago and then garbage collecting:

Error starting domain: Cannot check QEMU binary /nix/store/z5c2xzk9x0pj6x511w0w4gy9xl5wljxy-qemu-1.5.2-x86-only/bin/qemu-kvm: No such file or directory

The store-path reference is located in here:

$ sudo grep -rn qemu-kvm /etc/libvirt/
/etc/libvirt/qemu/ubuntu.xml:28:    <emulator>/nix/store/z5c2xzk9x0pj6x511w0w4gy9xl5wljxy-qemu-1.5.2-x86-only/bin/qemu-kvm</emulator>

I can also see the store path in virt-manager in Details->Overview->Hypervisor Details, but it is just shown as read-only info, it cannot be changed from there.

It is quite user unfriendly to have virt-manager break virtual machines like this, we should fix it.

@bjornfor
Copy link
Contributor Author

Fixed in f52f9bf.

@ZoomRmc
Copy link
Contributor

ZoomRmc commented Mar 20, 2019

Just have ran into the same problem on 18.09.2360
The machine was suspended and didn't want to wake up, on rebooting got the same error with stored qemu-kvm path, had to manually edit xml.
Have I detected a possible regression?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants