Solved vbox virtio disk support?

I see the options in
Code:
VBoxManage storagectl
but when I try to crete the storage gives me "Invalid controller type 11"
Code:
VBoxManage: error: Invalid controller type 11
VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component StorageControllerWrap, interface IStorageController, callee nsISupports
VBoxManage: error: Context: "COMSETTER(ControllerType)(StorageControllerType_VirtioSCSI)" at line 1177 of file VBoxManageStorageController.cpp

I am using

Code:
 VBoxManage storagectl <vmname> --name "Virt-sata" --add sata --controller VirtIO --portcount 4
 
VirtIO controller chipset type accepts only "virtio" system bus type (--add=system-bus-type):
Rich (BB code):
 % VBoxManage storagectl <vmname> --name "Virt-sata" --add virtio --controller VirtIO --portcount 4

The VirtualBox manual (html and PDF) seems poorly maintained, "virtio" system bus type is missing in the 8.27. VBoxManage storagectl chapter, but is listed executing the command
Rich (BB code):
 % VBoxManage storagectl
Usage:

VBoxManage storagectl       <uuid|vmname>
                            --name <name>
                            [--add ide|sata|scsi|floppy|sas|usb|pcie|virtio]
                            [--controller LSILogic|LSILogicSAS|BusLogic|
                                          IntelAHCI|PIIX3|PIIX4|ICH6|I82078|
                            [             USB|NVMe|VirtIO]
                            [--portcount <1-n>]
                            [--hostiocache on|off]
                            [--bootable on|off]
                            [--rename <name>]
                            [--remove]

Apparently VirtIO supports only --portcount 1.
 
VirtIO controller chipset type accepts only "virtio" system bus type (--add=system-bus-type):
Rich (BB code):
 % VBoxManage storagectl <vmname> --name "Virt-sata" --add virtio --controller VirtIO --portcount 4

The VirtualBox manual (html and PDF) seems poorly maintained, "virtio" system bus type is missing in the 8.27. VBoxManage storagectl chapter, but is listed executing the command
Rich (BB code):
 % VBoxManage storagectl
Usage:

VBoxManage storagectl       <uuid|vmname>
                            --name <name>
                            [--add ide|sata|scsi|floppy|sas|usb|pcie|virtio]
                            [--controller LSILogic|LSILogicSAS|BusLogic|
                                          IntelAHCI|PIIX3|PIIX4|ICH6|I82078|
                            [             USB|NVMe|VirtIO]
                            [--portcount <1-n>]
                            [--hostiocache on|off]
                            [--bootable on|off]
                            [--rename <name>]
                            [--remove]

Apparently VirtIO supports only --portcount 1.

got working! thanks! , interesting , in mine suuport the 4 ports..strange
 
Back
Top