[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC 4/8] ioregionfd: Introduce IORegionDFObject type
From: |
Elena |
Subject: |
Re: [RFC 4/8] ioregionfd: Introduce IORegionDFObject type |
Date: |
Tue, 15 Feb 2022 10:18:12 -0800 |
On Mon, Feb 14, 2022 at 02:37:21PM +0000, Stefan Hajnoczi wrote:
> On Mon, Feb 07, 2022 at 11:22:18PM -0800, Elena Ufimtseva wrote:
> > Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
> > ---
> > meson.build | 15 ++-
> > qapi/qom.json | 32 +++++-
> > include/hw/remote/ioregionfd.h | 40 +++++++
> > hw/remote/ioregionfd.c | 196 +++++++++++++++++++++++++++++++++
> > Kconfig.host | 3 +
> > MAINTAINERS | 2 +
> > hw/remote/Kconfig | 4 +
> > hw/remote/meson.build | 1 +
> > meson_options.txt | 2 +
> > scripts/meson-buildoptions.sh | 3 +
> > 10 files changed, 294 insertions(+), 4 deletions(-)
> > create mode 100644 include/hw/remote/ioregionfd.h
> > create mode 100644 hw/remote/ioregionfd.c
> >
> > diff --git a/meson.build b/meson.build
> > index 96de1a6ef9..6483e754bd 100644
> > --- a/meson.build
> > +++ b/meson.build
> > @@ -258,6 +258,17 @@ if targetos != 'linux' and
> > get_option('multiprocess').enabled()
> > endif
> > multiprocess_allowed = targetos == 'linux' and not
> > get_option('multiprocess').disabled()
> >
> > +# TODO: drop this limitation
>
> What is the reason for the limitation?
>
The idea is to limit use of this acceleration until the API is more
generic and does not need mutliprocess.
> > +if not multiprocess_allowed and not get_option('ioregionfd').disabled()
> > + error('To enable ioregiofd support, enable mutliprocess option.')
>
> s/ioregiofd/ioregionfd/
!
Thanks Stefan!
- [RFC 0/8] ioregionfd introduction, Elena Ufimtseva, 2022/02/08
- [RFC 2/8] multiprocess: place RemoteObject definition in a header file, Elena Ufimtseva, 2022/02/08
- [RFC 1/8] ioregionfd: introduce a syscall and memory API, Elena Ufimtseva, 2022/02/08
- [RFC 7/8] multiprocess: add ioregionfd memory region in proxy, Elena Ufimtseva, 2022/02/08
- [RFC 5/8] multiprocess: prepare ioregionfds for remote device, Elena Ufimtseva, 2022/02/08
- [RFC 3/8] ioregionfd: introduce memory API functions, Elena Ufimtseva, 2022/02/08
- [RFC 6/8] multiprocess: add MPQEMU_CMD_BAR_INFO, Elena Ufimtseva, 2022/02/08
- [RFC 8/8] multiprocess: handle ioregionfd commands, Elena Ufimtseva, 2022/02/08