On 04/03/2013 11:59 AM, Daniel P. Berrange wrote:
From: "Daniel P. Berrange" <berrange(a)redhat.com>
Implement the bare minimal sysinfo for ARM platforms by
reading the CPU models from /proc/cpuinfo
Signed-off-by: Daniel P. Berrange <berrange(a)redhat.com>
---
src/util/virsysinfo.c | 129 +++++++++++++++++++++++++++++++++++-
tests/sysinfodata/armcpuinfo.data | 17 +++++
tests/sysinfodata/armsysinfo.expect | 10 +++
tests/sysinfotest.c | 15 ++++-
4 files changed, 169 insertions(+), 2 deletions(-)
create mode 100644 tests/sysinfodata/armcpuinfo.data
create mode 100644 tests/sysinfodata/armsysinfo.expect
ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org