mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
cpu: Do not pass virConnectBaselineCPUFlags to cpuBaseline
The public API flags are handled by the cpuBaselineXML wrapper. The internal cpuBaseline API only needs to know whether it is supposed to drop non-migratable features. Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
@@ -324,7 +324,8 @@ cpuTestBaseline(const void *arg)
|
||||
if (!(cpus = cpuTestLoadMultiXML(data->arch, data->name, &ncpus)))
|
||||
goto cleanup;
|
||||
|
||||
baseline = cpuBaseline(cpus, ncpus, NULL, 0, data->flags);
|
||||
baseline = cpuBaseline(cpus, ncpus, NULL, 0,
|
||||
!!(data->flags & VIR_CONNECT_BASELINE_CPU_MIGRATABLE));
|
||||
|
||||
if (baseline &&
|
||||
(data->flags & VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES) &&
|
||||
|
||||
Reference in New Issue
Block a user