ide pc: Put hard disk info into CMOS only for hard disks
commit9dc13e381385787b65ad2095ed343bbc8b4e5220
authorMarkus Armbruster <armbru@redhat.com>
Tue, 10 Jul 2012 09:12:51 +0000 (10 11:12 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 17 Jul 2012 14:48:31 +0000 (17 16:48 +0200)
treec206d1eaadb93472020cb6d70bd7adbcca1325c5
parent2b584959ed300ddff4acba0d7554becad5f274fd
ide pc: Put hard disk info into CMOS only for hard disks

In particular, don't set disk type and geometry when a CD-ROM on bus
ide.0 has media during CMOS initialization.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/qdev.c