Hi Jan,Signed-off-by: Akihiro Suzuki <akihiro27.suzuki@...>--- start-qemu.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)diff --git a/start-qemu.sh b/start-qemu.shindex b71ba32..46b7961 100755--- a/start-qemu.sh+++ b/start-qemu.sh@@ -83,8 +83,15 @@ fi shift 1+QEMU_EXTRA_ARGS="${QEMU_EXTRA_ARGS} $@"+if [ -n "`echo ${QEMU_EXTRA_ARGS} | grep -- -nographic`" ]; then+ if [ ${DISTRO_ARCH} = "amd64" ]; then+ KERNEL_CMDLINE="${KERNEL_CMDLINE} console=ttyS0"+ fi+fi+ ${QEMU_PATH}${QEMU} \ -drive file=${IMAGE_FILE},discard=unmap,if=none,id=disk,format=raw \ -m 1G -serial mon:stdio -netdev user,id=net \ -kernel ${KERNEL_FILE} -append "${KERNEL_CMDLINE}" \- -initrd ${INITRD_FILE} ${QEMU_EXTRA_ARGS} "$@"+ -initrd ${INITRD_FILE} ${QEMU_EXTRA_ARGS}This is not what I meant. I was rather thinking ofdiff --git a/start-qemu.sh b/start-qemu.shindex b71ba32..62522db 100755--- a/start-qemu.sh+++ b/start-qemu.sh@@ -32,7 +32,7 @@ case "$1" in -device ide-hd,drive=disk \ -device virtio-net-pci,netdev=net" KERNEL_CMDLINE=" \- root=/dev/sda vga=0x305"+ root=/dev/sda vga=0x305 console=ttyS0" ;; arm64|aarch64) DISTRO_ARCH=arm64As mentioned before, there is no reason to confine this to -nographicmode.I'm sorry, I misunderstood.The changes you have shown are enough to solve the issue.Could you commit and push it for me instead?
Signed-off-by: Akihiro Suzuki <akihiro27.suzuki@...>--- start-qemu.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)diff --git a/start-qemu.sh b/start-qemu.shindex b71ba32..46b7961 100755--- a/start-qemu.sh+++ b/start-qemu.sh@@ -83,8 +83,15 @@ fi shift 1+QEMU_EXTRA_ARGS="${QEMU_EXTRA_ARGS} $@"+if [ -n "`echo ${QEMU_EXTRA_ARGS} | grep -- -nographic`" ]; then+ if [ ${DISTRO_ARCH} = "amd64" ]; then+ KERNEL_CMDLINE="${KERNEL_CMDLINE} console=ttyS0"+ fi+fi+ ${QEMU_PATH}${QEMU} \ -drive file=${IMAGE_FILE},discard=unmap,if=none,id=disk,format=raw \ -m 1G -serial mon:stdio -netdev user,id=net \ -kernel ${KERNEL_FILE} -append "${KERNEL_CMDLINE}" \- -initrd ${INITRD_FILE} ${QEMU_EXTRA_ARGS} "$@"+ -initrd ${INITRD_FILE} ${QEMU_EXTRA_ARGS}This is not what I meant. I was rather thinking ofdiff --git a/start-qemu.sh b/start-qemu.shindex b71ba32..62522db 100755--- a/start-qemu.sh+++ b/start-qemu.sh@@ -32,7 +32,7 @@ case "$1" in -device ide-hd,drive=disk \ -device virtio-net-pci,netdev=net" KERNEL_CMDLINE=" \- root=/dev/sda vga=0x305"+ root=/dev/sda vga=0x305 console=ttyS0" ;; arm64|aarch64) DISTRO_ARCH=arm64As mentioned before, there is no reason to confine this to -nographicmode.
Signed-off-by: Akihiro Suzuki <akihiro27.suzuki@...>--- start-qemu.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)diff --git a/start-qemu.sh b/start-qemu.shindex b71ba32..46b7961 100755--- a/start-qemu.sh+++ b/start-qemu.sh@@ -83,8 +83,15 @@ fi shift 1+QEMU_EXTRA_ARGS="${QEMU_EXTRA_ARGS} $@"+if [ -n "`echo ${QEMU_EXTRA_ARGS} | grep -- -nographic`" ]; then+ if [ ${DISTRO_ARCH} = "amd64" ]; then+ KERNEL_CMDLINE="${KERNEL_CMDLINE} console=ttyS0"+ fi+fi+ ${QEMU_PATH}${QEMU} \ -drive file=${IMAGE_FILE},discard=unmap,if=none,id=disk,format=raw \ -m 1G -serial mon:stdio -netdev user,id=net \ -kernel ${KERNEL_FILE} -append "${KERNEL_CMDLINE}" \- -initrd ${INITRD_FILE} ${QEMU_EXTRA_ARGS} "$@"+ -initrd ${INITRD_FILE} ${QEMU_EXTRA_ARGS}
© 2023 Groups.io