Thread (14 messages) 14 messages, 5 authors, 2015-12-15

Re: [RFC PATCH 2/2] block: virtio-blk: support multi virt queues per virtio-blk device

From: Paolo Bonzini <pbonzini@redhat.com>
Date: 2014-06-17 15:53:36
Also in: lkml, virtualization

Il 17/06/2014 17:50, Ming Lei ha scritto:
quoted
quoted
It would be nice to allocate virtqueues dynamically instead of
hardcoding the limit.  virtio-scsi also allocates virtqueues
dynamically.
virtio-scsi may have lots of LUN, but virtio-blk only has one disk
which needn't lots of hardware queues.
If you want to do queue steering based on the guest VCPU number, the 
number of queues must be = to the number of VCPUs shouldn't it?

I tried using a divisor of the number of VCPUs, but couldn't get the 
block layer to deliver interrupts to the right VCPU.

Paolo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help