From: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
To: qemu-devel@nongnu.org
Cc: "Igor Mammedov" <imammedo@redhat.com>,
"Andreas Färber" <afaerber@suse.de>
Subject: [Qemu-devel] [PATCH v1 0/3] refactor x86 apic to QOM typing
Date: Tue, 22 Oct 2013 15:05:24 +0800 [thread overview]
Message-ID: <cover.1382413013.git.chen.fan.fnst@cn.fujitsu.com> (raw)
In order to implement 'cpu-del' in the furture.
at first, needing to refactor x86 apic codes.
this converts apic/kvm/xen 's init() callbacks to realize()
and dropping local_apics[] from file hw/intc/apic.c.
moving apic_state field from CPUX86State to X86CPU.
Chen Fan (3):
Change apic/kvm/xen to use QOM typing
Using CPU_FOREACH() instead of scanning local_apics
x86: move apic_state field from CPUX86State to X86CPU
cpu-exec.c | 2 +-
cpus.c | 5 +--
hw/cpu/icc_bus.c | 17 ---------
hw/i386/kvm/apic.c | 10 ++++-
hw/i386/kvmvapic.c | 8 ++--
hw/i386/pc.c | 17 ++++-----
hw/intc/apic.c | 84 ++++++++++++++++++++---------------------
hw/intc/apic_common.c | 17 ++-------
hw/xen/xen_apic.c | 11 +++++-
include/hw/cpu/icc_bus.h | 1 -
include/hw/i386/apic_internal.h | 5 +--
target-i386/cpu-qom.h | 4 ++
target-i386/cpu.c | 22 +++++------
target-i386/cpu.h | 4 --
target-i386/helper.c | 9 ++---
target-i386/kvm.c | 23 +++++------
target-i386/misc_helper.c | 8 ++--
17 files changed, 109 insertions(+), 138 deletions(-)
--
1.8.1.4
next reply other threads:[~2013-10-22 7:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-22 7:05 Chen Fan [this message]
2013-10-22 7:05 ` [Qemu-devel] [PATCH v1 1/3] Change apic/kvm/xen to use QOM typing Chen Fan
2013-10-22 7:05 ` [Qemu-devel] [PATCH v1 2/3] Using CPU_FOREACH() instead of scanning local_apics Chen Fan
2013-10-22 7:05 ` [Qemu-devel] [PATCH v1 3/3] x86: move apic_state field from CPUX86State to X86CPU Chen Fan
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=cover.1382413013.git.chen.fan.fnst@cn.fujitsu.com \
--to=chen.fan.fnst@cn.fujitsu.com \
--cc=afaerber@suse.de \
--cc=imammedo@redhat.com \
--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).