Our virtio-console implementation already supports ANY_LAYOUT, because buffers are accessed with scatter-gather operations. Advertise the VIRTIO_F_ANY_LAYOUT feature. Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@xxxxxxx> --- virtio/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtio/console.c b/virtio/console.c index 610995de..c42c8b9f 100644 --- a/virtio/console.c +++ b/virtio/console.c @@ -122,7 +122,7 @@ static size_t get_config_size(struct kvm *kvm, void *dev) static u32 get_host_features(struct kvm *kvm, void *dev) { - return 0; + return 1 << VIRTIO_F_ANY_LAYOUT; } static void notify_status(struct kvm *kvm, void *dev, u32 status) -- 2.36.1