> Since what you need to know is which Ethernet card is being
> virtualized, perhaps it would be sufficient to simply scan the PCI
> bus to see what class 2 devices reside there?
> ...
> Of course, if the majority of cards for which you need to search are
> non-PCI (e.g. some old ISA stuff) then this wouldn't be suitable at
> all, but if not... hey, maybe it could help?

I actually do need more than the Ethernet card, but that is what started me on 
this trail.  The PCI thing can work for some things _IF_ the VM even 
virtualizes a PCI BIOS (some do and some don't).  There are also some VMs (like 
VMWare) that have their own versions of almost everything so you may not even 
find a "recognized" NIC in the PCI space.

So, your program may work in specific cases but would not be a general-purpose 
solution.  I also recognize my setup and what I'm trying to accomplish is 
pretty unusual.


_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to