From: Max Gurtovoy <mgurtovoy@xxxxxxxxxx>
Add a new attribute that will define the number of virt queues to be
created for the vdpasim device.
Signed-off-by: Max Gurtovoy <mgurtovoy@xxxxxxxxxx>
[sgarzare: replace kmalloc_array() with kcalloc()]
Signed-off-by: Stefano Garzarella <sgarzare@xxxxxxxxxx>
---
v1:
- use kcalloc() instead of kmalloc_array() since some function expects
variables initialized to zero