From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgEWw-0003pN-FN for qemu-devel@nongnu.org; Fri, 02 May 2014 10:33:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WgEWn-00079K-Dg for qemu-devel@nongnu.org; Fri, 02 May 2014 10:33:38 -0400 Received: from mail-ee0-x22b.google.com ([2a00:1450:4013:c00::22b]:50411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgEWn-00079B-6N for qemu-devel@nongnu.org; Fri, 02 May 2014 10:33:29 -0400 Received: by mail-ee0-f43.google.com with SMTP id e51so3227481eek.30 for ; Fri, 02 May 2014 07:33:28 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 2 May 2014 16:33:14 +0200 Message-Id: <1399041202-26184-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v2 0/8] x86: correctly implement soft reset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= , "Michael S. Tsirkin" A repost of an old patch series, rebased and retested. Patches 3 to 5 are new, everything else already carries a Reviewed-by. v1->v2: compile-tested on ARM (I also have had a /dev/kvm on my ARM board for two hours now, but still no guest to try this on). Paolo Bonzini (8): kvm: reset state from the CPU's reset method kvm: forward INIT signals coming from the chipset target-i386: fix set of registers zeroed on reset target-i386: preserve FPU and MSR state on INIT apic: do not accept SIPI on the bootstrap processor cpu: make CPU_INTERRUPT_RESET available on all targets pc: port 92 reset requires a low->high transition x86: correctly implement soft reset cpu-exec.c | 23 ++++++++++--------- cpus.c | 9 ++++++++ hw/i386/pc.c | 6 +++-- hw/input/pckbd.c | 5 +++-- hw/intc/apic_common.c | 2 +- hw/isa/lpc_ich9.c | 12 ++++++++-- hw/pci-host/piix.c | 8 +++++-- include/exec/cpu-all.h | 8 ++++--- include/sysemu/cpus.h | 1 + include/sysemu/kvm.h | 2 -- kvm-all.c | 11 --------- target-arm/cpu.c | 7 ++++++ target-arm/kvm32.c | 4 +--- target-arm/kvm64.c | 2 +- target-arm/kvm_arm.h | 8 +++++++ target-i386/cpu.c | 11 +++++---- target-i386/cpu.h | 60 ++++++++++++++++++++++++++++++-------------------- target-i386/helper.c | 14 ++++++++++-- target-i386/kvm.c | 39 +++++++++++++++++++++----------- target-i386/kvm_i386.h | 2 ++ target-ppc/cpu.h | 3 --- target-ppc/kvm.c | 4 ---- target-s390x/cpu.c | 4 ++++ target-s390x/cpu.h | 5 +++++ target-s390x/kvm.c | 6 +++-- 25 files changed, 165 insertions(+), 91 deletions(-) -- 1.8.3.1