[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: A small portability issue introduced by changeset 17951



Hi,

Cui, Dexuan wrote:
changeset 17951: e65fe28b5288 uses a shell command "lspci -vmmD".
But the "-D" parameter is not supported in relatively-old version of
pciutils, like pciutils-2.1.99.test8-3.4 (for instance, this vresion can
be found in RHEL4u6).
It'd be nice to have it fixed.

The attached patch uses 'lspci -vmm' instead of '-vmmD'.
The pci domain number may be omitted from the output of lspci, but
pci_parse_name() will set it default to 0 if it doesn't exist.

Thanks,
-- Yosuke

Attachment: lspci_parse.patch
Description: all/allfiles

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.