mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-09-04 04:31:27 +00:00
Asias writes:
In include/kvm/virtio-scsi.h, we have
/* TODO: Remove this when tcm_vhost goes upstream */
We are redefining VHOST_SCSI_GET_ABI_VERSION and friends because
tcm_vhost was not upstream at that time. Pekka, I guess we need to
upgrade kernel version in lkvm repo and drop our own tcm_vhost
defines.
Ingo writes:
I can confirm that the patch below fixes the build problem.
Analyzed-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
12 lines
208 B
C
12 lines
208 B
C
#ifndef KVM__SCSI_VIRTIO_H
|
|
#define KVM__SCSI_VIRTIO_H
|
|
|
|
#include "kvm/disk-image.h"
|
|
|
|
struct kvm;
|
|
|
|
int virtio_scsi_init(struct kvm *kvm);
|
|
int virtio_scsi_exit(struct kvm *kvm);
|
|
|
|
#endif /* KVM__SCSI_VIRTIO_H */
|