From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VC4nk-0006g3-AY for qemu-devel@nongnu.org; Wed, 21 Aug 2013 05:34:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VC4nb-0002EL-RS for qemu-devel@nongnu.org; Wed, 21 Aug 2013 05:34:04 -0400 Received: from [2a03:4000:1::4e2f:c7ac:d] (port=56944 helo=v220110690675601.yourvserver.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VC4nb-0002E0-Lo for qemu-devel@nongnu.org; Wed, 21 Aug 2013 05:33:55 -0400 Message-ID: <5214897D.1060407@weilnetz.de> Date: Wed, 21 Aug 2013 11:33:49 +0200 From: Stefan Weil MIME-Version: 1.0 References: <52127D4B.40109@weilnetz.de> <52134B48.6040502@redhat.com> <20130821090834.GE10379@stefanha-thinkpad.redhat.com> <52148448.90907@redhat.com> In-Reply-To: <52148448.90907@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] Hardware acceleration for Windows and OS X? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Stefan Hajnoczi , qemu-devel , Peter Maydell Am 21.08.2013 11:11, schrieb Paolo Bonzini: > Still, I must say merging Xen has given us zero headaches. It's taken a > while, but (at least from the QEMU project's POV) the wait has been > worthwhile. > > I would hope that HAXN support would be almost as easy as adding > haxn-all.c and haxn-stub.c files, and a few small changes to cpus.c and > vl.c. > > Paolo A first version which integrates HAXM in QEMU's build needs these changes: configure | 13 + include/sysemu/hax.h | 50 ++ target-i386/Makefile.objs | 2 + target-i386/cpu.h | 4 + target-i386/hax-all.c | 1080 +++++++++++++++++++++++++++++++++++++++++++ target-i386/hax-darwin.c | 322 +++++++++++++ target-i386/hax-darwin.h | 86 ++++ target-i386/hax-i386.h | 93 ++++ target-i386/hax-interface.h | 418 +++++++++++++++++ target-i386/hax-windows.c | 528 +++++++++++++++++++++ target-i386/hax-windows.h | 68 +++ vl.c | 6 +- (stub file(s) still missing, code completely untested, maybe hax-all.c should be moved) Regards, Stefan