From ce30c52021111baa9f4742df5995c0aa431906d9 Mon Sep 17 00:00:00 2001 From: Andrew McNeil Date: Thu, 3 Sep 2009 17:15:46 +0100 Subject: [PATCH] move the unit number of the cdrom device model used for iso images:wq --- master/move-iso-cdrom | 13 +++++++++++++ master/series | 1 + 2 files changed, 14 insertions(+) create mode 100644 master/move-iso-cdrom diff --git a/master/move-iso-cdrom b/master/move-iso-cdrom new file mode 100644 index 0000000..dd0064e --- /dev/null +++ b/master/move-iso-cdrom @@ -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" diff --git a/master/series b/master/series index 0b6478d..9a55651 100644 --- a/master/series +++ b/master/series @@ -29,3 +29,4 @@ fix-imobile-mouse new-input-code atapi-pass-through pv_driver_throttling_disabled +move-iso-cdrom -- 2.39.5