Live data from Hacker News

OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

github.com

21–30 of 96 posts

Re: OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

#21
post #19

Earlier quoted context omitted.

So...? Don't do this at work. Who actually takes software licenses seriously in their own home?

I write software for free and as a living, so I surely take it seriously. How can a software developer justify stealing software, unless they're trapped in a poor or technologically restricted situation (Cuba)? EDIT: There's some confusion as to what I replied to: My reply is to this Who actually takes software licenses seriously in their own home? If this doesn't imply one's okay with stealing, then I take my commen…

> How can a software developer justify stealing software

Oh come on. Running a legally obtained OSX installation on hardware you own is hardly stealing.

I don't see why OSX "fanboys" constantly bring up this tiresome meme about OSX being this near "holy" OS which cannot run on anything but this similarly holy Apple hardware.

It's a generic consumer OS designed to work on what is mostly run of the mill X86 hardware. Get with the times.

Re: OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

#22
post #19

Earlier quoted context omitted.

So...? Don't do this at work. Who actually takes software licenses seriously in their own home?

I write software for free and as a living, so I surely take it seriously. How can a software developer justify stealing software, unless they're trapped in a poor or technologically restricted situation (Cuba)? EDIT: There's some confusion as to what I replied to: My reply is to this Who actually takes software licenses seriously in their own home? If this doesn't imply one's okay with stealing, then I take my commen…

It's not "stealing" if you paid for a license. By your logic, jailbreaking an iPhone would constitute theft.

Re: OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

#23
post #13
post #8

That is pretty impressive. I spent hours upon hours getting OS X to run on a Linux host in KVM and QEMU. Eventually I did get it to work, but things like Messages.app had no chance of working. That was actually my goal - to create my own little Messages API so that I could send automated messages to myself. I ended up just scripting Messages.app on a real Mac and that works really well, even 2 years after. I remote c…

> I ended up just scripting Messages.app on a real Mac and that works really well, even 2 years after. I remote control my house that way. That sounds pretty neat, do you have more details written down anywhere?

I've installed an AppleScript handler from within Messages.app. The script below is called ReceiveMessage.script and is located in ~/Library/Application Scripts/com.apple.iChat and basically accepts messages. That's how I handle inbound messages, and for outbound I basically also have a separate script for sending out messages. I do the actual work in separate python scripts called by the shell scripts though.

-- snip snip --

using terms from application "Messages" on message received theText from theBuddy for theChat set quoted_message to quoted form of theText set quoted_id to quoted form of (id of theBuddy as text) do shell script "echo " & quoted_message & " | ~/bin/MessageReceive.sh " & quoted_id & " > /dev/null 2>&1 &"

        # make messages happy
        return true
    end message received

    on message sent theMessage for theChat

    end message sent

    on active chat message received

    end active chat message received

    on chat room message received theMessage from theBuddy for theChat

    end chat room message received

    on addressed chat room message received theMessage from theBuddy for theChat

    end addressed chat room message received

    on addressed message received theMessage from theBuddy for theChat

    end addressed message received

    on av chat started

    end av chat started

    on av chat ended

    end av chat ended

    on login finished for theService

    end login finished

    on logout finished for theService

    end logout finished

    on buddy became available theBuddy

    end buddy became available

    on buddy became unavailable theBuddy

    end buddy became unavailable

    on completed file transfer

    end completed file transfer
end using terms from

Re: OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

#24
post #19

Earlier quoted context omitted.

I write software for free and as a living, so I surely take it seriously. How can a software developer justify stealing software, unless they're trapped in a poor or technologically restricted situation (Cuba)? EDIT: There's some confusion as to what I replied to: My reply is to this Who actually takes software licenses seriously in their own home? If this doesn't imply one's okay with stealing, then I take my commen…

