History | View | Annotate | Download (24.9 kB)
onenand: QOM cast cleanup
Introduce a type constant, use QOM casts and rename the parent field andprepare for QOM realize.
Reviewed-by: Hu Tao <hutao@cn.fujitsu.com>Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/block: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
memory: add owner argument to initialization functions
hw: move block devices to hw/block/, configure via default-configs/