Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion endpoints/lib/vboxconnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -5719,7 +5719,8 @@ private function _util_getIgnoreFlushKey($port,$device,$cType) {
'buslogic' => 'buslogic',
'lsilogicsas' => 'lsilogicsas',
'usb' => 'usb',
'nvme' => 'nvme'
'nvme' => 'nvme',
'virtioscsi' => 'virtioscsi'
);

if(!isset($cTypes[strtolower($cType)])) {
Expand Down
Binary file added images/vbox/virtio_scsi_add_16px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/vbox/virtio_scsi_add_disabled_16px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/vbox/virtio_scsi_collapse_16px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/vbox/virtio_scsi_expand_16px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 23 additions & 3 deletions js/phpvirtualbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -4824,9 +4824,13 @@ var vboxStorage = {
*/
getBusIconName: function(bus) {
if(vboxStorage[bus].displayInherit) bus = vboxStorage[bus].displayInherit
return bus.toLowerCase();
if (vboxStorage[bus].iconName) {
return vboxStorage[bus].iconName;
} else {
return bus.toLowerCase();
}
},

IDE: {
maxPortCount: 2,
limitOneInstance: true,
Expand Down Expand Up @@ -4882,6 +4886,7 @@ var vboxStorage = {
return s;
}
},

SAS: {
maxPortCount: 8,
maxDevicesPerPortCount: 1,
Expand All @@ -4897,7 +4902,6 @@ var vboxStorage = {
},
displayInherit: 'SATA'
},


Floppy: {
maxPortCount: 1,
Expand Down Expand Up @@ -4939,6 +4943,22 @@ var vboxStorage = {
return s;
},
displayInherit: 'IDE'
},

VirtioSCSI: {
iconName: 'virtio_scsi',
maxPortCount: 256,
maxDevicesPerPortCount: 1,
types: ['VirtioSCSI'],
driveTypes: ['disk'],
slotName: function(p,d) { return trans('virtio-scsi Port %1','VBoxGlobal', null, 'StorageSlot').replace('%1',p); },
slots: function() {
var s = {};
for(var i = 0; i < 8; i++) {
s[i+'-0'] = trans('virtio-scsi Port %1','VBoxGlobal', null, 'StorageSlot').replace('%1',i);
}
return s;
}
}
};

Expand Down