xl: support naming of assignable devices
authorPaul Durrant <pdurrant@amazon.com>
Tue, 5 Jan 2021 17:46:40 +0000 (17:46 +0000)
committerWei Liu <wl@xen.org>
Thu, 21 Jan 2021 15:20:40 +0000 (15:20 +0000)
commit3f9ff4b94f85f1fb1357ae588f8227035c486a4c
tree6388ca0104516ce64aff5a3929f68a2561a19e43
parent57bff091f47f0784f67cad198649469cbac585d8
xl: support naming of assignable devices

With this patch applied 'xl pci-assignable-add' will take an optional '--name'
parameter, 'xl pci-assignable-remove' can be passed either a BDF or a name and
'xl pci-assignable-list' will take a optional '--show-names' flag which
determines whether names are displayed in its output.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Acked-by: Wei Liu <wl@xen.org>
tools/xl/xl_cmdtable.c
tools/xl/xl_pci.c