-
Notifications
You must be signed in to change notification settings - Fork 767
qemu: Add virtiofs support on Linux #1628
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
Conversation
|
Huh so Cirrus CI is failing...it would seem the Go version being installed there is older than Lima's minimum? Lima's |
I guess replacing |
This adds support for using virtiofs to mount filesystems on Linux hosts, via QEMU's vhost-user-fs-pci device + the Rust implementation of virtiofsd. In a simple "benchmark" running sha256sum on a copy of the Windows 11 ARM64 VHDK (because it's a large file I randomly had lying around): - reverse-sshfs took ~21s - 9p took ~13-15s - virtiofs took ~6-7s (For comparison, running it directly on the host system took ~5s.) This is marked as "experimental" because it has undergone testing by...me and relies on additional tools installed other than just QEMU. Unfortunately, this does *not* include support for DAX, because that's not merged into upstream QEMU yet, making it rather difficult to test. Ref. lima-vm#20. Signed-off-by: Ryan Gonzalez <[email protected]>
|
@AkihiroSuda oops thanks for the info, switched to go-multierror now |
AkihiroSuda
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
This adds support for using virtiofs to mount filesystems on Linux hosts, via QEMU's vhost-user-fs-pci device + the Rust implementation of virtiofsd. In a simple "benchmark" running sha256sum on a copy of the Windows 11 ARM64 VHDK (because it's a large file I randomly had lying around):
(For comparison, running it directly on the host system took ~5s.)
This is marked as "experimental" because it has undergone testing by...me and relies on additional tools installed other than just QEMU.
Unfortunately, this does not include support for DAX, because that's not merged into upstream QEMU yet, making it rather difficult to test.
Ref. #20.