Received: from eggs.gnu.org ([208.118.235.92]:40118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEMXS-0000Qh-Ft for qemu-devel@nongnu.org; Wed, 19 Sep 2012 11:50:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEMXM-00085X-IN for qemu-devel@nongnu.org; Wed, 19 Sep 2012 11:50:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:55194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEMXM-0007wD-Bm for qemu-devel@nongnu.org; Wed, 19 Sep 2012 11:50:04 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TEMXM-00041Z-C9 for qemu-devel@nongnu.org; Wed, 19 Sep 2012 17:50:04 +0200 Received: from 60.191.123.54 ([60.191.123.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Sep 2012 17:50:04 +0200 Received: from hpfei.cn by 60.191.123.54 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Sep 2012 17:50:04 +0200 From: Pengfei Hu Date: Wed, 19 Sep 2012 01:33:51 +0000 (UTC) Message-ID: References: <1342470253.18091.YahooMailNeo@web45313.mail.sp1.yahoo.com> <1342471759.98603.YahooMailNeo@web45308.mail.sp1.yahoo.com> <20120716213338.GB2880@illuin> <1342560893.70926.YahooMailNeo@web45307.mail.sp1.yahoo.com> <20120717220249.GD2880@illuin> <20120717221215.GE2880@illuin> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] =?utf-8?q?Fw=3A_Qemu-ga_=3A_Guest_Agent_=3A_Win_2008?= =?utf-8?q?-64bit_not=09working?= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I found the same problem occur at Win7. At vioserial\app\device.app: BOOL CDevice::Init(BOOL ovrl) { PWCHAR DevicePath = NULL; if ((DevicePath = GetDevicePath((LPGUID)&GUID_VIOSERIAL_PORT)) != NULL) { m_hDevice = CreateFile(DevicePath, GENERIC_WRITE | GENERIC_READ, 0, NULL, OPEN_EXISTING, ovrl ? FILE_FLAG_OVERLAPPED : FILE_ATTRIBUTE_NORMAL, NULL ); if (m_hDevice != INVALID_HANDLE_VALUE) { printf("Open vioserial device %S.\n", DevicePath); return TRUE; } } DWORD err = GetLastError(); printf("Cannot find vioserial device. %S , error = %d\n", DevicePath, err ); return FALSE; } GetLastError return 5. This mean not enough privilege. Running with administrator will solve this problem. Or you may run "qemu-ga -s install" to install as a service.