libxl: Use proper path for 'do_flr' functionality.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 8 Jul 2014 19:00:37 +0000 (15:00 -0400)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 10 Jul 2014 14:54:16 +0000 (15:54 +0100)
commitab78724fc5628318b172b4344f7280621a151e1b
tree1536ce263862c5ed209333fa755c8df828142a3d
parentb764b0166b25b2d55732f329dacf56f370cf0572
libxl: Use proper path for 'do_flr' functionality.

Commit f74035d3b1e827ff6ff1873e2f10feb011a8d0d2 "xl: PCI code cleanups"
introduced an regression where it changed the name from:
/sys/bus/pci/drivers/pciback/do_flr
to
libxl_sprintf(ctx, "%s/pciback/do_flr", SYSFS_PCI_DEV);

And SYSFS_PCI_DEV is "/sys/bus/pci/devices", meaning we would
do /sys/bus/pci/devices/pciback/do_flr. The proper define
should have been SYSFS_PCIBACK_DRIVER, which is what this patch does.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_pci.c