qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH qom-next v2 0/6] target-i386: re-factor CPU creation/initialization to QOM
@ 2012-05-23 16:39 Igor Mammedov
  2012-05-23 16:39 ` [Qemu-devel] [PATCH qom-next 1/6] pc: Enable MSI support at APIC level Igor Mammedov
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: Igor Mammedov @ 2012-05-23 16:39 UTC (permalink / raw)
  To: qemu-devel
  Cc: peter.maydell, aliguori, wei.liu2, ehabkost, stefano.stabellini,
	sw, mtosatti, agraf, blauwirbel, avi, jan.kiszka, anthony.perard,
	pbonzini, afaerber

Moving code related to CPU creation and initialization internal parts
from board level into apic and cpu objects will allow X86CPU to better
model QOM object life-cycle.
It will allow to create X86CPU as any other object by creating it with
object_new() then setting properties and then calling x86_cpu_realize()
to make it running. Later x86_cpu_realize() should become realize property.


 1  pc: Enable MSI support at APIC level
     http://thread.gmane.org/gmane.comp.emulators.kvm.devel/91186
     included here to prevent confilict since qom-next doesn't have it
     but patches 4, 5 are depending on it. I guess it would be best way to
     avoid confilicts, correct me if I'm wrong.

 2  target-i386: move cpu halted decision into x86_cpu_reset
 3  target-i386: add cpu-model property to x86_cpu
 4  pc: move apic_mapped initialization into common apic init code
 5  target-i386: make initialize CPU in QOM way
 6  target-i386: move reset callback to cpu.c


git tree for testing: 
  https://github.com/imammedo/qemu/tree/x86-cpu-realize-v2

Compile & Run tested:
  target-i386: tcg and kvm mode
  i386-linux-user: running of /bin/ls and /usr/bin/make on qemu tree

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

end of thread, other threads:[~2012-05-24 13:45 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-23 16:39 [Qemu-devel] [PATCH qom-next v2 0/6] target-i386: re-factor CPU creation/initialization to QOM Igor Mammedov
2012-05-23 16:39 ` [Qemu-devel] [PATCH qom-next 1/6] pc: Enable MSI support at APIC level Igor Mammedov
2012-05-23 16:39 ` [Qemu-devel] [PATCH qom-next 2/6] target-i386: move cpu halted decision into x86_cpu_reset Igor Mammedov
2012-05-23 16:39 ` [Qemu-devel] [PATCH qom-next 3/6] target-i386: add cpu-model property to x86_cpu Igor Mammedov
2012-05-23 16:39 ` [Qemu-devel] [PATCH qom-next 4/6] pc: move apic_mapped initialization into common apic init code Igor Mammedov
2012-05-23 16:44   ` Peter Maydell
2012-05-23 20:08     ` Jan Kiszka
2012-05-23 21:09     ` Igor Mammedov
2012-05-23 21:26       ` Peter Maydell
2012-05-24 13:10         ` Igor Mammedov
2012-05-24 13:21           ` Peter Maydell
2012-05-24 13:25           ` Jan Kiszka
2012-05-24 13:39             ` Igor Mammedov
2012-05-24 13:45           ` Andreas Färber
2012-05-23 16:39 ` [Qemu-devel] [PATCH qom-next 5/6] target-i386: make initialize CPU in QOM way Igor Mammedov
2012-05-23 21:27   ` Andreas Färber
2012-05-24  9:29     ` Igor Mammedov
2012-05-23 16:39 ` [Qemu-devel] [PATCH qom-next 6/6] target-i386: move reset callback to cpu.c Igor Mammedov

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