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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
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(-)

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux