qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v1 0/3] refactor x86 apic to QOM typing
@ 2013-10-22  7:05 Chen Fan
  2013-10-22  7:05 ` [Qemu-devel] [PATCH v1 1/3] Change apic/kvm/xen to use " Chen Fan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chen Fan @ 2013-10-22  7:05 UTC (permalink / raw)
  To: qemu-devel; +Cc: Igor Mammedov, Andreas Färber

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-22  7:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-22  7:05 [Qemu-devel] [PATCH v1 0/3] refactor x86 apic to QOM typing Chen Fan
2013-10-22  7:05 ` [Qemu-devel] [PATCH v1 1/3] Change apic/kvm/xen to use " 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

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).