[Users] qemu-ga /oVirt/ubuntu guest

Hi, I know it's a little off topic, but has anyone a good documentation for the qemu-guest-agent ? I'm aware of the following entry, but it is not helpful at all: http://wiki.qemu.org/Features/QAPI/GuestAgent I'm looking for documentation on the following topics: install the guest-agent into a vm architecture of the guest agent building the guest-agent I tried to build the whole qemu-thing in a ubuntu 12.04. vm running on ovirt but I'm not successfull. I get the following error after invoking "make": GEN trace/generated-tracers.c CC hw/virtio/dataplane/vring.o hw/virtio/dataplane/vring.c In function "vring_pop": hw/virtio/dataplane/vring.c:400:5: error: "ret" may be used uninitialized in this function [-Werror=uninitialized] cc1: all warnings being treated as errors make: *** [hw/virtio/dataplane/vring.o] Error 1 I would also like to know if you are aware of any prebuild packages for ubuntu 12.04 (or later) or if there is documentation anywhere on the net for which distributions you can download a rpm/deb package. Thank you. -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

----- Original Message -----
From: "Sven Kieske" <S.Kieske@mittwald.de> To: "Users@ovirt.org List" <Users@ovirt.org> Sent: Tuesday, January 14, 2014 11:02:11 AM Subject: [Users] qemu-ga /oVirt/ubuntu guest
Hi,
I know it's a little off topic, but has anyone a good documentation for the qemu-guest-agent ? I'm aware of the following entry, but it is not helpful at all:
http://wiki.qemu.org/Features/QAPI/GuestAgent
I'm looking for documentation on the following topics:
install the guest-agent into a vm architecture of the guest agent building the guest-agent
I tried to build the whole qemu-thing in a ubuntu 12.04. vm running on ovirt but I'm not successfull.
I get the following error after invoking "make":
GEN trace/generated-tracers.c CC hw/virtio/dataplane/vring.o hw/virtio/dataplane/vring.c In function "vring_pop": hw/virtio/dataplane/vring.c:400:5: error: "ret" may be used uninitialized in this function [-Werror=uninitialized] cc1: all warnings being treated as errors make: *** [hw/virtio/dataplane/vring.o] Error 1
I would also like to know if you are aware of any prebuild packages for ubuntu 12.04 (or later) or if there is documentation anywhere on the net for which distributions you can download a rpm/deb package.
http://www.ovirt.org/Ubuntu/GuestAgent points at: https://launchpad.net/~zhshzhou/+archive/vdsm-ubuntu I didn't try that myself. Good luck, -- Didi

Hi, and thanks for your fast reply, but you are looking in the wrong direction. I was talking about the _qemu_-guest-agent not the ovirt-guest-agent. afaik they are not similar but ovirt seems to rebuild some of the capabilities which qemu-guest-agent already has. (Any reason why this is done btw?) afaik they share e.g. the ability to power down the vm. but qemu-ga also will allow cpu-hotplug and altering disk layout inside the guest in the future. I'm aware of your mentioned repository for the ovirt-guest-agent and I already reported that it works good so far (an offical repo would of course be better). I didn't find a repo for qemu-ga unfortunately. Thanks anyway. -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

Hi, ----- Original Message -----
From: "Sven Kieske" <S.Kieske@mittwald.de> To: "Yedidyah Bar David" <didi@redhat.com> Cc: "Users@ovirt.org List" <Users@ovirt.org> Sent: Tuesday, January 14, 2014 11:36:48 AM Subject: Re: [Users] qemu-ga /oVirt/ubuntu guest
Hi,
and thanks for your fast reply, but you are looking in the wrong direction.
Sorry :-)
I was talking about the _qemu_-guest-agent not the ovirt-guest-agent.
afaik they are not similar but ovirt seems to rebuild some of the capabilities which qemu-guest-agent already has.
(Any reason why this is done btw?)
afaik they share e.g. the ability to power down the vm.
but qemu-ga also will allow cpu-hotplug and altering disk layout inside the guest in the future.
I'm aware of your mentioned repository for the ovirt-guest-agent and I already reported that it works good so far (an offical repo would of course be better).
I didn't find a repo for qemu-ga unfortunately.
I see that it's packaged in Ubuntu: https://launchpad.net/ubuntu/raring/+package/qemu-guest-agent https://launchpad.net/ubuntu/raring/+source/qemu/1.4.0+dfsg-1expubuntu4 https://code.launchpad.net/ubuntu/raring/+source/qemu and for that matter, Debian: http://anonscm.debian.org/gitweb/?p=pkg-qemu/qemu.git -- Didi

Thanks for the links, so this is at least some good news. However no package for ubuntu 12.04 I'll try to use these as backports, maybe that works. Am 14.01.2014 10:59, schrieb Yedidyah Bar David:
I see that it's packaged in Ubuntu:
https://launchpad.net/ubuntu/raring/+package/qemu-guest-agent https://launchpad.net/ubuntu/raring/+source/qemu/1.4.0+dfsg-1expubuntu4 https://code.launchpad.net/ubuntu/raring/+source/qemu
and for that matter, Debian: http://anonscm.debian.org/gitweb/?p=pkg-qemu/qemu.git
-- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

On 01/14/2014 11:36 AM, Sven Kieske wrote:
afaik they are not similar but ovirt seems to rebuild some of the capabilities which qemu-guest-agent already has.
(Any reason why this is done btw?)
ovirt-guest-agent codebase predates qemu-guest-agent (by several years). as qemu-guest-agent adds functionality, we try to converge and support it via qemu-guest-agent as well, which may allow deprecating that functionality in ovirt-guest-agent in the future (tbd)

Hi Itamar, thanks for pointing this out. I didn't know the history of the code base. It seems that there always will be a difference in the functionality of qemu- and ovirt-agent. So my conclusion and advice would be to keep this duplicated functionality and, if possible, extend ovirt-guest-agent to be a superset of functions over qemu-guest-agent, thus avoiding installation of both agents. But I don't know if this is possible. Am 14.01.2014 16:21, schrieb Itamar Heim:
ovirt-guest-agent codebase predates qemu-guest-agent (by several years). as qemu-guest-agent adds functionality, we try to converge and support it via qemu-guest-agent as well, which may allow deprecating that functionality in ovirt-guest-agent in the future (tbd)
-- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
participants (3)
-
Itamar Heim
-
Sven Kieske
-
Yedidyah Bar David