mirror of
https://github.com/OpenAMP/open-amp.git
synced 2026-02-06 19:33:24 +08:00
lib: virtio: add new feature bit VIRTIO_F_ANY_LAYOUT
Follow the virtio spec, this feature bit indicates that the device accepts arbitrary descriptor layouts. Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This commit is contained in:
committed by
Arnaud Pouliquen
parent
3122cec8aa
commit
8bd6149dfc
@@ -118,6 +118,12 @@ struct virtio_device_id {
|
||||
*/
|
||||
#define VIRTIO_F_NOTIFY_ON_EMPTY (1 << 24)
|
||||
|
||||
/*
|
||||
* This feature indicates that the device accepts arbitrary
|
||||
* descriptor layouts.
|
||||
*/
|
||||
#define VIRTIO_F_ANY_LAYOUT (1 << 27)
|
||||
|
||||
/*
|
||||
* The guest should never negotiate this feature; it
|
||||
* is used to detect faulty drivers.
|
||||
|
||||
Reference in New Issue
Block a user