mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
* src/pci.c: small portability patch
daniel
This commit is contained in:
parent
6a140adb78
commit
d879d360eb
@ -1,3 +1,7 @@
|
||||
Wed May 20 15:33:27 CEST 2009 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* src/pci.c: small portability patch
|
||||
|
||||
Wed May 20 09:10:28 CEST 2009 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* src/lxc_driver.c: fix a couple of error code, patch by
|
||||
|
@ -38,6 +38,11 @@
|
||||
#include "util.h"
|
||||
#include "virterror_internal.h"
|
||||
|
||||
/* avoid compilation breakage on some systems */
|
||||
#ifndef MODPROBE
|
||||
#define MODPROBE "modprobe"
|
||||
#endif
|
||||
|
||||
#define PCI_SYSFS "/sys/bus/pci/"
|
||||
#define PCI_ID_LEN 10 /* "XXXX XXXX" */
|
||||
#define PCI_ADDR_LEN 13 /* "XXXX:XX:XX.X" */
|
||||
|
Loading…
Reference in New Issue
Block a user