On 9/27/22 07:14, Alex Bennée wrote:
The point of qtest is to simulate how running code might interact with
the system. However because it's not a real system we have places in
the code which especially handle check qtest_enabled() before
referencing current_cpu. Now we can encode these details in the
MemTxAttrs lets do that so we can start removing them.

Acked-by: Thomas Huth<th...@redhat.com>
Signed-off-by: Alex Bennée<alex.ben...@linaro.org>

---
v2
   - use a common macro instead of specific MEMTXATTRS_QTEST
v3
   - macro moved to earlier patch
---
  softmmu/qtest.c | 26 +++++++++++++-------------
  1 file changed, 13 insertions(+), 13 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to