-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
virtiofs File::metadata support #1516
Comments
To the best of my knowledge, I discovered yesterday that this issue also affects Uhyve. |
I started work on this yesterday. It seems straight forward, though I am not super confident about my understanding of virtiofs. |
Is anyone really confident about their understanding of virtio-fs? Been having some troubles myself as of the past two days - mind if I ask you for the precise QEMU command that you used? I'm facing another issue and I'm currently trying to reproduce it - I'd be interested in reproducing this issue locally as well, and your attempt seems to be fairing way better than mine. |
This is what I am using right now to run my application: virtiofsd --shared-dir=./test_dir --socket-path=/tmp/vhostqemu &
qemu-system-x86_64\
-cpu host\
-enable-kvm\
-display none\
-smp 1\
-m 8G\
-serial stdio\
-kernel ~/Downloads/hermit-loader-x86_64\
-initrd target/x86_64-unknown-hermit/debug/hermit-rs-template\
-chardev socket,id=char0,path=/tmp/vhostqemu\
-device vhost-user-fs-pci,queue-size=1024,chardev=char0,tag=root\
-object memory-backend-file,id=mem,size=8G,mem-path=/dev/shm,share=on\
-numa node,memdev=mem |
Currently, getting the metadata for a handle to a virtiofs file fails with an InvalidInput error:
This, however, works fine.
I did not test other filesystems, they may or may not have the same issue
The text was updated successfully, but these errors were encountered: