vfio-user: find and init PCI device
commita6e8d6d98e61a270bcbd1e611f2e1d71a80d86c5
authorJagannathan Raman <jag.raman@oracle.com>
Mon, 13 Jun 2022 20:26:27 +0000 (13 16:26 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 15 Jun 2022 15:43:42 +0000 (15 16:43 +0100)
treea9fdd395d22dd713343d5dae51b2bc4e14380706
parent87f7249ff6e37c541609e40b17d249af533003e1
vfio-user: find and init PCI device

Find the PCI device with specified id. Initialize the device context
with the QEMU PCI device

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>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 7798dbd730099b33fdd00c4c202cfe79e5c5c151.1655151679.git.jag.raman@oracle.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/remote/vfio-user-obj.c