Updated patch.

I moved the code down a few blocks, such that we only test access to
/dev/kvm if the "Enable kernel / hardware acceleration" checkbox is
selected.  This limits our scope correctly.

I also use os.access() to test permissions, rather than open().  This is
much cleaner.

:-Dustin

** Attachment added: "virt-manager_test_kvm_perms.debdiff"
   http://launchpadlibrarian.net/14049356/virt-manager_test_kvm_perms.debdiff

-- 
virDomainCreateLinux() failed Timed out while reading console startup output
https://bugs.launchpad.net/bugs/187048
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to