[pve-devel] r6419 - in pve-storage/pve2: . PVE

svn-commits at proxmox.com svn-commits at proxmox.com
Fri Aug 5 07:20:14 CEST 2011


Author: dietmar
Date: 2011-08-05 07:20:14 +0200 (Fri, 05 Aug 2011)
New Revision: 6419

Modified:
   pve-storage/pve2/ChangeLog
   pve-storage/pve2/PVE/Storage.pm
Log:
	* PVE/Storage.pm (iscsi_device_list): return numeric values fo
	channel/ID/LUN



Modified: pve-storage/pve2/ChangeLog
===================================================================
--- pve-storage/pve2/ChangeLog	2011-08-04 11:01:39 UTC (rev 6418)
+++ pve-storage/pve2/ChangeLog	2011-08-05 05:20:14 UTC (rev 6419)
@@ -1,3 +1,8 @@
+2011-08-05  Proxmox Support Team  <support at proxmox.com>
+
+	* PVE/Storage.pm (iscsi_device_list): return numeric values fo
+	channel/ID/LUN
+
 2011-08-01  Proxmox Support Team  <support at proxmox.com>
 
 	* PVE/Storage.pm (iscsi_test_portal): factor out code to test if

Modified: pve-storage/pve2/PVE/Storage.pm
===================================================================
--- pve-storage/pve2/PVE/Storage.pm	2011-08-04 11:01:39 UTC (rev 6418)
+++ pve-storage/pve2/PVE/Storage.pm	2011-08-05 05:20:14 UTC (rev 6419)
@@ -925,9 +925,9 @@
 		'format' => 'raw', 
 		'size' => int($size / 2), 
 		'vmid' => 0, # not assigned to any vm
-		'channel' => $channel,
-		'id' => $id,
-		'lun' => $lun,
+		'channel' => int($channel),
+		'id' => int($id),
+		'lun' => int($lun),
 	    };
 
 	    #print "TEST: $target $session $host,$bus,$tg,$lun $blockdev\n"; 




More information about the pve-devel mailing list