libvirt/tests/qemucaps2xmloutdata
Peter Krempa 7a6e7bad1c conf: Refactor storage of guest capabilities
The capabilities are declared in the XML schema so passing feature names
as strings from hypervisor drivers makes no sense.

Additionally some of the features expose so called 'toggles' while
others not. This knowledge was encoded by a bunch of 'STREQ's in the
formatter.

Change all of this by declaring the features as an enum and use it
instead of a dynamically allocated array.

Presence of 'toggles' is encoded together with the conversion strings
rather than in the formatter directly.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2019-11-13 08:16:04 +01:00
..
caps.aarch64.xml conf: Refactor storage of guest capabilities 2019-11-13 08:16:04 +01:00
caps.ppc64.xml
caps.riscv32.xml
caps.riscv64.xml
caps.s390x.xml
caps.x86_64.xml conf: Refactor storage of guest capabilities 2019-11-13 08:16:04 +01:00