[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 10/19] vfio-user: run vfio-user context
From: |
Eric Blake |
Subject: |
Re: [PATCH v6 10/19] vfio-user: run vfio-user context |
Date: |
Fri, 25 Feb 2022 10:06:22 -0600 |
User-agent: |
NeoMutt/20211029-364-42e4ad |
On Thu, Feb 17, 2022 at 02:48:57AM -0500, Jagannathan Raman wrote:
> Setup a handler to run vfio-user context. The context is driven by
> messages to the file descriptor associated with it - get the fd for
> the context and hook up the handler with it
>
> Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
> Signed-off-by: John G Johnson <john.g.johnson@oracle.com>
> Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
> ---
> qapi/misc.json | 23 ++++++++++
> hw/remote/vfio-user-obj.c | 96 ++++++++++++++++++++++++++++++++++++++-
> 2 files changed, 118 insertions(+), 1 deletion(-)
>
> diff --git a/qapi/misc.json b/qapi/misc.json
> index e8054f415b..9d7f12ab04 100644
> --- a/qapi/misc.json
> +++ b/qapi/misc.json
> @@ -527,3 +527,26 @@
> 'data': { '*option': 'str' },
> 'returns': ['CommandLineOptionInfo'],
> 'allow-preconfig': true }
> +
> +##
> +# @VFU_CLIENT_HANGUP:
> +#
> +# Emitted when the client of a TYPE_VFIO_USER_SERVER closes the
> +# communication channel
> +#
> +# @id: ID of the TYPE_VFIO_USER_SERVER object
> +#
> +# @device: ID of attached PCI device
> +#
> +# Since: 6.3
7.0
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
- [PATCH v6 07/19] vfio-user: define vfio-user-server object, (continued)
- [PATCH v6 07/19] vfio-user: define vfio-user-server object, Jagannathan Raman, 2022/02/17
- [PATCH v6 02/19] tests/avocado: Specify target VM argument to helper routines, Jagannathan Raman, 2022/02/17
- [PATCH v6 04/19] remote/machine: add HotplugHandler for remote machine, Jagannathan Raman, 2022/02/17
- [PATCH v6 06/19] vfio-user: build library, Jagannathan Raman, 2022/02/17
- [PATCH v6 10/19] vfio-user: run vfio-user context, Jagannathan Raman, 2022/02/17
- [PATCH v6 08/19] vfio-user: instantiate vfio-user context, Jagannathan Raman, 2022/02/17
- [PATCH v6 12/19] vfio-user: IOMMU support for remote device, Jagannathan Raman, 2022/02/17
- [PATCH v6 09/19] vfio-user: find and init PCI device, Jagannathan Raman, 2022/02/17