qemu: Extract parsing of qemu namespace env vars into separate function
qemu: Extract parsing of qemu namespace env vars into separate function

Simplify the main function by splitting out how we parse the extra
passthrough environment variables.

Note that the validation function checks that the first letter must be a
character or underscore which makes the check whether the name is
redundant.

Signed-off-by: Peter Krempa <2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com>
Reviewed-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>

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