[libvirt] [PATCHv3 4/7] xen_common: Split per-PCI logic from xenParsePCI()

Ján Tomko jtomko at redhat.com
Mon Jun 11 13:14:19 UTC 2018


On Mon, May 28, 2018 at 12:28:23AM +0200, Fabiano Fidêncio wrote:
>xenParsePCI() does a lot of stuff and, in order to make things cleaner,
>let's split it in two new functions:
>- xenParsePCI(): it's a new function that keeps the old name. It's
>responsible for the whole per-PCI logic from the old xenParsePCI();
>- xenParsePCIList(): it's basically the old xenParsePCI(), but now it
>just iterates over the list of PCIs, calling xenParsePCI() per each PCI.
>
>This patch is basically preparing the ground for the future when
>typesafe virConf acessors will be used.
>
>Signed-off-by: Fabiano Fidêncio <fabiano at fidencio.org>
>---
> src/xenconfig/xen_common.c | 167 ++++++++++++++++++++++++---------------------
> 1 file changed, 89 insertions(+), 78 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180611/d4827972/attachment-0001.sig>


More information about the libvir-list mailing list