From d64b81a8f0b0a4660691565cde65b13df2647391 Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Thu, 13 Aug 2015 08:44:32 -0400 Subject: [PATCH] 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. --- src/libvirt-domain.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.47.2