Revision 8eca6b1b hw/virtio.h
b/hw/virtio.h | ||
---|---|---|
32 | 32 |
/* We notify when the ring is completely used, even if the guest is supressing |
33 | 33 |
* callbacks */ |
34 | 34 |
#define VIRTIO_F_NOTIFY_ON_EMPTY 24 |
35 |
/* A guest should never accept this. It implies negotiation is broken. */ |
|
36 |
#define VIRTIO_F_BAD_FEATURE 30 |
|
35 | 37 |
|
36 | 38 |
/* from Linux's linux/virtio_ring.h */ |
37 | 39 |
|
... | ... | |
82 | 84 |
size_t config_len; |
83 | 85 |
void *config; |
84 | 86 |
uint32_t (*get_features)(VirtIODevice *vdev); |
87 |
uint32_t (*bad_features)(VirtIODevice *vdev); |
|
85 | 88 |
void (*set_features)(VirtIODevice *vdev, uint32_t val); |
86 | 89 |
void (*get_config)(VirtIODevice *vdev, uint8_t *config); |
87 | 90 |
void (*set_config)(VirtIODevice *vdev, const uint8_t *config); |
Also available in: Unified diff