]> xenbits.xensource.com Git - libvirt.git/commit
Add a sysinfo util module and read host info API
authorDaniel Veillard <veillard@redhat.com>
Fri, 5 Nov 2010 14:22:13 +0000 (15:22 +0100)
committerDaniel Veillard <veillard@redhat.com>
Mon, 8 Nov 2010 14:14:50 +0000 (15:14 +0100)
commit778c0976c0642313ea60b2861b6dba0c06b49f00
tree788ed0acbab662b47a7caef2057fb1dc8cadc743
parentd528b52ff96aaef1d7e58e91bc276bd1d5d6ece2
Add a sysinfo util module and read host info API

Move existing routines about virSysinfoDef to an util module,
add a new entry point virSysinfoRead() to read the host values
with dmidecode

* src/conf/domain_conf.c src/conf/domain_conf.h src/util/sysinfo.c
  src/util/sysinfo.h: move to a new module, add virSysinfoRead()
* src/Makefile.am: handle the new module build
* src/libvirt_private.syms: new internal symbols
* include/libvirt/virterror.h src/util/virterror.c: defined a new
  error code for that module
* po/POTFILES.in: add new file for translations
include/libvirt/virterror.h
po/POTFILES.in
src/Makefile.am
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/util/sysinfo.c [new file with mode: 0644]
src/util/sysinfo.h [new file with mode: 0644]
src/util/virterror.c