[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 07/19] vfio-user: define vfio-user-server object
From: |
Jag Raman |
Subject: |
Re: [PATCH v6 07/19] vfio-user: define vfio-user-server object |
Date: |
Mon, 28 Feb 2022 19:14:21 +0000 |
> On Feb 21, 2022, at 10:37 AM, Stefan Hajnoczi <stefanha@redhat.com> wrote:
>
> On Thu, Feb 17, 2022 at 02:48:54AM -0500, Jagannathan Raman wrote:
>> +struct VfuObjectClass {
>> + ObjectClass parent_class;
>> +
>> + unsigned int nr_devs;
>> +
>> + /*
>> + * Can be set to shutdown automatically when all server object
>> + * instances are destroyed
>> + */
>> + bool auto_shutdown;
>
> This field is introduced but it is hardcoded to true. Is there a way to
> set it to false?
We could add a property to ’TYPE_REMOTE_MACHINE’ which indicates if
it would run as a server/daemon.
Thank you!
--
Jag
- [PATCH v6 00/19] vfio-user server in QEMU, Jagannathan Raman, 2022/02/17
- [PATCH v6 05/19] remote/machine: add vfio-user property, Jagannathan Raman, 2022/02/17
- [PATCH v6 03/19] qdev: unplug blocker for devices, Jagannathan Raman, 2022/02/17
- [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