virtio: disable error for out of spec queue-enable
commitb7c61789e653086618d1825858a97b3d9891e822
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 21 Nov 2022 20:01:50 +0000 (21 15:01 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 22 Nov 2022 10:19:00 +0000 (22 05:19 -0500)
tree82d6361da7e3f510f947340fea874f7ea32daf49
parent04e5bd441a9c60d21d38beb1b2b52ce12830cb99
virtio: disable error for out of spec queue-enable

Virtio 1.0 is pretty clear that features have to be
negotiated before enabling VQs. Unfortunately Seabios
ignored this ever since gaining 1.0 support (UEFI is ok).
Comment the error out for now, and add a TODO.

Fixes: 3c37f8b8d1 ("virtio: introduce virtio_queue_enable()")
Cc: "Kangjie Xu" <kangjie.xu@linux.alibaba.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20221121200339.362452-1-mst@redhat.com>
hw/virtio/virtio.c