From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv6Fw-0000Vm-CM for qemu-devel@nongnu.org; Thu, 12 Jun 2014 10:45:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wv6Fu-0002P6-NZ for qemu-devel@nongnu.org; Thu, 12 Jun 2014 10:45:32 -0400 Received: from mail-qa0-x232.google.com ([2607:f8b0:400d:c00::232]:43135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv6Fu-0002Os-CM for qemu-devel@nongnu.org; Thu, 12 Jun 2014 10:45:30 -0400 Received: by mail-qa0-f50.google.com with SMTP id m5so1790961qaj.9 for ; Thu, 12 Jun 2014 07:45:29 -0700 (PDT) MIME-Version: 1.0 Date: Thu, 12 Jun 2014 20:15:29 +0530 Message-ID: From: Puneet Bakshi Content-Type: multipart/alternative; boundary=089e0153758ebc6e9804fba49c07 Subject: [Qemu-devel] (no subject) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --089e0153758ebc6e9804fba49c07 Content-Type: text/plain; charset=UTF-8 Hi, I want to be able to install RPM packages (available in host system at some path) to the online guest VM and want this facility to be available as a tool. I am thinking of having a gemu guest agent (qemu-ga) running inside guest VM. I did not find any available command ("virsh qemu-agent-command ...") which can do the same. I am planning to implement a command in qemu guest agent, which I can invoke from virsh like below. "virsh qemu-agent-command vm_01 \ '{"execute":"guest-rpm- install", \ "arguments":{"path":"/usr/local/bin/ABC.rpm"}} I am able to pass arguments from host to guest VM but how am I supposed to pass the whole RPM image from host to guest (which the guest agent can receive and install)? Basically, I want to know how can we do following in QEMU environment. 1. take some bulky file from host to guest 2. perform some operation on that file 3. get the result of that operation. Regards, ~Puneet --089e0153758ebc6e9804fba49c07 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I want to be able to install RPM packages (availa= ble in host=20 system at some path) to the online guest VM and want this facility to be=20 available as a tool.

I am thinking of having a gemu guest agent (qemu-ga) running inside=20 guest VM. I did not find any available command ("virsh=20 qemu-agent-command <guest_vm> ...") which can do the same.
I am planning to implement a command in qemu guest agent, which I can inv= oke from virsh like below.

=C2=A0=C2=A0=C2=A0 "virsh qemu-agent-command vm_01=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 '{"execute":"guest-rpm-
install",=C2=A0=C2=A0=C2=A0=C2=A0 \
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "arguments":{"path":&= quot;/usr/local/bin/ABC.rpm"}}
=C2=A0=C2=A0=C2=A0=C2=A0
I am able to pass arguments from host to guest= VM but how am I=20 supposed to pass the whole RPM image from host to guest (which the guest agent can receive and install)?

= Basically, I want to know how can we do following in QEMU environment.
<= br>=C2=A0=C2=A0=C2=A0 1. take some bulky file from host to guest
= =C2=A0=C2=A0=C2=A0 2. perform some operation on that file
=C2=A0= =C2=A0=C2=A0 3. get the result of that operation.

Regards,
~Puneet
--089e0153758ebc6e9804fba49c07--