Merge pull request #5695 from darfux/virtiofs-queue-size

runtime: Support virtiofs queue size for qemu and make it configurable
This commit is contained in:
Fabiano Fidêncio
2022-11-22 20:04:30 +01:00
committed by GitHub
10 changed files with 27 additions and 1 deletions

View File

@@ -2083,6 +2083,7 @@ func (q *qemu) AddDevice(ctx context.Context, devInfo interface{}, devType Devic
Type: config.VhostUserFS,
CacheSize: q.config.VirtioFSCacheSize,
Cache: q.config.VirtioFSCache,
QueueSize: q.config.VirtioFSQueueSize,
}
vhostDev.SocketPath = sockPath
vhostDev.DevID = id