[Users] Using the qemu guest agent

Karli Sjöberg Karli.Sjoberg at slu.se
Tue Sep 3 11:34:21 UTC 2013


Hi!

I´ve trying to use qemu-ga in several different guests, Win7, 2008R2, Fedora 18, and haven´t been able to get the agent to respond to anything. Have managed to have the Windows version log some debugging:
1378199587.125000: debug: check
1378199587.125000: debug: prepare
1378199587.656250: debug: check
1378199587.656250: debug: prepare

But when installing the agent in Fedora, even when editing the service-file to include "-v (for verbose logging) -l (log file) /path/to/file.log", it doesn´t say anything at all. The only messages logged are from when you stop the service:
1378206062.602118: debug: received signal num 15, quitting
1378206105.557416: debug: received signal num 15, quitting
1378206245.844695: debug: received signal num 15, quitting

No other messages logged. Information about the agent is sparse, and uncertain if relevant since development progresses rapidly, which is a good thing, but makes it harder to wrap your head around. Have tried to use examples on "http://wiki.qemu.org/Features/QAPI/GuestAgent"<http://wiki.qemu.org/Features/QAPI/GuestAgent> for ways to test from Host if agent is responding, e.g:
echo "{'execute':'guest-info'}" | socat stdio,ignoreeof unix-connect:/var/lib/libvirt/qemu/channels/TestVM.org.qemu.guest_agent.0

Yielded no "return" and nothing logged in any guest. Have installed ovirt-guest-agent and spice-vdagent in both Windows- and Fedora clients and that works perfectly, so the virtio-serial config/drivers are OK in general, it´s just qemu-ga that´s troublesome.

Is there anyone here that´s managed getting qemu-ga working in any guest at all?

--

Med Vänliga Hälsningar
-------------------------------------------------------------------------------
Karli Sjöberg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone:  +46-(0)18-67 15 66
karli.sjoberg at slu.se<mailto:karli.sjoberg at adm.slu.se>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130903/623c70c1/attachment-0001.html>


More information about the Users mailing list