Live data from Hacker News

Quickemu: Quickly create and run optimised Win-10,11/macOS/Linux on Linux

github.com

41–50 of 123 posts

Re: Quickemu: Quickly create and run optimised Win-10,11/macOS/Linux on Linux

#41

Earlier quoted context omitted.

What is this?

It's a Rot13-encoded string: "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc". It seems to be the string that is supposed to make MacOS only run on certified systems, but it's obviously been reverse engineered and now it needs to be added to any Mac emulators to work.

Can't the emulator just patch out the code that checks for that string?

Re: Quickemu: Quickly create and run optimised Win-10,11/macOS/Linux on Linux

#42
post #21
post #7

Earlier quoted context omitted.

AFAIK you can use Windows unlicensed as long as you activate it after evaluation. You're right that you can only run one instance of a given Windows product code on a machine for long-time use, though. The last I heard about the macos situation is that virtualisation of macOS is allowed as long as you do it on Apple hardware that you have a license to run macOS on. You can run as many virtual machines on your mac as…

> You can run as many virtual machines on your mac as you want No, the EULA says: > (iii) to install, use and run up to two (2) additional copies or instances of the Apple Software within virtual operating system environments on each Mac Computer you own or control that is already running the Apple Software, for purposes of: (a) software development; (b) testing during software development; (c) using macOS Server; or…

Interesting. I was always under the impression that you can run a macOS VM as long as it is on Apple hardware. But this says "that is already running the Apple Software".

Does that mean Apple Hardware -> Linux -> macOS is not allowed? Or is it simply saying that all 3 copies must be on the same machine? So you can run Apple Hardware -> Linux -> macOS as your "primary copy" and two more macOS VMs on that same Apple Hardware?

Re: Quickemu: Quickly create and run optimised Win-10,11/macOS/Linux on Linux

#43

Earlier quoted context omitted.

Which is another argument against using the term "stealing". At no point does the user deprive Apple of the ownership of macOS.

Control is a part of ownership. If you don't control how something is used and by whom, you don't really own it. So either using it in unauthorized ways is in a manner theft, or Apple's "ownership" is not real ownership. I'm not sure what the solution is, but IP is a tricky concept no matter your position.

It sounds like Apple don’t even own it then if they can’t prevent people from pirating it.

Re: Quickemu: Quickly create and run optimised Win-10,11/macOS/Linux on Linux

#44

It's sad that Qemu is so hard to use that scripts like this are necessary. All this autodetection of the OS to apply tweaks and workarounds to make the OS run properly should ideally be eliminated entirely, and if that really isn't possible, it should be part of Qemu itself rather than requiring a special wrapper script to apply the right flags to make things work.

You are not really supposed to run QEMU directly if you are looking for that kind of experience, that's why libvirt exists. Other than that, QEMU should really be a generic emulator rather than being infested with platform-specific stuff, everything else should be independently maintained and pluggable. (Autodetection is also extremely fragile, and takes away from keeping a VM a VM)

Re: Quickemu: Quickly create and run optimised Win-10,11/macOS/Linux on Linux

#45

Earlier quoted context omitted.

It's a Rot13-encoded string: "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc". It seems to be the string that is supposed to make MacOS only run on certified systems, but it's obviously been reverse engineered and now it needs to be added to any Mac emulators to work.

VirtualBox supports two methods of operation: (1) You supply this value in the "DeviceKey" config parameter (2) Ensure the "GetKeyFromRealSMC" boolean config parameter is enabled (not sure if it is turned on by default or not). When enabled, VirtualBox retrieves the value from the SMC of your Mac. Obviously method (2) only works if your host is a Mac. Apple doesn't supply a public API to retrieve this value, so Virtu…

I don't see why someone would opt for option 2 when virtualizing macOS on an Apple machine.

Re: Quickemu: Quickly create and run optimised Win-10,11/macOS/Linux on Linux

#46
post #14

This is pretty handy. I set up a KVM guest the other day and it was a very straightforward affair, but I can see how this can streamline testing. I do wonder if it can use KVM directly instead of QEMU (I can always move the .qcow after, just curious as to how it would work with virsh)

What do you mean by using KVM directly? Using the KVM module directly, without an userspace component?

Re: Quickemu: Quickly create and run optimised Win-10,11/macOS/Linux on Linux

#47

It's sad that Qemu is so hard to use that scripts like this are necessary. All this autodetection of the OS to apply tweaks and workarounds to make the OS run properly should ideally be eliminated entirely, and if that really isn't possible, it should be part of Qemu itself rather than requiring a special wrapper script to apply the right flags to make things work.

You are not really supposed to run QEMU directly if you are looking for that kind of experience, that's why libvirt exists. Other than that, QEMU should really be a generic emulator rather than being infested with platform-specific stuff, everything else should be independently maintained and pluggable. (Autodetection is also extremely fragile, and takes away from keeping a VM a VM)

But it would be easy to design qemu to have 1000+ config options which are on/off/auto settings, and the 'auto' mode is autodetected based on which OS is probably running.

Nothing stops someone overriding some or all of those flags to whatever values they like. It's still a power user tool, just one that also 'just works' for common usecases of people who don't want to manually set the IRQ number for the DMA controller by hand...

Re: Quickemu: Quickly create and run optimised Win-10,11/macOS/Linux on Linux

#48

Earlier quoted context omitted.

I always wondered how is it stealing if you (1) own a copy and, (2) Apple effectively stopped charging money for macOS.

No one but Apple owns a copy of macOS. They own a license to use it according to the terms of that license.

As with all information, society as a whole "owns" macOS - Apple only has been granted a temporary monopoly of this information in order to encourage them to create more.

Re: Quickemu: Quickly create and run optimised Win-10,11/macOS/Linux on Linux

#49

Earlier quoted context omitted.

What is this?

ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc

Bonus points if you also know these ones (without searching for them):

K4HVD...

09 F9 11 02 9D...

Re: Quickemu: Quickly create and run optimised Win-10,11/macOS/Linux on Linux

#50

Neat. Something not to forget is that USB devices (host) passthrough can be tricky, as it's a passthrough of the device, not the port. In difficult situations, https://github.com/darkguy2008/hotplugger comes handy (although it needs setup work).

For my gaming windows vm in addition to passing through the gpu I have a dedicated usb card that solves things like Bluetooth controllers acting up
Post reply on HN