List Info

Thread: Fix dev -p command for systems withvirtual devices




Fix dev -p command for systems withvirtual devices
user name
2006-12-22 15:53:44
Maneesh Soni wrote:

> On Fri, Dec 22, 2006 at 04:46:52PM +0530, Rachita
Kothiyal wrote:
> > Hi Dave
> >
> > Running 'dev -p' command on PowerPC systems with
virtual devices (ie
> > no real PCI devices) fails with the following
message:
> >
> > dev: invalid kernel virtual address: 98  type:
"pci bus number"
> >
> > It should instead report that there are no _real_
PCI devices to list.
> > The following patch addresses this issue.
Currently it just prints a
> > message letting the user know of the absence of
pci devices, but it
> > might be a good idea to list down the virtual
devices present in the
> > system in such cases. I am working on a patch for
that too, probably
> > will discuss that on another thread.
> >
>
> I guess, "dev -p" is supposed to list only
pci devices, so will it
> make more sense to have a new option something like
"dev -v" for
> displaying virtual devices information?
>
> Thanks
> Maneesh

Agreed.

Dave


--
Crash-utility mailing list
Crash-utilityredhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )