[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] Hardware acceleration for Windows and OS X?
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC] Hardware acceleration for Windows and OS X? |
Date: |
Wed, 21 Aug 2013 12:02:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
Il 21/08/2013 11:33, Stefan Weil ha scritto:
> 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.
>
> 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)
I'm surprised there's no change in cpus.c, but it looks promising. Show
us the code! :)
Paolo
Re: [Qemu-devel] [RFC] Hardware acceleration for Windows and OS X?, Stefan Hajnoczi, 2013/08/20