From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIUOO-0007jH-Jz for qemu-devel@nongnu.org; Tue, 25 Feb 2014 21:38:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIUOJ-0001Hr-FD for qemu-devel@nongnu.org; Tue, 25 Feb 2014 21:38:40 -0500 Received: from mail-oa0-f50.google.com ([209.85.219.50]:38054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIUOJ-0001HN-AB for qemu-devel@nongnu.org; Tue, 25 Feb 2014 21:38:35 -0500 Received: by mail-oa0-f50.google.com with SMTP id i11so206250oag.23 for ; Tue, 25 Feb 2014 18:38:34 -0800 (PST) From: Kim Phillips Date: Tue, 25 Feb 2014 20:37:50 -0600 Message-Id: <1393382272-29021-1-git-send-email-kim.phillips@linaro.org> Subject: [Qemu-devel] [RFC 0/2] platform device passthrough List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , 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 , kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org 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