]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virpcimock: Store PCI address as ints not string
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 13 Aug 2019 11:22:58 +0000 (13:22 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Sat, 17 Aug 2019 10:08:28 +0000 (12:08 +0200)
commit76b42294380d40282ed29560e4ae4a7491b9df05
tree7366218ff4aba168358c58bb367f1488f696dee0
parentaf3ddc1369124d308785a6bec131cd831cd03960
virpcimock: Store PCI address as ints not string

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 <mprivozn@redhat.com>
Tested-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
tests/virpcimock.c