All of lore.kernel.org
 help / color / mirror / Atom feed
* A small portability issue introduced by changeset 17951
@ 2008-07-31  9:02 Cui, Dexuan
  2008-07-31 11:36 ` Yosuke Iwamatsu
  0 siblings, 1 reply; 2+ messages in thread
From: Cui, Dexuan @ 2008-07-31  9:02 UTC (permalink / raw)
  To: Yosuke Iwamatsu, xen-devel

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.
 
Thanks,
-- Dexuan

 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: A small portability issue introduced by changeset 17951
  2008-07-31  9:02 A small portability issue introduced by changeset 17951 Cui, Dexuan
@ 2008-07-31 11:36 ` Yosuke Iwamatsu
  0 siblings, 0 replies; 2+ messages in thread
From: Yosuke Iwamatsu @ 2008-07-31 11:36 UTC (permalink / raw)
  To: Cui, Dexuan; +Cc: xen-devel

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

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 #2: lspci_parse.patch --]
[-- Type: all/allfiles, Size: 2045 bytes --]

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-31 11:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-31  9:02 A small portability issue introduced by changeset 17951 Cui, Dexuan
2008-07-31 11:36 ` Yosuke Iwamatsu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.