Re: [PATCH v2 8/9] hw/core: Add qdev stub for user-mode

2020-03-16 Thread Richard Henderson
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. >

[PATCH v2 8/9] hw/core: Add qdev stub for user-mode

2020-03-15 Thread Philippe Mathieu-Daudé
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 Signed-off-by: Philippe Mathieu-D