Re: [Qemu-devel] [PATCH v3 06/33] add the vmstate description for device reset state

2019-08-07 Thread Damien Hedde
On 8/7/19 4:54 PM, Peter Maydell wrote: > On Mon, 29 Jul 2019 at 15:58, Damien Hedde wrote: >> >> It contains the resetting counter and cold flag status. >> >> At this point, migration of bus reset related state (counter and cold/warm >> flag) is handled by parent device. This done using the po

Re: [Qemu-devel] [PATCH v3 06/33] add the vmstate description for device reset state

2019-08-07 Thread Peter Maydell
On Mon, 29 Jul 2019 at 15:58, Damien Hedde wrote: > > It contains the resetting counter and cold flag status. > > At this point, migration of bus reset related state (counter and cold/warm > flag) is handled by parent device. This done using the post_load > function in the vmsd subsection. > > Thi

Re: [Qemu-devel] [PATCH v3 06/33] add the vmstate description for device reset state

2019-08-07 Thread Peter Maydell
On Mon, 29 Jul 2019 at 15:58, Damien Hedde wrote: > > It contains the resetting counter and cold flag status. > > At this point, migration of bus reset related state (counter and cold/warm > flag) is handled by parent device. This done using the post_load "is done" > function in the vmsd subsect

Re: [Qemu-devel] [PATCH v3 06/33] add the vmstate description for device reset state

2019-07-31 Thread Damien Hedde
On 7/31/19 8:08 AM, David Gibson wrote: > On Mon, Jul 29, 2019 at 04:56:27PM +0200, Damien Hedde wrote: >> It contains the resetting counter and cold flag status. >> >> At this point, migration of bus reset related state (counter and cold/warm >> flag) is handled by parent device. This done usin

Re: [Qemu-devel] [PATCH v3 06/33] add the vmstate description for device reset state

2019-07-30 Thread David Gibson
On Mon, Jul 29, 2019 at 04:56:27PM +0200, Damien Hedde wrote: > It contains the resetting counter and cold flag status. > > At this point, migration of bus reset related state (counter and cold/warm > flag) is handled by parent device. This done using the post_load > function in the vmsd subsectio

[Qemu-devel] [PATCH v3 06/33] add the vmstate description for device reset state

2019-07-29 Thread Damien Hedde
It contains the resetting counter and cold flag status. At this point, migration of bus reset related state (counter and cold/warm flag) is handled by parent device. This done using the post_load function in the vmsd subsection. This is last point allow to add an initial support of migration with