From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShKzc-0006aJ-Rk for qemu-devel@nongnu.org; Wed, 20 Jun 2012 09:30:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ShKzW-0005Gc-Di for qemu-devel@nongnu.org; Wed, 20 Jun 2012 09:30:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShKzW-0005GM-5J for qemu-devel@nongnu.org; Wed, 20 Jun 2012 09:30:38 -0400 From: Igor Mammedov Date: Wed, 20 Jun 2012 14:59:19 +0200 Message-Id: <1340197164-9574-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH 0/5] target-i386: move cpu reset and tcg intialization inside CPU object List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, aliguori@us.ibm.com, ehabkost@redhat.com, jan.kiszka@siemens.com, mtosatti@redhat.com, mdroth@linux.vnet.ibm.com, blauwirbel@gmail.com, avi@redhat.com, pbonzini@redhat.com, afaerber@suse.de There is no much sence in holding back rather independed cpu_reset and tcg init patches from: "[PATCH qom-next v3 0/12] target-i386: re-factor CPU creation/initialization to QOM" http://lists.gnu.org/archive/html/qemu-devel/2012-05/msg04077.html Reposting ammended and rebased patches. git tree for testing: https://github.com/imammedo/qemu/tree/x86cpu_qom_reset_tcg Compile & Run tested: target-i386: tcg and kvm mode i386-linux-user: running of /bin/ls Igor Mammedov (5): target-i386: move reset callback to cpu.c and call cpu_reset() in x86_cpu_realize() target-i386: move cpu halted decision into x86_cpu_reset target-i386: call x86_cpu_realize() only after APIC is initialized. target-i386: move tcg initialization into x86_cpu_initfn() target-i386: drop usage of prev_debug_excp_handler hw/apic.h | 2 +- hw/apic_common.c | 20 ++++++++++++++------ hw/pc.c | 10 +--------- target-i386/cpu.c | 19 +++++++++++++++++++ target-i386/cpu.h | 1 + target-i386/helper.c | 19 +------------------ target-i386/kvm.c | 5 +++-- 7 files changed, 40 insertions(+), 36 deletions(-)