Den 2015-08-05 kl. 18:12, skrev Matthew Miller:
On Wed, Aug 05, 2015 at 11:55:27AM -0400, Tom Horsley wrote:
Take a look at http://libguestfs.org/ and the "guestfish" tool for poking inside VM images. If you need to actually mount it, "guestmount".
That works best when the guest isn't running.
Yes, absolutely — I just assumed that with "VM image". But maybe that was a wrong assumption. :) If the machine is running, it's best to think of it as not an image but just another machine on the network.
If you want running access, you need to run NFS in the guest and mount the guest filesystem on the host via networking (or if it is a windows guest, you need to share the filesystems and mount them via smb on the host).
+1. Or, possibly, go the other way around, and mount a host filesystem into the guest, depending on what you want/need. You can also use 9p_virtio http://www.linux-kvm.org/page/9p_virtio.
Yes, this seems to be the tool I am looking for. I will test it.
Thank you!