diff options
Diffstat (limited to 'scripts/runqemu-internal')
| -rwxr-xr-x | scripts/runqemu-internal | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index 9d570ed9c6..0e3dad0e13 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal | |||
| @@ -475,6 +475,10 @@ if [ "x$RAMFS" = "xtrue" ]; then | |||
| 475 | KERNCMDLINE="root=/dev/ram0 debugshell" | 475 | KERNCMDLINE="root=/dev/ram0 debugshell" |
| 476 | fi | 476 | fi |
| 477 | 477 | ||
| 478 | if [ "x$ISOFS" = "xtrue" ]; then | ||
| 479 | QEMUOPTIONS="-cdrom $ROOTFS" | ||
| 480 | fi | ||
| 481 | |||
| 478 | if [ "x$QEMUOPTIONS" = "x" ]; then | 482 | if [ "x$QEMUOPTIONS" = "x" ]; then |
| 479 | echo "Error: Unable to support this combination of options" | 483 | echo "Error: Unable to support this combination of options" |
| 480 | cleanup | 484 | cleanup |
| @@ -577,6 +581,9 @@ echo "Running $QEMU..." | |||
| 577 | if [ "$FSTYPE" = "vmdk" ]; then | 581 | if [ "$FSTYPE" = "vmdk" ]; then |
| 578 | echo $QEMUBIN $VM $QEMUOPTIONS $SERIALOPTS -no-reboot $SCRIPT_QEMU_OPT $SCRIPT_QEMU_EXTRA_OPT | 582 | echo $QEMUBIN $VM $QEMUOPTIONS $SERIALOPTS -no-reboot $SCRIPT_QEMU_OPT $SCRIPT_QEMU_EXTRA_OPT |
| 579 | LD_PRELOAD="$GL_LD_PRELOAD" $QEMUBIN $VM $QEMUOPTIONS $SERIALOPTS -no-reboot $SCRIPT_QEMU_OPT $SCRIPT_QEMU_EXTRA_OPT | 583 | LD_PRELOAD="$GL_LD_PRELOAD" $QEMUBIN $VM $QEMUOPTIONS $SERIALOPTS -no-reboot $SCRIPT_QEMU_OPT $SCRIPT_QEMU_EXTRA_OPT |
| 584 | elif [ "$FSTYPE" = "iso" ]; then | ||
| 585 | echo $QEMUBIN $QEMUOPTIONS $SERIALOPTS -no-reboot $SCRIPT_QEMU_OPT $SCRIPT_QEMU_EXTRA_OPT | ||
| 586 | LD_PRELOAD="$GL_LD_PRELOAD" $QEMUBIN $QEMUOPTIONS $SERIALOPTS -no-reboot $SCRIPT_QEMU_OPT $SCRIPT_QEMU_EXTRA_OPT | ||
| 580 | else | 587 | else |
| 581 | echo $QEMUBIN -kernel $KERNEL $QEMUOPTIONS $SERIALOPTS -no-reboot $SCRIPT_QEMU_OPT $SCRIPT_QEMU_EXTRA_OPT --append '"'$KERNCMDLINE $SCRIPT_KERNEL_OPT'"' | 588 | echo $QEMUBIN -kernel $KERNEL $QEMUOPTIONS $SERIALOPTS -no-reboot $SCRIPT_QEMU_OPT $SCRIPT_QEMU_EXTRA_OPT --append '"'$KERNCMDLINE $SCRIPT_KERNEL_OPT'"' |
| 582 | LD_PRELOAD="$GL_LD_PRELOAD" $QEMUBIN -kernel $KERNEL $QEMUOPTIONS $SERIALOPTS -no-reboot $SCRIPT_QEMU_OPT $SCRIPT_QEMU_EXTRA_OPT --append "$KERNCMDLINE $SCRIPT_KERNEL_OPT" | 589 | LD_PRELOAD="$GL_LD_PRELOAD" $QEMUBIN -kernel $KERNEL $QEMUOPTIONS $SERIALOPTS -no-reboot $SCRIPT_QEMU_OPT $SCRIPT_QEMU_EXTRA_OPT --append "$KERNCMDLINE $SCRIPT_KERNEL_OPT" |
