libxl: introduce 'libxl_pci_bdf' in the idl...
authorPaul Durrant <pdurrant@amazon.com>
Tue, 8 Dec 2020 19:30:26 +0000 (19:30 +0000)
committerWei Liu <wl@xen.org>
Tue, 15 Dec 2020 16:24:23 +0000 (16:24 +0000)
commit929f23114061a0089e6d63d109cf6a1d03d35c71
treeb83f8dff997080a6ac1cf9de706b19686dae0b24
parent8bc342b043a6838c03cd86039a34e3f8eea1242f
libxl: introduce 'libxl_pci_bdf' in the idl...

... and use in 'libxl_device_pci'

This patch is preparatory work for restricting the type passed to functions
that only require BDF information, rather than passing a 'libxl_device_pci'
structure which is only partially filled. In this patch only the minimal
mechanical changes necessary to deal with the structural changes are made.
Subsequent patches will adjust the code to make better use of the new type.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Acked-by: Wei Liu <wl@xen.org>
Acked-by: Nick Rosbrook <rosbrookn@ainfosec.com>
tools/golang/xenlight/helpers.gen.go
tools/golang/xenlight/types.gen.go
tools/include/libxl.h
tools/libs/light/libxl_dm.c
tools/libs/light/libxl_internal.h
tools/libs/light/libxl_pci.c
tools/libs/light/libxl_types.idl
tools/libs/util/libxlu_pci.c
tools/xl/xl_pci.c
tools/xl/xl_sxp.c