From: Paolo Bonzini <pbonzini@redhat.com>
To: Jd <jd_jedi@convirture.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] nbd-server / monitor to copy files/directory in to running VM.
Date: Wed, 29 Oct 2014 01:04:46 +0100 [thread overview]
Message-ID: <54502F1E.1080302@redhat.com> (raw)
In-Reply-To: <544FCC1D.4040504@convirture.com>
On 10/28/2014 06:02 PM, Jd wrote:
> Hi
> I see an option to start nbd-server from running VM via qemu monitor.
> This is very useful. The option seems to allow sharing the disk with
> read/write permission. Can I really export and use the nbd-served disk
> from running vm in read/write ? Isnt there a risk for corrupting the
> file system ?
You must know what you are doing. In general the answer is yes, you
risk corrupting the file system.
Paolo
> 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 ?
>
> 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.
>
> Is there any other ideas on copying files in to a running VM ?
>
> Thanks
> /Jd
>
>
next prev parent reply other threads:[~2014-10-29 0:05 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 [this message]
2014-10-29 15:20 ` Stefan Hajnoczi
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=54502F1E.1080302@redhat.com \
--to=pbonzini@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.