[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 05/14] vfio-user: instantiate vfio-user context
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v4 05/14] vfio-user: instantiate vfio-user context |
Date: |
Thu, 16 Dec 2021 09:55:28 +0000 |
On Wed, Dec 15, 2021 at 10:35:29AM -0500, Jagannathan Raman wrote:
> +static void vfu_object_init_ctx(VfuObject *o, Error **errp)
> +{
> + ERRP_GUARD();
> +
> + if (o->vfu_ctx || !o->socket || !o->device ||
> + !phase_check(PHASE_MACHINE_READY)) {
> + return;
> + }
> +
> + if (o->err) {
> + error_propagate(errp, o->err);
Missing o->err = NULL because ownership has been passed to errp.
signature.asc
Description: PGP signature
- [PATCH v4 00/14] vfio-user server in QEMU, Jagannathan Raman, 2021/12/15
- [PATCH v4 01/14] configure, meson: override C compiler for cmake, Jagannathan Raman, 2021/12/15
- [PATCH v4 02/14] tests/avocado: Specify target VM argument to helper routines, Jagannathan Raman, 2021/12/15
- [PATCH v4 03/14] vfio-user: build library, Jagannathan Raman, 2021/12/15
- [PATCH v4 05/14] vfio-user: instantiate vfio-user context, Jagannathan Raman, 2021/12/15
- Re: [PATCH v4 05/14] vfio-user: instantiate vfio-user context,
Stefan Hajnoczi <=
- [PATCH v4 06/14] vfio-user: find and init PCI device, Jagannathan Raman, 2021/12/15
- [PATCH v4 07/14] vfio-user: run vfio-user context, Jagannathan Raman, 2021/12/15
[PATCH v4 08/14] vfio-user: handle PCI config space accesses, Jagannathan Raman, 2021/12/15