mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
tests: Set nvramDir in qemuxml2xmltest
We already do this in qemuxml2argvtest. Right now setting this doesn't change anything, but it will become relevant later. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
f3d0857f2e
commit
2adc24fc6a
@ -163,6 +163,9 @@ mymain(void)
|
||||
cfg = virQEMUDriverGetConfig(&driver);
|
||||
driver.privileged = true;
|
||||
|
||||
VIR_FREE(cfg->nvramDir);
|
||||
cfg->nvramDir = g_strdup("/var/lib/libvirt/qemu/nvram");
|
||||
|
||||
if (!(conn = virGetConnect()))
|
||||
goto cleanup;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user