File 392292cd-tests-dont-use-autogen-nvram-path.patch of Package libvirt.29155

commit 392292cd99ee275f986e9e21f325a9fee8e8bbfe
Author: Daniel P. Berrangé <berrange@redhat.com>
Date:   Wed Feb 23 12:45:51 2022 +0000

    tests: don't use auto-generated NVRAM path in tests
    
    By using the auto-generated NVRAM path in test data files, we won't see
    bugs where a user specified path gets accidentally overwritten by a
    post-parse callback, or VM startup. For example, this caused us to miss
    the bug fixed by:
    
      commit 24adb6c7a6cbd8ce5f9de67e6af5d89e0e57c270
      Author: Michal Prívozník <mprivozn@redhat.com>
      Date:   Wed Feb 23 08:50:44 2022 +0100
    
        qemu: Don't regenerate NVRAM path if parsed from domain XML
    
    Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
    Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>

Index: libvirt-8.0.0/tests/qemuxml2argvdata/aarch64-acpi-uefi.args
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/aarch64-acpi-uefi.args
+++ libvirt-8.0.0/tests/qemuxml2argvdata/aarch64-acpi-uefi.args
@@ -15,7 +15,7 @@ QEMU_AUDIO_DRV=none \
 -accel tcg \
 -cpu cortex-a57 \
 -drive file=/usr/share/AAVMF/AAVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on \
--drive file=/var/lib/libvirt/qemu/nvram/guest_VARS.fd,if=pflash,format=raw,unit=1 \
+-drive file=/some/user/nvram/path/guest_VARS.fd,if=pflash,format=raw,unit=1 \
 -m 1024 \
 -realtime mlock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
Index: libvirt-8.0.0/tests/qemuxml2argvdata/aarch64-acpi-uefi.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/aarch64-acpi-uefi.xml
+++ libvirt-8.0.0/tests/qemuxml2argvdata/aarch64-acpi-uefi.xml
@@ -6,7 +6,7 @@
   <os>
     <type arch='aarch64' machine='virt'>hvm</type>
     <loader readonly='yes' type='pflash'>/usr/share/AAVMF/AAVMF_CODE.fd</loader>
-    <nvram>/var/lib/libvirt/qemu/nvram/guest_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
   </os>
   <features>
     <acpi/>
Index: libvirt-8.0.0/tests/qemuxml2argvdata/aarch64-noacpi-uefi.args
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/aarch64-noacpi-uefi.args
+++ libvirt-8.0.0/tests/qemuxml2argvdata/aarch64-noacpi-uefi.args
@@ -15,7 +15,7 @@ QEMU_AUDIO_DRV=none \
 -accel tcg \
 -cpu cortex-a57 \
 -drive file=/usr/share/AAVMF/AAVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on \
--drive file=/var/lib/libvirt/qemu/nvram/guest_VARS.fd,if=pflash,format=raw,unit=1 \
+-drive file=/some/user/nvram/path/guest_VARS.fd,if=pflash,format=raw,unit=1 \
 -m 1024 \
 -realtime mlock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
Index: libvirt-8.0.0/tests/qemuxml2argvdata/aarch64-noacpi-uefi.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/aarch64-noacpi-uefi.xml
+++ libvirt-8.0.0/tests/qemuxml2argvdata/aarch64-noacpi-uefi.xml
@@ -6,7 +6,7 @@
   <os>
     <type arch='aarch64' machine='virt'>hvm</type>
     <loader readonly='yes' type='pflash'>/usr/share/AAVMF/AAVMF_CODE.fd</loader>
-    <nvram>/var/lib/libvirt/qemu/nvram/guest_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
   </os>
   <cpu mode='custom'>
     <model>cortex-a57</model>
