Re: [Qemu-devel] [PULL 7/7] vl: introduce vm_shutdown()

2018-03-16 Thread Christian Borntraeger
On 03/12/2018 08:05 PM, John Snow wrote: > > > On 03/09/2018 08:19 AM, Stefan Hajnoczi wrote: >> Commit 00d09fdbbae5f7864ce754913efc84c12fdf9f1a ("vl: pause vcpus before >> stopping iothreads") and commit dce8921b2baaf95974af8176406881872067adfa >> ("iothread: Stop threads before main() quits") t

Re: [Qemu-devel] [PULL 7/7] vl: introduce vm_shutdown()

2018-03-12 Thread John Snow
On 03/09/2018 08:19 AM, Stefan Hajnoczi wrote: > Commit 00d09fdbbae5f7864ce754913efc84c12fdf9f1a ("vl: pause vcpus before > stopping iothreads") and commit dce8921b2baaf95974af8176406881872067adfa > ("iothread: Stop threads before main() quits") tried to work around the > fact that emulation was

[Qemu-devel] [PULL 7/7] vl: introduce vm_shutdown()

2018-03-09 Thread Stefan Hajnoczi
Commit 00d09fdbbae5f7864ce754913efc84c12fdf9f1a ("vl: pause vcpus before stopping iothreads") and commit dce8921b2baaf95974af8176406881872067adfa ("iothread: Stop threads before main() quits") tried to work around the fact that emulation was still active during termination by stopping iothreads. T