On 25.08.20 21:51, Prakhar Bansal wrote:
> Hi Jan,
>
> Could you please suggest how can I increase the RAM for jailhouse-image?
> As it is 1GB by default, I need to increase it to build libvirt using
> new meson build system in libvirt.

You can temporarily increase it by appending, e.g., "-m 4G" to the
start-qemu.sh command. Note, though, that the Jailhouse config is not
prepared for that, so you should avoid starting Jailhouse in such a VM.
So, drop the switch again once your build is done.

Jan

>
> Thanks,
> Prakhar
>
> On Tue, Jul 21, 2020 at 11:32 PM Prakhar Bansal
> <[email protected] <mailto:[email protected]>> wrote:
>
>     Thank you, Jan.
>     It works.
>
>     Thanks,
>     Prakhar
>
>     On Tue, Jul 21, 2020 at 2:12 AM Jan Kiszka <[email protected]
>     <mailto:[email protected]>> wrote:
>
>         On 21.07.20 10:14, Prakhar Bansal wrote:
>         > Hi Jan,
>         >
>         > I am not able to set up the test environment by mounting host
>         folders
>         > into the jailhouse demo image- QEMU/KVM Intel-x86 virtual
>         target, as you
>         > suggested last week. Since this demo-image is created directly
>         from
>         > QEMU-system and not by using Libvirt, I can't manage it through
>         > virsh/virt-manager.
>         > Also, the space in demo-image is not enough to build Libvirt
>         inside it.
>         > Please help with the setting up the test environment for
>         testing the
>         > driver in the demo-image.
>
>         Try
>
>         start-qemu.sh x86 \
>            -fsdev local,path=/some/host/path/,security_model=none,id=vfs \
>            -device virtio-9p-pci,addr=1f.7,mount_tag=host,fsdev=vfs
>
>         and mount the host inside the guest like this
>
>         mount -t 9p -o trans=virtio host /mnt
>
>         Jan
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/5e559037-4e6f-de48-93e3-4f53fca22666%40web.de.

Reply via email to