On 07/19/2011 09:01 AM, Eric Blake wrote:
But do we also need to patch src/util/sysinfo.c, which makes callouts
to
dmidecode(1)? That is, if libsmbios is arch-specific, then I imagine
that so is dmidecode, and do we gracefully handle dmidecode failures in
that case?
Oh, and while I'm thinking about it:
on x86 architectures with newer kernels, the kernel is starting to
provide various SMBIOS information to user space via sysfs, without
requiring the running of root-only dmidecode. We need to teach libvirt
to try that method, so that qemu:///session can take advantage of
copying host SMBIOS information to the guest.
https://www.redhat.com/archives/virt-tools-list/2011-July/msg00012.html
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org