qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/2 v5] Time resync support by qemu-ga


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 0/2 v5] Time resync support by qemu-ga
Date: Tue, 05 Mar 2013 08:46:13 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3

On 03/05/2013 02:39 AM, Lei Li wrote:
> This patch series attempts to add time resync support
> to qemu-ga by introducing qemu-ga commands guest-get-time
> and guest-set-time.
> 
> Right now, when a guest is paused or migrated to a file
> then loaded from that file, the guest OS has no idea that
> there was a big gap in the time. Depending on how long the
> gap was, NTP might not be able to resynchronize the guest.
> So adding new guest-agent command that is called any time
> a guest is resumed  and which tells the guest to update its
> own wall clock time based on the information from the host
> will make it easier for a guest to resynchronize without
> waiting for NTP.
> 
> The previous RFC send for discussion and suggestion as link
> here:
> 
> http://article.gmane.org/gmane.comp.emulators.qemu/186126
> 
> The interface for these commands like:
> 
> { 'command': 'guest-get-time', 'returns': 'int' }
> 
> { 'command': 'guest-set-time', 'data': { 'time': int } }
> 
> Notes:
> For the implementition of win32-specific commands, I plan
> to send it out in another thread later.
> 
> Suggestions and comments are welcome!
> 
> Changes since v4:
>   - Fix the missing error exit pointed by Eric.
>   - Doc improvement from Eric.

Thanks.  Series:
Reviewed-by: Eric Blake <address@hidden>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]