]> xenbits.xen.org Git - xenclient/ioemu-pq.git/commitdiff
move the unit number of the cdrom device model used for iso images:wq
authorAndrew McNeil <andrewmcn@bob.uk.xensource.com>
Thu, 3 Sep 2009 16:15:46 +0000 (17:15 +0100)
committerAndrew McNeil <andrewmcn@bob.uk.xensource.com>
Thu, 3 Sep 2009 16:15:46 +0000 (17:15 +0100)
master/move-iso-cdrom [new file with mode: 0644]
master/series

diff --git a/master/move-iso-cdrom b/master/move-iso-cdrom
new file mode 100644 (file)
index 0000000..dd0064e
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/vl.c b/vl.c
+index ae461c8..c9c7c7f 100644
+--- a/vl.c
++++ b/vl.c
+@@ -2195,7 +2195,7 @@ static int bt_parse(const char *opt)
+ #define CDROM_PT_ALIAS "index=1,media=cdrompt"
+ #else
+ #define CDROM_ALIAS "index=2,media=cdrom"
+-#define CDROM_PT_ALIAS "index=2,media=cdrompt"
++#define CDROM_PT_ALIAS "index=3,media=cdrompt"
+ #endif
+ #define FD_ALIAS "index=%d,if=floppy"
+ #define PFLASH_ALIAS "if=pflash"
index 0b6478de3c07e97adc6a6f6f1bb2cc3daa6ea61b..9a556512b6272509ba14c8aa3cafca81b45fd827 100644 (file)
@@ -29,3 +29,4 @@ fix-imobile-mouse
 new-input-code
 atapi-pass-through
 pv_driver_throttling_disabled
+move-iso-cdrom