Revision 6d74ca5a hw/virtio.h
b/hw/virtio.h | ||
---|---|---|
31 | 31 |
/* We've given up on this device. */ |
32 | 32 |
#define VIRTIO_CONFIG_S_FAILED 0x80 |
33 | 33 |
|
34 |
/* Some virtio feature bits (currently bits 28 through 31) are reserved for the |
|
35 |
* transport being used (eg. virtio_ring), the rest are per-device feature bits. */ |
|
36 |
#define VIRTIO_TRANSPORT_F_START 28 |
|
37 |
#define VIRTIO_TRANSPORT_F_END 32 |
|
38 |
|
|
34 | 39 |
/* We notify when the ring is completely used, even if the guest is suppressing |
35 | 40 |
* callbacks */ |
36 | 41 |
#define VIRTIO_F_NOTIFY_ON_EMPTY 24 |
... | ... | |
82 | 87 |
void (*save_queue)(void * opaque, int n, QEMUFile *f); |
83 | 88 |
int (*load_config)(void * opaque, QEMUFile *f); |
84 | 89 |
int (*load_queue)(void * opaque, int n, QEMUFile *f); |
90 |
unsigned (*get_features)(void * opaque); |
|
85 | 91 |
} VirtIOBindings; |
86 | 92 |
|
87 | 93 |
#define VIRTIO_PCI_QUEUE_MAX 16 |
Also available in: Unified diff