qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 07/15] qtest: make read/write operation appear to be from


From: Richard Henderson
Subject: Re: [PATCH v3 07/15] qtest: make read/write operation appear to be from CPU
Date: Wed, 28 Sep 2022 09:58:02 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

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<thuth@redhat.com>
Signed-off-by: Alex Bennée<alex.bennee@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.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]