qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <sw@weilnetz.de>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Stefan Hajnoczi <stefanha@gmail.com>,
	qemu-devel <qemu-devel@nongnu.org>,
	Peter Maydell <peter.maydell@linaro.org>
Subject: Re: [Qemu-devel] [RFC] Hardware acceleration for Windows and OS X?
Date: Wed, 21 Aug 2013 11:33:49 +0200	[thread overview]
Message-ID: <5214897D.1060407@weilnetz.de> (raw)
In-Reply-To: <52148448.90907@redhat.com>

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

  reply	other threads:[~2013-08-21  9:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-19 20:17 [Qemu-devel] [RFC] Hardware acceleration for Windows and OS X? Stefan Weil
2013-08-20 10:56 ` Paolo Bonzini
2013-08-20 11:12   ` Peter Maydell
2013-08-21  9:08     ` Stefan Hajnoczi
2013-08-21  9:11       ` Paolo Bonzini
2013-08-21  9:33         ` Stefan Weil [this message]
2013-08-21 10:02           ` Paolo Bonzini
2013-08-20 14:55 ` Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5214897D.1060407@weilnetz.de \
    --to=sw@weilnetz.de \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).