target-openrisc: Update OpenRISCCPU to QOM realizefn
Update the openrisc_cpu_realize() signature, hook it up to
DeviceClass::realize and set realized = true in cpu_openrisc_init().
qapi/error.h is now included through qdev and no longer needed.
Signed-off-by: NAndreas Färber <afaerber@suse.de>
Cc: Jia Liu <proljc@gmail.com>
Showing
想要评论请 注册 或 登录