« Previous | Next » 

Revision 2b6f294c

ID2b6f294cacd9f4e133a7813d22e1b4e87ac6b2a3

Added by Andreas Färber over 11 years ago

target-i386: Update X86CPU to QOM realizefn

Adapt the signature of x86_cpu_realize(), hook up to
DeviceClass::realize and set realized = true in cpu_x86_init().

The QOM realizefn cannot depend on errp being non-NULL as in
cpu_x86_init(), so use a local Error to preserve error handling behavior
on APIC initialization errors.

Reviewed-by: Igor Mammedov <>
Reviewed-by: Eduardo Habkost <>
[AF: Invoke parent's realizefn]
Signed-off-by: Andreas Färber <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences