mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
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.
This commit is contained in:
parent
4153a74105
commit
d64b81a8f0
@ -7926,7 +7926,6 @@ virDomainPinIOThread(virDomainPtr domain,
|
|||||||
conn = domain->conn;
|
conn = domain->conn;
|
||||||
|
|
||||||
virCheckReadOnlyGoto(conn->flags, error);
|
virCheckReadOnlyGoto(conn->flags, error);
|
||||||
virCheckPositiveArgGoto(iothread_id, error);
|
|
||||||
virCheckNonNullArgGoto(cpumap, error);
|
virCheckNonNullArgGoto(cpumap, error);
|
||||||
virCheckPositiveArgGoto(maplen, error);
|
virCheckPositiveArgGoto(maplen, error);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user