fix iscsi size bug

This commit is contained in:
Dietmar Maurer
2011-11-28 07:38:02 +01:00
parent 3af60e62fa
commit 02fae308ed

View File

@ -916,7 +916,7 @@ sub iscsi_device_list {
$res->{$target}->{$volid} = {
'format' => 'raw',
'size' => int($size / 2),
'size' => int($size * 512),
'vmid' => 0, # not assigned to any vm
'channel' => int($channel),
'id' => int($id),