[pve-devel] [PATCH qemu-server v8 4/7] feature #1027: virtio-fs support

Markus Frank m.frank at proxmox.com
Tue Feb 13 12:52:04 CET 2024


Thanks,

I already moved most of the code into a new PVE/QemuServer/Virtiofs.pm module.

Just an clarification & question concerning the queue-size:

On  2024-01-31 16:02, Fiona Ebner wrote:
>> +	push @$devices, '-chardev', "socket,id=virtfs$i,path=/var/run/virtiofsd/vm$vmid-fs$i";
>> +	push @$devices, '-device', 'vhost-user-fs-pci,queue-size=1024'
> 
> Any specific reason for queue-size=1024? Better performance than the
> default 128?

There was problem with Windows Guests:
https://bugzilla.redhat.com/show_bug.cgi?id=1873088
https://github.com/virtio-win/kvm-guest-drivers-windows/issues/764

queue-size=1024 is still in every documentation and every qemu command for virtiofs I have seen used 1024.
Would it better to add a parameter to configure this queue-size?




More information about the pve-devel mailing list