[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]