Home | History | Annotate | Download | only in linux
      1 #ifndef _LINUX_VIRTIO_CONFIG_H
      2 #define _LINUX_VIRTIO_CONFIG_H
      3 /* Virtio devices use a standardized configuration space to define their
      4  * features and pass configuration information, but each implementation can
      5  * store and access that space differently. */
      6 #include <linux/types.h>
      7 
      8 /* Status byte for guest to report progress, and synchronize features. */
      9 /* We have seen device and processed generic fields (VIRTIO_CONFIG_F_VIRTIO) */
     10 #define VIRTIO_CONFIG_S_ACKNOWLEDGE	1
     11 /* We have found a driver for the device. */
     12 #define VIRTIO_CONFIG_S_DRIVER		2
     13 /* Driver has used its parts of the config, and is happy */
     14 #define VIRTIO_CONFIG_S_DRIVER_OK	4
     15 /* We've given up on this device. */
     16 #define VIRTIO_CONFIG_S_FAILED		0x80
     17 
     18 #endif /* _LINUX_VIRTIO_CONFIG_H */
     19