From ab37bfc7d64141e8fe4633744012140ee415648b Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Fri, 20 Oct 2017 10:17:50 +0200 Subject: pci-assign: Remove MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Legacy PCI device assignment has been removed from Linux in 4.12, and had been deprecated 2 years ago there. We can remove it from QEMU as well. The ROM loading code was shared with Xen PCI passthrough, so move it to hw/xen. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini --- docs/qdev-device-use.txt | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'docs/qdev-device-use.txt') diff --git a/docs/qdev-device-use.txt b/docs/qdev-device-use.txt index 1f297b5e9c..8f188d1d0b 100644 --- a/docs/qdev-device-use.txt +++ b/docs/qdev-device-use.txt @@ -366,17 +366,9 @@ bus=PCI-BUS,addr=DEVFN to control the PCI device address, as usual. === Host Device Assignment === QEMU supports assigning host PCI devices (qemu-kvm only at this time) -and host USB devices. +and host USB devices. PCI devices can only be assigned with -device: -The old way to assign a host PCI device is - - -pcidevice host=ADDR,dma=none,id=ID - -The new way is - - -device pci-assign,host=ADDR,iommu=IOMMU,id=ID - -The old dma=none becomes iommu=off with -device. + -device vfio-pci,host=ADDR,id=ID The old way to assign a host USB device is -- cgit v1.2.3