diff options
Diffstat (limited to 'gitlab/issues/target_i386/host_missing/accel_HVF')
6 files changed, 251 insertions, 0 deletions
diff --git a/gitlab/issues/target_i386/host_missing/accel_HVF/1067.toml b/gitlab/issues/target_i386/host_missing/accel_HVF/1067.toml new file mode 100644 index 00000000..de02981c --- /dev/null +++ b/gitlab/issues/target_i386/host_missing/accel_HVF/1067.toml @@ -0,0 +1,92 @@ +id = 1067 +title = "SSH QEMU ISSUE by using with MacOs" +state = "opened" +created_at = "2022-06-07T10:12:37.954Z" +closed_at = "n/a" +labels = ["Networking", "accel: HVF", "target: i386"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/1067" +host-os = "MacOS" +host-arch = "x86" +qemu-version = "7.0.0" +guest-os = "Ubuntu Live Server 20.4" +guest-arch = "x86" +description = """ssh connection between Qemu Image and Guest Host (MacOS) broken down after few minutes""" +reproduce = """1. Take the Qemu window and external ssh connection to backround, \\ + wait until few minutes and the connection are frozen. \\ + If we clicking to qemu window again, the ssh connection are available""" +additional = """The ssh connection settings by Macos: \\ +Host * \\ +AddKeysToAgent yes \\ +IdentityFile ~/.ssh/id_rsa \\ +IdentitiesOnly yes \\ +ServerAliveInterval 3600 \\ +TCPKeepAlive yes \\ +ServerAliveCountMax 2 \\ +\\ +\\ +SSH connection settings by Ubuntu Server: + +Include /etc/ssh/sshd_config.d/*.conf \\ +\\ +#Port 22 \\ +#AddressFamily any \\ +#ListenAddress 0.0.0.0 \\ +#ListenAddress :: \\ +#HostKey /etc/ssh/ssh_host_rsa_key \\ +#HostKey /etc/ssh/ssh_host_ecdsa_key \\ +#HostKey /etc/ssh/ssh_host_ed25519_key \\ +#RekeyLimit default none \\ +#SyslogFacility AUTH \\ +#LogLevel INFO \\ +#LoginGraceTime 2m \\ +#PermitRootLogin prohibit-password \\ +#StrictModes yes \\ +#MaxAuthTries 6 \\ +#MaxSessions 10 \\ +#PubkeyAuthentication yes \\ +#Expect .ssh/authorized_keys2 to be disregarded by default in future. \\ +#AuthorizedKeysFile\t.ssh/authorized_keys .ssh/authorized_keys2 \\ +#AuthorizedPrincipalsFile none \\ +#AuthorizedKeysCommand none \\ +#AuthorizedKeysCommandUser nobody \\ +#HostbasedAuthentication no \\ +#IgnoreUserKnownHosts no \\ +#IgnoreRhosts yes \\ +#PasswordAuthentication yes \\ +#PermitEmptyPasswords no \\ +ChallengeResponseAuthentication no \\ +#KerberosAuthentication no \\ +#KerberosOrLocalPasswd yes \\ +#KerberosTicketCleanup yes \\ +#KerberosGetAFSToken no \\ +#GSSAPIAuthentication no \\ +#GSSAPICleanupCredentials yes \\ +#GSSAPIStrictAcceptorCheck yes \\ +#GSSAPIKeyExchange no \\ +UsePAM yes \\ +#AllowAgentForwarding yes \\ +#AllowTcpForwarding yes \\ +#GatewayPorts no \\ +X11Forwarding yes \\ +#X11DisplayOffset 10 \\ +#X11UseLocalhost yes \\ +#PermitTTY yes \\ +PrintMotd no \\ +#PrintLastLog yes \\ +#TCPKeepAlive yes \\ +#PermitUserEnvironment no \\ +#Compression delayed \\ +#ClientAliveInterval 0 \\ +#ClientAliveCountMax 3 \\ +#UseDNS no \\ +#PidFile /var/run/sshd.pid \\ +#MaxStartups 10:30:100 \\ +#PermitTunnel no \\ +#ChrootDirectory none \\ +#VersionAddendum none \\ +#Banner none \\ +AcceptEnv LANG LC_* \\ +PasswordAuthentication yes \\ +ClientAliveInterval 600 \\ +TCPKeepAlive yes \\ +ClientAliveCountMax 10 \\""" diff --git a/gitlab/issues/target_i386/host_missing/accel_HVF/150.toml b/gitlab/issues/target_i386/host_missing/accel_HVF/150.toml new file mode 100644 index 00000000..f4ac3183 --- /dev/null +++ b/gitlab/issues/target_i386/host_missing/accel_HVF/150.toml @@ -0,0 +1,15 @@ +id = 150 +title = "Illegal Instruction with HVF when encountering SSE instructions in the emulator" +state = "opened" +created_at = "2021-05-05T08:19:18.085Z" +closed_at = "n/a" +labels = ["Launchpad", "accel: HVF", "target: i386"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/150" +host-os = "n/a" +host-arch = "n/a" +qemu-version = "n/a" +guest-os = "n/a" +guest-arch = "n/a" +description = "n/a" +reproduce = "n/a" +additional = "n/a" diff --git a/gitlab/issues/target_i386/host_missing/accel_HVF/155.toml b/gitlab/issues/target_i386/host_missing/accel_HVF/155.toml new file mode 100644 index 00000000..764e9b8b --- /dev/null +++ b/gitlab/issues/target_i386/host_missing/accel_HVF/155.toml @@ -0,0 +1,15 @@ +id = 155 +title = "MMX emulation is missing on HVF Acceleration" +state = "opened" +created_at = "2021-05-05T08:51:10.037Z" +closed_at = "n/a" +labels = ["Launchpad", "accel: HVF", "target: i386"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/155" +host-os = "n/a" +host-arch = "n/a" +qemu-version = "n/a" +guest-os = "n/a" +guest-arch = "n/a" +description = "n/a" +reproduce = "n/a" +additional = "n/a" diff --git a/gitlab/issues/target_i386/host_missing/accel_HVF/1603.toml b/gitlab/issues/target_i386/host_missing/accel_HVF/1603.toml new file mode 100644 index 00000000..4019ee05 --- /dev/null +++ b/gitlab/issues/target_i386/host_missing/accel_HVF/1603.toml @@ -0,0 +1,81 @@ +id = 1603 +title = "Regression in v8.0.0-rc1: `Abort trap: 6` during `hvf/x86_emu.c:exec_mov()` (`-cpu host` + UEFI)" +state = "closed" +created_at = "2023-04-14T08:18:08.223Z" +closed_at = "2024-11-29T15:45:05.319Z" +labels = ["accel: HVF", "hostos: macOS", "target: i386"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/1603" +host-os = "macOS 13.3.1" +host-arch = "x86_64` (`Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz`, MacBook Pro 2020)" +qemu-version = "QEMU emulator version 7.2.94 (v7.0.0-8004-g7dbd6f8a27)` (i.e., v8.0.0-rc4)" +guest-os = "Just starting UEFI is enough to hit this issue." +guest-arch = "x86_64" +description = """`qemu-system-x86_64 -accel hvf -cpu host -drive <UEFI>` crashes.""" +reproduce = """```console +$ qemu-system-x86_64 -accel hvf -cpu host -drive if=pflash,format=raw,readonly=on,file=/usr/local/share/qemu/edk2-x86_64-code.fd +vmx_read_mem: mmu_gva_to_gpa ffc00000 failed +Abort trap: 6 +```""" +additional = """This is a regression in v8.0.0-rc1. + +- v8.0.0-rc0: works +- v8.0.0-rc1: crashes +- ... +- v8.0.0-rc4: crashes + + +Backtrace: +```console +$ lldb /usr/local/bin/qemu-system-x86_64 +(lldb) target create "/usr/local/bin/qemu-system-x86_64" +Current executable set to '/usr/local/bin/qemu-system-x86_64' (x86_64). +(lldb) process handle SIGUSR2 -s false -p true +NAME PASS STOP NOTIFY +=========== ======= ======= ======= +SIGUSR2 true false not set +(lldb) run -accel hvf -cpu host -drive if=pflash,format=raw,readonly=on,file=/usr/local/share/qemu/edk2-x86_64-code.fd +Process 17627 launched: '/usr/local/bin/qemu-system-x86_64' (x86_64) +Process 17627 stopped and restarted: thread 1 received signal: SIGUSR2 +Process 17627 stopped and restarted: thread 1 received signal: SIGUSR2 +Process 17627 stopped and restarted: thread 1 received signal: SIGUSR2 +Process 17627 stopped and restarted: thread 1 received signal: SIGUSR2 +Process 17627 stopped and restarted: thread 1 received signal: SIGUSR2 +Process 17627 stopped and restarted: thread 1 received signal: SIGUSR2 +Process 17627 stopped and restarted: thread 1 received signal: SIGUSR2 +Process 17627 stopped and restarted: thread 1 received signal: SIGUSR2 +Process 17627 stopped and restarted: thread 1 received signal: SIGUSR2 +Process 17627 stopped and restarted: thread 1 received signal: SIGUSR2 +Process 17627 stopped and restarted: thread 1 received signal: SIGUSR2 +Process 17627 stopped and restarted: thread 1 received signal: SIGUSR2 +Process 17627 stopped and restarted: thread 1 received signal: SIGUSR2 +Process 17627 stopped and restarted: thread 1 received signal: SIGUSR2 +Process 17627 stopped and restarted: thread 1 received signal: SIGUSR2 +Process 17627 stopped and restarted: thread 1 received signal: SIGUSR2 +2023-04-14 17:16:22.879194+0900 qemu-system-x86_64[17627:1529741] [Window] Warning: Window NSWindow 0x10391def0 ordered front from a non-active application and may order beneath the active application's windows. +vmx_read_mem: mmu_gva_to_gpa ffc00000 failed +Process 17627 stopped +* thread #4, stop reason = signal SIGABRT + frame #0: 0x00007ff8121331f2 libsystem_kernel.dylib`__pthread_kill + 10 +libsystem_kernel.dylib`: +-> 0x7ff8121331f2 <+10>: jae 0x7ff8121331fc ; <+20> + 0x7ff8121331f4 <+12>: movq %rax, %rdi + 0x7ff8121331f7 <+15>: jmp 0x7ff81212ccdb ; cerror_nocancel + 0x7ff8121331fc <+20>: retq +Target 0: (qemu-system-x86_64) stopped. +(lldb) bt +* thread #4, stop reason = signal SIGABRT + * frame #0: 0x00007ff8121331f2 libsystem_kernel.dylib`__pthread_kill + 10 + frame #1: 0x00007ff81216aee6 libsystem_pthread.dylib`pthread_kill + 263 + frame #2: 0x00007ff812091b45 libsystem_c.dylib`abort + 123 + frame #3: 0x0000000100223608 qemu-system-x86_64`vmx_read_mem + 201 + frame #4: 0x000000010021fa5b qemu-system-x86_64`read_val_ext + 65 + frame #5: 0x000000010021fc02 qemu-system-x86_64`fetch_operands + 197 + frame #6: 0x0000000100220f8b qemu-system-x86_64`exec_mov + 31 + frame #7: 0x0000000100220f01 qemu-system-x86_64`exec_instruction + 48 + frame #8: 0x000000010021c81f qemu-system-x86_64`hvf_vcpu_exec + 4144 + frame #9: 0x000000010033fa53 qemu-system-x86_64`hvf_cpu_thread_fn + 270 + frame #10: 0x0000000100492e49 qemu-system-x86_64`qemu_thread_start + 130 + frame #11: 0x00007ff81216b1d3 libsystem_pthread.dylib`_pthread_start + 125 + frame #12: 0x00007ff812166bd3 libsystem_pthread.dylib`thread_start + 15 +(lldb) +```""" diff --git a/gitlab/issues/target_i386/host_missing/accel_HVF/664.toml b/gitlab/issues/target_i386/host_missing/accel_HVF/664.toml new file mode 100644 index 00000000..67c78007 --- /dev/null +++ b/gitlab/issues/target_i386/host_missing/accel_HVF/664.toml @@ -0,0 +1,22 @@ +id = 664 +title = "hvf-accelerated x86_64 incorrectly reports virtual address bit width via CPUID" +state = "opened" +created_at = "2021-10-11T21:56:41.679Z" +closed_at = "n/a" +labels = ["accel: HVF", "target: i386"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/664" +host-os = "macOS 10.14.6" +host-arch = "x86_64" +qemu-version = "QEMU emulator version 6.0.0" +guest-os = "SerenityOS (https://github.com/SerenityOS/serenity/)" +guest-arch = "x86_64" +description = """When running qemu-system-x86_64 with hvf acceleration enabled the maximum extended cpuid function (available via EAX=0x80000000) is reported to be 0x80000001, which means that physical address and virtual address bit width (which is supposed to be reported via EAX=0x80000008) is not available. As per the intel IA32/64 manual: `Processors that do not support CPUID function 80000008H, support a linear-address width of 32.`, while in actuality qemu-system-x86_64 with hvf acceleration supports virtual addresses of up to 48 bit in width, like most modern x86_64 processors.""" +reproduce = """This can be observed when running SerenityOS on x86_64 qemu with hvf acceleration based on the following dmesg lines: +``` +[Kernel]: CPU[0]: Physical address bit width: 36 +[Kernel]: CPU[0]: Virtual address bit width: 32 +``` +But can also be reproduced by running the CPUID instruction with EAX set to 0x80000000 and observing that the returned value is 0x80000001.""" +additional = """The best way to resolve this as far as I can tell is to expose the 0x80000008 CPUID function and report the real values. + +NOTE: This is a report of the underlying bug that was found during the investigation of an issue raised in the SerenityOS repository, see https://github.com/SerenityOS/serenity/issues/10382 for more information.""" diff --git a/gitlab/issues/target_i386/host_missing/accel_HVF/886.toml b/gitlab/issues/target_i386/host_missing/accel_HVF/886.toml new file mode 100644 index 00000000..08e915fc --- /dev/null +++ b/gitlab/issues/target_i386/host_missing/accel_HVF/886.toml @@ -0,0 +1,26 @@ +id = 886 +title = "OpenIndiana panics when using -accel hvf" +state = "opened" +created_at = "2022-02-25T17:02:23.909Z" +closed_at = "n/a" +labels = ["accel: HVF", "target: i386"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/886" +host-os = "macOS 12.2.1" +host-arch = "x86" +qemu-version = "QEMU emulator version 6.2.50 (v6.2.0-1622-g242f2cae78)" +guest-os = "OpenIndiana" +guest-arch = "x86" +description = """OpenIndiana panics on boot. + +``` +Loading unix... +Loading /platform/i86pc/amd64/boot_archive... +Loading /platform/i86pc/amd64/boot_archive.hash... +Booting... +OpenIndiana Hipster 2021.10 Version illumos-79a6379db8 64-bit + +panic[cpu0]/thread=fffffffffbc49060: +```""" +reproduce = """1. Run given command +2. Wait""" +additional = "n/a" |