]> git.proxmox.com Git - mirror_qemu.git/blob - tests/libqos/virtio.h
2a05798ca724c8aaea36a4251214d2e96045071f
[mirror_qemu.git] / tests / libqos / virtio.h
1 /*
2 * libqos virtio definitions
3 *
4 * Copyright (c) 2014 Marc MarĂ­
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */
9
10 #ifndef LIBQOS_VIRTIO_H
11 #define LIBQOS_VIRTIO_H
12
13 #define QVIRTIO_VENDOR_ID 0x1AF4
14
15 #define QVIRTIO_NET_DEVICE_ID 0x1
16 #define QVIRTIO_BLK_DEVICE_ID 0x2
17
18 typedef struct QVirtioDevice {
19 /* Device type */
20 uint16_t device_type;
21 } QVirtioDevice;
22
23 #endif