summaryrefslogtreecommitdiff
path: root/tests/qemumigrationcookiexmltest.c
diff options
context:
space:
mode:
authorJiri Denemark <jdenemar@redhat.com>2022-11-30 16:05:56 +0100
committerJiri Denemark <jdenemar@redhat.com>2022-12-01 11:01:58 +0100
commit9e5b42b5eb7db1a31cc7ce5551c1f7b7449db0c4 (patch)
tree4af3b14c0bb6399beaff1ce9fdeb3de8567c3fe5 /tests/qemumigrationcookiexmltest.c
parent8745591457ac175df8793349f41c2e84f5022696 (diff)
downloadlibvirt-9e5b42b5eb7db1a31cc7ce5551c1f7b7449db0c4.tar.gz
qemu: Replace priv with qemuCaps in qemuMigrationCookieParse
QEMU capabilities is the only thing we use from priv so we can just pass that directly. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Diffstat (limited to 'tests/qemumigrationcookiexmltest.c')
-rw-r--r--tests/qemumigrationcookiexmltest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemumigrationcookiexmltest.c b/tests/qemumigrationcookiexmltest.c
index bb19baad54..0e5f956a2a 100644
--- a/tests/qemumigrationcookiexmltest.c
+++ b/tests/qemumigrationcookiexmltest.c
@@ -144,7 +144,7 @@ testQemuMigrationCookieParse(const void *opaque)
data->vm,
data->vm->def,
NULL,
- priv,
+ priv->qemuCaps,
data->xmlstr,
data->xmlstrlen,
data->cookieParseFlags))) {