qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: Avi Kivity <avi@redhat.com>, qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH  0/8] kvm: Fixes, cleanups and live migration
Date: Fri, 01 May 2009 17:40:00 -0500	[thread overview]
Message-ID: <49FB7A40.1020005@us.ibm.com> (raw)
In-Reply-To: <20090501211717.24514.23246.stgit@mchn012c.ww002.siemens.net>

Jan Kiszka wrote:
> Besides refreshed versions of my already posted fixes and cleanups for
> KVM, this series comes with patches to enable live migration in KVM
> mode. If there is still some migration bit missing compared to qemu-kvm,
> please let me know.
>   

In qemu-kvm, we also save:

MSR_IA32_TSC
mp_state
interrupt_bitmap

In QEMU, we probably should just emulate MSR_IA32_TSC and then we can 
reuse that for save/restore.

interrupt_bitmap is a bit more tricky.  It only ever can have one bit 
set AFAICT but I don't see anything that we're currently saving that 
maps to it which leads me to wonder why KVM needs it and QEMU doesn't.

Regards,

Anthony Liguori

> Find the patches also at git://git.kiszka.org/qemu.git queues/kvm
>
> Jan Kiszka (8):
>       kvm: Conditionally apply workaround for KVM slot handling bug
>       kvm: Introduce kvm_set_migration_log
>       kvm: Fix dirty log temporary buffer size
>       kvm: Rework dirty bitmap synchronization
>       kvm: Add missing bits to support live migration
>       kvm: Fix framebuffer dirty log sync
>       Introduce reset notifier order
>       kvm: Rework VCPU reset
>
>  cpu-all.h             |    3 +-
>  exec.c                |   14 ++++-
>  hw/ac97.c             |    2 +-
>  hw/acpi.c             |    2 +-
>  hw/adb.c              |    2 +-
>  hw/apic.c             |    2 +-
>  hw/arm_boot.c         |    2 +-
>  hw/axis_dev88.c       |    2 +-
>  hw/cirrus_vga.c       |    2 +-
>  hw/cs4231.c           |    2 +-
>  hw/cs4231a.c          |    2 +-
>  hw/cuda.c             |    2 +-
>  hw/dma.c              |    2 +-
>  hw/dp8393x.c          |    2 +-
>  hw/eccmemctl.c        |    2 +-
>  hw/eepro100.c         |    2 +-
>  hw/es1370.c           |    2 +-
>  hw/escc.c             |    4 +-
>  hw/esp.c              |    2 +-
>  hw/etraxfs.c          |    2 +-
>  hw/etraxfs_timer.c    |    2 +-
>  hw/fdc.c              |    2 +-
>  hw/framebuffer.c      |    5 +--
>  hw/fw_cfg.c           |    2 +-
>  hw/g364fb.c           |    2 +-
>  hw/grackle_pci.c      |    2 +-
>  hw/heathrow_pic.c     |    2 +-
>  hw/hpet.c             |    2 +-
>  hw/hw.h               |    2 +-
>  hw/i8254.c            |    2 +-
>  hw/i8259.c            |    2 +-
>  hw/ide.c              |    8 ++--
>  hw/ioapic.c           |    2 +-
>  hw/iommu.c            |    2 +-
>  hw/lm832x.c           |    2 +-
>  hw/m48t59.c           |    2 +-
>  hw/mac_dbdma.c        |    2 +-
>  hw/mac_nvram.c        |    2 +-
>  hw/mips_jazz.c        |    2 +-
>  hw/mips_malta.c       |    4 +-
>  hw/mips_mipssim.c     |    2 +-
>  hw/mips_r4k.c         |    2 +-
>  hw/musicpal.c         |    4 +-
>  hw/nseries.c          |    2 +-
>  hw/omap1.c            |    2 +-
>  hw/omap2.c            |    2 +-
>  hw/openpic.c          |    4 +-
>  hw/parallel.c         |    4 +-
>  hw/pc.c               |    2 +-
>  hw/pckbd.c            |    4 +-
>  hw/pl181.c            |    2 +-
>  hw/ppc405_boards.c    |    4 +-
>  hw/ppc405_uc.c        |   24 ++++----
>  hw/ppc4xx_devs.c      |    6 +-
>  hw/ppc4xx_pci.c       |    2 +-
>  hw/ppc_newworld.c     |    2 +-
>  hw/ppc_oldworld.c     |    2 +-
>  hw/ppc_prep.c         |    2 +-
>  hw/ps2.c              |    4 +-
>  hw/rc4030.c           |    2 +-
>  hw/sbi.c              |    2 +-
>  hw/serial.c           |    2 +-
>  hw/slavio_intctl.c    |    2 +-
>  hw/slavio_misc.c      |    2 +-
>  hw/slavio_timer.c     |    2 +-
>  hw/sparc32_dma.c      |    2 +-
>  hw/sun4c_intctl.c     |    2 +-
>  hw/sun4m.c            |   10 ++--
>  hw/sun4u.c            |    2 +-
>  hw/tcx.c              |    2 +-
>  hw/tsc2005.c          |    2 +-
>  hw/tsc210x.c          |    4 +-
>  hw/unin_pci.c         |    2 +-
>  hw/usb-ohci.c         |    2 +-
>  hw/vga.c              |    2 +-
>  hw/virtio.c           |    2 +-
>  kvm-all.c             |  139 +++++++++++++++++++++++++++++++++++--------------
>  kvm.h                 |    5 +-
>  target-i386/machine.c |    4 ++
>  target-ppc/machine.c  |    5 ++
>  vl.c                  |   16 ++++--
>  81 files changed, 240 insertions(+), 155 deletions(-)
>
>
>
>   


