On Wed, Feb 11, 2026 at 12:50:23 +0100, Michal Privoznik via Devel wrote: > From: Michal Privoznik <[email protected]> > > As it turns out, some users of the hyperv "host-model" mode might > want to override the hypervisor defaults. For instance disable a > feature that's on by default, or vice versa. Currently, this is > not possible because as soon as our XML parser sees the > "host-model" mode it exits early and skips parsing of individual > features (for "custom" mode). Well, do not return early and parse > the rest. > > Signed-off-by: Michal Privoznik <[email protected]> > --- > docs/formatdomain.rst | 3 +++ > src/conf/domain_conf.c | 3 +-- > src/conf/schemas/domaincommon.rng | 8 ++++---- > tests/qemuxmlconfdata/hyperv-host-model.x86_64-latest.xml | 6 +++++- > tests/qemuxmlconfdata/hyperv-host-model.xml | 6 +++++- > 5 files changed, 18 insertions(+), 8 deletions(-)
Reviewed-by: Peter Krempa <[email protected]>
