[SLOF] [PATCH v4] virtio-scsi: initialize vring avail queue buffers

Laurent Vivier lvivier at redhat.com
Tue Feb 7 02:42:51 AEDT 2017


On 06/02/2017 05:39, Alexey Kardashevskiy wrote:
> On 03/02/17 18:58, Laurent Vivier wrote:
>> On 03/02/2017 04:04, Alexey Kardashevskiy wrote:
>>> On 03/02/17 03:02, Laurent Vivier wrote:
>>>> Ping?
>>>
>>>
>>> Please repost with "Signed-off" or I can add the line myself but I need you
>>> ack for this. Thanks.
>>
>> Add the line, please.
>>
>> Signed-off-by: Laurent Vivier <lvivier at redhat.com>
> 
> 
> Thanks, applied.
> 
> I am just curious - why is this happening exactly and so stable? Is that
> because the guest kernel allocates rings beyond the very first 1G from your
> command line?

I think it was working because, in fact, the queues are initialized by
the setup-virt-queues before being used, just after the init function.
So, while the address given for the avail queue (zero or configured by
the previous kernel boot) can be accessed, all is fine.

Laurent



More information about the SLOF mailing list