Comment 25 for bug 187048

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

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