Configure virtio-scsi options via libvirt
Hi everyone,
I would like be able to configure virtio-scsi options num_queues, max_sectors, and cmd_per_lun via libvirt. Are there any plans to have this support?
Signature · 1 line
Mike Perez
Quoted 2 lines · Mike Perez
I would like be able to configure virtio-scsi options
num_queues,max_sectors, andcmd_per_lunvia libvirt. Are there any plans to have this support?
Hi Mike,
I'm not sure about the status of libvirt support for virtio-scsi options but in the meantime you can use <qemu:commandline> passthrough:
http://blog.vmsplice.net/2011/04/how-to-pass-qemu-command-line-options.html
Stefan
Quoted 11 lines · Stefan Hajnoczi
Quoted 2 lines · Mike Perez
I would like be able to configure virtio-scsi options
num_queues,max_sectors, andcmd_per_lunvia libvirt. Are there any plans to have this support?Hi Mike,
I'm not sure about the status of libvirt support for virtio-scsi options but in the meantime you can use <qemu:commandline> passthrough:http://blog.vmsplice.net/2011/04/how-to-pass-qemu-command-line-options.html
Stefan
Thanks Stefan,
My plan is to write the support in OpenStack, which unfortunately does not accept patches doing qemu passthrough:
http://lists.openstack.org/pipermail/openstack-dev/2013-November/018551.html
Signature · 1 line
Mike Perez
Il 08/05/2014 09:24, Mike Perez ha scritto:
Quoted 11 lines · Stefan Hajnoczi
Quoted 10 lines · Mike Perez
Quoted 2 lines
I would like be able to configure virtio-scsi options
num_queues,max_sectors, andcmd_per_lunvia libvirt. Are there any plans to have this support?Hi Mike,
I'm not sure about the status of libvirt support for virtio-scsi options but in the meantime you can use <qemu:commandline> passthrough:http://blog.vmsplice.net/2011/04/how-to-pass-qemu-command-line-options.html
Quoted 8 lines
Quoted 1 line
Stefan
Thanks Stefan,
My plan is to write the support in OpenStack, which unfortunately does not accept patches doing qemu passthrough:
http://lists.openstack.org/pipermail/openstack-dev/2013-November/018551.html
Why do you need such fine-grained control? The higher you go in the stack, the simpler configuration should be in my opinion.
For openstack, I think all you need is a singlequeue vs. multiqueue knob (setting num_queues = # VCPUs for multiqueue).
Paolo
Quoted 5 lines · Mike Perez
Hi everyone,
I would like be able to configure virtio-scsi options
num_queues,max_sectors, andcmd_per_lunvia libvirt. Are there any plans to have this support?
num_queues is supported for virtio-scsi controllers since libvirt 1.0.5:
<controller type='scsi' index='0' model='virtio-scsi'>
<driver queues='8'/>
</controller>
http://libvirt.org/git/?p=libvirt.git;a=commit;h=d4bf0a9
Jan
Quoted 8 lines · Ján Tomko
Quoted 5 lines · Mike Perez
Hi everyone,
I would like be able to configure virtio-scsi options
num_queues,max_sectors, andcmd_per_lunvia libvirt. Are there any plans to have this support?
num_queuesis supported for virtio-scsi controllers since libvirt 1.0.5:
If anyone wants to contribute patches for the other two properties I would not be a very difficult/large coding job to undertake. I'm not aware of anyone else who is currently working on it, so anyone please jump right in...
Regards,
Daniel
Signature · 4 lines
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|