> How can a software developer justify stealing software Oh come on. Running a legally obtained OSX installation on hardware you own is hardly stealing. I don't see why OSX "fanboys" constantly bring up this tiresome meme about OSX being this near "holy" OS which cannot run on anything but this similarly holy Apple hardware. It's a generic consumer OS designed to work on what is mostly run of the mill X86 hardware. G…

My reply is to this

    Who actually takes software licenses seriously in their own home?
If this doesn't imply one's okay with stealing, then I take my comment back.

Because you seem to assume I use a mac, I must confess to not owning one and therefore not using macos.

Re: OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

#25
post #22
post #19

Earlier quoted context omitted.

I write software for free and as a living, so I surely take it seriously. How can a software developer justify stealing software, unless they're trapped in a poor or technologically restricted situation (Cuba)? EDIT: There's some confusion as to what I replied to: My reply is to this Who actually takes software licenses seriously in their own home? If this doesn't imply one's okay with stealing, then I take my commen…

It's not "stealing" if you paid for a license. By your logic, jailbreaking an iPhone would constitute theft.

[deleted]

Re: OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

#26
post #9
post #6

Is it possible to run several OS' on a single machine with fast switching between them, access to all hardware, and at full or almost full speed?

Using Vmware, and passthrough for the videocard you can achieve this with Linux as the host and Windows as the guest. Not sure if it's possible with OSX. What we really need are video drivers for OSX, for virtualbox and/or other virtualisation solutons, so OSX as a guest can work really well.

OS X has official Nvidia drivers.

Re: OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

#27

The OSX license agreement severely limits the practicality of this: http://images.apple.com/legal/sla/docs/macOS1012.pdf It only allows you: Section 2B(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…

Is this EULA enforceable in every legislation or is it only an US issue?

Any specific information about the Apple EULA in the EU, for instance?

Re: OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

#28
post #24

Earlier quoted context omitted.

> How can a software developer justify stealing software Oh come on. Running a legally obtained OSX installation on hardware you own is hardly stealing. I don't see why OSX "fanboys" constantly bring up this tiresome meme about OSX being this near "holy" OS which cannot run on anything but this similarly holy Apple hardware. It's a generic consumer OS designed to work on what is mostly run of the mill X86 hardware. G…

My reply is to this Who actually takes software licenses seriously in their own home? If this doesn't imply one's okay with stealing, then I take my comment back. Because you seem to assume I use a mac, I must confess to not owning one and therefore not using macos.

I read it as "who cares about obscure constraints which if violated will severely limit my ability to get support should I need it", not as a blanket licence to pirate software.

Obviously in a professional context, you will care about things like support. But probably not for your lets have fun hackety hack project at home.

Re: OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

#29
post #24

Earlier quoted context omitted.

My reply is to this Who actually takes software licenses seriously in their own home? If this doesn't imply one's okay with stealing, then I take my comment back. Because you seem to assume I use a mac, I must confess to not owning one and therefore not using macos.

I read it as "who cares about obscure constraints which if violated will severely limit my ability to get support should I need it", not as a blanket licence to pirate software. Obviously in a professional context, you will care about things like support. But probably not for your lets have fun hackety hack project at home.

[deleted]

Re: OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

#30
post #23
post #13

Earlier quoted context omitted.

> I ended up just scripting Messages.app on a real Mac and that works really well, even 2 years after. I remote control my house that way. That sounds pretty neat, do you have more details written down anywhere?

I've installed an AppleScript handler from within Messages.app. The script below is called ReceiveMessage.script and is located in ~/Library/Application Scripts/com.apple.iChat and basically accepts messages. That's how I handle inbound messages, and for outbound I basically also have a separate script for sending out messages. I do the actual work in separate python scripts called by the shell scripts though. -- sni…

I like the project, but I really don't like applescript. In programming languages, it seems there is a tension between easy-to-write and easy-to-read. And I suppose a fork in the continuum with easy-to-read-for-novices and easy-to-read-for-programmers.

applescript went overboard on the easy-to-read-for-novices at severe cost to easy-to-write.

Post reply on HN