qemu: Use qemuDomainOpenFile() in qemuPrepareNVRAM()
qemu: Use qemuDomainOpenFile() in qemuPrepareNVRAM()

Previously, nvram file was created with user/group owner as
'root', rather than specifications defined in libvirtd.conf. The
solution is to call qemuDomainOpenFile(), which creates file with
defined permissions and qemuSecurityDomainSetPathLabel() to set
security label for created nvram file.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1783255

Signed-off-by: Kristina Hanicova <e70d889c982bbe3b9ce2841af457ca911bff1baa@redhat.com>
Reviewed-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>

crobinso/libvirt,zippy2/libvirt,olafhering/libvirt,zippy2/libvirt,jfehlig/libvirt,zippy2/libvirt,olafhering/libvirt,nertpinx/libvirt,olafhering/libvirt,olafhering/libvirt,libvirt/libvirt,nertpinx/libvirt,jfehlig/libvirt,nertpinx/libvirt,crobinso/libvirt,libvirt/libvirt,jfehlig/libvirt,nertpinx/libvirt,zippy2/libvirt,nertpinx/libvirt,libvirt/libvirt,jfehlig/libvirt,crobinso/libvirt,crobinso/libvirt,libvirt/libvirt