Skip to content

ioemu: specify the slot for pass-through devices

[email protected] xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 6 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ioemu: Register dpci_infos.php_devs.pt_dev in a common locationhw/pass-through.c+2 -50 replies
2/4ioemu: Do slot parsing inside of next_bdfhw/pass-through.c+23 -145 replies
3/4ioemu: allow xend to specify the slot for pass-through deviceshw/pass-through.c hw/pass-through.h+9 -160 replies
4/4ioemu: Read pass-through vslot from xendxenstore.c+18 -01 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [patch 0/4 v2] ioemu: specify the slot for pass-through devices

Currently a slot may be specified for a hot-plug device, but not for a pass-through device that is inserted at boot time. This patch adds support for the latter.

The syntax is:

     BUS:DEV.FUNC[@VSLOT]
     e.g: 0000:00:1d:0@7

This may be important as recent changes that allow any free PCI slot to be used for pass-through (and hotplug) may case pass-through devices to be assigned in different locations to before. Amongst other things, specifying the slot will allow users to move them back, if there is a need.

These changes need the patches that I posted today as the series "[patch 0/2] ioemu: Allow any unused PCI device to be used for pass-through"

There is also a xend portion of this series, which will be posted separately.

History
-------

This series was originally posted as:

[rfc 0/4] ioemu: specify the slot for pass-through devices

├>[rfc 1/4] ioemu: Register dpci_infos.php_devs.pt_dev in a common location
├>[rfc 2/4] ioemu: Do slot parsing inside of next_bdf
├>[rfc 3/4] ioemu: make __insert_to_pci_slot indempotent
└>[rfc 4/4] ioemu: allow xend to specify the slot for pass-through devices

The 3rd patch has been applied to qemu-xen-unstable.

The first three patches of this series comprises of patches 1, 2 and 4 of the original series, which have been updated as per their individual changelog entries.

There is a new 4th patch which actually reads vslot information from xend using xenstore. There is a corresponding patch to xend for this new 4th patch. All other xend patches relating to this change have already been merged into xen-unstable.

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