提交 6cb204b7 编写于 作者: J Jiri Denemark

qemu: Reset hostModelInfo in virQEMUCapsReset

Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
上级 57b5e27d
......@@ -3752,6 +3752,9 @@ virQEMUCapsReset(virQEMUCapsPtr qemuCaps)
VIR_FREE(qemuCaps->gicCapabilities);
qemuCaps->ngicCapabilities = 0;
qemuMonitorCPUModelInfoFree(qemuCaps->hostCPUModelInfo);
qemuCaps->hostCPUModelInfo = NULL;
virCPUDefFree(qemuCaps->hostCPUModel);
qemuCaps->hostCPUModel = NULL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册