meta-virtualization/recipes-extended/libvirt
Xiangyu Chen d744f8c4f4 libvirt: fix missing dmidecode on arm/aarch64 platform
When using libvirtd on aarch64 platform, after system bootup, the log of libvirtd
contains an error as below:

libvirtd[417]: internal error: Child process (/usr/sbin/dmidecode -q -t 0,1,2,3,4,11,17)
unexpected exit status 127:
libvirt:  error : cannot execute binary /usr/sbin/dmidecode: No such file or directory

After checking the libvirt source code, the arm/aarch64 also try to call dmidecode to get
the system information[1], so add the dmidecode as depends under arm and aarch64 platform.

Ref:
[1] https://github.com/libvirt/libvirt/blob/master/src/util/virsysinfo.c#L429

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-12-04 21:05:51 +00:00
..
libvirt libvirt: update to 9.2.0 2023-04-06 10:01:57 -04:00
libvirt-glib libvirt-glib: fix introspection and documentation build 2023-09-04 03:03:14 +00:00
libvirt_9.6.0.bb libvirt: fix missing dmidecode on arm/aarch64 platform 2023-12-04 21:05:51 +00:00
libvirt-glib_4.0.0.bb libvirt-glib: fix introspection and documentation build 2023-09-04 03:03:14 +00:00
libvirt-python.inc libvirt: update to 9.6.0 2023-08-24 01:38:21 +00:00
README libvirt: libvirtd: Facilitate using tls connection mode 2019-07-16 19:41:05 +00:00

libvirt default connection mode between client(where for example virsh runs) and server(where libvirtd runs) is tls which requires keys and certificates for certificate authority, client and server to be properly generated and deployed. Otherwise, servers and clients cannot be connected.

recipes-extended/libvirt/libvirt/gnutls-help.py is provided to help generate required keys and certificates.

Usage: gnutls-help.py [-a|--ca-info] <ca.info> [-b|--server-info] <server.info> [-c|--client-info] <client.info> If ca.info or server.info or client.info is not provided, a corresponding sample file will be generated.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! "ip_address" field of server.info must be IP address of the server. !! !! For more details, please refer to: !! !! https://libvirt.org/remote.html#Remote_certificates !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Please deploy cacert.pem to CA and server and client /etc/pki/CA/cacert.pem Please deploy serverkey.pem to server /etc/pki/libvirt/private/serverkey.pem Please deploy servercert.pem to server /etc/pki/libvirt/servercert.pem Please deploy clientkey.pem to client /etc/pki/libvirt/private/clientkey.pem Please deploy clientcert.pem to client /etc/pki/libvirt/clientcert.pem"

For more details please refer to libvirt official document, https://libvirt.org/remote.html#Remote_certificates