|
|
7a3408 |
From f5966b72599ddc1335403cff13159e872dd95007 Mon Sep 17 00:00:00 2001
|
|
|
7a3408 |
Message-Id: <f5966b72599ddc1335403cff13159e872dd95007@dist-git>
|
|
|
7a3408 |
From: John Ferlan <jferlan@redhat.com>
|
|
|
7a3408 |
Date: Tue, 18 Aug 2015 14:47:13 -0400
|
|
|
7a3408 |
Subject: [PATCH] api: Remove check on iothread_id arg in virDomainPinIOThread
|
|
|
7a3408 |
|
|
|
7a3408 |
https://bugzilla.redhat.com/show_bug.cgi?id=1251886
|
|
|
7a3408 |
|
|
|
7a3408 |
Allow 0 as an iothread_id and force the hypervisor to handle.
|
|
|
7a3408 |
The qemuDomainPinIOThread API will look up the iothread_id of
|
|
|
7a3408 |
0 and not find it and message that anyway.
|
|
|
7a3408 |
|
|
|
7a3408 |
(cherry picked from commit d64b81a8f0b0a4660691565cde65b13df2647391)
|
|
|
7a3408 |
Signed-off-by: John Ferlan <jferlan@redhat.com>
|
|
|
7a3408 |
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
|
|
|
7a3408 |
---
|
|
|
7a3408 |
src/libvirt-domain.c | 1 -
|
|
|
7a3408 |
1 file changed, 1 deletion(-)
|
|
|
7a3408 |
|
|
|
7a3408 |
diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c
|
|
|
7a3408 |
index 837933f..c4377bf 100644
|
|
|
7a3408 |
--- a/src/libvirt-domain.c
|
|
|
7a3408 |
+++ b/src/libvirt-domain.c
|
|
|
7a3408 |
@@ -7926,7 +7926,6 @@ virDomainPinIOThread(virDomainPtr domain,
|
|
|
7a3408 |
conn = domain->conn;
|
|
|
7a3408 |
|
|
|
7a3408 |
virCheckReadOnlyGoto(conn->flags, error);
|
|
|
7a3408 |
- virCheckPositiveArgGoto(iothread_id, error);
|
|
|
7a3408 |
virCheckNonNullArgGoto(cpumap, error);
|
|
|
7a3408 |
virCheckPositiveArgGoto(maplen, error);
|
|
|
7a3408 |
|
|
|
7a3408 |
--
|
|
|
7a3408 |
2.5.0
|
|
|
7a3408 |
|