[libvirt] libvirt and physical hardware devices

Daniel P. Berrange berrange at redhat.com
Thu Jul 9 09:46:49 UTC 2009


On Wed, Jul 08, 2009 at 05:01:48PM -0400, Arjun Roy wrote:
> Greetings.
> 
> I am interested in finding out what kinds of physical hardware data can 
> be pulled out of libvirt at present.
> In particular, I'm interested in sourcing:
> 
> 1.  All the processor information that would be revealed from /proc/cpuinfo
> -cpu #
> -core #
> -# cores total
> -model

Yes

> -family
> -cpuid_lvl

Don't have these two

> -speed

Yes

> -cache
> -vendor
> -flags

Dont have these three (well a couple of flags, but certainly not all).

> 2. The following network device paramters:
> 
> -interface name
> -mac address
> -current ip address
> -current netmask
> -current broadcast
> -current link bandwidth

The virInterface APis will have everything except link bandwidth. Not
sure where you get that info from, but we could add it

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list