qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC 0/2] platform device passthrough
@ 2014-02-26  2:37 Kim Phillips
  2014-02-26  2:37 ` [Qemu-devel] [RFC 1/2] hw/arm/virt: add a Calxeda XGMAC device Kim Phillips
  2014-02-26  2:37 ` [Qemu-devel] [RFC 2/2] hw/misc/vfio: add vfio-platform support Kim Phillips
  0 siblings, 2 replies; 12+ messages in thread
From: Kim Phillips @ 2014-02-26  2:37 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, kim.phillips, eric.auger, kim.phillips, agraf,
	stuart.yoder, alex.williamson, Antonios Motakis, kvmarm,
	christoffer.dall

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-03-06  2:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-26  2:37 [Qemu-devel] [RFC 0/2] platform device passthrough Kim Phillips
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

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).