tests: qemuxml2argv: add va_arg enum handling
tests: qemuxml2argv: add va_arg enum handling

This establishes a pattern that will allow us to make test macros
more general purpose, by taking optional arguments. The general
format will be:

DO_TEST_FULL(...
             ARG_FOO, <value1>,
             ARG_BAR, <value2>)

ARG_X are just enum values that we look for in the va_args and know
how to interpret.

Implement this for the existing implicit qemuCaps va_args

Reviewed-by: Andrea Bolognani <3ada0bee826c753786fdbba72243dfba997094cf@redhat.com>
Signed-off-by: Cole Robinson <7cd45ff6ad1fb7cf556a02797d774247851499f8@redhat.com>

zippy2/libvirt,jardasgit/libvirt,eskultety/libvirt,olafhering/libvirt,jardasgit/libvirt,andreabolognani/libvirt,crobinso/libvirt,eskultety/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,jfehlig/libvirt,nertpinx/libvirt,jfehlig/libvirt,nertpinx/libvirt,olafhering/libvirt,eskultety/libvirt,olafhering/libvirt,jfehlig/libvirt,crobinso/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,zippy2/libvirt,crobinso/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,libvirt/libvirt,jardasgit/libvirt,eskultety/libvirt,zippy2/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,nertpinx/libvirt,zippy2/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,eskultety/libvirt,andreabolognani/libvirt,olafhering/libvirt,libvirt/libvirt,libvirt/libvirt,libvirt/libvirt,crobinso/libvirt