[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen staging] libxl/PCI: pass correct "hotplug" argument to libxl__device_pci_setdefault()
commit fc7b56510d8ec58660fad389b4d5f674e9b4a18d Author: Jan Beulich <jbeulich@xxxxxxxx> AuthorDate: Thu Feb 27 15:45:05 2020 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Thu Feb 27 15:45:05 2020 +0100 libxl/PCI: pass correct "hotplug" argument to libxl__device_pci_setdefault() Uniformly passing "false" can't be right, but has been benign because of the function not using this parameter. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Wei Liu <wl@xxxxxxx> --- tools/libxl/libxl_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_pci.c b/tools/libxl/libxl_pci.c index 3cf346c23e..957ff5c8e9 100644 --- a/tools/libxl/libxl_pci.c +++ b/tools/libxl/libxl_pci.c @@ -1567,7 +1567,7 @@ void libxl__device_pci_add(libxl__egc *egc, uint32_t domid, } } - rc = libxl__device_pci_setdefault(gc, domid, pcidev, false); + rc = libxl__device_pci_setdefault(gc, domid, pcidev, !starting); if (rc) goto out; if (pcidev->seize && !pciback_dev_is_assigned(gc, pcidev)) { -- generated by git-patchbot for /home/xen/git/xen.git#staging _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |