Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 615272 - app-emulation/qemu: MacOS 10.12.4 compatibility patch
Summary: app-emulation/qemu: MacOS 10.12.4 compatibility patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo QEMU Project
URL: https://lists.nongnu.org/archive/html...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-11 15:07 UTC by Dylan Carlson
Modified: 2017-11-12 20:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dylan Carlson 2017-04-11 15:07:39 UTC
Latest update for MacOS (10.12.4) breaks QEMU VMs.

This patches existing QEMU functionality (hw/misc/applesmc.c)

See URL.  Thanks

Reproducible: Always
Comment 1 Matthias Maier gentoo-dev 2017-04-12 04:35:22 UTC
I am a bit hesitant to apply non-upstreamed patches.

As a work-around, you can apply said patch for yourself by using eapply_user.
Simply drop the patch into
  /etc/portage/patches/app-emulation/qemu
Comment 2 Dylan Carlson 2017-04-12 05:19:22 UTC
(In reply to Matthias Maier from comment #1)
> I am a bit hesitant to apply non-upstreamed patches.
> 
> As a work-around, you can apply said patch for yourself by using eapply_user.
> Simply drop the patch into
>   /etc/portage/patches/app-emulation/qemu

Understood.  You can WONTFIX.  If no other reason it may be interesting for other users who come looking.  

To expand the context on the problem.  If qemu isn't patched at the time of installing the 10.12.4 update it breaks the VM, making it unbootable.  

The workaround:
https://github.com/kholia/OSX-KVM/issues/64#issuecomment-290062452

As a happy consequence of this I created a package to build hfsprogs, which currently isn't in the tree, and I'll submit separately sometime later.
Comment 3 Matthias Maier gentoo-dev 2017-04-26 04:04:43 UTC
Upstream patch in review:
  https://lists.nongnu.org/archive/html/qemu-devel/2017-04/msg00504.html
Comment 4 Slava 2017-04-27 12:31:20 UTC
Hello,

I've applied the patch against 2.9.0 by using eapply_user by simply drop the patch into /etc/portage/patches/app-emulation/qemu and it worked well.  My 10.12.4 vdi is booting now.

Other non OSX vms are working well as well.

Thank you!
Comment 5 Matthias Maier gentoo-dev 2017-11-12 20:42:32 UTC
Fixed in 2.10.1