[pve-devel] [PATCH] add qemu guest agent client

Alexandre DERUMIER aderumier at odiso.com
Wed Sep 5 05:57:26 CEST 2012

just tested with -chardev qga_proxy,id=qga0

chardev: backend "qga_proxy" not found

so it's not implemented yet.
(I don't know if it's on the qemu roamap, I didn't find any info)

So Do you need to implemented the current procotol ?
(We need guest agent to freeze filesystem for snapshots

----- Mail original ----- 

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Dietmar Maurer" <dietmar at proxmox.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Mardi 4 Septembre 2012 15:28:27 
Objet: Re: [pve-devel] [PATCH] add qemu guest agent client 

Oh I miss that ! 

When QAPI-based QMP is available (somewhere around the QEMU 0.16 timeframe), a different host-side invocation that doesn't involve access to the guest agent outside of QMP will be used. Something like: 

qemu \ 
-chardev qga_proxy,id=qga0 \ 
-device virtio-serial \ 
-device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 
-qmp tcp:localhost:4444,server 

So we just need to reuse qmp socket. 
Is it already implemented ? (wiki is old, qemu 0.16....). 

I'll do some tests 

----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre Derumier" <aderumier at odiso.com>, pve-devel at pve.proxmox.com 
Envoyé: Mardi 4 Septembre 2012 14:24:43 
Objet: RE: [pve-devel] [PATCH] add qemu guest agent client 

Documentation states that we can do all those thing via qmp in future! So why 
do we want to add all that code now? 

> -----Original Message----- 
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel- 
> bounces at pve.proxmox.com] On Behalf Of Alexandre Derumier 
> Sent: Dienstag, 04. September 2012 09:05 
> To: pve-devel at pve.proxmox.com 
> Subject: [pve-devel] [PATCH] add qemu guest agent client 
> This implement qemu guest agent client. 
pve-devel mailing list 
pve-devel at pve.proxmox.com 

More information about the pve-devel mailing list