Hello,
I need to communicate with windows 10 guest from cent os host.
Following this docs - https://access.redhat.com/solutions/732773,
https://wiki.libvirt.org/page/Qemu_guest_agent I add new device in my Win10
guest
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
</channel>
and install gemu-ga x64 from this iso -
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.141-1/virtio-win-0.1.141.iso
After that I install gemu-guest-agent on cent os host and try to start
service but with no success
[root at kvm ~]# service qemu-guest-agent start
Redirecting to /bin/systemctl start qemu-guest-agent.service
A dependency job for qemu-guest-agent.service failed. See 'journalctl
-xe'
for details.
[root at kvm ~]# journalctl -xe
??? 01 15:41:03 kvm.office systemd[1]: Job
dev-virtio\x2dports-org.qemu.guest_agent.0.device/start timed out.
??? 01 15:41:03 kvm.office systemd[1]: Timed out waiting for device
dev-virtio\x2dports-org.qemu.guest_agent.0.device.
-- Subject: Unit dev-virtio\x2dports-org.qemu.guest_agent.0.device has
failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dev-virtio\x2dports-org.qemu.guest_agent.0.device has failed.
--
-- The result is timeout.
??? 01 15:41:03 kvm.office systemd[1]: Dependency failed for QEMU Guest
Agent.
-- Subject: Unit qemu-guest-agent.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit qemu-guest-agent.service has failed.
--
-- The result is dependency.
??? 01 15:41:03 kvm.office systemd[1]: Job qemu-guest-agent.service/start
failed with result 'dependency'.
??? 01 15:41:03 kvm.office systemd[1]: Job
dev-virtio\x2dports-org.qemu.guest_agent.0.device/start failed with result
'timeout'.
??? 01 15:41:03 kvm.office polkitd[1376]: Unregistered Authentication Agent
for unix-process:27927:138320296 (system bus name :1.885, object path
/org/freedesktop/PolicyKit1/AuthenticationAg
Also I tried to start qemu-ga wrapped by strace
[root at kvm ~]# source /etc/sysconfig/qemu-ga
[root at kvm ~]# strace /usr/bin/qemu-ga \> --method=virtio-serial \
> --path=/dev/virtio-ports/org.qemu.guest_agent.0 \
> --blacklist=${BLACKLIST_RPC} \
> -F${FSFREEZE_HOOK_PATHNAME}
<skipped>
open("/dev/virtio-ports/org.qemu.guest_agent.0",
O_RDWR|O_NONBLOCK|O_ASYNC|O_CLOEXEC) = -1 ENOENT (No such file or directory)
write(2, "1519901353.794545: critical: err"..., 781519901353.794545:
critical: error opening channel: No such file or directory
) = 78
write(2, "1519901353.794659: critical: err"..., 511519901353.794659:
critical: error opening channel
) = 51
write(2, "1519901353.794742: critical: fai"..., 661519901353.794742:
critical: failed to create guest agent channel
) = 66
write(2, "1519901353.794818: critical: fai"..., 701519901353.794818:
critical: failed to initialize guest agent channel
) = 70
exit_group(1) = ?
+++ exited with 1 +++
[root at kvm ~]# ls -l /dev/virtio-ports/*
ls: cannot access /dev/virtio-ports/*: No such file or directory
Anybody help me?
Centos 7.2
[root at kvm ~]# cat /etc/centos-release
CentOS Linux release 7.2.1511 (Core)
[root at kvm ~]# uname -r
3.10.0-327.el7.x86_64
Qemu-guest-agent v2.8
[root at kvm ~]# rpm -qa | grep qemu-guest
qemu-guest-agent-2.8.0-2.el7.x86_64
Other packages
[root at kvm systemd]# rpm -qa | egrep -i 'qemu|kvm|libvirt'
libvirt-client-3.2.0-14.el7_4.7.x86_64
libvirt-daemon-config-nwfilter-3.2.0-14.el7_4.7.x86_64
libvirt-daemon-driver-storage-disk-3.2.0-14.el7_4.7.x86_64
libvirt-daemon-driver-storage-scsi-3.2.0-14.el7_4.7.x86_64
libvirt-3.2.0-14.el7_4.7.x86_64
centos-release-qemu-ev-1.0-2.el7.noarch
qemu-kvm-common-ev-2.9.0-16.el7_4.13.1.x86_64
libvirt-daemon-3.2.0-14.el7_4.7.x86_64
libvirt-daemon-driver-lxc-3.2.0-14.el7_4.7.x86_64
libvirt-daemon-driver-storage-mpath-3.2.0-14.el7_4.7.x86_64
libvirt-daemon-driver-storage-iscsi-3.2.0-14.el7_4.7.x86_64
libvirt-daemon-driver-storage-3.2.0-14.el7_4.7.x86_64
qemu-img-ev-2.9.0-16.el7_4.13.1.x86_64
libvirt-libs-3.2.0-14.el7_4.7.x86_64
libvirt-daemon-driver-nodedev-3.2.0-14.el7_4.7.x86_64
libvirt-daemon-config-network-3.2.0-14.el7_4.7.x86_64
libvirt-daemon-driver-interface-3.2.0-14.el7_4.7.x86_64
libvirt-daemon-driver-storage-core-3.2.0-14.el7_4.7.x86_64
libvirt-daemon-driver-qemu-3.2.0-14.el7_4.7.x86_64
libvirt-daemon-driver-storage-gluster-3.2.0-14.el7_4.7.x86_64
ipxe-roms-qemu-20170123-1.git4e85b27.el7_4.1.noarch
qemu-kvm-ev-2.9.0-16.el7_4.13.1.x86_64
libvirt-python-3.2.0-3.el7_4.1.x86_64
libvirt-daemon-driver-nwfilter-3.2.0-14.el7_4.7.x86_64
libvirt-daemon-driver-secret-3.2.0-14.el7_4.7.x86_64
libvirt-daemon-driver-network-3.2.0-14.el7_4.7.x86_64
libvirt-daemon-driver-storage-logical-3.2.0-14.el7_4.7.x86_64
libvirt-daemon-driver-storage-rbd-3.2.0-14.el7_4.7.x86_64
qemu-guest-agent-2.8.0-2.el7.x86_64
libvirt-glib-1.0.0-1.el7.x86_64
Thank you!
--
Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.centos.org/pipermail/centos-virt/attachments/20180301/14d86472/attachment-0006.html>