[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-g
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time |
Date: |
Fri, 08 Mar 2013 13:12:31 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3 |
On 03/08/2013 09:56 AM, Lei Li wrote:
> Signed-off-by: Lei Li <address@hidden>
> ---
> qga/commands-win32.c | 32 ++++++++++++++++++++++++++++++++
> 1 files changed, 32 insertions(+), 0 deletions(-)
>
> +
> + time_ns = (int64_t)((time.ns100 - W32_FT_OFFSET) * 100);
This could overflow, but only so many years into the future that it's
beyond our lifetime, so I don't mind leaving it as is.
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature