How to config VIRTIO_BLK_QUEUES?

Hello Openebula Team,

I read that opennebula version 6.8 has the feature VIRTIO_BLK_QUEUES. I created a VM, added a disk, and changed the VIRTIO_BLK_QUEUES configuration, but it seems not to be updating. The FEATURES list only shows VIRTIO_SCSI_QUEUES and QEMU_AGENT. I tried updating it again, but it remains the same, even though the log indicates a successful preconfig. How can I confirm that VIRTIO_BLK_QUEUES is working, or how can I change its value?


**Versions of the related components and OS (frontend, hypervisors, VMs): Ubuntu 22.04 and Opennebula 6.8

Thank you,

Check if onevm show <vm_id> shows the CPU feature being added. If not try to add the CPU feature with onevm updateconf and then check again.

I’m really thankful for your feedback!!!
I created config file:

FEATURES=[
  GUEST_AGENT="yes",
  VIRTIO_SCSI_QUEUES="2",
  VIRTIO_BLK_QUEUES="2"]

and run onevm updateconfig 2 config.txt
Result onevm show 2:

  PASSWORD="alb9WE/ZKBSdzKp0Ma2Cvg==",
  SSH_PUBLIC_KEY="",
  TARGET="hda" ]
CPU="2"
FEATURES=[
  GUEST_AGENT="yes",
  VIRTIO_SCSI_QUEUES="2" ]
MEMORY="1024"
TEMPLATE_ID="1"

It still doesn’t work. Do I need to configure anything else on the KVM host?
Thanks,

Thanks a lot for showcasing this. We actually had a bug which is now reported and fixed one.vm.updateconf is ignoring VIRTIO_BLK_QUEUES · Issue #6414 · OpenNebula/one · GitHub.