qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Kolakowski <1838390@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1838390] Re: vmx_write_mem: mmu_gva_to_gpa failed when using hvf
Date: Thu, 30 Jun 2022 17:32:17 -0000	[thread overview]
Message-ID: <165661033767.4377.31647130616317513.malone@dale.canonical.com> (raw)
In-Reply-To: 156448241864.18390.18158373201974266058.malonedeb@gac.canonical.com

It still happens to me when I try to run Haiku builds on my macos 10.14.
* QEMU emulator version 7.0.0

Command line:
qemu-system-x86_64 -machine q35,accel=hvf -cpu host -smp 4 -m 2048 -vga vmware -boot menu=on -drive file="haiku-minimum.mmc",if=none,format=raw,id=x0 -device ide-hd,drive=x0,bus=ide.0 -usb -device qemu-xhci,id=xhci -device usb-mouse -device usb-kbd -serial stdio -rtc clock=vm,base=localtime

Output:
[ipro1000] (em) Link is up 1000 Mbps Full Duplex
framebuffer: init_hardware()
vmx_write_mem: mmu_gva_to_gpa ffffffff853b3000 failed
[1]    82284 abort      qemu-system-x86_64 -machine q35,accel=hvf -cpu host -smp 4 -m 2048 -vga vmwar

Haiku boots most of the way and crashes when trying to show desktop.
Same happens with -vga virtio and with -vga option completely removed.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1838390

Title:
  vmx_write_mem: mmu_gva_to_gpa failed when using hvf

Status in QEMU:
  Expired

Bug description:
  Installed qemu 4.0.0 by homebrew, used below commands:

  1. qemu-img create -f raw arch-vm.img 100G
  2. qemu-system-x86_64 -show-cursor -only-migratable -nodefaults -boot order=d -cdrom archlinux-2019.07.01-x86_64.iso -cpu host -device virtio-keyboard -device virtio-mouse -device virtio-tablet -drive file=arch-vm.img,format=raw,if=virtio -m 4096 -machine q35,accel=hvf,vmport=off -nic user,ipv6=off,model=virtio -smp 4,sockets=1,cores=2,threads=2 -soundhw hda -vga virtio

  Displayed bootloader menu successfully, select "Boot Arch Linux" then
  crashed with message: vmx_write_mem: mmu_gva_to_gpa ffff91953b540000
  failed.

  Use tcg accelerator has no problem but very slow.

  See attachment for full crash report.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1838390/+subscriptions



      parent reply	other threads:[~2022-06-30 17:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-30 10:26 [Qemu-devel] [Bug 1838390] [NEW] vmx_write_mem: mmu_gva_to_gpa failed when using hvf James Smart
2019-09-04 10:37 ` [Qemu-devel] [Bug 1838390] " Felipe Franciosi
2019-12-25 11:16 ` Jimmy
2019-12-25 11:18 ` Jimmy
2020-09-04 18:20 ` Jordan Williams
2020-09-08 13:13 ` Jordan Williams
2021-04-22  7:16 ` Thomas Huth
2021-06-22  4:18 ` Launchpad Bug Tracker
2022-06-30 17:32 ` Daniel Kolakowski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=165661033767.4377.31647130616317513.malone@dale.canonical.com \
    --to=1838390@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).