diff --git a/emhttp/plugins/dynamix/include/SysDevs.php b/emhttp/plugins/dynamix/include/SysDevs.php
index 1ba42a2b5..0732e51bb 100644
--- a/emhttp/plugins/dynamix/include/SysDevs.php
+++ b/emhttp/plugins/dynamix/include/SysDevs.php
@@ -219,7 +219,7 @@ case 't1':
echo ' ';
echo ' ';
- if ($file_numvfs != $num_vfs) echo " ".sprintf(_("Pending action or reboot"))."";
+ if ($file_numvfs != $num_vfs) echo " ".sprintf(_("Pending action or reboot"))."";
echo "";
foreach($sriov[$pciaddress]['vfs'] as $vrf) {
@@ -281,10 +281,16 @@ case 't1':
echo "";
echo ' ';
echo ' ';
- echo ' ';
+ if (isset($sriov_devices_settings[$pciaddress])) {
+ $filevfio = $sriov_devices_settings[$pciaddress]['vfio'] == 1 ? true : false;
+ } else $filevfio = false;
+ $vfiocheck = $vrf['driver'] == "vfio-pci" ? true:false;
+ echo ' ';
if ($vrf['driver'] != "vfio-pci") echo _("Current").": ";
echo $vrf['driver'] == "vfio-pci" ? _("Bound to VFIO") : strtoupper($vrf['mac']);
- echo " ";
+ $vfstatus ="";
+ if ($filevfio != $vfiocheck || (strtoupper($vrf['mac']) != $mac && $mac != null && $vrf['mac']!=null )) $vfstatus = " ".sprintf(_("Pending action or reboot"));
+ echo " $vfstatus";
echo "";
}
}