提交 0c5d5cb9 编写于 作者: K Konstantin Neumoin 提交者: Michal Privoznik

vz: unlock dom until resize operation

We have to use waitDomainJob instead of waitJob, because of it
unlock the domain until job has finished, so domain will be available
for other clients.
Signed-off-by: NKonstantin Neumoin <kneumoin@virtuozzo.com>
上级 3fe624b2
......@@ -4952,7 +4952,7 @@ int prlsdkResizeImage(virDomainObjPtr dom, virDomainDiskDefPtr disk,
job = PrlVmDev_ResizeImage(prldisk, newsize,
PRIF_RESIZE_LAST_PARTITION);
if (PRL_FAILED(waitJob(job)))
if (PRL_FAILED(waitDomainJob(job, dom)))
goto cleanup;
ret = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册