diff options
Diffstat (limited to 'gitlab/issues/target_arm/host_arm/accel_HVF/2312.toml')
| -rw-r--r-- | gitlab/issues/target_arm/host_arm/accel_HVF/2312.toml | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/gitlab/issues/target_arm/host_arm/accel_HVF/2312.toml b/gitlab/issues/target_arm/host_arm/accel_HVF/2312.toml deleted file mode 100644 index df260c31..00000000 --- a/gitlab/issues/target_arm/host_arm/accel_HVF/2312.toml +++ /dev/null @@ -1,52 +0,0 @@ -id = 2312 -title = "hvf_vcpu_exec isv assert with qemu-xhci device" -state = "closed" -created_at = "2024-04-25T19:52:40.633Z" -closed_at = "2024-09-16T16:13:34.496Z" -labels = ["accel: HVF", "host: arm", "hostos: macOS", "target: arm"] -url = "https://gitlab.com/qemu-project/qemu/-/issues/2312" -host-os = "macOS" -host-arch = "aarch64" -qemu-version = "9.0.0" -guest-os = "u-boot" -guest-arch = "aarch64" -description = """Using the qemu-xhci device with HVF on darwin-aarch64 causes [this assert](https://gitlab.com/qemu-project/qemu/-/blob/master/target/arm/hvf/hvf.c#L1920) to fire. - -``` -travis@gmachine vms % cat launch.sh -#!/usr/bin/env bash - -~/sources/nixpkgs/result-qemu/bin/qemu-system-aarch64 \\ - -nographic \\ - -machine virt \\ - -accel hvf \\ - -cpu host \\ - -m 16M \\ - -device qemu-xhci \\ - -bios ~/sources/nixpkgs/result-uboot-bin/u-boot.bin -travis@gmachine vms % ./launch.sh - - -U-Boot 2024.04 (Apr 02 2024 - 10:58:58 +0000) - -DRAM: 16 MiB (effective 16 EiB) -Assertion failed: (isv), function hvf_vcpu_exec, file ../target/arm/hvf/hvf.c, line 1920. -./launch.sh: line 10: 22295 Abort trap: 6 ~/sources/nixpkgs/result-qemu/bin/qemu-system-aarch64 -nographic -machine virt -accel hvf -cpu host -m 16M -device qemu-xhci -bios ~/sources/nixpkgs/result-uboot-bin/u-boot.bin -``` - -This is NixOS' build of u-boot 2024.04. This is also Nixpkgs' build of qemu-9.0.0; by default it contains some patches, but if I remove those and build with the unmodified release tarball there's no change in behavior. Naturally this doesn't happen with TCG and I haven't found any other (non-USB) device to cause this issue.""" -reproduce = """On a darwin-aarch64 machine with git and nix setup (8.2.2 is latest in Nixpkgs head, the same problem occurs with 9.0.0): - -``` -% git clone https://github.com/nixos/nixpkgs -% cd ./nixpkgs -% $(nix-build -A qemu)/bin/qemu-system-aarch64 -nographic -machine virt -accel hvf -cpu host -m 16M -device qemu-xhci -bios $(nix-build -E 'with import ./default.nix {system = "aarch64-linux";}; ubootQemuAarch64')/u-boot.bin - - -U-Boot 2024.04 (Apr 02 2024 - 10:58:58 +0000) - -DRAM: 16 MiB (effective 16 EiB) -Assertion failed: (isv), function hvf_vcpu_exec, file ../target/arm/hvf/hvf.c, line 1915. -zsh: abort $(nix-build -A qemu)/bin/qemu-system-aarch64 -nographic -machine virt -accel -```""" -additional = """I have not yet tried other u-boot binaries. I suppose it could be u-boots fault? Eyeballing hvf.c this seems to be an unhandled case in the MMIO callback? I'm far out of my element so that could be total nonsense.""" |