ide/mmio: QOM'ify MMIO IDE for R2D
commit6b2578d678497dbce44ed7999d269fc973ae6e8f
authorAndreas Färber <afaerber@suse.de>
Thu, 31 Jan 2013 23:13:41 +0000 (1 00:13 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 31 Jan 2013 23:13:41 +0000 (1 00:13 +0100)
treea3a036444eb8c52c19c7a37b9f4e958eea446be6
parente62a214cd49f836339fe3fd8126fc81d66c3c917
ide/mmio: QOM'ify MMIO IDE for R2D

It was not qdev'ified before, so turn it into a SysBusDevice.
Keep mmio_ide_init_drives() around to attach the hard drive.

Signed-off-by: Andreas Färberr <afaerber@suse.de>
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/ide.h
hw/ide/mmio.c
hw/r2d.c