Re: [PATCH 2/2] xen-pciback: prepare for the split for stub and PV

2021-09-23 Thread Stefano Stabellini
On Thu, 23 Sep 2021, Oleksandr Andrushchenko wrote: > On 23.09.21 12:05, Juergen Gross wrote: > > On 23.09.21 11:02, Oleksandr Andrushchenko wrote: > >> > >> On 23.09.21 00:10, Stefano Stabellini wrote: > >>> On Wed, 22 Sep 2021, Oleksandr Andrushchenko wrote: > --- a/drivers/xen/xen-pciback/x

Re: [PATCH 2/2] xen-pciback: prepare for the split for stub and PV

2021-09-23 Thread Oleksandr Andrushchenko
On 23.09.21 12:05, Juergen Gross wrote: > On 23.09.21 11:02, Oleksandr Andrushchenko wrote: >> >> On 23.09.21 00:10, Stefano Stabellini wrote: >>> On Wed, 22 Sep 2021, Oleksandr Andrushchenko wrote: --- a/drivers/xen/xen-pciback/xenbus.c +++ b/drivers/xen/xen-pciback/xenbus.c @@ -74

Re: [PATCH 2/2] xen-pciback: prepare for the split for stub and PV

2021-09-23 Thread Juergen Gross
On 23.09.21 11:02, Oleksandr Andrushchenko wrote: On 23.09.21 00:10, Stefano Stabellini wrote: On Wed, 22 Sep 2021, Oleksandr Andrushchenko wrote: --- a/drivers/xen/xen-pciback/xenbus.c +++ b/drivers/xen/xen-pciback/xenbus.c @@ -743,6 +743,9 @@ const struct xen_pcibk_backend *__read_mostly xe

Re: [PATCH 2/2] xen-pciback: prepare for the split for stub and PV

2021-09-23 Thread Oleksandr Andrushchenko
On 23.09.21 00:10, Stefano Stabellini wrote: > On Wed, 22 Sep 2021, Oleksandr Andrushchenko wrote: >> From: Oleksandr Andrushchenko >> >> Currently PCI backend implements multiple functionalities at a time. >> To name a few: >> 1. it is used as a database for assignable PCI devices, e.g. xl >>

Re: [PATCH 2/2] xen-pciback: prepare for the split for stub and PV

2021-09-22 Thread Stefano Stabellini
On Wed, 22 Sep 2021, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Currently PCI backend implements multiple functionalities at a time. > To name a few: > 1. it is used as a database for assignable PCI devices, e.g. xl >pci-assignable-{add|remove|list} manipulates that li

[PATCH 2/2] xen-pciback: prepare for the split for stub and PV

2021-09-22 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Currently PCI backend implements multiple functionalities at a time. To name a few: 1. it is used as a database for assignable PCI devices, e.g. xl pci-assignable-{add|remove|list} manipulates that list. So, whenever the toolstack needs to know which PCI device