[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [Resending] [PATCH 2/2] Allow x86 to fetch sysinfo from /proc/cpuinfo when dmidecode is absent.
- From: "Daniel P. Berrange" <berrange redhat com>
- To: Prerna <prerna linux vnet ibm com>
- Cc: libvirt mailing list <libvir-list redhat com>
- Subject: Re: [libvirt] [Resending] [PATCH 2/2] Allow x86 to fetch sysinfo from /proc/cpuinfo when dmidecode is absent.
- Date: Tue, 28 Feb 2012 19:58:44 +0000
On Fri, Feb 17, 2012 at 01:00:22PM +0530, Prerna wrote:
> The last patch was mangled by my mailer, resending.
>
> From: Prerna Saxena <prerna linux vnet ibm com>
> Date: Thu, 16 Feb 2012 15:33:43 +0530
> Subject: [PATCH 2/2] Sysinfo : Allow x86 to fetch sysinfo from /proc/cpuinfo
> in the event 'dmidecode' is absent in the system.
>
> Until now, libvirt on x86 flags an error message if dmidecode is not
> found. With this patch, the following is a sample output on x86 when
> dmidecode is absent:
>
> virsh # sysinfo
> <sysinfo type='smbios'>
> <processor>
> <entry name='socket_destination'>0</entry>
> <entry name='type'>Intel(R) Xeon(R) CPU X5570 @ 2.93GHz</entry>
> <entry name='family'>6</entry>
> <entry name='manufacturer'>GenuineIntel</entry>
> </processor>
> <processor>
> <entry name='socket_destination'>1</entry>
> <entry name='type'>Intel(R) Xeon(R) CPU X5570 @ 2.93GHz</entry>
> <entry name='family'>6</entry>
> <entry name='manufacturer'>GenuineIntel</entry>
> </processor>
> ... (listing for all online CPUs)
> </sysinfo>
>
> ---
> src/util/sysinfo.c | 95 +++++++++++++++++++++++++++++++++++++++++++++++++--
> 1 files changed, 91 insertions(+), 4 deletions(-)
ACK
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]