> On Jan 11, 2022, at 4:36 AM, Stefan Hajnoczi wrote:
>
> On Mon, Jan 10, 2022 at 05:56:25PM +, John Levon wrote:
>> On Thu, Jan 06, 2022 at 01:35:32PM +, Stefan Hajnoczi wrote:
>>
>>> +static void vfu_object_attach_ctx(void *opaque)
>>> +{
>>> +VfuObject *o = opaque;
On Mon, Jan 10, 2022 at 05:56:25PM +, John Levon wrote:
> On Thu, Jan 06, 2022 at 01:35:32PM +, Stefan Hajnoczi wrote:
>
> > > > >> +static void vfu_object_attach_ctx(void *opaque)
> > > > >> +{
> > > > >> +VfuObject *o = opaque;
> > > > >> +GPollFD pfds[1];
> > > > >> +int ret
On Thu, Jan 06, 2022 at 01:35:32PM +, Stefan Hajnoczi wrote:
> > > >> +static void vfu_object_attach_ctx(void *opaque)
> > > >> +{
> > > >> +VfuObject *o = opaque;
> > > >> +GPollFD pfds[1];
> > > >> +int ret;
> > > >> +
> > > >> +qemu_set_fd_handler(o->vfu_poll_fd, NULL, NULL,
> ; Marc-André Lureau
> > ; Philippe Mathieu-Daudé
> > ; pbonz...@redhat.com; alex.ben...@linaro.org;
> > th...@redhat.com; cr...@redhat.com; waine...@redhat.com;
> > bl...@redhat.com; Elena Ufimtseva ; John
> > Levon ; John Johnson
> > ; Thanos Makatos
>
org;
> th...@redhat.com; cr...@redhat.com; waine...@redhat.com;
> bl...@redhat.com; Elena Ufimtseva ; John
> Levon ; John Johnson
> ; Thanos Makatos
> ; Swapnil Ingle
> Subject: Re: [PATCH v4 07/14] vfio-user: run vfio-user context
>
>
>
> > On Dec 16, 2021, at 6:17 AM
> On Dec 20, 2021, at 3:29 AM, Stefan Hajnoczi wrote:
>
> On Fri, Dec 17, 2021 at 05:59:48PM +, Jag Raman wrote:
>>
>>
>>> On Dec 16, 2021, at 6:17 AM, Stefan Hajnoczi wrote:
>>>
>>> On Wed, Dec 15, 2021 at 10:35:31AM -0500, Jagannathan Raman wrote:
@@ -114,6 +118,62 @@ static void
On Fri, Dec 17, 2021 at 05:59:48PM +, Jag Raman wrote:
>
>
> > On Dec 16, 2021, at 6:17 AM, Stefan Hajnoczi wrote:
> >
> > On Wed, Dec 15, 2021 at 10:35:31AM -0500, Jagannathan Raman wrote:
> >> @@ -114,6 +118,62 @@ static void vfu_object_set_device(Object *obj, const
> >> char *str, Error
> On Dec 16, 2021, at 6:17 AM, Stefan Hajnoczi wrote:
>
> On Wed, Dec 15, 2021 at 10:35:31AM -0500, Jagannathan Raman wrote:
>> @@ -114,6 +118,62 @@ static void vfu_object_set_device(Object *obj, const
>> char *str, Error **errp)
>> vfu_object_init_ctx(o, errp);
>> }
>>
>> +static void vf
On Wed, Dec 15, 2021 at 10:35:31AM -0500, Jagannathan Raman wrote:
> @@ -114,6 +118,62 @@ static void vfu_object_set_device(Object *obj, const
> char *str, Error **errp)
> vfu_object_init_ctx(o, errp);
> }
>
> +static void vfu_object_ctx_run(void *opaque)
> +{
> +VfuObject *o = opaque;
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
Signed-off-by: John G Johnson
Signed-off-by: Jagannathan Raman
---
hw/remote/vfio-us
10 matches
Mail list logo