-- 
Regards,

Anthony Liguori

  parent reply	other threads:[~2009-05-01 22:40 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-01 21:17 [Qemu-devel] [PATCH 0/8] kvm: Fixes, cleanups and live migration Jan Kiszka
2009-05-01 21:17 ` [Qemu-devel] [PATCH 1/8] kvm: Conditionally apply workaround for KVM slot handling bug Jan Kiszka
2009-05-01 21:17 ` [Qemu-devel] [PATCH 3/8] kvm: Fix dirty log temporary buffer size Jan Kiszka
2009-05-01 21:17 ` [Qemu-devel] [PATCH 6/8] kvm: Fix framebuffer dirty log sync Jan Kiszka
2009-05-01 21:17 ` [Qemu-devel] [PATCH 5/8] kvm: Add missing bits to support live migration Jan Kiszka
2009-05-01 21:17 ` [Qemu-devel] [PATCH 2/8] kvm: Introduce kvm_set_migration_log Jan Kiszka
2009-05-01 21:17 ` [Qemu-devel] [PATCH 4/8] kvm: Rework dirty bitmap synchronization Jan Kiszka
2009-05-03 10:05   ` [Qemu-devel] " Avi Kivity
2009-05-04  8:52     ` Jan Kiszka
2009-05-01 21:17 ` [Qemu-devel] [PATCH 7/8] Introduce reset notifier order Jan Kiszka
2009-05-01 23:52   ` Paul Brook
2009-05-02  0:05     ` [Qemu-devel] " Jan Kiszka
2009-05-02  0:34       ` Paul Brook
2009-05-04  7:45         ` Jan Kiszka
2009-05-01 21:17 ` [Qemu-devel] [PATCH 8/8] kvm: Rework VCPU reset Jan Kiszka
2009-05-03 15:58   ` [Qemu-devel] " Avi Kivity
2009-05-04  8:54     ` Jan Kiszka
2009-05-04  9:12       ` Avi Kivity
2009-05-04  9:29         ` Jan Kiszka
2009-05-04 10:01           ` Avi Kivity
2009-05-01 22:30 ` [Qemu-devel] Re: [PATCH 0/8] kvm: Fixes, cleanups and live migration Anthony Liguori
2009-05-01 22:49   ` Anthony Liguori
2009-05-01 22:49   ` Jan Kiszka
2009-05-01 22:40 ` Anthony Liguori [this message]
2009-05-01 22:56   ` Jan Kiszka
2009-05-02  8:07     ` Avi Kivity
2009-05-02  7:40   ` Gleb Natapov
2009-05-02 13:50     ` Anthony Liguori
2009-05-02 17:23       ` Gleb Natapov
2009-05-02 19:12         ` Avi Kivity
2009-05-02 20:07           ` Gleb Natapov
2009-05-02 20:09             ` [Qemu-devel] Re: [PATCH 0/8] kvm: Fixes, cleanups and livemigration Anthony Liguori
2009-05-03  5:25               ` Gleb Natapov
2009-05-03  5:57             ` [Qemu-devel] Re: [PATCH 0/8] kvm: Fixes, cleanups and live migration Avi Kivity
2009-05-03  6:05               ` Gleb Natapov
2009-05-03  7:36                 ` Avi Kivity
2009-05-03  7:46                   ` Gleb Natapov
2009-05-03  7:50                     ` Avi Kivity
2009-05-03  7:56                       ` Gleb Natapov
2009-05-03  8:01                         ` Avi Kivity
2009-05-03  8:35                           ` Gleb Natapov
2009-05-01 22:49 ` [Qemu-devel] [PATCH 9/8] kvm: Save/restore TSC counter Jan Kiszka
2009-05-01 22:51   ` [Qemu-devel] " Anthony Liguori
2009-05-01 22:58     ` Jan Kiszka
2009-05-01 23:09       ` Jan Kiszka
2009-05-01 23:18         ` Anthony Liguori
2009-05-02  0:08   ` [Qemu-devel] [PATCH 9/8] kvm: x86: Save/restore KVM-specific CPU states Jan Kiszka
2009-05-02  0:20     ` [Qemu-devel] [PATCH 9/8 v2] " Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49FB7A40.1020005@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=avi@redhat.com \
    --cc=jan.kiszka@web.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).