vmm: config: Add poll_queue property to DiskConfig

Recently, vhost_user_block gained the ability of actively polling the
queue, a feature that can be disabled with the poll_queue property.

This change adds this property to DiskConfig, so it can be used
through the "disk" argument.

For the moment, it can only be used when vhost_user=true, but this
will change once virtio-block gets the poll_queue feature too.

Fixes: #787

Signed-off-by: Sergio Lopez <slp@redhat.com>
This commit is contained in:
Sergio Lopez
2020-02-20 16:49:16 +01:00
committed by Sebastien Boeuf
parent 378dd81204
commit d2f1749edb
2 changed files with 24 additions and 0 deletions

View File

@@ -297,6 +297,9 @@ components:
wce:
type: boolean
default: true
poll_queue:
type: boolean
default: true
NetConfig:
type: object