Re: [PATCH v2 1/3] virtio: add VM state change cb with return value

2025-03-24 Thread Stefano Garzarella
On Thu, Mar 20, 2025 at 08:21:18PM +0800, Haoqian He wrote: 2025年3月19日 22:50,Stefano Garzarella 写道: On Fri, Mar 14, 2025 at 06:15:32AM -0400, Haoqian He wrote: This patch contains two changes: 1. Add VM state change cb type VMChangeStateHandlerExt which has return value for virtio devices V

Re: [PATCH v2 1/3] virtio: add VM state change cb with return value

2025-03-20 Thread Haoqian He
> 2025年3月19日 22:50,Stefano Garzarella 写道: > > On Fri, Mar 14, 2025 at 06:15:32AM -0400, Haoqian He wrote: >> This patch contains two changes: >> >> 1. Add VM state change cb type VMChangeStateHandlerExt which has return >> value for virtio devices VMChangeStateEntry. When VM state changes, >>

Re: [PATCH v2 1/3] virtio: add VM state change cb with return value

2025-03-19 Thread Stefano Garzarella
On Fri, Mar 14, 2025 at 06:15:32AM -0400, Haoqian He wrote: This patch contains two changes: 1. Add VM state change cb type VMChangeStateHandlerExt which has return value for virtio devices VMChangeStateEntry. When VM state changes, virtio device will call the _Ext version. 2. Add return value

[PATCH v2 1/3] virtio: add VM state change cb with return value

2025-03-14 Thread Haoqian He
This patch contains two changes: 1. Add VM state change cb type VMChangeStateHandlerExt which has return value for virtio devices VMChangeStateEntry. When VM state changes, virtio device will call the _Ext version. 2. Add return value for vm_state_notify(). Signed-off-by: Haoqian He --- hw/blo