Re: [PATCH] drivers: virtio_blk: notify blk-core when hw-queue number changes

2016-08-01 Thread Paolo Bonzini
On 28/07/2016 10:18, Bob Liu wrote: >>> >> A guest might be migrated to other hosts with different num_queues, the >>> >> blk-core should aware of that else the reference of >vqs[qid] may >>> >> be wrong. >>> >> >>> >> Signed-off-by: Bob Liu >>> >> --- >>> >>

Re: [PATCH] drivers: virtio_blk: notify blk-core when hw-queue number changes

2016-08-01 Thread Paolo Bonzini
On 28/07/2016 10:18, Bob Liu wrote: >>> >> A guest might be migrated to other hosts with different num_queues, the >>> >> blk-core should aware of that else the reference of >vqs[qid] may >>> >> be wrong. >>> >> >>> >> Signed-off-by: Bob Liu >>> >> --- >>> >> drivers/block/virtio_blk.c | 3

Re: [PATCH] drivers: virtio_blk: notify blk-core when hw-queue number changes

2016-07-28 Thread Bob Liu
On 06/19/2016 06:10 AM, Paolo Bonzini wrote: > > > On 13/06/2016 11:58, Bob Liu wrote: >> A guest might be migrated to other hosts with different num_queues, the >> blk-core should aware of that else the reference of >vqs[qid] may be >> wrong. >> >> Signed-off-by: Bob Liu

Re: [PATCH] drivers: virtio_blk: notify blk-core when hw-queue number changes

2016-07-28 Thread Bob Liu
On 06/19/2016 06:10 AM, Paolo Bonzini wrote: > > > On 13/06/2016 11:58, Bob Liu wrote: >> A guest might be migrated to other hosts with different num_queues, the >> blk-core should aware of that else the reference of >vqs[qid] may be >> wrong. >> >> Signed-off-by: Bob Liu >> --- >>

Re: [PATCH] drivers: virtio_blk: notify blk-core when hw-queue number changes

2016-06-18 Thread Paolo Bonzini
On 13/06/2016 11:58, Bob Liu wrote: > A guest might be migrated to other hosts with different num_queues, the > blk-core should aware of that else the reference of >vqs[qid] may be > wrong. > > Signed-off-by: Bob Liu > --- > drivers/block/virtio_blk.c | 3 +++ > 1 file

Re: [PATCH] drivers: virtio_blk: notify blk-core when hw-queue number changes

2016-06-18 Thread Paolo Bonzini
On 13/06/2016 11:58, Bob Liu wrote: > A guest might be migrated to other hosts with different num_queues, the > blk-core should aware of that else the reference of >vqs[qid] may be > wrong. > > Signed-off-by: Bob Liu > --- > drivers/block/virtio_blk.c | 3 +++ > 1 file changed, 3

[PATCH] drivers: virtio_blk: notify blk-core when hw-queue number changes

2016-06-13 Thread Bob Liu
A guest might be migrated to other hosts with different num_queues, the blk-core should aware of that else the reference of >vqs[qid] may be wrong. Signed-off-by: Bob Liu --- drivers/block/virtio_blk.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH] drivers: virtio_blk: notify blk-core when hw-queue number changes

2016-06-13 Thread Bob Liu
A guest might be migrated to other hosts with different num_queues, the blk-core should aware of that else the reference of >vqs[qid] may be wrong. Signed-off-by: Bob Liu --- drivers/block/virtio_blk.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/block/virtio_blk.c