[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 08/10] fdc: floppy drive should be visible after sta
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] [PATCH 08/10] fdc: floppy drive should be visible after start without media |
Date: |
Fri, 25 May 2012 19:38:52 +0200 |
From: Pavel Hrdina <address@hidden>
If you start guest with floppy drive but without media inserted, guest
still should see floppy drive pressent.
Signed-off-by: Pavel Hrdina <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
---
hw/pc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index 4d34a33..967c17a 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -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);
--
1.7.6.5
- [Qemu-devel] [PULL 00/10] Block patches for 1.1, Kevin Wolf, 2012/05/25
- [Qemu-devel] [PATCH 01/10] qcow2: don't leak buffer for unexpected qcow_version in header, Kevin Wolf, 2012/05/25
- [Qemu-devel] [PATCH 02/10] qemu-img: Explain how rebase operation can be used to perform a 'diff' operation., Kevin Wolf, 2012/05/25
- [Qemu-devel] [PATCH 03/10] sheepdog: mark image as snapshot when tag is specified, Kevin Wolf, 2012/05/25
- [Qemu-devel] [PATCH 04/10] sheepdog: return -errno on error, Kevin Wolf, 2012/05/25
- [Qemu-devel] [PATCH 06/10] qcow2: Check qcow2_alloc_clusters_at() return value, Kevin Wolf, 2012/05/25
- [Qemu-devel] [PATCH 05/10] sheepdog: use heap instead of stack for BDRVSheepdogState, Kevin Wolf, 2012/05/25
- [Qemu-devel] [PATCH 09/10] fdc: fix media detection, Kevin Wolf, 2012/05/25
- [Qemu-devel] [PATCH 08/10] fdc: floppy drive should be visible after start without media,
Kevin Wolf <=
- [Qemu-devel] [PATCH 07/10] qemu-iotests: mark 035 qcow2-only, Kevin Wolf, 2012/05/25
- [Qemu-devel] [PATCH 10/10] fdc-test: introduced qtest no_media_on_start and cmos qtest for floppy, Kevin Wolf, 2012/05/25
- Re: [Qemu-devel] [PULL 00/10] Block patches for 1.1, Anthony Liguori, 2012/05/29