lyallp Veteran
Joined: 15 Jul 2004 Posts: 1599 Location: Adelaide/Australia
|
Posted: Wed Oct 09, 2024 5:28 am Post subject: FYI: Qemu Guest of Gentoo mounting host filesystem |
|
|
Because I am a masochist, I installed Gentoo inside a QEMU VM on my Gentoo system.
Part of that setup was to mount my /tmp via virtiofs to the guest system and setup portage to use that /tmp for building.
I figured, given the host /tmp is a ramfs, things would overall, be faster to build.
All things seemed to be going well, until I did my first 'emerge --update @world'
Big mistake.
Turns out, it appears virtiofs does not support (or at least I did not have configured appropriately) to allow xattrs.
So, build after build in the VM failed with various forms of xattr or listxattr errors.
Re-mounting the host /tmp somewhere else (such as /mnt/tmp) meant that emerge started using the local guest /tmp filesystem, and thus provided support for xattrs which led to successful builds.
I just thought I would post my experience here, in case there are any fellow masochists out there.... _________________ ...Lyall |
|