提交 d64b81a8 编写于 作者: J John Ferlan

api: Remove check on iothread_id arg in virDomainPinIOThread

Allow 0 as an iothread_id and force the hypervisor to handle.
The qemuDomainPinIOThread API will look up the iothread_id of
0 and not find it and message that anyway.
上级 4153a741
......@@ -7926,7 +7926,6 @@ virDomainPinIOThread(virDomainPtr domain,
conn = domain->conn;
virCheckReadOnlyGoto(conn->flags, error);
virCheckPositiveArgGoto(iothread_id, error);
virCheckNonNullArgGoto(cpumap, error);
virCheckPositiveArgGoto(maplen, error);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册