[PATCH 7/7] conf: Store 'origstates' of PCI hostdevs in a bitmap

Ján Tomko jtomko at redhat.com
Thu Feb 2 15:33:17 UTC 2023


On a Thursday in 2023, Peter Krempa wrote:
>Refactor the code to use a bitmap with an enum to avoid ugly XML parser.
>

Looking at the new code, I think I'd end this sentence early:
Refactor the code to use a bitmap with an enum.

Jano

>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/domain_conf.c      | 97 ++++++++++++++++++-------------------
> src/conf/domain_conf.h      | 31 ++++--------
> src/conf/virconftypes.h     |  2 -
> src/hypervisor/virhostdev.c | 25 ++++++----
> 4 files changed, 72 insertions(+), 83 deletions(-)
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230202/5981a182/attachment.sig>


More information about the libvir-list mailing list