[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] nbd-server / monitor to copy files/directory in to runn
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] nbd-server / monitor to copy files/directory in to running VM. |
Date: |
Wed, 29 Oct 2014 01:04:46 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
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
>
>