]> xenbits.xensource.com Git - libvirt.git/commit
conf: Drop unnecessary caps parsing logic
authorCole Robinson <crobinso@redhat.com>
Thu, 29 Jun 2017 12:49:33 +0000 (08:49 -0400)
committerCole Robinson <crobinso@redhat.com>
Thu, 26 Jul 2018 14:13:00 +0000 (10:13 -0400)
commitb251d6ad24b00000664080ba7fb32be2a0baa4d3
treed49dac2301c0bc0ad3a9d569dd148a71573a0ffb
parentf14f0836c5e2f2df6d48495c0c0893c64b026b31
conf: Drop unnecessary caps parsing logic

The comment says:

    /* If the logic here seems fairly arbitrary, that's because it is :)
     * This is duplicating how the code worked before
     * CapabilitiesDomainDataLookup was added. We can simplify this,
     * but it would take a bit of work because the test suite fails
     * in numerous minor ways. */

Nowadays the test suite changes appear quite simple, just extending
test capabilities data a bit so that we aren't trying to define
invalid arch/os/virtType/machine combos

Acked-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
src/conf/domain_conf.c
tests/testutils.c
tests/testutilsqemu.c
tests/vircapstest.c