mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-17 23:08:07 +00:00
dm: virtio-blk: add multiple queues (mq) support
Virtio-blk can support multiple virtqueues (mq) which is negotiated between FE and BE by the feature bit VIRTIO_BLK_F_MQ. The virtqueue number of virtio-blk can be specified by "mq=x" in the parameter. For example: "virtio-blk,iothread,mq=2,..." Tracked-On: #8612 Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
committed by
acrnsi-robot
parent
74bc2f7cfb
commit
562c22fb4e
@@ -233,6 +233,12 @@ virtio_uses_msix(void)
|
||||
return virtio_msix;
|
||||
}
|
||||
|
||||
int
|
||||
guest_cpu_num(void)
|
||||
{
|
||||
return guest_ncpus;
|
||||
}
|
||||
|
||||
size_t
|
||||
high_bios_size(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user