4 * Copyright IBM, Corp. 2007
7 * Anthony Liguori <aliguori@us.ibm.com>
9 * SPDX-License-Identifier: GPL-2.0-or-later
11 #ifndef HW_VIRTIO_QMP_H
12 #define HW_VIRTIO_QMP_H
14 #include "qapi/qapi-types-virtio.h"
15 #include "hw/virtio/virtio.h"
16 #include "hw/virtio/vhost.h"
18 VirtIODevice
*qmp_find_virtio_device(const char *path
);
19 VirtioDeviceStatus
*qmp_decode_status(uint8_t bitmap
);
20 VhostDeviceProtocols
*qmp_decode_protocols(uint64_t bitmap
);
21 VirtioDeviceFeatures
*qmp_decode_features(uint16_t device_id
, uint64_t bitmap
);