On 06/04/2015 06:44 PM, Michael S. Tsirkin wrote:
> On Thu, Jun 04, 2015 at 05:28:46AM -0400, Jason Wang wrote:
>> > Currently we allocate one vhost log per vhost device. This is sub
>> > optimal when:
>> >
>> > - Guest has several device with vhost as backend
>> > - Guest has multiqueue devices
On Thu, Jun 04, 2015 at 05:28:46AM -0400, Jason Wang wrote:
> Currently we allocate one vhost log per vhost device. This is sub
> optimal when:
>
> - Guest has several device with vhost as backend
> - Guest has multiqueue devices
>
> In the above cases, we can avoid the memory allocation by shari
Currently we allocate one vhost log per vhost device. This is sub
optimal when:
- Guest has several device with vhost as backend
- Guest has multiqueue devices
In the above cases, we can avoid the memory allocation by sharing a
single vhost log among all the vhost devices. This is done through: