[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 06/23] vfio-user: add vfio-user class and container
From: |
John Levon |
Subject: |
Re: [PATCH v3 06/23] vfio-user: add vfio-user class and container |
Date: |
Thu, 12 Jun 2025 07:02:26 -0700 |
On Thu, Jun 12, 2025 at 08:39:17AM +0200, Cédric Le Goater wrote:
> > +static void vfio_user_pci_realize(PCIDevice *pdev, Error **errp)
> > +{
> > + ERRP_GUARD();
> > + VFIOUserPCIDevice *udev = VFIO_USER_PCI(pdev);
> > + VFIOPCIDevice *vdev = VFIO_PCI_BASE(pdev);
> > + VFIODevice *vbasedev = &vdev->vbasedev;
> > + AddressSpace *as;
> > +
> > + /*
> > + * TODO: make option parser understand SocketAddress
> > + * and use that instead of having scalar options
> > + * for each socket type.
>
> Please take a look at vfu_object_class_init() to handle the
> "socket" property.
Thanks for the pointer: done. I had to switch to using JSON-style device
specification for this though, so updated docs too.
regards
john
Re: [PATCH v3 06/23] vfio-user: add vfio-user class and container, Cédric Le Goater, 2025/06/12
- Re: [PATCH v3 06/23] vfio-user: add vfio-user class and container,
John Levon <=
[PATCH v3 07/23] vfio-user: connect vfio proxy to remote server, John Levon, 2025/06/06
[PATCH v3 05/23] vfio-user: introduce vfio-user protocol specification, John Levon, 2025/06/06
Re: [PATCH v3 05/23] vfio-user: introduce vfio-user protocol specification, John Levon, 2025/06/10
Re: [PATCH v3 05/23] vfio-user: introduce vfio-user protocol specification, Cédric Le Goater, 2025/06/11
[PATCH v3 10/23] vfio-user: implement VFIO_USER_DEVICE_GET_INFO, John Levon, 2025/06/06