/qemu/hw/vfio/ |
H A D | migration.c | 92 static void vfio_migration_send_event(VFIODevice *vbasedev) in vfio_migration_send_event() 112 static void vfio_migration_set_device_state(VFIODevice *vbasedev, in vfio_migration_set_device_state() 124 int vfio_migration_set_state(VFIODevice *vbasedev, in vfio_migration_set_state() 222 vfio_migration_set_state_or_reset(VFIODevice *vbasedev, in vfio_migration_set_state_or_reset() 230 static int vfio_load_buffer(QEMUFile *f, VFIODevice *vbasedev, in vfio_load_buffer() 244 VFIODevice *vbasedev = opaque; in vfio_save_device_config_state() local 269 VFIODevice *vbasedev = opaque; in vfio_load_device_config_state() local 296 static void vfio_migration_cleanup(VFIODevice *vbasedev) in vfio_migration_cleanup() 304 static int vfio_query_stop_copy_size(VFIODevice *vbasedev, in vfio_query_stop_copy_size() 410 static bool vfio_precopy_supported(VFIODevice *vbasedev) in vfio_precopy_supported() [all …]
|
H A D | device.c | 56 VFIODevice *vbasedev; in vfio_device_reset_handler() local 75 void vfio_device_irq_disable(VFIODevice *vbasedev, int index) in vfio_device_irq_disable() 88 void vfio_device_irq_unmask(VFIODevice *vbasedev, int index) in vfio_device_irq_unmask() 101 void vfio_device_irq_mask(VFIODevice *vbasedev, int index) in vfio_device_irq_mask() 128 static const char *index_to_str(VFIODevice *vbasedev, int index) in index_to_str() 150 bool vfio_device_irq_set_signaling(VFIODevice *vbasedev, int index, int subindex, in vfio_device_irq_set_signaling() 188 int vfio_device_get_irq_info(VFIODevice *vbasedev, int index, in vfio_device_get_irq_info() 199 int vfio_device_get_region_info(VFIODevice *vbasedev, int index, in vfio_device_get_region_info() 246 int vfio_device_get_region_info_type(VFIODevice *vbasedev, uint32_t type, in vfio_device_get_region_info_type() 278 bool vfio_device_has_region_cap(VFIODevice *vbasedev, int region, uint16_t cap_type) in vfio_device_has_region_cap() [all …]
|
H A D | platform.c | 58 static VFIOINTp *vfio_init_intp(VFIODevice *vbasedev, in vfio_init_intp() 116 VFIODevice *vbasedev = &intp->vdev->vbasedev; in vfio_set_trigger_eventfd() local 286 static void vfio_platform_eoi(VFIODevice *vbasedev) in vfio_platform_eoi() 356 VFIODevice *vbasedev = &intp->vdev->vbasedev; in vfio_set_resample_eventfd() local 426 static void vfio_platform_compute_needs_reset(VFIODevice *vbasedev) in vfio_platform_compute_needs_reset() 432 static int vfio_platform_hot_reset_multi(VFIODevice *vbasedev) in vfio_platform_hot_reset_multi() 444 static bool vfio_populate_device(VFIODevice *vbasedev, Error **errp) in vfio_populate_device() 529 static bool vfio_base_device_init(VFIODevice *vbasedev, Error **errp) in vfio_base_device_init() 575 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_platform_realize() local 649 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_platform_instance_init() local
|
H A D | iommufd.c | 77 static bool iommufd_cdev_kvm_device_add(VFIODevice *vbasedev, Error **errp) in iommufd_cdev_kvm_device_add() 82 static void iommufd_cdev_kvm_device_del(VFIODevice *vbasedev) in iommufd_cdev_kvm_device_del() 91 static bool iommufd_cdev_connect_and_bind(VFIODevice *vbasedev, Error **errp) in iommufd_cdev_connect_and_bind() 131 static void iommufd_cdev_unbind_and_disconnect(VFIODevice *vbasedev) in iommufd_cdev_unbind_and_disconnect() 262 static int iommufd_cdev_attach_ioas_hwpt(VFIODevice *vbasedev, uint32_t id, in iommufd_cdev_attach_ioas_hwpt() 285 static bool iommufd_cdev_detach_ioas_hwpt(VFIODevice *vbasedev, Error **errp) in iommufd_cdev_detach_ioas_hwpt() 302 static bool iommufd_cdev_autodomains_get(VFIODevice *vbasedev, in iommufd_cdev_autodomains_get() 388 static void iommufd_cdev_autodomains_put(VFIODevice *vbasedev, in iommufd_cdev_autodomains_put() 403 static bool iommufd_cdev_attach_container(VFIODevice *vbasedev, in iommufd_cdev_attach_container() 415 static void iommufd_cdev_detach_container(VFIODevice *vbasedev, in iommufd_cdev_detach_container() [all …]
|
H A D | migration-multifd.c | 107 static bool vfio_load_state_buffer_insert(VFIODevice *vbasedev, in vfio_load_state_buffer_insert() 140 VFIODevice *vbasedev = opaque; in vfio_multifd_load_state_buffer() local 200 static bool vfio_load_bufs_thread_load_config(VFIODevice *vbasedev, in vfio_load_bufs_thread_load_config() 271 static bool vfio_load_state_buffer_write(VFIODevice *vbasedev, in vfio_load_state_buffer_write() 343 VFIODevice *vbasedev = opaque; in vfio_load_bufs_thread() local 470 void vfio_multifd_cleanup(VFIODevice *vbasedev) in vfio_multifd_cleanup() 483 bool vfio_multifd_transfer_enabled(VFIODevice *vbasedev) in vfio_multifd_transfer_enabled() 490 bool vfio_multifd_setup(VFIODevice *vbasedev, bool alloc_multifd, Error **errp) in vfio_multifd_setup() 525 void vfio_multifd_emit_dummy_eos(VFIODevice *vbasedev, QEMUFile *f) in vfio_multifd_emit_dummy_eos() 537 vfio_save_complete_precopy_thread_config_state(VFIODevice *vbasedev, in vfio_save_complete_precopy_thread_config_state() [all …]
|
H A D | container-base.c | 147 VFIODevice *vbasedev; in vfio_container_devices_dirty_tracking_is_started() local 168 VFIODevice *vbasedev; in vfio_container_devices_dirty_tracking_is_supported() local 182 static int vfio_device_dma_logging_report(VFIODevice *vbasedev, hwaddr iova, in vfio_device_dma_logging_report() 217 VFIODevice *vbasedev; in vfio_container_devices_query_dirty_bitmap() local
|
H A D | region.c | 41 VFIODevice *vbasedev = region->vbasedev; in vfio_region_write() local 94 VFIODevice *vbasedev = region->vbasedev; in vfio_region_read() local 187 int vfio_region_setup(Object *obj, VFIODevice *vbasedev, VFIORegion *region, in vfio_region_setup()
|
H A D | pci.c | 124 void vfio_pci_intx_eoi(VFIODevice *vbasedev) in vfio_pci_intx_eoi() 538 static void set_irq_signalling(VFIODevice *vbasedev, VFIOMSIVector *vector, in set_irq_signalling() 929 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_pci_load_rom() local 1085 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_pci_size_rom() local 1289 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_pci_read_config() local 1323 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_pci_write_config() local 2530 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_pci_post_reset() local 2603 VFIODevice *vbasedev = &vdev->vbasedev; in vfio_pci_hot_reset() local 2629 static int vfio_pci_hot_reset_multi(VFIODevice *vbasedev) in vfio_pci_hot_reset_multi() 2635 static void vfio_pci_compute_needs_reset(VFIODevice *vbasedev) in vfio_pci_compute_needs_reset() [all …]
|
H A D | container.c | 855 VFIODevice *vbasedev, Error **errp) in vfio_device_get() 912 static void vfio_device_put(VFIODevice *vbasedev) in vfio_device_put() 924 static int vfio_device_get_groupid(VFIODevice *vbasedev, Error **errp) in vfio_device_get_groupid() 956 static bool vfio_legacy_attach_device(const char *name, VFIODevice *vbasedev, in vfio_legacy_attach_device() 1006 static void vfio_legacy_detach_device(VFIODevice *vbasedev) in vfio_legacy_detach_device() 1020 static int vfio_legacy_pci_hot_reset(VFIODevice *vbasedev, bool single) in vfio_legacy_pci_hot_reset()
|
H A D | listener.c | 57 VFIODevice *vbasedev; in vfio_log_sync_needed() local 447 static void vfio_device_error_append(VFIODevice *vbasedev, Error **errp) in vfio_device_error_append() 613 VFIODevice *vbasedev = in vfio_container_region_add() local 748 VFIODevice *vbasedev; in vfio_section_is_vfio_pci() local 860 VFIODevice *vbasedev; in vfio_devices_dma_logging_stop() local 962 VFIODevice *vbasedev; in vfio_devices_dma_logging_start() local
|
H A D | ap.c | 231 VFIODevice *vbasedev = &vapdev->vdev; in vfio_ap_realize() local 311 VFIODevice *vbasedev = &vapdev->vdev; in vfio_ap_instance_init() local
|
H A D | vfio-migration-internal.h | 40 struct VFIODevice *vbasedev; member
|
H A D | ccw.c | 569 VFIODevice *vbasedev = &vcdev->vdev; in vfio_ccw_realize() local 665 VFIODevice *vbasedev = &vcdev->vdev; in vfio_ccw_instance_init() local
|
H A D | pci.h | 134 VFIODevice vbasedev; member
|
/qemu/include/hw/vfio/ |
H A D | vfio-region.h | 24 struct VFIODevice *vbasedev; member
|
H A D | vfio-platform.h | 54 VFIODevice vbasedev; /* not a QOM object */ member
|
/qemu/hw/core/ |
H A D | sysbus-fdt.c | 226 VFIODevice *vbasedev = &vdev->vbasedev; in add_calxeda_midway_xgmac_fdt_node() local 297 VFIODevice *vbasedev = &vdev->vbasedev; in add_amd_xgbe_fdt_node() local
|