diff options
author | Jiri Denemark <jdenemar@redhat.com> | 2017-03-29 13:33:50 +0200 |
---|---|---|
committer | Jiri Denemark <jdenemar@redhat.com> | 2017-04-07 10:12:24 +0200 |
commit | 00e0cbcb567a57c7b5a145d7fd3fb662779f6bec (patch) | |
tree | 884650a43947fefe69e2a4cc63d0cb1de0135b22 /tests/cputest.c | |
parent | d84b93fad51b190238e18b1daac82ea6e28869e9 (diff) | |
download | libvirt-00e0cbcb567a57c7b5a145d7fd3fb662779f6bec.tar.gz |
qemu: Add migratable parameter to virQEMUCapsInitCPUModel
The caller can ask for a migratable CPU model by passing true for the
new parameter.
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Diffstat (limited to 'tests/cputest.c')
-rw-r--r-- | tests/cputest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cputest.c b/tests/cputest.c index a20e418e4d..5280307545 100644 --- a/tests/cputest.c +++ b/tests/cputest.c @@ -709,7 +709,7 @@ cpuTestJSONCPUID(const void *arg) cpu->match = VIR_CPU_MATCH_EXACT; cpu->fallback = VIR_CPU_FALLBACK_FORBID; - if (virQEMUCapsInitCPUModel(qemuCaps, VIR_DOMAIN_VIRT_KVM, cpu) != 0) + if (virQEMUCapsInitCPUModel(qemuCaps, VIR_DOMAIN_VIRT_KVM, cpu, false) != 0) goto cleanup; ret = cpuTestCompareXML(data->arch, cpu, result, false); |