|Subject:||Re: qemu shared folder|
|Date:||Mon, 8 Jan 2018 22:39:50 +0100|
Catonano <address@hidden> skribis:
> I created my virtual machine with this command
> guix system vm-image /etc/vm-config-desktop.scm \
> --image-size=30GB \
> then I copied the image from the store to a local folder
> then I run it with this command
> qemu-system-x86_64 \
> -net user \
> -net nic,model=virtio \
> -enable-kvm -m 4096 .../projects/qemu-image
> Now: I understand that there should be a folder that is shared among the 2
> machines, the host and the guest
> I can't find it
> Where is it ?
> Where is iit on the host ?
> And where is it on the guest ?
The documentation (info "(guix) Invoking guix system") phrases it this
The example below creates a VM in which the user’s home directory
is accessible read-only, and where the ‘/exchange’ directory is a
read-write mapping of ‘$HOME/tmp’ on the host:
guix system vm my-config.scm \
IOW, if you do “cd /exchange” in the guest, you should see the contents
of the host’s $HOME/tmp, read-write. Likewise, if $HOME = /foo in the
host, then /foo in the guest is a read-only view of the host’s /foo.
|[Prev in Thread]||Current Thread||[Next in Thread]|