Re: [Qemu-devel] [PATCH] migration: notify runstate immediately before vcpu stops

2019-07-25 Thread Yan Zhao
On Thu, Jul 25, 2019 at 06:39:07PM +0800, Dr. David Alan Gilbert wrote: > * Yan Zhao (yan.y.z...@intel.com) wrote: > > for some devices to do live migration, it is needed to do something > > immediately before vcpu stops. add a notification here. > > > > Signed-off-by: Yan Zhao > > --- > > cpus.

Re: [Qemu-devel] [PATCH] migration: notify runstate immediately before vcpu stops

2019-07-25 Thread Dr. David Alan Gilbert
* Yan Zhao (yan.y.z...@intel.com) wrote: > for some devices to do live migration, it is needed to do something > immediately before vcpu stops. add a notification here. > > Signed-off-by: Yan Zhao > --- > cpus.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/cpus.c b/cpus.c > index b0

Re: [Qemu-devel] [PATCH] migration: notify runstate immediately before vcpu stops

2019-07-16 Thread no-reply
Patchew URL: https://patchew.org/QEMU/1563261042-15974-1-git-send-email-yan.y.z...@intel.com/ Hi, This series failed the asan build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BEGIN === #!/

Re: [Qemu-devel] [PATCH] migration: notify runstate immediately before vcpu stops

2019-07-16 Thread Yan Zhao
On Tue, Jul 16, 2019 at 06:33:41PM +0800, Peter Xu wrote: > On Tue, Jul 16, 2019 at 03:57:49AM -0400, Yan Zhao wrote: > > On Tue, Jul 16, 2019 at 03:50:25PM +0800, Peter Xu wrote: > > > On Tue, Jul 16, 2019 at 03:29:19AM -0400, Yan Zhao wrote: > > > > On Tue, Jul 16, 2019 at 03:23:16PM +0800, Peter

Re: [Qemu-devel] [PATCH] migration: notify runstate immediately before vcpu stops

2019-07-16 Thread Peter Xu
On Tue, Jul 16, 2019 at 03:57:49AM -0400, Yan Zhao wrote: > On Tue, Jul 16, 2019 at 03:50:25PM +0800, Peter Xu wrote: > > On Tue, Jul 16, 2019 at 03:29:19AM -0400, Yan Zhao wrote: > > > On Tue, Jul 16, 2019 at 03:23:16PM +0800, Peter Xu wrote: > > > > On Tue, Jul 16, 2019 at 03:10:42PM +0800, Yan Z

Re: [Qemu-devel] [PATCH] migration: notify runstate immediately before vcpu stops

2019-07-16 Thread Yan Zhao
On Tue, Jul 16, 2019 at 03:50:25PM +0800, Peter Xu wrote: > On Tue, Jul 16, 2019 at 03:29:19AM -0400, Yan Zhao wrote: > > On Tue, Jul 16, 2019 at 03:23:16PM +0800, Peter Xu wrote: > > > On Tue, Jul 16, 2019 at 03:10:42PM +0800, Yan Zhao wrote: > > > > for some devices to do live migration, it is ne

Re: [Qemu-devel] [PATCH] migration: notify runstate immediately before vcpu stops

2019-07-16 Thread Peter Xu
On Tue, Jul 16, 2019 at 03:29:19AM -0400, Yan Zhao wrote: > On Tue, Jul 16, 2019 at 03:23:16PM +0800, Peter Xu wrote: > > On Tue, Jul 16, 2019 at 03:10:42PM +0800, Yan Zhao wrote: > > > for some devices to do live migration, it is needed to do something > > > immediately before vcpu stops. add a no

Re: [Qemu-devel] [PATCH] migration: notify runstate immediately before vcpu stops

2019-07-16 Thread Yan Zhao
On Tue, Jul 16, 2019 at 03:23:16PM +0800, Peter Xu wrote: > On Tue, Jul 16, 2019 at 03:10:42PM +0800, Yan Zhao wrote: > > for some devices to do live migration, it is needed to do something > > immediately before vcpu stops. add a notification here. > > Hi, Yan, > > Could I ask for a more detaile

Re: [Qemu-devel] [PATCH] migration: notify runstate immediately before vcpu stops

2019-07-16 Thread Peter Xu
On Tue, Jul 16, 2019 at 03:10:42PM +0800, Yan Zhao wrote: > for some devices to do live migration, it is needed to do something > immediately before vcpu stops. add a notification here. Hi, Yan, Could I ask for a more detailed commit message here? E.g., what is "some devices"? And, what's the p

[Qemu-devel] [PATCH] migration: notify runstate immediately before vcpu stops

2019-07-16 Thread Yan Zhao
for some devices to do live migration, it is needed to do something immediately before vcpu stops. add a notification here. Signed-off-by: Yan Zhao --- cpus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpus.c b/cpus.c index b09b702..d5d4abe 100644 --- a/cpus.c +++ b/cpus.c @@ -1068,6 +1