<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">Thanks for responding.<br><br>Since I want to work with online guests, unfortunately libguestfs is not an option for me. (Otherwise, I might have used virt-copy-in to copy the files into guest).<br>
<br></div><div class="gmail_default" style="font-family:courier new,monospace">But, for my understanding, please let me know how such things can be done in QEMU environment. Basically, how can we do following.<br><br>    1. take some bulky file from host to guest<br>
</div><div class="gmail_default" style="font-family:courier new,monospace">    2. perform some operation on that file<br></div><div class="gmail_default" style="font-family:courier new,monospace">    3. get the result of that operation.<br>
<br></div><div class="gmail_default" style="font-family:courier new,monospace">Thanks in advance.<br><br>Regards,<br></div><div class="gmail_default" style="font-family:courier new,monospace">~Puneet<br></div><div class="gmail_default" style="font-family:courier new,monospace">
<br></div><div class="gmail_default" style="font-family:courier new,monospace"><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 12, 2014 at 7:35 PM, Eric Blake <span dir="ltr"><<a href="mailto:eblake@redhat.com" target="_blank">eblake@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 06/12/2014 07:59 AM, Daniel P. Berrange wrote:<br>
> On Thu, Jun 12, 2014 at 04:15:01PM +0530, Puneet Bakshi wrote:<br>
>> Hi,<br>
>><br>
>> I want to be able to install RPM packages (available in host system at some<br>
>> path) to the guest VM and want this facility to be available as a tool.<br>
<br>
</div>Libguestfs can already do this for offline guests.  I'd suggest looking<br>
into using that, rather than waiting for qemu's guest-agent to be taught<br>
a new command for manipulating live guests.<br>
<div class=""><br>
<br>
><br>
> The general mindset of the QEMU community is to not turn the QEMU<br>
> guest agent into a general systems management tool. It aims to just<br>
> restrict itself to the functionality required for core virtualization<br>
> management tools. So RPM install is out of scope really<br>
><br>
> If you want general systems management facilities, such as RPM<br>
> installation, then there's countless existing tools for the job<br>
> that are preferrable to reinventing the wheel. eg func, puppet,<br>
> chef, ansible, and many many more.<br>
<br>
</div>There has been talk of adding a generic qemu guest-agent command for<br>
spawning an arbitrary command, but no patches so far (in part because<br>
libguestfs doing the same functionality for offline guests has been<br>
sufficient).<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Eric Blake   eblake redhat com    <a href="tel:%2B1-919-301-3266" value="+19193013266">+1-919-301-3266</a><br>
Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a><br>
<br>
</font></span></blockquote></div><br></div>