On 3/15/20 5:11 PM, Philippe Mathieu-Daudé wrote:
> While user-mode does not use peripherals (devices), it uses a
> CPU which is a device.
> In the next commit we will reduce the QAPI generated code for
> user-mode. Since qdev.c calls qapi_event_send_device_deleted(),
> let's add a stub for it.
> 
> Suggested-by: Paolo Bonzini <pbonz...@redhat.com>
> Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com>
> ---
> v2: use common-obj-$(CONFIG_ALL) (Paolo)
> ---
>  hw/core/qdev-stubs.c  | 20 ++++++++++++++++++++
>  hw/core/Makefile.objs |  3 +++
>  2 files changed, 23 insertions(+)
>  create mode 100644 hw/core/qdev-stubs.c

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

r~


Reply via email to