GNOME Bugzilla – Bug 671847
RFC: Don't wait for domain creation event
Last modified: 2016-03-31 14:02:35 UTC
libvirt doesn't seem to be very reliable on prolonged sessions so the lesser we depend on it, the better. This patch is mainly a work-around for a very hard to debug/reproduce libvirt issue: It stops sending domain events after libvirtd has been running for a long time (where the definition of 'long time' doesn't seem to be predictable). OTOH, this patch doesn't do any harm and actually reduces the time it takes before user hitting 'create' button in wizard and new machine appearing in the collection view.
Created attachment 209448 [details] [review] RFC: Don't wait for domain creation event libvirt doesn't seem to be very reliable on prolonged sessions so the lesser we depend on it, the better. This patch is mainly a work-around for a very hard to debug/reproduce libvirt issue: It stops sending domain events after libvirtd has been running for a long time (where the definition of 'long time' doesn't seem to be predictable). OTOH, this patch doesn't do any harm and actually reduces the time it takes before user hitting 'create' button in wizard and new machine appearing in the collection view.
Review of attachment 209448 [details] [review]: looks ok (although I hope we could remove it some day, as it shouldn't really be necessary, and may be annoying if libvirt didn't create the VM for some reason...)