After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 664561 - Unable to delete inactive libvirt boxes
Unable to delete inactive libvirt boxes
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-11-22 13:27 UTC by doctorkohaku
Modified: 2016-03-31 13:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Allow deleting inactive libvirt boxes (2.05 KB, patch)
2011-11-22 13:54 UTC, Marc-Andre Lureau
committed Details | Review

Description doctorkohaku 2011-11-22 13:27:56 UTC
There seems to be a bug with deleting inactive kvm boxes. The box disappears from the UI, but it's still there after gnome-boxes is restarted.

Steps to reproduce:
1. Create a new KVM box
2. killall qemu-kvm
3. Delete the box from gnome-boxes
4. Restart gnome-boxes
5. The box will still be there

Console output:
** WARNING **: libvirt-machine.vala:321: Unable to stop domain: Requested operation is not valid: domain is not running
Comment 1 Marc-Andre Lureau 2011-11-22 13:54:56 UTC
Created attachment 201925 [details] [review]
Allow deleting inactive libvirt boxes

And fix related deletion warnings
Comment 2 doctorkohaku 2011-11-22 14:04:00 UTC
Review of attachment 201925 [details] [review]:

This patch fixes it. Also gets rid of failed assertion while deleting a running box.
Comment 3 Marc-Andre Lureau 2011-11-22 14:08:07 UTC
Attachment 201925 [details] pushed as 3485496 - Allow deleting inactive libvirt boxes