diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-09-15 19:23:28 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-15 19:23:28 +0000 |
commit | c219331eb0e2de9acf60a3f2d1dc39cfa6f230fd (patch) | |
tree | cb8cd73fbdc812a7d3818f4f6eeeb7222a72ea7d /vl.c | |
parent | 71077c1cb07c9c73ec279c119d526d2600132ac9 (diff) | |
download | hqemu-c219331eb0e2de9acf60a3f2d1dc39cfa6f230fd.zip hqemu-c219331eb0e2de9acf60a3f2d1dc39cfa6f230fd.tar.gz |
support media=cdrom for if=none
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2176,6 +2176,7 @@ DriveInfo *drive_init(QemuOpts *opts, void *opaque, case IF_IDE: case IF_SCSI: case IF_XEN: + case IF_NONE: switch(media) { case MEDIA_DISK: if (cyls != 0) { @@ -2196,7 +2197,6 @@ DriveInfo *drive_init(QemuOpts *opts, void *opaque, break; case IF_PFLASH: case IF_MTD: - case IF_NONE: break; case IF_VIRTIO: /* add virtio block device */ |