qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kim Phillips <kim.phillips@linaro.org>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
	kim.phillips@freescale.com, eric.auger@linaro.org,
	kim.phillips@linaro.org, agraf@suse.de,
	stuart.yoder@freescale.com, alex.williamson@redhat.com,
	Antonios Motakis <a.motakis@virtualopensystems.com>,
	kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org
Subject: [Qemu-devel] [RFC 0/2] platform device passthrough
Date: Tue, 25 Feb 2014 20:37:50 -0600	[thread overview]
Message-ID: <1393382272-29021-1-git-send-email-kim.phillips@linaro.org> (raw)

This is an RFC for the first step of many to enable platform device
passthrough, where a guest OS is able to directly access platform
device MMIO, DMA regions, and receive interrupts from platform devices.

The first RFC patch works around the limitation of QEMU not being able
to create platform devices from the command line, and should only
be used for testing the second patch.  A discussion of how to address
the limitation is encouraged, however, in the context of the first patch.

Whilst the second RFC patch achieves MMIO direct access to the device,
it lacks considerable work before it is complete, and is posted here early
to weed out any issues with its initial approach and general direction.

Here are the instructions to test on a Calxeda Midway:

https://wiki.linaro.org/LEG/Engineering/Virtualization/Platform_Device_Passthrough_on_Midway

The code is based on today's:

git://git.qemu.org/qemu.git

and available on the 'platdevpassthrough' branch of:

git://git.linaro.org/people/kim.phillips/qemu.git

Thanks,

Kim

Kim Phillips (2):
  hw/arm/virt: add a Calxeda XGMAC device
  hw/misc/vfio: add vfio-platform support

 hw/arm/virt.c  |  24 +++++++-
 hw/misc/vfio.c | 180 ++++++++++++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 168 insertions(+), 36 deletions(-)

-- 
1.9.0

             reply	other threads:[~2014-02-26  2:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-26  2:37 Kim Phillips [this message]
2014-02-26  2:37 ` [Qemu-devel] [RFC 1/2] hw/arm/virt: add a Calxeda XGMAC device Kim Phillips
2014-03-05  4:27   ` Eric Auger
2014-03-05 11:25     ` Andreas Färber
2014-03-06  2:27       ` Eric Auger
2014-02-26  2:37 ` [Qemu-devel] [RFC 2/2] hw/misc/vfio: add vfio-platform support Kim Phillips
2014-02-28 18:03   ` Alex Williamson
2014-03-05  0:24     ` Kim Phillips
2014-03-05  1:23       ` Alex Williamson
2014-03-05 11:28         ` Andreas Färber
2014-03-05 11:30           ` Paolo Bonzini
2014-03-05  7:56   ` Eric Auger

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=1393382272-29021-1-git-send-email-kim.phillips@linaro.org \
    --to=kim.phillips@linaro.org \
    --cc=a.motakis@virtualopensystems.com \
    --cc=agraf@suse.de \
    --cc=alex.williamson@redhat.com \
    --cc=christoffer.dall@linaro.org \
    --cc=eric.auger@linaro.org \
    --cc=kim.phillips@freescale.com \
    --cc=kvmarm@lists.cs.columbia.edu \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stuart.yoder@freescale.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).