From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: qemu shared folder Date: Tue, 09 Jan 2018 23:15:07 -0800 Message-ID: <87lgh6w5fo.fsf@gmail.com> References: <87tw4dt7rd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZAbW-0004UC-Hk for help-guix@gnu.org; Wed, 10 Jan 2018 02:15:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZAbS-0002FR-1T for help-guix@gnu.org; Wed, 10 Jan 2018 02:15:18 -0500 In-Reply-To: (catonano@gmail.com's message of "Mon, 8 Jan 2018 22:39:50 +0100") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Catonano Cc: help-guix --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Catonano writes: > the script produced by system vm contains this bit: > > -m 256 > > does this mean that the guest has 256 Mb ? Yes. The qemu manual describes this in more detail (section 2.3, "Invocation"): https://qemu.weilnetz.de/doc/qemu-doc.html You might want to bookmark it or keep a local copy; it's a useful reference manual. > Can I pass a switch to system vm so that it concedes more memory to my > guest ? > Similar to " --image-size=3D10GB " but for ram space rather than disk s= pace Yes, you can. The Guix manual explains ((guix) Invoking guix system): Arguments given to the script are passed to QEMU as in the example below, which enables networking and requests 1 GiB of RAM for the emulated machine: $ /gnu/store/...-run-vm.sh -m 1024 -net user > Ok, second observation: > > 2) > > if instead of system vm I use system vm-image, > --share=3D$HOME/transit=3D/transit doesn't work > So it seems > Why ? > Couldn't it work anyway ? I don't think that will work. I'm pretty sure that the --share option is specific to "guix system". What you probably want to do is look at the options used in the /gnu/store/...-run-vm.sh script, and mimic what it does. If you see QEMU options in there that you don't understand, try looking them up in the QEMU manual. By the way, there is a "--share" option mentioned in the QEMU manual, but it seems to be totally unrelated (section 2.7.10, "NBD access"). > Pheew ;-) Hang in there! QEMU is extremely versatile, but it's got a little bit of a learning curve. Beyond the reference manual, you can find even more documentation here: https://wiki.qemu.org/Manual Hope that helped. Good luck! =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlpVvXsACgkQ3UCaFdgi Rp2lXg//eW+YgsjLEE3qeYbYPNioavomP6+GSq7+aeDT3GQeAbcXZtDHqzp2QWvu cGm2VxbhwNY4BG3taRI+hCcYi0Fd3x0n0IXOmMDOHGpuYfCHVj89++gvbApfdVMW 5/z1eukZC2ipKtYd6e11C4lelHXDP74dHR8OidPSZeFl4YqlT7CyPCSfV1UhQapN qbfZH++0Ssb9ivRpyPVRod0p3kPoLmWQPEAguE0VcQSzLkMP8BjD/A8x4cSxEy2x XoOAthGg77Gz1ZdEVdLxp54O8us9omhi8DBoJtvlMGvrbHqMk1M29xRNSaJt+VsN AVXbuTdB7dwvy1rn2KYNYahq7JTvk0PeoCBo1O3ieyQN3KV5+oHlzAv/ZvsZgigO vY0XWsdI3iGlacDxz5+E5QetfXmz+7+mX7VKf3HGOM7fTutuR7+fxQEgi+xAMQlF 2q2WNAl52QEvScDjKjL1Ibo6giNYO2XqAiTKxapCqyNAq18gC/MJqwwU4cbBadcy SUmBw5ucIx9s4ncjHDL5jN1bXeemhk85mQDtvVYZGxty/B9oZ/4WYuQ6HtdcJmRX EOwRcuHt61zBGqYBhPwZY2Fdgg/BNuT8Xf3Fp/v7f+eQ8ZGDnZvtsb6aR5rO4inK jILHuh+tNfDrRnRnIVjqqnd/ValanIeIP+CTP9SL4U6KsoHc2YQ= =3Bdg -----END PGP SIGNATURE----- --=-=-=--