mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-09-23 00:00:50 +02:00
White space and comments
This commit is contained in:
parent
d94f0403c2
commit
55384b70b7
5
quickemu
5
quickemu
|
@ -928,7 +928,6 @@ function vm_boot() {
|
||||||
-device ccid-card-passthru,chardev=ccid
|
-device ccid-card-passthru,chardev=ccid
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# setup usb-controller
|
# setup usb-controller
|
||||||
[ -z "${USB_CONTROLLER}" ] && USB_CONTROLLER="$usb_controller"
|
[ -z "${USB_CONTROLLER}" ] && USB_CONTROLLER="$usb_controller"
|
||||||
if [ "${USB_CONTROLLER}" == "ehci" ]; then
|
if [ "${USB_CONTROLLER}" == "ehci" ]; then
|
||||||
|
@ -1014,8 +1013,8 @@ function vm_boot() {
|
||||||
args+=(-drive media=cdrom,index=2,file="${iso}")
|
args+=(-drive media=cdrom,index=2,file="${iso}")
|
||||||
iso=""
|
iso=""
|
||||||
elif [ -n "${iso}" ] && [ "${guest_os}" == "reactos" ]; then
|
elif [ -n "${iso}" ] && [ "${guest_os}" == "reactos" ]; then
|
||||||
# shellcheck disable=SC2054
|
|
||||||
# https://reactos.org/wiki/QEMU
|
# https://reactos.org/wiki/QEMU
|
||||||
|
# shellcheck disable=SC2054
|
||||||
args+=(-boot order=d
|
args+=(-boot order=d
|
||||||
-drive if=ide,index=2,media=cdrom,file="${iso}")
|
-drive if=ide,index=2,media=cdrom,file="${iso}")
|
||||||
iso=""
|
iso=""
|
||||||
|
@ -1069,8 +1068,8 @@ function vm_boot() {
|
||||||
-drive id=SystemDisk,if=none,format=qcow2,file="${disk_img}" ${STATUS_QUO})
|
-drive id=SystemDisk,if=none,format=qcow2,file="${disk_img}" ${STATUS_QUO})
|
||||||
|
|
||||||
elif [ "${guest_os}" == "reactos" ]; then
|
elif [ "${guest_os}" == "reactos" ]; then
|
||||||
# shellcheck disable=SC2054,SC2206
|
|
||||||
# https://reactos.org/wiki/QEMU
|
# https://reactos.org/wiki/QEMU
|
||||||
|
# shellcheck disable=SC2054,SC2206
|
||||||
args+=(-drive if=ide,index=0,media=disk,file="${disk_img}")
|
args+=(-drive if=ide,index=0,media=disk,file="${disk_img}")
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user