]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: time: Report errors if agent command fails
authorPeter Krempa <pkrempa@redhat.com>
Tue, 16 Sep 2014 13:37:08 +0000 (15:37 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 16 Sep 2014 15:51:39 +0000 (17:51 +0200)
commit98fd3b7f0b1af179336e55ddee6163580a927d93
tree801234ec236d51e7dddcd5d761601fa44c3e19aa
parentb20d39a56f36ee41f585864587c97137363acc3e
qemu: time: Report errors if agent command fails

Commit b606bbb4 broke reporting of errors when setting of guest time
fails via the guest agent as the return value is not checked and later
overwritten by the return value qemuMonitorRTCResetReinjection();

Fix this by checking the return value before resetting the RTC
reinjection.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1142294
src/qemu/qemu_driver.c