qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 04/11] qtest: make read/write operation appear to be from


From: Thomas Huth
Subject: Re: [PATCH v2 04/11] qtest: make read/write operation appear to be from CPU
Date: Tue, 27 Sep 2022 11:45:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0

On 26/09/2022 15.38, 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.

s/lets/let's/

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
---
  softmmu/qtest.c | 26 +++++++++++++-------------
  1 file changed, 13 insertions(+), 13 deletions(-)

Acked-by: Thomas Huth <thuth@redhat.com>




reply via email to

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