xen: Don't emit warning message if /proc/xen/capabilities file does not exist.
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 28 Oct 2013 11:09:24 +0000 (11:09 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 31 Oct 2016 10:14:42 +0000 (06:14 -0400)
commiteab67e2c2d9fcf75f9600b21f68f8cfe5129d67e
treee0828cf2676ca838928893eaf6d831898f60f798
parentfeb150cf15638a55f56a8932645778cae9c77bb7
xen: Don't emit warning message if /proc/xen/capabilities file does not exist.

On Amazon EC2:

xen
grep: /proc/xen/capabilities: No such file or directory
xen-domU

The warning is harmless but should not be printed.

Thanks: Can Zhang for testing.
(cherry picked from commit 8709c0e87dc3124b1a64d85654d6d4904702d767)
virt-what.in