[libvirt] [PATCH 1/3] api: Remove check on iothread_id arg in virDomainPinIOThread

John Ferlan jferlan at redhat.com
Thu Aug 13 15:00:09 UTC 2015


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 at 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




More information about the libvir-list mailing list