From mboxrd@z Thu Jan 1 00:00:00 1970 From: Izik Eidus Subject: Re: Porting KVM to Mac OS? Date: Sun, 25 Jan 2009 14:15:57 +0200 Message-ID: <497C57FD.8070201@redhat.com> References: <5d649bdb0901250016u1e9dc38cn36bd4ceb523bd752@mail.gmail.com> <60AB6785-BDE0-46A8-BB5B-46B1B790634B@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Neo Jia , kvm@vger.kernel.org To: Alexander Graf Return-path: Received: from mx2.redhat.com ([66.187.237.31]:55957 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753137AbZAYMQv (ORCPT ); Sun, 25 Jan 2009 07:16:51 -0500 In-Reply-To: <60AB6785-BDE0-46A8-BB5B-46B1B790634B@suse.de> Sender: kvm-owner@vger.kernel.org List-ID: Alexander Graf wrote: > Hi, > > On 25.01.2009, at 09:16, Neo Jia wrote: > >> hi, >> >> I am thinking if it is possible to port KVM to Mac OS (leopard). Is >> there anybody doing this already? > > I've considered doing it, but haven't gotten around to it, due to lack > of inspiration. > The biggest problem IMHO is the sync. Rewriting a kvm module for Mac > OS X should be fairly easy, but you'll miss all the good bugfixes from > upstream. Using the upstream code with a wrapper on the other hand is > probably a really big hassle, because osx doesn't really know about > mmu notifiers and a lot of other Linux internal things. You can use hardware breakpoints to emulate mmu notifiers beaivor for kernel that you cannot patch. The only issue is that beacuse the source is close you may never know where is the right place to put the notification. > > So if you come up with a good idea for this problem, I'd be glad to > help you out as much as time permits :-). > > Alex > >> If it is possible, which KVM release should I use as a start? >> >> Thanks, >> Neo >> -- >> I would remember that if researchers were not ambitious >> probably today we haven't the technology we are using! >> -- >> To unsubscribe from this list: send the line "unsubscribe kvm" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html