vfio-user: run vfio-user context
commit9fb3fba14953958944aea18f7a5720456b7fac8f
authorJagannathan Raman <jag.raman@oracle.com>
Mon, 13 Jun 2022 20:26:28 +0000 (13 16:26 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 15 Jun 2022 15:43:42 +0000 (15 16:43 +0100)
treedc94d161468a83e3ac706b62871fd0363e11765c
parenta6e8d6d98e61a270bcbd1e611f2e1d71a80d86c5
vfio-user: run vfio-user context

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