[Users] Using the qemu guest agent
Michal Skrivanek
mskrivan at redhat.com
Fri Sep 20 09:28:48 EDT 2013
On Sep 17, 2013, at 07:14 , Karli Sjöberg <Karli.Sjoberg at slu.se> wrote:
> tis 2013-09-17 klockan 00:42 +0300 skrev Itamar Heim:
>> On 09/03/2013 02:34 PM, Karli Sjöberg wrote:
>>
>> > 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?
Hi,
I thought I had replied but apparently I didn't:)
well, the agent is managed by QEMU and oVirt only creates a device in guest for use by host's libvirt. Then the oVirt commands for e.g. snapshot or shutdown should use qemu-ga for that. AFAIK it wasn't tested thoroughly
If you want to play with it yourself disable the support in vdsm by disabling qgaEnable parameter in vdsm.conf
Thanks,
michal
>> >
>> > --
>> >
>> > 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>
>> >
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at ovirt.org
>> > http://lists.ovirt.org/mailman/listinfo/users
>> >
>>
>>
>>
>> was this resolved?
>>
>
> No, I never got any replies and don´t know what I can do to investigate the issue further. If someone has any suggestions, I´m up for testing, for sure!
>
> --
>
> 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
More information about the Users
mailing list