qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCHv2 0/6] stable migration image on a stopped vm
@ 2010-11-24 15:52 Michael S. Tsirkin
  2010-11-24 15:52 ` [Qemu-devel] [PATCHv2 1/6] virtio-net: don't dma while vm is stopped Michael S. Tsirkin
                   ` (5 more replies)
  0 siblings, 6 replies; 27+ messages in thread
From: Michael S. Tsirkin @ 2010-11-24 15:52 UTC (permalink / raw)
  To: jasowang, Anthony Liguori, qemu-devel, quintela

I sent the exact same patches offline to some of the Cc'd,
there's been no change but they have been tested by Jason now.
I'll queue them up unless there are some comments.

What these patches do is arrive at a state where migrate to exec with vm
stopped produces a stable result.

With these patches applied it's stable, under the following
conditions:

1. run with -rtc clock=vm otherwise the rtc clock
   keeps running with vm stopped.
2. kvm clock compiled out (-kvmclock in -cpu should
   have same efect but does not, this is a bug,
   and it breaks migration between hosts with
   and without kvmclock support in kernel).
3. ratelimit set to a very large value (like 100g)

Tested-by: Jason Wang <jasowang@redhat.com>


Michael S. Tsirkin (6):
  virtio-net: don't dma while vm is stopped
  cpus: flush all requests on each vm stop
  migration/savevm: no need to flush requests
  virtio-net: stop/start bh on vm start/stop
  migration: stable ram block ordering
  migration: allow rate > 4g

 arch_init.c     |   35 +++++++++++++++++++++++++++++++++++
 buffered_file.c |    9 ++++++---
 cpu-common.h    |    3 +++
 cpus.c          |    2 ++
 exec.c          |   24 ++++++++++++++++++++++--
 hw/hw.h         |    8 ++++----
 hw/virtio-net.c |   39 +++++++++++++++++++++++++++++----------
 kvm-all.c       |    2 +-
 migration.c     |    8 ++++----
 savevm.c        |    8 ++------
 10 files changed, 108 insertions(+), 30 deletions(-)

-- 
1.7.3.2.91.g446ac

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2010-12-03 16:37 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-24 15:52 [Qemu-devel] [PATCHv2 0/6] stable migration image on a stopped vm Michael S. Tsirkin
2010-11-24 15:52 ` [Qemu-devel] [PATCHv2 1/6] virtio-net: don't dma while vm is stopped Michael S. Tsirkin
2010-11-24 15:52 ` [Qemu-devel] [PATCHv2 2/6] cpus: flush all requests on each vm stop Michael S. Tsirkin
2010-11-30 12:45   ` Marcelo Tosatti
2010-11-30 13:14     ` Michael S. Tsirkin
2010-11-30 13:34     ` Michael S. Tsirkin
2010-11-30 13:46       ` Marcelo Tosatti
2010-11-30 14:05         ` Michael S. Tsirkin
2010-12-03 16:30           ` Marcelo Tosatti
2010-11-24 15:53 ` [Qemu-devel] [PATCHv2 3/6] migration/savevm: no need to flush requests Michael S. Tsirkin
2010-11-24 15:53 ` [Qemu-devel] [PATCHv2 4/6] virtio-net: stop/start bh on vm start/stop Michael S. Tsirkin
2010-11-29 15:37   ` [Qemu-devel] [PATCHv3 4/6] virtio-net: stop/start bh when appropriate Michael S. Tsirkin
2010-12-01  5:45     ` Jason Wang
2010-12-01  5:59       ` Michael S. Tsirkin
2010-12-03  8:40         ` Kevin Wolf
2010-12-01  6:02       ` Michael S. Tsirkin
2010-12-01  6:17         ` Jason Wang
2010-12-02 12:56         ` Jason Wang
2010-12-02 13:07           ` Michael S. Tsirkin
2010-12-02 13:08           ` Michael S. Tsirkin
2010-12-02 14:19             ` Jason Wang
2010-12-02 15:38               ` Michael S. Tsirkin
2010-12-03 13:32                 ` Jason Wang
2010-12-02 18:27               ` Michael S. Tsirkin
2010-12-03  8:39                 ` Kevin Wolf
2010-11-24 15:53 ` [Qemu-devel] [PATCHv2 5/6] migration: stable ram block ordering Michael S. Tsirkin
2010-11-24 15:53 ` [Qemu-devel] [PATCHv2 6/6] migration: allow rate > 4g Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).