Skip to content

Commit

Permalink
virtio: update virtio id table, add transitional ids
Browse files Browse the repository at this point in the history
This commit updates virtio id table by adding transitional device
ids

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Link: https://lore.kernel.org/r/20210510081015.4212-2-lingshan.zhu@intel.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
  • Loading branch information
Zhu Lingshan authored and Michael S. Tsirkin committed Jul 3, 2021
1 parent 5f1b73a commit d61914e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions include/uapi/linux/virtio_ids.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,16 @@
#define VIRTIO_ID_MAC80211_HWSIM 29 /* virtio mac80211-hwsim */
#define VIRTIO_ID_BT 40 /* virtio bluetooth */

/*
* Virtio Transitional IDs
*/

#define VIRTIO_TRANS_ID_NET 1000 /* transitional virtio net */
#define VIRTIO_TRANS_ID_BLOCK 1001 /* transitional virtio block */
#define VIRTIO_TRANS_ID_BALLOON 1002 /* transitional virtio balloon */
#define VIRTIO_TRANS_ID_CONSOLE 1003 /* transitional virtio console */
#define VIRTIO_TRANS_ID_SCSI 1004 /* transitional virtio SCSI */
#define VIRTIO_TRANS_ID_RNG 1005 /* transitional virtio rng */
#define VIRTIO_TRANS_ID_9P 1009 /* transitional virtio 9p console */

#endif /* _LINUX_VIRTIO_IDS_H */

0 comments on commit d61914e

Please sign in to comment.