[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 11/13] tests/vm: netbsd autoinstall, using seria
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH 11/13] tests/vm: netbsd autoinstall, using serial console |
Date: |
Thu, 9 May 2019 08:47:16 +0200 |
User-agent: |
NeoMutt/20180716 |
Hi,
> I recommend to add one extra step into generated image:
>
> echo security.pax.mprotect.enabled=0 >> /etc/sysctl.conf
Done.
> Alternatively (and preferably) enhance qemu to handle RWX allocation for
> JIT on NetBSD.
>
> Example in libffi.
>
> https://github.com/libffi/libffi/commit/2bfcd29955c02b67fa10a68cc4200f6838181e0f
So, from looking at the patch it seems you need two mappings of the same
page, one writable and one executable.
Or, maybe it is also possible with one mapping which is writable first
when you fill it with code, then gets flipped over to executable when
you are done with the initialization and want use it.
Is that correct?
I suspect supporting that in tcg isn't exactly trivial.
Does OpenBSD work the same way btw?
cheers,
Gerd
- Re: [Qemu-devel] [PATCH 12/13] tests/vm: fedora autoinstall, using serial console, (continued)
- [Qemu-devel] [PATCH 13/13] tests/vm: ubuntu.i386: apt proxy setup, Gerd Hoffmann, 2019/05/08
- [Qemu-devel] [PATCH 08/13] tests/vm: serial console support helpers, Gerd Hoffmann, 2019/05/08
- [Qemu-devel] [PATCH 05/13] tests/vm: run test builds on snapshot, Gerd Hoffmann, 2019/05/08
- [Qemu-devel] [PATCH 06/13] tests/vm: add vm-boot-{ssh, serial}-<guest> targets, Gerd Hoffmann, 2019/05/08
- [Qemu-devel] [PATCH 10/13] tests/vm: freebsd autoinstall, using serial console, Gerd Hoffmann, 2019/05/08
- [Qemu-devel] [PATCH 11/13] tests/vm: netbsd autoinstall, using serial console, Gerd Hoffmann, 2019/05/08
[Qemu-devel] [PATCH 09/13] tests/vm: openbsd autoinstall, using serial console, Gerd Hoffmann, 2019/05/08
Re: [Qemu-devel] [PATCH 00/13] tests/vm: serial console autoinstall, misc fixes., Thomas Huth, 2019/05/09