qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC 0/2] platform device passthrough


From: Kim Phillips
Subject: [Qemu-devel] [RFC 0/2] platform device passthrough
Date: Tue, 25 Feb 2014 20:37:50 -0600

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 via email to

[Prev in Thread] Current Thread [Next in Thread]