GNOME Bugzilla – Bug 696239
libvirt-machine-props: Fix reboot code
Last modified: 2016-03-31 13:22:07 UTC
See patch
Created attachment 239424 [details] [review] libvirt-machine-props: Fix reboot code Due to a regression from commit e176e57, we were listening to 'state' property change notification on wrong object and as result we were not starting the box after its shutdown.
Review of attachment 239424 [details] [review]: ::: src/libvirt-machine-properties.vala @@ +465,3 @@ if (machine.state == Machine.MachineState.STOPPED || machine.state == Machine.MachineState.FORCE_STOPPED) { debug ("'%s' stopped.", machine.name); There's a this.disconnect (state_id); further below, shouldn't it be machine.disconnect(state_id)? (didn't have my morning coffee yet, so I may not make sense yet ;)
Created attachment 239463 [details] [review] libvirt-machine-props: Fix reboot code Due to a regression from commit e176e57, we were listening to 'state' property change notification on wrong object and as result we were not starting the box after its shutdown.
Attachment 239463 [details] pushed as 89ede18 - libvirt-machine-props: Fix reboot code