summary refs log tree commit diff stats
path: root/gitlab/issues/target_riscv/host_missing/accel_missing/2145.toml
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-05-21 21:21:26 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-05-21 21:21:26 +0200
commit4b927bc37359dec23f67d3427fc982945f24f404 (patch)
tree245449ef9146942dc7fffd0235b48b7e70a00bf2 /gitlab/issues/target_riscv/host_missing/accel_missing/2145.toml
parentaa8bd79cec7bf6790ddb01d156c2ef2201abbaab (diff)
downloademulator-bug-study-4b927bc37359dec23f67d3427fc982945f24f404.tar.gz
emulator-bug-study-4b927bc37359dec23f67d3427fc982945f24f404.zip
add gitlab issues in toml format
Diffstat (limited to 'gitlab/issues/target_riscv/host_missing/accel_missing/2145.toml')
-rw-r--r--gitlab/issues/target_riscv/host_missing/accel_missing/2145.toml47
1 files changed, 47 insertions, 0 deletions
diff --git a/gitlab/issues/target_riscv/host_missing/accel_missing/2145.toml b/gitlab/issues/target_riscv/host_missing/accel_missing/2145.toml
new file mode 100644
index 00000000..61da387a
--- /dev/null
+++ b/gitlab/issues/target_riscv/host_missing/accel_missing/2145.toml
@@ -0,0 +1,47 @@
+id = 2145
+title = "Issue with Graphical Interface on RISC-V Emulation in QEMU"
+state = "closed"
+created_at = "2024-02-01T18:39:41.005Z"
+closed_at = "2024-02-05T17:06:37.139Z"
+labels = ["target: riscv", "workflow::Needs Info"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/2145"
+host-os = "Ubuntu"
+host-arch = "x86"
+qemu-version = "7.2"
+guest-os = "Ubuntu"
+guest-arch = "RiscV64"
+description = """I am facing an issue when attempting to run Ubuntu on RISC-V architecture in QEMU with a graphical interface. Specifically, when executing the following command without the -nographic option, the operating system fails to start:
+
+```bash
+qemu-system-riscv64 -machine virt -m 2048 -smp 4 -bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.bin -kernel /usr/lib/u-boot/qemu-riscv64_smode/uboot.elf -drive file=ubuntu-22.04.3-preinstalled-server-riscv64+unmatched.img,format=raw,if=virtio
+```
+
+I have not found any examples online where QEMU is used with RISC-V architecture without the -nographic option, which raises uncertainty about the feasibility of running it with a graphical interface.
+
+Interestingly, when I run a similar command for x86_64 architecture, the operating system starts successfully with a graphical interface:
+
+```bash
+qemu-system-x86_64 -enable-kvm -m 2G -drive file=ubuntu-22.04.3-desktop-amd64.iso,format=raw -boot c -cpu host -vga std -device virtio-net-pci -device virtio-rng-pci
+```"""
+reproduce = """Execute QEMU with RISC-V architecture without the -nographic option.
+
+```bash
+qemu-system-riscv64 -machine virt -m 2048 -smp 4 -bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.bin -kernel /usr/lib/u-boot/qemu-riscv64_smode/uboot.elf -drive file=ubuntu-22.04.3-preinstalled-server-riscv64+unmatched.img,format=raw,if=virtio
+```
+
+(The above command fails to start with a graphical interface)
+
+Execute QEMU with RISC-V architecture and the -nographic option.
+
+```bash
+qemu-system-riscv64 -machine virt -nographic -m 2048 -smp 4 -bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.bin -kernel /usr/lib/u-boot/qemu-riscv64_smode/uboot.elf -drive file=ubuntu-22.04.3-preinstalled-server-riscv64+unmatched.img,format=raw,if=virtio
+```
+(The above command works, but without a graphical interface)
+
+Execute QEMU with x86_64 architecture.
+
+```bash
+qemu-system-x86_64 -enable-kvm -m 2G -drive file=ubuntu-22.04.3-desktop-amd64.iso,format=raw -boot c -cpu host -vga std -device virtio-net-pci -device virtio-rng-pci
+```
+(The above command works and starts with a graphical interface)"""
+additional = "n/a"