[Virtio-fs] [Qemu] how to use viriofs in qemu without NUMA
Dr. David Alan Gilbert
dgilbert at redhat.com
Tue Jul 5 08:03:57 UTC 2022
* Thomas Huth (thuth at redhat.com) wrote:
> On 05/07/2022 03.02, Zhao, Shirley wrote:
> > Hi, all,
> >
> > I want to use virtiofs to share folder between host and guest.
> >
> > From the guide, it must set the NUMA node.
> > https://virtio-fs.gitlab.io/howto-qemu.html
> >
> > But my guest doesn’t support NUMA.
> >
> > Is there any guide to use qemu + virtiofs without NUMA?
> >
> > Or does qemu have any plan to support it?
>
> Hi!
>
> At least on s390x, you can also specify the memory backend via the -machine
> option instead of using the -numa option, e.g.:
>
> qemu-system-s390x -machine memory-backend=mem \
> -object memory-backend-file,id=mem,...
>
> Not sure whether that works on other architectures, too, though. Stefan,
> David, do you know?
Right, that's the way I do it on x86.
We wrote virtiofs before the memory-backend option existed, which is why
the old docs talk about using the NUMA stuff.
Dave
> Thomas
>
--
Dr. David Alan Gilbert / dgilbert at redhat.com / Manchester, UK
More information about the Virtio-fs
mailing list