projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71077c1
)
support media=cdrom for if=none
author
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 15 Sep 2009 19:23:28 +0000
(19:23 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Tue, 15 Sep 2009 19:23:28 +0000
(19:23 +0000)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
vl.c
patch
|
blob
|
history
diff --git
a/vl.c
b/vl.c
index 0e6133316aa8d6e3d06307abaf464738c30f970a..eb01da7c65b7e836253463de9e7f171663b7906a 100644
(file)
--- a/
vl.c
+++ b/
vl.c
@@
-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 */