From: John Ferlan Date: Thu, 13 Aug 2015 12:44:32 +0000 (-0400) Subject: api: Remove check on iothread_id arg in virDomainPinIOThread X-Git-Tag: v1.2.19-rc1~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d64b81a8f0b0a4660691565cde65b13df2647391;p=thirdparty%2Flibvirt.git 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. --- diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c index 9314f85062..4b211ab53c 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);