qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH qom-cpu v2 0/7] QOM CPUState, part 4a: CPU_COMMON, continued
@ 2012-10-12  1:26 Andreas Färber
  2012-10-12  1:26 ` [Qemu-devel] [PATCH qom-cpu v2 1/7] target-i386: Inline APIC cpu_env property setting Andreas Färber
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: Andreas Färber @ 2012-10-12  1:26 UTC (permalink / raw)
  To: qemu-devel
  Cc: Eduardo Habkost, Don Slutz, Edgar E. Iglesias, Peter Crosthwaite,
	Anthony Liguori, Igor Mammedov, Paolo Bonzini,
	Andreas Färber

Hello,

Based on Igor's APIC initialization refactoring, this series picks up the next
batch from my CPUState part 4 series. It applies on top of my qom-cpu queue
and does not depend on the target-specific preparation series just posted.

Still not having X86CPU subclasses, there's no perfect solution to replace the
APIC's deprecated qdev pointer property with a QOM link<X86CPU> property, so
in this v2 I'm proposing to go via APIC internals for now, to keep moving
forward with CPUState. Please review.

Available for testing from:
git://github.com/afaerber/qemu-cpu.git qom-cpu-4
https://github.com/afaerber/qemu-cpu/commits/qom-cpu-4

Context:
* heavily-stripped-down CPUState part 4 series was pulled into v1.2
* x86 CPU hotplug patches reviewed and cherry-picked into qom-cpu branch
-> this CPUState part 4a series
* xtensa preparatory patch from CPUState part 4
* ppc and mips preparatory 4b series posted
+ sparc preparatory 4b series to be cherry-picked and rebased
+ upcoming 4b series --- until here considered v1.3 material
+ CPU TLB changes TBD
+ remainder of CPUState part 4 series, up to halted / interrupt_request

Regards,
Andreas

Cc: Anthony Liguori <anthony@codemonkey.ws>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Don Slutz <don@cloudswitch.com>
Cc: Peter Crosthwaite <peter.crosthwaite@petalogix.com>
Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>

v1 -> v2:
* cpu_is_bsp() changes have been merged through Igor in the meantime.
* Instead of setting up canonical path for PC CPU and link<X86CPU> property
  for APIC, initialize the APICCommonState struct field directly to migrate
  from void*-hidden CPUX86State to X86CPU.

Andreas Färber (7):
  target-i386: Inline APIC cpu_env property setting
  apic: Store X86CPU in APICCommonState
  target-i386: Pass X86CPU to cpu_x86_load_seg_cache_sipi()
  cpus: Pass CPUState to qemu_cpu_is_self()
  cpus: Pass CPUState to qemu_cpu_kick_thread()
  cpu: Move created field to CPUState
  cpu: Move stop field to CPUState

 cpu-defs.h         |    2 --
 cpus.c             |   59 +++++++++++++++++++++++++++++-----------------------
 exec.c             |    3 ++-
 hw/apic.c          |   40 ++++++++++++++++++++---------------
 hw/apic_common.c   |    5 ++---
 hw/apic_internal.h |    3 ++-
 hw/kvm/apic.c      |    8 +++----
 include/qemu/cpu.h |   14 +++++++++++++
 kvm-all.c          |    4 +++-
 qemu-common.h      |    1 -
 target-i386/cpu.c  |    5 ++++-
 target-i386/cpu.h  |    4 +++-
 target-i386/kvm.c  |    6 ++++--
 13 Dateien geändert, 94 Zeilen hinzugefügt(+), 60 Zeilen entfernt(-)

-- 
1.7.10.4

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

end of thread, other threads:[~2012-10-30 20:33 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-12  1:26 [Qemu-devel] [PATCH qom-cpu v2 0/7] QOM CPUState, part 4a: CPU_COMMON, continued Andreas Färber
2012-10-12  1:26 ` [Qemu-devel] [PATCH qom-cpu v2 1/7] target-i386: Inline APIC cpu_env property setting Andreas Färber
2012-10-15 23:22   ` Igor Mammedov
2012-10-16 16:02   ` Andreas Färber
2012-10-16 16:04     ` Paolo Bonzini
2012-10-17 12:50     ` Jan Kiszka
2012-10-12  1:26 ` [Qemu-devel] [PATCH qom-cpu v2 2/7] apic: Store X86CPU in APICCommonState Andreas Färber
2012-10-15 23:28   ` Igor Mammedov
2012-10-12  1:26 ` [Qemu-devel] [PATCH qom-cpu v2 3/7] target-i386: Pass X86CPU to cpu_x86_load_seg_cache_sipi() Andreas Färber
2012-10-15 23:29   ` Igor Mammedov
2012-10-12  1:26 ` [Qemu-devel] [PATCH qom-cpu v2 4/7] cpus: Pass CPUState to qemu_cpu_is_self() Andreas Färber
2012-10-16  0:49   ` Igor Mammedov
2012-10-30 20:08     ` Andreas Färber
2012-10-30 20:33   ` Andreas Färber
2012-10-12  1:26 ` [Qemu-devel] [PATCH qom-cpu v2 5/7] cpus: Pass CPUState to qemu_cpu_kick_thread() Andreas Färber
2012-10-16  0:53   ` Igor Mammedov
2012-10-12  1:26 ` [Qemu-devel] [PATCH qom-cpu v2 6/7] cpu: Move created field to CPUState Andreas Färber
2012-10-12  1:26 ` [Qemu-devel] [PATCH qom-cpu v2 7/7] cpu: Move stop " Andreas Färber

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