[Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time

2013-03-15 Thread Lei Li
Signed-off-by: Lei Li --- qga/commands-win32.c | 27 +-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/qga/commands-win32.c b/qga/commands-win32.c index b19be9d..d98e3ee 100644 --- a/qga/commands-win32.c +++ b/qga/commands-win32.c @@ -22,6 +22,12 @@ #defi

Re: [Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time

2013-03-14 Thread mdroth
On Thu, Mar 14, 2013 at 11:05:52PM +0800, Lei Li wrote: > Signed-off-by: Lei Li > --- > qga/commands-win32.c | 29 + > 1 file changed, 29 insertions(+) > > diff --git a/qga/commands-win32.c b/qga/commands-win32.c > index 7e8ecb3..b395bd5 100644 > --- a/qga/commands-wi

[Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time

2013-03-14 Thread Lei Li
Signed-off-by: Lei Li --- qga/commands-win32.c | 29 + 1 file changed, 29 insertions(+) diff --git a/qga/commands-win32.c b/qga/commands-win32.c index 7e8ecb3..b395bd5 100644 --- a/qga/commands-win32.c +++ b/qga/commands-win32.c @@ -22,6 +22,12 @@ #define SHTDN_REASO

Re: [Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time

2013-03-14 Thread Lei Li
On 03/14/2013 08:32 PM, mdroth wrote: On Thu, Mar 14, 2013 at 03:07:50PM +0800, Lei Li wrote: Signed-off-by: Lei Li --- qga/commands-win32.c | 33 + 1 file changed, 33 insertions(+) diff --git a/qga/commands-win32.c b/qga/commands-win32.c index 7e8ecb3..e24fb

Re: [Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time

2013-03-14 Thread mdroth
On Thu, Mar 14, 2013 at 03:07:50PM +0800, Lei Li wrote: > Signed-off-by: Lei Li > --- > qga/commands-win32.c | 33 + > 1 file changed, 33 insertions(+) > > diff --git a/qga/commands-win32.c b/qga/commands-win32.c > index 7e8ecb3..e24fb4a 100644 > --- a/qga/command

[Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time

2013-03-14 Thread Lei Li
Signed-off-by: Lei Li --- qga/commands-win32.c | 33 + 1 file changed, 33 insertions(+) diff --git a/qga/commands-win32.c b/qga/commands-win32.c index 7e8ecb3..e24fb4a 100644 --- a/qga/commands-win32.c +++ b/qga/commands-win32.c @@ -22,6 +22,12 @@ #define SHTDN_R

Re: [Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time

2013-03-13 Thread Lei Li
On 03/14/2013 04:07 AM, mdroth wrote: On Wed, Mar 13, 2013 at 06:10:30PM +0800, li...@linux.vnet.ibm.com wrote: From: Lei Li Signed-off-by: Lei Li --- qga/commands-win32.c | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/qga/commands-

Re: [Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time

2013-03-13 Thread mdroth
On Wed, Mar 13, 2013 at 03:07:52PM -0500, mdroth wrote: > On Wed, Mar 13, 2013 at 06:10:30PM +0800, li...@linux.vnet.ibm.com wrote: > > From: Lei Li > > > > Signed-off-by: Lei Li > > --- > > qga/commands-win32.c | 32 > > 1 files changed, 32 insertions(+), 0 d

Re: [Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time

2013-03-13 Thread mdroth
On Wed, Mar 13, 2013 at 06:10:30PM +0800, li...@linux.vnet.ibm.com wrote: > From: Lei Li > > Signed-off-by: Lei Li > --- > qga/commands-win32.c | 32 > 1 files changed, 32 insertions(+), 0 deletions(-) > > diff --git a/qga/commands-win32.c b/qga/commands-win3

[Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time

2013-03-13 Thread lilei
From: Lei Li Signed-off-by: Lei Li --- qga/commands-win32.c | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/qga/commands-win32.c b/qga/commands-win32.c index 7e8ecb3..0a2bb34 100644 --- a/qga/commands-win32.c +++ b/qga/commands-win32.c @@

[Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time

2013-03-12 Thread Lei Li
Signed-off-by: Lei Li --- qga/commands-win32.c | 32 1 file changed, 32 insertions(+) diff --git a/qga/commands-win32.c b/qga/commands-win32.c index 7e8ecb3..0a2bb34 100644 --- a/qga/commands-win32.c +++ b/qga/commands-win32.c @@ -22,6 +22,12 @@ #define SHTDN_RE

Re: [Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time

2013-03-08 Thread Eric Blake
On 03/08/2013 09:56 AM, Lei Li wrote: > Signed-off-by: Lei Li > --- > 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 yea

[Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time

2013-03-08 Thread Lei Li
Signed-off-by: Lei Li --- qga/commands-win32.c | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/qga/commands-win32.c b/qga/commands-win32.c index 7e8ecb3..0a2bb34 100644 --- a/qga/commands-win32.c +++ b/qga/commands-win32.c @@ -22,6 +22,12 @

Re: [Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time

2013-03-06 Thread Lei Li
On 03/06/2013 11:31 PM, Eric Blake wrote: On 03/06/2013 06:45 AM, Lei Li wrote: Signed-off-by: Lei Li --- qga/commands-win32.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/qga/commands-win32.c b/qga/commands-win32.c index 7e8ecb3..4febe

Re: [Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time

2013-03-06 Thread Eric Blake
On 03/06/2013 06:45 AM, Lei Li wrote: > Signed-off-by: Lei Li > --- > qga/commands-win32.c | 28 > 1 files changed, 28 insertions(+), 0 deletions(-) > > diff --git a/qga/commands-win32.c b/qga/commands-win32.c > index 7e8ecb3..4febec7 100644 > --- a/qga/commands-wi

[Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time

2013-03-06 Thread Lei Li
Signed-off-by: Lei Li --- qga/commands-win32.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/qga/commands-win32.c b/qga/commands-win32.c index 7e8ecb3..4febec7 100644 --- a/qga/commands-win32.c +++ b/qga/commands-win32.c @@ -22,6 +22,8 @@ #d