From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M01Ox-0006eQ-RG for qemu-devel@nongnu.org; Fri, 01 May 2009 18:40:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M01Os-0006Ya-UI for qemu-devel@nongnu.org; Fri, 01 May 2009 18:40:15 -0400 Received: from [199.232.76.173] (port=41560 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M01Os-0006YF-M0 for qemu-devel@nongnu.org; Fri, 01 May 2009 18:40:10 -0400 Received: from e34.co.us.ibm.com ([32.97.110.152]:56474) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M01Os-0003OW-0p for qemu-devel@nongnu.org; Fri, 01 May 2009 18:40:10 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e34.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n41MbcN0008226 for ; Fri, 1 May 2009 16:37:38 -0600 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n41Me8cF230506 for ; Fri, 1 May 2009 16:40:08 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n41Me83P016272 for ; Fri, 1 May 2009 16:40:08 -0600 Message-ID: <49FB7A40.1020005@us.ibm.com> Date: Fri, 01 May 2009 17:40:00 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <20090501211717.24514.23246.stgit@mchn012c.ww002.siemens.net> In-Reply-To: <20090501211717.24514.23246.stgit@mchn012c.ww002.siemens.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 0/8] kvm: Fixes, cleanups and live migration List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Avi Kivity , qemu-devel@nongnu.org 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