Re: [libvirt] [PATCH 11/18] virpcimock: Store PCI address as ints not string

2019-08-17 Thread Michal Prívozník
On 8/16/19 10:56 PM, Daniel Henrique Barboza wrote: > > > On 8/14/19 8:57 AM, Michal Privoznik wrote: >> In upcoming patches we will need only some portions of the PCI >> address. To construct that easily, it's better if the PCI address >> of a device is stored as four integers rather than one

Re: [libvirt] [PATCH 11/18] virpcimock: Store PCI address as ints not string

2019-08-16 Thread Daniel Henrique Barboza
On 8/14/19 8:57 AM, Michal Privoznik wrote: In upcoming patches we will need only some portions of the PCI address. To construct that easily, it's better if the PCI address of a device is stored as four integers rather than one string. Signed-off-by: Michal Privoznik ---

[libvirt] [PATCH 11/18] virpcimock: Store PCI address as ints not string

2019-08-14 Thread Michal Privoznik
In upcoming patches we will need only some portions of the PCI address. To construct that easily, it's better if the PCI address of a device is stored as four integers rather than one string. Signed-off-by: Michal Privoznik --- tests/virpcimock.c | 76