OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d7ac0a
)
vhost-user-scsi: add compatibility for libiscsi 1.9.0
author
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 10 Aug 2020 19:15:19 +0000
(21:15 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Fri, 21 Aug 2020 10:30:09 +0000
(06:30 -0400)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
contrib/vhost-user-scsi/vhost-user-scsi.c
patch
|
blob
|
history
diff --git
a/contrib/vhost-user-scsi/vhost-user-scsi.c
b/contrib/vhost-user-scsi/vhost-user-scsi.c
index
7a1db16
..
3c91238
100644
(file)
--- a/
contrib/vhost-user-scsi/vhost-user-scsi.c
+++ b/
contrib/vhost-user-scsi/vhost-user-scsi.c
@@
-12,7
+12,9
@@
#include "qemu/osdep.h"
#include <iscsi/iscsi.h>
+#define inline __attribute__((gnu_inline)) /* required for libiscsi v1.9.0 */
#include <iscsi/scsi-lowlevel.h>
+#undef inline
#include "contrib/libvhost-user/libvhost-user-glib.h"
#include "standard-headers/linux/virtio_scsi.h"