Daniel P. Berrange
07518f77bd
virt-host-validate: distinguish exists vs accessible for devices
...
Currently we just check that various devices are accessible.
This leads to inaccurate errors reported for /dev/kvm and
/dev/vhost-net if they exist but an unprivileged user lacks
access. Switch existing checks to look for file existance,
and add a separate check for accessibility of /dev/kvm
since some distros don't grant users access by default.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
(cherry picked from commit fd6d506c50d9c885fd500627bddefe2f93ded0c2)
2015-12-23 18:20:31 -05:00
..
2015-03-23 09:01:30 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2012-12-11 19:54:37 -05:00
2015-12-23 17:59:49 -05:00
2015-05-12 08:53:14 +02:00
2015-02-23 08:49:21 +01:00
2014-04-01 10:38:14 -06:00
2009-09-21 14:41:45 +01:00
2014-11-14 17:13:36 +01:00
2013-09-03 14:06:11 +02:00
2015-06-02 09:20:31 -04:00
2012-09-20 16:30:55 -06:00
2015-09-21 20:18:00 -04:00
2014-08-26 22:48:05 +02:00
2015-02-20 07:46:54 +01:00
2015-07-16 11:56:15 +02:00
2012-09-20 16:30:55 -06:00
2015-06-02 09:20:31 -04:00
2014-03-10 14:26:04 +01:00
2015-06-12 16:44:24 +02:00
2014-03-10 14:26:04 +01:00
2015-06-02 09:20:31 -04:00
2012-09-20 16:30:55 -06:00
2015-04-15 08:13:53 -06:00
2012-09-20 16:30:55 -06:00
2015-06-01 05:40:45 -04:00
2012-09-20 16:30:55 -06:00
2015-04-15 08:13:53 -06:00
2012-09-20 16:30:55 -06:00
2015-06-02 09:20:31 -04:00
2012-09-20 16:30:55 -06:00
2015-06-02 09:20:31 -04:00
2012-09-20 16:30:55 -06:00
2015-06-02 09:20:31 -04:00
2015-06-02 09:20:31 -04:00
2015-07-16 11:56:15 +02:00
2015-12-23 18:20:31 -05:00
2015-12-23 18:20:31 -05:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2015-12-23 18:20:31 -05:00
2012-09-20 16:30:55 -06:00
2014-03-10 14:26:04 +01:00
2014-09-15 10:44:27 -04:00
2013-08-08 16:36:31 +01:00
2014-03-03 12:40:32 -07:00
2013-08-19 20:25:53 -06:00
2013-08-28 13:50:10 +02:00
2013-09-13 14:57:52 +02:00