]> git.ipfire.org Git - thirdparty/systemd.git/commit
virt: propagate errors in detect_vm_xen_dom0 (#7553)
authorOlaf Hering <olaf@aepfle.de>
Thu, 7 Dec 2017 20:09:32 +0000 (21:09 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 7 Dec 2017 20:09:32 +0000 (21:09 +0100)
commit1a8e414860ad490be3dbff6f4a89d1869d10fd97
tree272bea3d6c3063319b475d385c48bddc28ab0e21
parentbfdf8c3bb86f3dbc8e30e7a0a44d2df0c0c05171
virt: propagate errors in detect_vm_xen_dom0 (#7553)

Update detect_vm_xen_dom0 to propagate errors in case reading
/proc/xen/capabilites fails. This does not fix any bugs, it just makes
it consistent with other functions called by detect_vm.
src/basic/virt.c