On 19/4/23 19:28, Stefan Hajnoczi wrote:
Add a helper function to check whether the device is realized without
requiring the Big QEMU Lock. The next patch adds a second caller. The
goal is to avoid spreading DeviceState field accesses throughout the
code.

Suggested-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com>
---
  include/hw/qdev-core.h | 17 ++++++++++++++---
  hw/scsi/scsi-bus.c     |  3 +--
  2 files changed, 15 insertions(+), 5 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>

Thank you!


Reply via email to