Hi,
I have a windows 10 guest with qemu-ga-x64.msi installed from the fedora virtio iso.
qemu-ga version is 0.12.1
host qemu version is 2.1.0 (I know its older but in this version the active block commit
works perfectly...)
libvirt version 1.2.12
I have these lines in my xml:
<channel type='unix'>
<source mode='bind'
path='/var/lib/libvirt/qemu/channel/target/PCVIRTmbe.org.qemu.guest_agent.0'/>
<target type='virtio' name='org.qemu.guest_agent.0'
state='disconnected'/>
<alias name='channel0'/>
<address type='virtio-serial' controller='0' bus='0'
port='1'/>
</channel>
/var/lib/libvirt/qemu/channel/target/PCVIRTmbe.org.qemu.guest_agent.0 exists on the host
and the rights seems to be all right.
On the guest, the folder C:\ProgramData\qemu-ga exists
Still, I can't start the qemu-ga service. I get this error:
Can't start QEMU GuestAgent-service on the local computer
Error 1053: The service didn't answer correctly on the start command
(or something like this, the error message in in Dutch)
If I start the qemu-ga from the cmd I get this error:
error opening path
error opening channel
failed to create guest agent channel
failed to initialize guest agent channel
Does anybody got an idea how to resolve this problem?
Thanks in advance.
Dominique.
Show replies by date
Answering my own question: I forgot to install the virtio serial driver... Now the qemu-ga
starts...
________________________________
Van: Dominique Ramaekers
Verzonden: donderdag 12 november 2015 23:50
Aan: libvirt-users(a)redhat.com
Onderwerp: Qemu-ga on Windows 10
Hi,
I have a windows 10 guest with qemu-ga-x64.msi installed from the fedora virtio iso.
qemu-ga version is 0.12.1
host qemu version is 2.1.0 (I know its older but in this version the active block commit
works perfectly...)
libvirt version 1.2.12
I have these lines in my xml:
<channel type='unix'>
<source mode='bind'
path='/var/lib/libvirt/qemu/channel/target/PCVIRTmbe.org.qemu.guest_agent.0'/>
<target type='virtio' name='org.qemu.guest_agent.0'
state='disconnected'/>
<alias name='channel0'/>
<address type='virtio-serial' controller='0' bus='0'
port='1'/>
</channel>
/var/lib/libvirt/qemu/channel/target/PCVIRTmbe.org.qemu.guest_agent.0 exists on the host
and the rights seems to be all right.
On the guest, the folder C:\ProgramData\qemu-ga exists
Still, I can't start the qemu-ga service. I get this error:
Can't start QEMU GuestAgent-service on the local computer
Error 1053: The service didn't answer correctly on the start command
(or something like this, the error message in in Dutch)
If I start the qemu-ga from the cmd I get this error:
error opening path
error opening channel
failed to create guest agent channel
failed to initialize guest agent channel
Does anybody got an idea how to resolve this problem?
Thanks in advance.
Dominique.