Skip to content

RFC ioemu: Allow any unused PCI device to be used for pass-through

Simon Horman xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Use test_pci_slot() to test if a php slot is valid, in use or freehw/pass-through.c hw/piix4acpi.c+5 -50 replies
2/2ioemu: Allow any unused PCI device to be used for pass-throughhw/pass-through.c hw/pci.c hw/pci.h +1 more+96 -1050 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [rfc 0/2] ioemu: Allow any unused PCI device to be used for pass-through

The current limit of 2 pass-through devices seems to be rather small. These patches remove that limit and allow any unused PCI device to be used for pass-through, including hotplug.

It seems that the first few (4) devices will be used for other purposes by HVM domains. However, it seems to me to be clean to make this code generic and cope with any device on the bus - saving the need for subsequent changes if the number of devices HVM domains use by default ever changes.

There are also xend and hvmloader patches required for this change. I will submit them separately.

Signature · 3 lines
Simon Horman
  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
  H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en