Skip to content

virtio_transport: temporarily do not depend on ANY_LAYOUT support

Paolo Bonzini requested to merge bonzini/linux-centos-9:bz2227177 into main

Merge Request Required Information

Summary of Changes

After commit 71dc9ec9ac7d (merged with !2602 (merged)), the virtio-vsock driver switched to a single descriptor for each RX packet. This causes problems with other devices that did not exactly meet the VIRTIO specification and relied on this implementation detail.

In particular, Amazon's nitro enclaves backend is broken completely and the parent kernel hangs as soon as an enclave is started. Deploying the fix to the whole EC2 fleet might or might not be done in time for the 9.3 release.

This is RHEL only because the upstream maintainer @mstredhat wants spec bugs to be fixed by the side that broke the spec.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Approved Development Ticket

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2227177

Edited by Paolo Bonzini

Merge request reports