Re: [PATCH] tests/tcg/x86_64: add cross-modifying code test

2022-09-05 Thread Ilya Leoshkevich
On Sat, 2022-09-03 at 10:13 +0100, Alex Bennée wrote: > > Ilya Leoshkevich writes: > > > commit f025692c992c ("accel/tcg: Clear PAGE_WRITE before > > translation") > > fixed cross-modifying code handling, but did not add a test. The > > changed code was further improved recently [1], and I was

Re: [PATCH] tests/tcg/x86_64: add cross-modifying code test

2022-09-03 Thread Alex Bennée
Ilya Leoshkevich writes: > commit f025692c992c ("accel/tcg: Clear PAGE_WRITE before translation") > fixed cross-modifying code handling, but did not add a test. The > changed code was further improved recently [1], and I was not sure > whether these modifications were safe (spoiler: they were

[PATCH] tests/tcg/x86_64: add cross-modifying code test

2022-09-02 Thread Ilya Leoshkevich
commit f025692c992c ("accel/tcg: Clear PAGE_WRITE before translation") fixed cross-modifying code handling, but did not add a test. The changed code was further improved recently [1], and I was not sure whether these modifications were safe (spoiler: they were fine). Add a test to make sure there