diff options
author | Pavel Hrdina <phrdina@redhat.com> | 2012-05-24 11:02:28 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-05-25 18:18:53 +0200 |
commit | 9ecd394753919b7395e620dffb8a5e23c45b5e07 (patch) | |
tree | 4d57bc2e33f4e88c4cc05317d609f02856d3ee76 /hw/pc.c | |
parent | b84762e2456e15c091c25aff052afb8766394acd (diff) |
fdc: floppy drive should be visible after start without media
If you start guest with floppy drive but without media inserted, guest
still should see floppy drive pressent.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/pc.c')
-rw-r--r-- | hw/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -382,7 +382,7 @@ void pc_cmos_init(ram_addr_t ram_size, ram_addr_t above_4g_mem_size, if (floppy) { fdc_get_bs(fd, floppy); for (i = 0; i < 2; i++) { - if (fd[i] && bdrv_is_inserted(fd[i])) { + if (fd[i]) { bdrv_get_floppy_geometry_hint(fd[i], &nb_heads, &max_track, &last_sect, FDRIVE_DRV_NONE, &fd_type[i], &rate); |