All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 1886318] [NEW] Qemu after v5.0.0 breaks macos guests
@ 2020-07-05 11:36 Simon John
  2020-07-11 10:52 ` [Bug 1886318] " Simon John
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: Simon John @ 2020-07-05 11:36 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

The Debian Sid 5.0-6 qemu-kvm package can no longer get further than the
Clover bootloader whereas 5.0-6 and earlier worked fine.

So I built qemu master from github and it has the same problem, whereas
git tag v5.0.0 (or 4.2.1) does not, so something between v5.0.0 release
and the last few days has caused the problem.

Here's my qemu script, pretty standard macOS-Simple-KVM setup on a Xeon
host:

qemu-system-x86_64 \
    -enable-kvm \
    -m 4G \
    -machine q35,accel=kvm \
    -smp 4,sockets=1,cores=2,threads=2 \
    -cpu 
Penryn,vendor=GenuineIntel,kvm=on,+sse3,+sse4.2,+aes,+xsave,+avx,+xsaveopt,+xsavec,+xgetbv1,+avx2,+bmi2,+smep,+bmi1,+fma,+movbe,+invtsc 
\
    -device 
isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" 
\
    -smbios type=2 \
    -drive if=pflash,format=raw,readonly,file="/tmp/OVMF_CODE.fd" \
    -drive if=pflash,format=raw,file="/tmp/macos_catalina_VARS.fd" \
    -vga qxl \
    -device ich9-ahci,id=sata \
    -drive id=ESP,if=none,format=raw,file=/tmp/ESP.img \
    -device ide-hd,bus=sata.2,drive=ESP \
    -drive id=InstallMedia,format=raw,if=none,file=/tmp/BaseSystem.img \
    -device ide-hd,bus=sata.3,drive=InstallMedia \
    -drive id=SystemDisk,if=none,format=raw,file=/tmp/macos_catalina.img \
    -device ide-hd,bus=sata.4,drive=SystemDisk \
    -usb -device usb-kbd -device usb-mouse

Perhaps something has changed in Penryn support recently, as that's
required for macos?

See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964247

Also on a related note, kernel 5.6/5.7 (on Debian) hard crashes the host
when I try GPU passthrough on macos, whereas Ubuntu20/Win10 work fine -
as does 5.5 kernel.

See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961676

** Affects: qemu
     Importance: Undecided
         Status: New

** Also affects: debian
   Importance: Undecided
       Status: New

** No longer affects: debian

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

Title:
  Qemu after v5.0.0 breaks macos guests

Status in QEMU:
  New

Bug description:
  The Debian Sid 5.0-6 qemu-kvm package can no longer get further than
  the Clover bootloader whereas 5.0-6 and earlier worked fine.

  So I built qemu master from github and it has the same problem,
  whereas git tag v5.0.0 (or 4.2.1) does not, so something between
  v5.0.0 release and the last few days has caused the problem.

  Here's my qemu script, pretty standard macOS-Simple-KVM setup on a
  Xeon host:

  qemu-system-x86_64 \
      -enable-kvm \
      -m 4G \
      -machine q35,accel=kvm \
      -smp 4,sockets=1,cores=2,threads=2 \
      -cpu 
  Penryn,vendor=GenuineIntel,kvm=on,+sse3,+sse4.2,+aes,+xsave,+avx,+xsaveopt,+xsavec,+xgetbv1,+avx2,+bmi2,+smep,+bmi1,+fma,+movbe,+invtsc 
  \
      -device 
  isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" 
  \
      -smbios type=2 \
      -drive if=pflash,format=raw,readonly,file="/tmp/OVMF_CODE.fd" \
      -drive if=pflash,format=raw,file="/tmp/macos_catalina_VARS.fd" \
      -vga qxl \
      -device ich9-ahci,id=sata \
      -drive id=ESP,if=none,format=raw,file=/tmp/ESP.img \
      -device ide-hd,bus=sata.2,drive=ESP \
      -drive id=InstallMedia,format=raw,if=none,file=/tmp/BaseSystem.img \
      -device ide-hd,bus=sata.3,drive=InstallMedia \
      -drive id=SystemDisk,if=none,format=raw,file=/tmp/macos_catalina.img \
      -device ide-hd,bus=sata.4,drive=SystemDisk \
      -usb -device usb-kbd -device usb-mouse

  Perhaps something has changed in Penryn support recently, as that's
  required for macos?

  See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964247

  Also on a related note, kernel 5.6/5.7 (on Debian) hard crashes the
  host when I try GPU passthrough on macos, whereas Ubuntu20/Win10 work
  fine - as does 5.5 kernel.

  See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961676

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


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2020-08-20 14:52 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-05 11:36 [Bug 1886318] [NEW] Qemu after v5.0.0 breaks macos guests Simon John
2020-07-11 10:52 ` [Bug 1886318] " Simon John
2020-07-11 11:07 ` Simon John
2020-07-11 11:36 ` Mark Cave-Ayland
2020-07-11 21:34 ` Simon John
2020-07-11 21:52 ` Simon John
2020-07-11 22:16 ` Michael Tokarev
2020-07-11 22:45 ` Simon John
2020-07-11 22:57 ` Simon John
2020-07-11 23:25 ` Mark Cave-Ayland
2020-07-11 23:36 ` Simon John
2020-07-12  8:34 ` Mark Cave-Ayland
2020-07-12  8:53 ` Simon John
2020-07-12  9:48 ` Mark Cave-Ayland
2020-07-12 10:32 ` Simon John
2020-07-12 10:38 ` Simon John
2020-07-12 10:39 ` Simon John
2020-07-12 11:05 ` Mark Cave-Ayland
2020-07-12 12:02 ` Simon John
2020-07-12 12:17 ` Michael Tokarev
2020-07-14 12:16 ` Mark Cave-Ayland
2020-07-14 12:39 ` Simon John
2020-08-20 14:45 ` Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.