8ffffae virmdev: fix build on non-Linux

Authored and Committed by Roman Bogorodskiy 7 years ago
    virmdev: fix build on non-Linux
    
     - Make virMediatedDeviceNew() stub args match its prototype
     - Fix typo: virRerportError -> virReportError
     - Move MDEV_SYSFS_DEVICES definition out of the #ifdef __linux__ block
       so we don't have to stub virMediatedDeviceGetSysfsPath()
    
        
file modified
+7 -6