[libvirt] Configure virtio-scsi options via libvirt

Paolo Bonzini pbonzini at redhat.com
Thu May 8 08:44:16 UTC 2014


Il 08/05/2014 09:24, Mike Perez ha scritto:
> On 10:08 Wed 07 May     , Stefan Hajnoczi wrote:
>> On Tue, May 06, 2014 at 04:13:50PM -0700, Mike Perez wrote:
>>> 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?
>>
>> 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

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




More information about the libvir-list mailing list