cpus: flush all requests on each vm stop
commit55df6f33655ed4139c824aa3ab9a4ab0c19dca83
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 22 Nov 2010 17:52:22 +0000 (22 19:52 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 9 Dec 2010 10:47:19 +0000 (9 12:47 +0200)
treec80493c289b8c11200d94f79e9470f99dd6bf40b
parent3a75e74c76cef8daa7944159b016c4ee7c56e568
cpus: flush all requests on each vm stop

Flush all requests once we have stopped all
cpus and devices.
Make sure disk is in consistent state.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Jason Wang <jasowang@redhat.com>
Acked-by: Marcelo Tosatti <mtosatti@redhat.com>
cpus.c