Index: libvirt-8.0.0/tests/qemuxml2argvdata/aarch64-virt-graphics.aarch64-latest.args
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/aarch64-virt-graphics.aarch64-latest.args
+++ libvirt-8.0.0/tests/qemuxml2argvdata/aarch64-virt-graphics.aarch64-latest.args
@@ -12,7 +12,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-guest
 -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/tmp/lib/domain--1-guest/master-key.aes"}' \
 -blockdev '{"driver":"file","filename":"/usr/share/AAVMF/AAVMF_CODE.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \
 -blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \
--blockdev '{"driver":"file","filename":"/var/lib/libvirt/qemu/nvram/guest_VARS.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \
+-blockdev '{"driver":"file","filename":"/some/user/nvram/path/guest_VARS.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \
 -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \
 -machine virt,usb=off,dump-guest-core=off,gic-version=2,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format,memory-backend=mach-virt.ram \
 -accel tcg \
Index: libvirt-8.0.0/tests/qemuxml2argvdata/aarch64-virt-graphics.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/aarch64-virt-graphics.xml
+++ libvirt-8.0.0/tests/qemuxml2argvdata/aarch64-virt-graphics.xml
@@ -12,7 +12,7 @@
   <os>
     <type arch='aarch64' machine='virt'>hvm</type>
     <loader readonly='yes' type='pflash'>/usr/share/AAVMF/AAVMF_CODE.fd</loader>
-    <nvram>/var/lib/libvirt/qemu/nvram/guest_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
     <boot dev='hd'/>
   </os>
   <features>
Index: libvirt-8.0.0/tests/qemuxml2argvdata/aarch64-virt-headless.aarch64-latest.args
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/aarch64-virt-headless.aarch64-latest.args
+++ libvirt-8.0.0/tests/qemuxml2argvdata/aarch64-virt-headless.aarch64-latest.args
@@ -12,7 +12,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-guest
 -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/tmp/lib/domain--1-guest/master-key.aes"}' \
 -blockdev '{"driver":"file","filename":"/usr/share/AAVMF/AAVMF_CODE.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \
 -blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \
--blockdev '{"driver":"file","filename":"/var/lib/libvirt/qemu/nvram/guest_VARS.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \
+-blockdev '{"driver":"file","filename":"/some/user/nvram/path/guest_VARS.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \
 -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \
 -machine virt,usb=off,dump-guest-core=off,gic-version=2,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format,memory-backend=mach-virt.ram \
 -accel tcg \
Index: libvirt-8.0.0/tests/qemuxml2argvdata/aarch64-virt-headless.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/aarch64-virt-headless.xml
+++ libvirt-8.0.0/tests/qemuxml2argvdata/aarch64-virt-headless.xml
@@ -12,7 +12,7 @@
   <os>
     <type arch='aarch64' machine='virt'>hvm</type>
     <loader readonly='yes' type='pflash'>/usr/share/AAVMF/AAVMF_CODE.fd</loader>
-    <nvram>/var/lib/libvirt/qemu/nvram/guest_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
     <boot dev='hd'/>
   </os>
   <features>
Index: libvirt-8.0.0/tests/qemuxml2argvdata/bios-nvram-os-interleave.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/bios-nvram-os-interleave.xml
+++ libvirt-8.0.0/tests/qemuxml2argvdata/bios-nvram-os-interleave.xml
@@ -6,7 +6,7 @@
   <vcpu placement='static'>1</vcpu>
   <os>
     <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
-    <nvram>/usr/share/OVMF/OVMF_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
     <type arch='x86_64' machine='pc'>hvm</type>
     <boot dev='hd'/>
     <bootmenu enable='yes'/>
Index: libvirt-8.0.0/tests/qemuxml2argvdata/bios-nvram-secure.args
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/bios-nvram-secure.args
+++ libvirt-8.0.0/tests/qemuxml2argvdata/bios-nvram-secure.args
@@ -15,7 +15,7 @@ QEMU_AUDIO_DRV=none \
 -accel tcg \
 -global driver=cfi.pflash01,property=secure,value=on \
 -drive file=/usr/share/OVMF/OVMF_CODE.secboot.fd,if=pflash,format=raw,unit=0,readonly=on \
--drive file=/usr/share/OVMF/OVMF_VARS.fd,if=pflash,format=raw,unit=1 \
+-drive file=/some/user/nvram/path/guest_VARS.fd,if=pflash,format=raw,unit=1 \
 -m 1024 \
 -realtime mlock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
Index: libvirt-8.0.0/tests/qemuxml2argvdata/bios-nvram-secure.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/bios-nvram-secure.xml
+++ libvirt-8.0.0/tests/qemuxml2argvdata/bios-nvram-secure.xml
@@ -7,7 +7,7 @@
   <os>
     <type arch='x86_64' machine='q35'>hvm</type>
     <loader readonly='yes' secure='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.secboot.fd</loader>
-    <nvram>/usr/share/OVMF/OVMF_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
     <boot dev='hd'/>
     <bootmenu enable='yes'/>
   </os>
Index: libvirt-8.0.0/tests/qemuxml2argvdata/bios-nvram.args
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/bios-nvram.args
+++ libvirt-8.0.0/tests/qemuxml2argvdata/bios-nvram.args
@@ -14,7 +14,7 @@ QEMU_AUDIO_DRV=none \
 -machine pc,usb=off,dump-guest-core=off \
 -accel tcg \
 -drive file=/usr/share/OVMF/OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on \
--drive file=/usr/share/OVMF/OVMF_VARS.fd,if=pflash,format=raw,unit=1 \
+-drive file=/some/user/nvram/path/guest_VARS.fd,if=pflash,format=raw,unit=1 \
 -m 1024 \
 -realtime mlock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
Index: libvirt-8.0.0/tests/qemuxml2argvdata/bios-nvram.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/bios-nvram.xml
+++ libvirt-8.0.0/tests/qemuxml2argvdata/bios-nvram.xml
@@ -7,7 +7,7 @@
   <os>
     <type arch='x86_64' machine='pc'>hvm</type>
     <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
-    <nvram>/usr/share/OVMF/OVMF_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
     <boot dev='hd'/>
     <bootmenu enable='yes'/>
   </os>
Index: libvirt-8.0.0/tests/qemuxml2argvdata/os-firmware-bios.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/os-firmware-bios.xml
+++ libvirt-8.0.0/tests/qemuxml2argvdata/os-firmware-bios.xml
@@ -7,7 +7,7 @@
   <os firmware='bios'>
     <type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
     <loader secure='no'/>
-    <nvram>/var/lib/libvirt/qemu/nvram/fedora_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
     <boot dev='hd'/>
     <bootmenu enable='yes'/>
   </os>
Index: libvirt-8.0.0/tests/qemuxml2argvdata/os-firmware-efi-secboot.x86_64-latest.args
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/os-firmware-efi-secboot.x86_64-latest.args
+++ libvirt-8.0.0/tests/qemuxml2argvdata/os-firmware-efi-secboot.x86_64-latest.args
@@ -12,7 +12,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-fedor
 -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/tmp/lib/domain--1-fedora/master-key.aes"}' \
 -blockdev '{"driver":"file","filename":"/usr/share/OVMF/OVMF_CODE.secboot.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \
 -blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \
--blockdev '{"driver":"file","filename":"/var/lib/libvirt/qemu/nvram/fedora_VARS.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \
+-blockdev '{"driver":"file","filename":"/some/user/nvram/path/guest_VARS.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \
 -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \
 -machine pc-q35-4.0,usb=off,smm=on,dump-guest-core=off,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format,memory-backend=pc.ram \
 -accel kvm \
Index: libvirt-8.0.0/tests/qemuxml2argvdata/os-firmware-efi-secboot.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/os-firmware-efi-secboot.xml
+++ libvirt-8.0.0/tests/qemuxml2argvdata/os-firmware-efi-secboot.xml
@@ -7,7 +7,7 @@
   <os firmware='efi'>
     <type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
     <loader secure='yes'/>
-    <nvram>/var/lib/libvirt/qemu/nvram/fedora_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
     <boot dev='hd'/>
     <bootmenu enable='yes'/>
   </os>
Index: libvirt-8.0.0/tests/qemuxml2argvdata/os-firmware-efi.x86_64-latest.args
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/os-firmware-efi.x86_64-latest.args
+++ libvirt-8.0.0/tests/qemuxml2argvdata/os-firmware-efi.x86_64-latest.args
@@ -12,7 +12,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-fedor
 -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/tmp/lib/domain--1-fedora/master-key.aes"}' \
 -blockdev '{"driver":"file","filename":"/usr/share/OVMF/OVMF_CODE.secboot.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \
 -blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \
--blockdev '{"driver":"file","filename":"/var/lib/libvirt/qemu/nvram/fedora_VARS.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \
+-blockdev '{"driver":"file","filename":"/some/user/nvram/path/guest_VARS.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \
 -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \
 -machine pc-q35-4.0,usb=off,smm=on,dump-guest-core=off,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format,memory-backend=pc.ram \
 -accel kvm \
Index: libvirt-8.0.0/tests/qemuxml2argvdata/os-firmware-efi.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/os-firmware-efi.xml
+++ libvirt-8.0.0/tests/qemuxml2argvdata/os-firmware-efi.xml
@@ -7,7 +7,7 @@
   <os firmware='efi'>
     <type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
     <loader secure='no'/>
-    <nvram>/var/lib/libvirt/qemu/nvram/fedora_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
     <boot dev='hd'/>
     <bootmenu enable='yes'/>
   </os>
Index: libvirt-8.0.0/tests/qemuxml2argvdata/q35-acpi-uefi.args
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/q35-acpi-uefi.args
+++ libvirt-8.0.0/tests/qemuxml2argvdata/q35-acpi-uefi.args
@@ -15,7 +15,7 @@ QEMU_AUDIO_DRV=none \
 -accel tcg \
 -cpu Haswell \
 -drive file=/usr/share/OVMF/OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on \
--drive file=/var/lib/libvirt/qemu/nvram/guest_VARS.fd,if=pflash,format=raw,unit=1 \
+-drive file=/some/user/nvram/path/guest_VARS.fd,if=pflash,format=raw,unit=1 \
 -m 1024 \
 -realtime mlock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
Index: libvirt-8.0.0/tests/qemuxml2argvdata/q35-acpi-uefi.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/q35-acpi-uefi.xml
+++ libvirt-8.0.0/tests/qemuxml2argvdata/q35-acpi-uefi.xml
@@ -6,7 +6,7 @@
   <os>
     <type arch='x86_64' machine='q35'>hvm</type>
     <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
-    <nvram>/var/lib/libvirt/qemu/nvram/guest_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
   </os>
   <features>
     <acpi/>
Index: libvirt-8.0.0/tests/qemuxml2argvdata/q35-noacpi-uefi.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2argvdata/q35-noacpi-uefi.xml
+++ libvirt-8.0.0/tests/qemuxml2argvdata/q35-noacpi-uefi.xml
@@ -6,7 +6,7 @@
   <os>
     <type arch='x86_64' machine='q35'>hvm</type>
     <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
-    <nvram>/var/lib/libvirt/qemu/nvram/guest_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
   </os>
   <cpu mode='custom'>
     <model>Haswell</model>
Index: libvirt-8.0.0/tests/qemuxml2xmloutdata/aarch64-virt-graphics.aarch64-latest.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2xmloutdata/aarch64-virt-graphics.aarch64-latest.xml
+++ libvirt-8.0.0/tests/qemuxml2xmloutdata/aarch64-virt-graphics.aarch64-latest.xml
@@ -12,7 +12,7 @@
   <os>
     <type arch='aarch64' machine='virt'>hvm</type>
     <loader readonly='yes' type='pflash'>/usr/share/AAVMF/AAVMF_CODE.fd</loader>
-    <nvram>/var/lib/libvirt/qemu/nvram/guest_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
     <boot dev='hd'/>
   </os>
   <features>
Index: libvirt-8.0.0/tests/qemuxml2xmloutdata/aarch64-virt-headless.aarch64-latest.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2xmloutdata/aarch64-virt-headless.aarch64-latest.xml
+++ libvirt-8.0.0/tests/qemuxml2xmloutdata/aarch64-virt-headless.aarch64-latest.xml
@@ -12,7 +12,7 @@
   <os>
     <type arch='aarch64' machine='virt'>hvm</type>
     <loader readonly='yes' type='pflash'>/usr/share/AAVMF/AAVMF_CODE.fd</loader>
-    <nvram>/var/lib/libvirt/qemu/nvram/guest_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
     <boot dev='hd'/>
   </os>
   <features>
Index: libvirt-8.0.0/tests/qemuxml2xmloutdata/bios-nvram-os-interleave.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2xmloutdata/bios-nvram-os-interleave.xml
+++ libvirt-8.0.0/tests/qemuxml2xmloutdata/bios-nvram-os-interleave.xml
@@ -7,7 +7,7 @@
   <os>
     <type arch='x86_64' machine='pc'>hvm</type>
     <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
-    <nvram>/usr/share/OVMF/OVMF_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
     <boot dev='hd'/>
     <bootmenu enable='yes'/>
   </os>
Index: libvirt-8.0.0/tests/qemuxml2xmloutdata/bios-nvram.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2xmloutdata/bios-nvram.xml
+++ libvirt-8.0.0/tests/qemuxml2xmloutdata/bios-nvram.xml
@@ -7,7 +7,7 @@
   <os>
     <type arch='x86_64' machine='pc'>hvm</type>
     <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
-    <nvram>/usr/share/OVMF/OVMF_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
     <boot dev='hd'/>
     <bootmenu enable='yes'/>
   </os>
Index: libvirt-8.0.0/tests/qemuxml2xmloutdata/os-firmware-bios.x86_64-latest.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2xmloutdata/os-firmware-bios.x86_64-latest.xml
+++ libvirt-8.0.0/tests/qemuxml2xmloutdata/os-firmware-bios.x86_64-latest.xml
@@ -7,7 +7,7 @@
   <os firmware='bios'>
     <type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
     <loader secure='no'/>
-    <nvram>/var/lib/libvirt/qemu/nvram/fedora_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
     <boot dev='hd'/>
     <bootmenu enable='yes'/>
   </os>
Index: libvirt-8.0.0/tests/qemuxml2xmloutdata/os-firmware-efi-secboot.x86_64-latest.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2xmloutdata/os-firmware-efi-secboot.x86_64-latest.xml
+++ libvirt-8.0.0/tests/qemuxml2xmloutdata/os-firmware-efi-secboot.x86_64-latest.xml
@@ -7,7 +7,7 @@
   <os firmware='efi'>
     <type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
     <loader secure='yes'/>
-    <nvram>/var/lib/libvirt/qemu/nvram/fedora_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
     <boot dev='hd'/>
     <bootmenu enable='yes'/>
   </os>
Index: libvirt-8.0.0/tests/qemuxml2xmloutdata/os-firmware-efi.x86_64-latest.xml
===================================================================
--- libvirt-8.0.0.orig/tests/qemuxml2xmloutdata/os-firmware-efi.x86_64-latest.xml
+++ libvirt-8.0.0/tests/qemuxml2xmloutdata/os-firmware-efi.x86_64-latest.xml
@@ -7,7 +7,7 @@
   <os firmware='efi'>
     <type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
     <loader secure='no'/>
-    <nvram>/var/lib/libvirt/qemu/nvram/fedora_VARS.fd</nvram>
+    <nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
     <boot dev='hd'/>
     <bootmenu enable='yes'/>
   </os>
openSUSE Build Service is sponsored by