提交 e6ed55e4 编写于 作者: J Jiri Denemark

qemu: Rename qemuProcessUpdateLiveGuestCPU

In addition to updating a guest CPU definition the function verifies
that all required features are provided to the guest. Let's make it
obvious by calling it qemuProcessUpdateAndVerifyCPU.
Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
上级 5cac2fe1
...@@ -4000,7 +4000,7 @@ qemuProcessVerifyCPU(virDomainObjPtr vm, ...@@ -4000,7 +4000,7 @@ qemuProcessVerifyCPU(virDomainObjPtr vm,
static int static int
qemuProcessUpdateLiveGuestCPU(virQEMUDriverPtr driver, qemuProcessUpdateAndVerifyCPU(virQEMUDriverPtr driver,
virDomainObjPtr vm, virDomainObjPtr vm,
qemuDomainAsyncJob asyncJob) qemuDomainAsyncJob asyncJob)
{ {
...@@ -5917,7 +5917,7 @@ qemuProcessLaunch(virConnectPtr conn, ...@@ -5917,7 +5917,7 @@ qemuProcessLaunch(virConnectPtr conn,
goto cleanup; goto cleanup;
VIR_DEBUG("Verifying and updating provided guest CPU"); VIR_DEBUG("Verifying and updating provided guest CPU");
if (qemuProcessUpdateLiveGuestCPU(driver, vm, asyncJob) < 0) if (qemuProcessUpdateAndVerifyCPU(driver, vm, asyncJob) < 0)
goto cleanup; goto cleanup;
VIR_DEBUG("Setting up post-init cgroup restrictions"); VIR_DEBUG("Setting up post-init cgroup restrictions");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册