From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFieM-0008M8-0h for qemu-devel@nongnu.org; Wed, 13 Mar 2013 06:11:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFieE-0001ML-8g for qemu-devel@nongnu.org; Wed, 13 Mar 2013 06:11:09 -0400 Received: from e23smtp01.au.ibm.com ([202.81.31.143]:48153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFieD-0001Lv-Nj for qemu-devel@nongnu.org; Wed, 13 Mar 2013 06:11:02 -0400 Received: from /spool/local by e23smtp01.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 13 Mar 2013 20:04:46 +1000 Received: from d23relay03.au.ibm.com (d23relay03.au.ibm.com [9.190.235.21]) by d23dlp01.au.ibm.com (Postfix) with ESMTP id 82B4A2CE804A for ; Wed, 13 Mar 2013 21:10:53 +1100 (EST) Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay03.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r2DAAmid7405880 for ; Wed, 13 Mar 2013 21:10:50 +1100 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r2DAApT5022944 for ; Wed, 13 Mar 2013 21:10:52 +1100 From: lilei@linux.vnet.ibm.com Date: Wed, 13 Mar 2013 18:10:29 +0800 Message-Id: <1363169431-1561-1-git-send-email-lilei@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/2 v4] Add Windows support for time resync by qemu-ga List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, mdroth@linux.vnet.ibm.com, Lei Li From: Lei Li This patch series attempts to add Windows implementation for qemu-ga commands guest-get-time and guest-set-time. The previous thread about the interfaces introduced and the POSIX-specific command implementation has already been accepted, the reference link: http://article.gmane.org/gmane.comp.emulators.qemu/198472 Notes: Now It was tested on Windows XP SP3 and Windows 7. Please comment! Thanks. Changes since v3: - Reorder the acquire_privilege to avoid a possible leak of privileges suggested by Eric. Changes since v2: - Overflow check improvement for time_ns from Eric. Changes since v1: - Make the macro for the offset between windows baseline and Unix Epoch more readable from Eric. - Overflow check for filetime pointed by Eric. Lei Li (2): qga: add windows implementation for guest-get-time qga: add windows implementation for guest-set-time