[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Fw: Qemu-ga : Guest Agent : Win 2008 -64bit not working
From: |
Pengfei Hu |
Subject: |
Re: [Qemu-devel] Fw: Qemu-ga : Guest Agent : Win 2008 -64bit not working |
Date: |
Wed, 19 Sep 2012 01:33:51 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] Fw: Qemu-ga : Guest Agent : Win 2008 -64bit not working,
Pengfei Hu <=