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, 28 Oct 2013 11:11:31 +0000 (11:11 +0000)
commit8709c0e87dc3124b1a64d85654d6d4904702d767
treeb802a8f08b5de7a2c1f6194d5dab622300e780ba
parentacd6bec92a99550ad98011d44f6381fdf7fa5992
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.
virt-what.in