]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
api: Remove check on iothread_id arg in virDomainPinIOThread
authorJohn Ferlan <jferlan@redhat.com>
Thu, 13 Aug 2015 12:44:32 +0000 (08:44 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 18 Aug 2015 18:36:21 +0000 (14:36 -0400)
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.

src/libvirt-domain.c

index 9314f85062dcfa140360dd8a421b108a01a9a2fa..4b211ab53c7d18e74f4025e03acae49ce007fb71 100644 (file)
@@ -7926,7 +7926,6 @@ virDomainPinIOThread(virDomainPtr domain,
     conn = domain->conn;
 
     virCheckReadOnlyGoto(conn->flags, error);
-    virCheckPositiveArgGoto(iothread_id, error);
     virCheckNonNullArgGoto(cpumap, error);
     virCheckPositiveArgGoto(maplen, error);