Lines Matching refs:vdc

2982     VirtioDeviceClass *vdc = VIRTIO_DEVICE_GET_CLASS(vdev);  in virtio_save()  local
3023 if (vdc->save != NULL) { in virtio_save()
3024 vdc->save(vdev, f); in virtio_save()
3027 if (vdc->vmsd) { in virtio_save()
3028 int ret = vmstate_save_state(f, vdc->vmsd, vdev, NULL); in virtio_save()
3227 VirtioDeviceClass *vdc = VIRTIO_DEVICE_GET_CLASS(vdev); in virtio_load() local
3273 if (vdc->pre_load_queues) { in virtio_load()
3274 ret = vdc->pre_load_queues(vdev); in virtio_load()
3312 if (vdc->load != NULL) { in virtio_load()
3313 ret = vdc->load(vdev, f, version_id); in virtio_load()
3319 if (vdc->vmsd) { in virtio_load()
3320 ret = vmstate_load_state(f, vdc->vmsd, vdev, version_id); in virtio_load()
3422 if (vdc->post_load) { in virtio_load()
3423 ret = vdc->post_load(vdev); in virtio_load()
3956 VirtioDeviceClass *vdc = VIRTIO_DEVICE_GET_CLASS(dev); in virtio_device_realize() local
3960 assert(!vdc->vmsd || !vdc->load); in virtio_device_realize()
3962 if (vdc->realize != NULL) { in virtio_device_realize()
3963 vdc->realize(dev, &err); in virtio_device_realize()
3974 vdc->unrealize(dev); in virtio_device_realize()
3981 vdc->unrealize(dev); in virtio_device_realize()
3993 VirtioDeviceClass *vdc = VIRTIO_DEVICE_GET_CLASS(dev); in virtio_device_unrealize() local
3998 if (vdc->unrealize != NULL) { in virtio_device_unrealize()
3999 vdc->unrealize(dev); in virtio_device_unrealize()
4163 VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass); in virtio_device_class_init() local
4170 vdc->start_ioeventfd = virtio_device_start_ioeventfd_impl; in virtio_device_class_init()
4171 vdc->stop_ioeventfd = virtio_device_stop_ioeventfd_impl; in virtio_device_class_init()
4173 vdc->legacy_features |= VIRTIO_LEGACY_FEATURES; in virtio_device_class_init()
4217 VirtioDeviceClass *vdc = VIRTIO_DEVICE_GET_CLASS(vdev); in qmp_x_query_virtio_queue_status() local
4218 struct vhost_dev *hdev = vdc->get_vhost(vdev); in qmp_x_query_virtio_queue_status()