From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjAAV-0002Kn-PR for qemu-devel@nongnu.org; Tue, 28 Oct 2014 13:02:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjAAO-0000UC-Oq for qemu-devel@nongnu.org; Tue, 28 Oct 2014 13:02:51 -0400 Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:43407) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1XjAAO-0000U0-GE for qemu-devel@nongnu.org; Tue, 28 Oct 2014 13:02:44 -0400 Received: from [107.3.157.240] (port=58338 helo=[192.168.15.208]) by box899.bluehost.com with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1XjAA5-00062D-9E for qemu-devel@nongnu.org; Tue, 28 Oct 2014 11:02:25 -0600 Message-ID: <544FCC1D.4040504@convirture.com> Date: Tue, 28 Oct 2014 10:02:21 -0700 From: Jd MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] nbd-server / monitor to copy files/directory in to running VM. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 ? 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