[libvirt] [PATCH] Avoid warning message from libxl driver on non-Xen kernels

Stefan Bader stefan.bader at canonical.com
Mon Mar 17 12:49:35 UTC 2014


On 17.03.2014 13:15, Daniel P. Berrange wrote:
> +    if (!virFileExists("/proc/xen/capabilities")) {
> +        VIR_INFO("Disabling driver as /proc/xen/capabilities does not exist");
> +        return false;
> +    }

Oh right, I should have checked the log more carefully in all cases. It would
work in all cases but adding unnecessary error messages is not good.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140317/c04944ca/attachment-0001.sig>


More information about the libvir-list mailing list