Re: [Qemu-devel] nbd-server / monitor to copy files/directory in to running VM.

2014-10-29 Thread Daniel P. Berrange
On Wed, Oct 29, 2014 at 03:20:28PM +, Stefan Hajnoczi wrote: > 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

Re: [Qemu-devel] nbd-server / monitor to copy files/directory in to running VM.

2014-10-29 Thread Stefan Hajnoczi
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 agen

Re: [Qemu-devel] nbd-server / monitor to copy files/directory in to running VM.

2014-10-28 Thread Paolo Bonzini
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 t

[Qemu-devel] nbd-server / monitor to copy files/directory in to running VM.

2014-10-28 Thread Jd
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 syste