[libvirt] [PATCH 0/2] qemu: Refresh guest's RTC on daemon restart

Michal Privoznik mprivozn at redhat.com
Fri Apr 29 16:43:08 UTC 2016


Thing is, there are is an event that we use to keep our internal
state in sync with qemu. If libvirtd is not running, our internal
state gets out of sync. Therefore we must refresh it as soon as
we are started.

Michal Privoznik (2):
  qemu: Introduce qemuMonitorGetRTCTime
  qemu: Refresh RTC adjustment on qemuProcessReconnect

 src/qemu/qemu_monitor.c      | 11 +++++++++++
 src/qemu/qemu_monitor.h      |  3 +++
 src/qemu/qemu_monitor_json.c | 45 ++++++++++++++++++++++++++++++++++++++++++++
 src/qemu/qemu_monitor_json.h |  3 +++
 src/qemu/qemu_process.c      | 44 +++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 106 insertions(+)

-- 
2.8.1




More information about the libvir-list mailing list