From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjV3P-0003Kt-AX for qemu-devel@nongnu.org; Wed, 29 Oct 2014 11:21:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjV3G-00084V-9V for qemu-devel@nongnu.org; Wed, 29 Oct 2014 11:20:55 -0400 Received: from mail-la0-x232.google.com ([2a00:1450:4010:c03::232]:50282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjV3F-00084G-OE for qemu-devel@nongnu.org; Wed, 29 Oct 2014 11:20:46 -0400 Received: by mail-la0-f50.google.com with SMTP id hz20so177291lab.9 for ; Wed, 29 Oct 2014 08:20:40 -0700 (PDT) Date: Wed, 29 Oct 2014 15:20:28 +0000 From: Stefan Hajnoczi Message-ID: <20141029152028.GG19774@stefanha-thinkpad.redhat.com> References: <544FCC1D.4040504@convirture.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nqkreNcslJAfgyzk" Content-Disposition: inline In-Reply-To: <544FCC1D.4040504@convirture.com> Subject: Re: [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: Jd Cc: qemu-devel@nongnu.org --nqkreNcslJAfgyzk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --nqkreNcslJAfgyzk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUUQW8AAoJEJykq7OBq3PIg/cIALGjzBUX1mUHPY/3n+kldf4Z B25r4PIgQZC8s9+7rYqSQXxouEJgZaMm3Ydc5E+Ifv1909WFeECLHGY69Jf7E53K xa6/jND34Y7/YNvBBdsLypOGE49FFSrY4xzGc0IerAHaDHfw/LSe6zC5+z25qkHY ZkY1McLY5+g98TCFuegTF6n3ou68duZYZk9hULkVKI+QCbFbDXaEtcyFSN7awVJG gA9W9au5heVoWxjv9gI85HWg5dzWGbzzA3KCaLE5OHeUF5BXDv7sVFC2vTVpClMO A+XlYKPVZbUYBnPVq1oFEgqnWFQc3kdT2Sqct0EIKA+CUMrWVE3Ibe71Gj0UeyY= =HbS7 -----END PGP SIGNATURE----- --nqkreNcslJAfgyzk--