diff mbox series

[kvmtool,13/16] virtio: Fix messages about missing Linux config

Message ID 20230419132119.124457-14-jean-philippe@linaro.org (mailing list archive)
State New, archived
Headers show
Series Fix vhost-net, scsi and vsock | expand

Commit Message

Jean-Philippe Brucker April 19, 2023, 1:21 p.m. UTC
The suggested CONFIG options do not exist.

Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
---
 virtio/scsi.c  | 2 +-
 virtio/vsock.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/virtio/scsi.c b/virtio/scsi.c
index 5f392814..02afee2a 100644
--- a/virtio/scsi.c
+++ b/virtio/scsi.c
@@ -218,7 +218,7 @@  static int virtio_scsi_init_one(struct kvm *kvm, struct disk_image *disk)
 	virtio_scsi_vhost_init(kvm, sdev);
 
 	if (compat_id == -1)
-		compat_id = virtio_compat_add_message("virtio-scsi", "CONFIG_VIRTIO_SCSI");
+		compat_id = virtio_compat_add_message("virtio-scsi", "CONFIG_SCSI_VIRTIO");
 
 	return 0;
 }
diff --git a/virtio/vsock.c b/virtio/vsock.c
index 64512713..070cfbb6 100644
--- a/virtio/vsock.c
+++ b/virtio/vsock.c
@@ -218,7 +218,7 @@  static int virtio_vsock_init_one(struct kvm *kvm, u64 guest_cid)
 	virtio_vhost_vsock_init(kvm, vdev);
 
 	if (compat_id == -1)
-		compat_id = virtio_compat_add_message("virtio-vsock", "CONFIG_VIRTIO_VSOCK");
+		compat_id = virtio_compat_add_message("virtio-vsock", "CONFIG_VIRTIO_VSOCKETS");
 
 	return 0;
 }