target-ppc: move the CD-ROM drive to the second IDE
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6764 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
bd4524edb8
commit
2701dfd2d0
4
vl.c
4
vl.c
|
@ -2139,11 +2139,7 @@ static int bt_parse(const char *opt)
|
||||||
/* QEMU Block devices */
|
/* QEMU Block devices */
|
||||||
|
|
||||||
#define HD_ALIAS "index=%d,media=disk"
|
#define HD_ALIAS "index=%d,media=disk"
|
||||||
#ifdef TARGET_PPC
|
|
||||||
#define CDROM_ALIAS "index=1,media=cdrom"
|
|
||||||
#else
|
|
||||||
#define CDROM_ALIAS "index=2,media=cdrom"
|
#define CDROM_ALIAS "index=2,media=cdrom"
|
||||||
#endif
|
|
||||||
#define FD_ALIAS "index=%d,if=floppy"
|
#define FD_ALIAS "index=%d,if=floppy"
|
||||||
#define PFLASH_ALIAS "if=pflash"
|
#define PFLASH_ALIAS "if=pflash"
|
||||||
#define MTD_ALIAS "if=mtd"
|
#define MTD_ALIAS "if=mtd"
|
||||||
|
|
Loading…
Reference in a new issue