mirror of
https://github.com/qemu/qemu.git
synced 2024-11-28 06:13:46 +08:00
include/hw/virtio: add kerneldoc for virtio_init
Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20230710153522.3469097-6-alex.bennee@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
a0cc7673ab
commit
3b6256c2c5
@ -219,6 +219,12 @@ struct VirtioDeviceClass {
|
||||
void virtio_instance_init_common(Object *proxy_obj, void *data,
|
||||
size_t vdev_size, const char *vdev_name);
|
||||
|
||||
/**
|
||||
* virtio_init() - initialise the common VirtIODevice structure
|
||||
* @vdev: pointer to VirtIODevice
|
||||
* @device_id: the VirtIO device ID (see virtio_ids.h)
|
||||
* @config_size: size of the config space
|
||||
*/
|
||||
void virtio_init(VirtIODevice *vdev, uint16_t device_id, size_t config_size);
|
||||
|
||||
void virtio_cleanup(VirtIODevice *vdev);
|
||||
|
Loading…
Reference in New Issue
Block a user