From: Stefan Hajnoczi <stefanha@gmail.com>
To: Jd <jd_jedi@convirture.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] nbd-server / monitor to copy files/directory in to running VM.
Date: Wed, 29 Oct 2014 15:20:28 +0000 [thread overview]
Message-ID: <20141029152028.GG19774@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <544FCC1D.4040504@convirture.com>
[-- Attachment #1: Type: text/plain, Size: 1127 bytes --]
On Tue, Oct 28, 2014 at 10:02:21AM -0700, Jd wrote:
> qemu monitor seems to have command to open, write, close commands. I tried
> them and I could create a file (after going through encoding). How can I
> create a directory using this ?
Do you mean the code in qga/? That is the QEMU guest agent. It does
not have a command to create directories.
> I read little bit about live-guestfs, but it needs another agent in to the
> VM. Also, is this ready for prime time ? Any plans to have this in the qemu
> guest agent. This way we dont have to have multiple agents required in the
> guest.
live-guestfs? Never heard of it.
Do you mean libguestfs? That's a tool for disk image manipulation.
Very powerful but works on offline guest disk images. It does not work
while the guest is running.
> Is there any other ideas on copying files in to a running VM ?
The same network transports that you would use on a physical machine:
HTTP, CIFS, NFS.
Or an emulated device like a USB Mass Storage Device (like hot-plugging
a thumbdrive into a computer) or the experimental USB Media Transfer
Protocol emulation.
Stefan
[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2014-10-29 15:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-28 17:02 [Qemu-devel] nbd-server / monitor to copy files/directory in to running VM Jd
2014-10-29 0:04 ` Paolo Bonzini
2014-10-29 15:20 ` Stefan Hajnoczi [this message]
2014-10-29 15:35 ` Daniel P. Berrange
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141029152028.GG19774@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=jd_jedi@convirture.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).