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(a)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(-)