Re: [PATCH V2 03/11] migration: convert to NotifierWithReturn

2024-01-16 Thread Peter Xu
On Tue, Jan 16, 2024 at 03:35:53PM -0500, Steven Sistare wrote: > On 1/15/2024 1:44 AM, Peter Xu wrote: > > On Fri, Jan 12, 2024 at 07:05:02AM -0800, Steve Sistare wrote: > >> Change all migration notifiers to type NotifierWithReturn, so notifiers > >> can return an error status in a future patch.

Re: [PATCH V2 03/11] migration: convert to NotifierWithReturn

2024-01-16 Thread Steven Sistare
On 1/15/2024 1:44 AM, Peter Xu wrote: > On Fri, Jan 12, 2024 at 07:05:02AM -0800, Steve Sistare wrote: >> Change all migration notifiers to type NotifierWithReturn, so notifiers >> can return an error status in a future patch. For now, pass NULL for the >> notifier error parameter, and do not

Re: [PATCH V2 03/11] migration: convert to NotifierWithReturn

2024-01-14 Thread Peter Xu
On Fri, Jan 12, 2024 at 07:05:02AM -0800, Steve Sistare wrote: > Change all migration notifiers to type NotifierWithReturn, so notifiers > can return an error status in a future patch. For now, pass NULL for the > notifier error parameter, and do not check the return value. > > Signed-off-by:

[PATCH V2 03/11] migration: convert to NotifierWithReturn

2024-01-12 Thread Steve Sistare
Change all migration notifiers to type NotifierWithReturn, so notifiers can return an error status in a future patch. For now, pass NULL for the notifier error parameter, and do not check the return value. Signed-off-by: Steve Sistare --- hw/net/virtio-net.c| 4 +++-