diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2009-05-21 17:08:37 -0700 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2009-05-28 18:55:18 -0300 |
commit | e80d654b2c16b64595b2598f2d3e168683bc0fa5 (patch) | |
tree | a9cc4472e58c0c31bfd22d91a13391edffbc9372 /libkvm | |
parent | 9c2433ce0ad5e850d6fca4980fc82f74660e3099 (diff) |
kvm: libkvm: Fix return of kvm_commit_irq_routes()
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
(cherry picked from commit 87fd0ddc20d317ba00311a7cce77635494e90ddf)
Signed-off-by: Chris Wright <chrisw@redhat.com>
Bugzilla: 498084
Message-Id: <1242950924-30161-7-git-send-email-chrisw@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
RH-Upstream-status: applied
Acked-by: Juan Quintela <quintela@redhat.com>
Acked-by: Marcelo Tosatti <mtosatti@redhat.com>
Acked-by: Don Dutile <ddutile@redhat.com>
Diffstat (limited to 'libkvm')
-rw-r--r-- | libkvm/libkvm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libkvm/libkvm.c b/libkvm/libkvm.c index 8d77708e..92332077 100644 --- a/libkvm/libkvm.c +++ b/libkvm/libkvm.c @@ -1280,6 +1280,7 @@ int kvm_commit_irq_routes(kvm_context_t kvm) r = ioctl(kvm->vm_fd, KVM_SET_GSI_ROUTING, kvm->irq_routes); if (r == -1) r = -errno; + return r; #else return -ENOSYS; #endif |