summary refs log tree commit diff stats
path: root/hw/qdev-properties.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-05-28 15:38:46 +0200
committerKevin Wolf <kwolf@redhat.com>2010-06-04 11:43:39 +0200
commit57dac7ef8aeabcd17b1ceee2296917bc48ccd526 (patch)
tree62a7cb2ca6be6c87b5f87849860a05105eda13a9 /hw/qdev-properties.c
parent124964b54e0c50706385691142795b6e43dad817 (diff)
downloadfocaccia-qemu-57dac7ef8aeabcd17b1ceee2296917bc48ccd526.tar.gz
focaccia-qemu-57dac7ef8aeabcd17b1ceee2296917bc48ccd526.zip
ide: Remove redundant IDEState member conf
Commit 428c149b added IDEState member conf to let commit 0009baf1 find
the BlockConf from there.  It exists only for qdev drives, created via
ide_drive_initfn(), not for drives created via ide_init2().

But for a qdev drive, we can just as well reach its IDEDevice, which
contains the BlockConf.  Do that, and revert the parts of commit
428c149b that add IDEState member conf.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/qdev-properties.c')
0 files changed, 0 insertions, 0 deletions