[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: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH 11/13] tests/vm: netbsd autoinstall, using serial console |
Date: |
Thu, 9 May 2019 09:39:07 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 5/8/19 11:47 PM, Gerd Hoffmann wrote:
> 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?
That's certainly the way I read that patch.
> I suspect supporting that in tcg isn't exactly trivial.
It shouldn't be too hard, if required. All of the writing to the buffer is
isolated to a couple of inline functions.
I do wonder if using paxctl -m as a part of the build process for affected *BSD
isn't just as easy?
r~
- [Qemu-devel] [PATCH 13/13] tests/vm: ubuntu.i386: apt proxy setup, (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
Re: [Qemu-devel] [PATCH 00/13] tests/vm: serial console autoinstall, misc fixes., Kamil Rytarowski, 2019/05/09