[RFC PATCH 0/4] Guest time sync on snapshot resume

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

 



Hello Cole,

here's my first stab at implementing guest time sync as per your
suggestions. Please let me know if this is moving into the right
direction.

These patches do:
* add method _set_time() calling the libvirt setTime API
* wire it up in resume from paused and saved state as well as revert to
  a snapshot containing a running domain state
* only run the API if the connection is of type qemu or test
* only run the API if a guest agent channel is defined for a qemu
  connection
* wait for the guest agent channel state to become connected, i.e. the
  guest agent coming online inside the guest

If you drop me some quick pointers how to go about dispatching the set
time operation to a separate or already existing background thread so it
doesn't block the UI, I'll be happy to give that a whirl as well.

Michael Weiser (4):
  virtManager: object: domain: Set time on resume
  virtManager: object: domain: Restrict time sync to qemu
  virtManager: object: domain: Check for guest agent
  virtManager: object: domain: Set time on unpause and revert

 virtManager/object/domain.py | 91 ++++++++++++++++++++++++++++++++----
 1 file changed, 82 insertions(+), 9 deletions(-)

-- 
2.24.0


_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux