Re: [PATCH V6 1/3] libxl: Add support for generic virtio device

2022-12-06 Thread Oleksandr Tyshchenko
On 05.12.22 13:29, Viresh Kumar wrote: Hello Viresh On 05-12-22, 11:45, Viresh Kumar wrote: +rc = libxl__backendpath_parse_domid(gc, be_path, &virtio->backend_domid); +if (rc) goto out; + +rc = libxl__parse_backend_path(gc, be_path, &dev); +if (rc) goto out; The same quest

Re: [PATCH V6 1/3] libxl: Add support for generic virtio device

2022-12-06 Thread Oleksandr Tyshchenko
On 05.12.22 08:15, Viresh Kumar wrote: Hi Oleksandr, Hello Viresh On 02-12-22, 16:52, Oleksandr Tyshchenko wrote: This patch adds basic support for configuring and assisting generic Virtio backend which could run in any domain. An example of domain configuration for mmio based Virtio I

Re: [PATCH V6 1/3] libxl: Add support for generic virtio device

2022-12-05 Thread Viresh Kumar
On 05-12-22, 11:45, Viresh Kumar wrote: > > > +rc = libxl__backendpath_parse_domid(gc, be_path, > > > &virtio->backend_domid); > > > +if (rc) goto out; > > > + > > > +rc = libxl__parse_backend_path(gc, be_path, &dev); > > > +if (rc) goto out; > > > > The same question for dev vari

Re: [PATCH V6 1/3] libxl: Add support for generic virtio device

2022-12-04 Thread Viresh Kumar
Hi Oleksandr, On 02-12-22, 16:52, Oleksandr Tyshchenko wrote: > > This patch adds basic support for configuring and assisting generic > > Virtio backend which could run in any domain. > > > > An example of domain configuration for mmio based Virtio I2C device is: > > virtio = ["type=virtio,device

Re: [PATCH V6 1/3] libxl: Add support for generic virtio device

2022-12-02 Thread Oleksandr Tyshchenko
On 08.11.22 13:23, Viresh Kumar wrote: Hello Viresh [sorry for the possible format issues if any] This patch adds basic support for configuring and assisting generic Virtio backend which could run in any domain. An example of domain configuration for mmio based Virtio I2C device is: virt

[PATCH V6 1/3] libxl: Add support for generic virtio device

2022-11-08 Thread Viresh Kumar
This patch adds basic support for configuring and assisting generic Virtio backend which could run in any domain. An example of domain configuration for mmio based Virtio I2C device is: virtio = ["type=virtio,device22,transport=mmio"] Also to make this work on Arm, allocate Virtio MMIO params (IR