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.
Signed-off-by: John Ferlan <jferlan(a)redhat.com>
---
src/libvirt-domain.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c
index dc89bab..9ec66df 100644
--- a/src/libvirt-domain.c
+++ b/src/libvirt-domain.c
@@ -7926,7 +7926,6 @@ virDomainPinIOThread(virDomainPtr domain,
conn = domain->conn;
virCheckReadOnlyGoto(conn->flags, error);
- virCheckPositiveArgGoto(iothread_id, error);
virCheckNonNullArgGoto(cpumap, error);
virCheckPositiveArgGoto(maplen, error);
--
2.1.0