Home
last modified time | relevance | path

Searched refs:set_guest_notifiers (Results 1 – 16 of 16) sorted by relevance

/openbmc/qemu/hw/scsi/
H A Dvhost-scsi-common.c38 if (!k->set_guest_notifiers) { in vhost_scsi_common_start()
49 ret = k->set_guest_notifiers(qbus->parent, vsc->dev.nvqs, true); in vhost_scsi_common_start()
98 k->set_guest_notifiers(qbus->parent, vsc->dev.nvqs, false); in vhost_scsi_common_start()
113 if (k->set_guest_notifiers) { in vhost_scsi_common_stop()
114 ret = k->set_guest_notifiers(qbus->parent, vsc->dev.nvqs, false); in vhost_scsi_common_stop()
H A Dvirtio-scsi-dataplane.c32 if (!k->set_guest_notifiers || !k->ioeventfd_assign) { in virtio_scsi_dataplane_setup()
116 rc = k->set_guest_notifiers(qbus->parent, vs->conf.num_queues + 2, true); in virtio_scsi_dataplane_start()
180 k->set_guest_notifiers(qbus->parent, vs->conf.num_queues + 2, false); in virtio_scsi_dataplane_start()
236 k->set_guest_notifiers(qbus->parent, vs->conf.num_queues + 2, false); in virtio_scsi_dataplane_stop()
/openbmc/qemu/backends/
H A Dvhost-user.c59 if (!k->set_guest_notifiers) { in vhost_user_backend_start()
69 ret = k->set_guest_notifiers(qbus->parent, b->dev.nvqs, true); in vhost_user_backend_start()
95 k->set_guest_notifiers(qbus->parent, b->dev.nvqs, false); in vhost_user_backend_start()
113 if (k->set_guest_notifiers) { in vhost_user_backend_stop()
114 ret = k->set_guest_notifiers(qbus->parent, in vhost_user_backend_stop()
H A Dcryptodev-vhost.c183 if (!k->set_guest_notifiers) { in cryptodev_vhost_start()
203 r = k->set_guest_notifiers(qbus->parent, total_queues, true); in cryptodev_vhost_start()
237 e = k->set_guest_notifiers(qbus->parent, total_queues, false); in cryptodev_vhost_start()
264 r = k->set_guest_notifiers(qbus->parent, total_queues, false); in cryptodev_vhost_stop()
/openbmc/qemu/hw/virtio/
H A Dvhost-vsock-common.c56 if (!k->set_guest_notifiers) { in vhost_vsock_common_start()
67 ret = k->set_guest_notifiers(qbus->parent, vvc->vhost_dev.nvqs, true); in vhost_vsock_common_start()
92 k->set_guest_notifiers(qbus->parent, vvc->vhost_dev.nvqs, false); in vhost_vsock_common_start()
105 if (!k->set_guest_notifiers) { in vhost_vsock_common_stop()
111 ret = k->set_guest_notifiers(qbus->parent, vvc->vhost_dev.nvqs, false); in vhost_vsock_common_stop()
H A Dvhost-user-scmi.c42 if (!k->set_guest_notifiers) { in vu_scmi_start()
53 ret = k->set_guest_notifiers(qbus->parent, vhost_dev->nvqs, true); in vu_scmi_start()
79 k->set_guest_notifiers(qbus->parent, vhost_dev->nvqs, false); in vu_scmi_start()
100 if (!k->set_guest_notifiers) { in vu_scmi_stop()
106 ret = k->set_guest_notifiers(qbus->parent, vhost_dev->nvqs, false); in vu_scmi_stop()
H A Dvhost-user-base.c27 if (!k->set_guest_notifiers) { in vub_start()
38 ret = k->set_guest_notifiers(qbus->parent, vub->vhost_dev.nvqs, true); in vub_start()
64 k->set_guest_notifiers(qbus->parent, vub->vhost_dev.nvqs, false); in vub_start()
76 if (!k->set_guest_notifiers) { in vub_stop()
82 ret = k->set_guest_notifiers(qbus->parent, vub->vhost_dev.nvqs, false); in vub_stop()
H A Dvdpa-dev.c244 if (!k->set_guest_notifiers) { in vhost_vdpa_device_start()
255 ret = k->set_guest_notifiers(qbus->parent, s->dev.nvqs, true); in vhost_vdpa_device_start()
282 k->set_guest_notifiers(qbus->parent, s->dev.nvqs, false); in vhost_vdpa_device_start()
300 if (!k->set_guest_notifiers) { in vhost_vdpa_device_stop()
306 ret = k->set_guest_notifiers(qbus->parent, s->dev.nvqs, false); in vhost_vdpa_device_stop()
H A Dvhost-user-fs.c62 if (!k->set_guest_notifiers) { in vuf_start()
73 ret = k->set_guest_notifiers(qbus->parent, fs->vhost_dev.nvqs, true); in vuf_start()
98 k->set_guest_notifiers(qbus->parent, fs->vhost_dev.nvqs, false); in vuf_start()
110 if (!k->set_guest_notifiers) { in vuf_stop()
116 ret = k->set_guest_notifiers(qbus->parent, fs->vhost_dev.nvqs, false); in vuf_stop()
H A Dvirtio-mmio.c870 k->set_guest_notifiers = virtio_mmio_set_guest_notifiers; in virtio_mmio_bus_class_init()
H A Dvirtio-pci.c2585 k->set_guest_notifiers = virtio_pci_set_guest_notifiers; in virtio_pci_bus_class_init()
/openbmc/qemu/hw/block/
H A Dvhost-user-blk.c128 if (!k->set_guest_notifiers) { in vhost_user_blk_start()
139 ret = k->set_guest_notifiers(qbus->parent, s->dev.nvqs, true); in vhost_user_blk_start()
189 k->set_guest_notifiers(qbus->parent, s->dev.nvqs, false); in vhost_user_blk_start()
207 if (!k->set_guest_notifiers) { in vhost_user_blk_stop()
213 ret = k->set_guest_notifiers(qbus->parent, s->dev.nvqs, false); in vhost_user_blk_stop()
H A Dvirtio-blk.c1560 if (!k->set_guest_notifiers || !k->ioeventfd_assign) { in virtio_blk_vq_aio_context_init()
1652 r = k->set_guest_notifiers(qbus->parent, nvqs, true); in virtio_blk_start_ioeventfd()
1726 k->set_guest_notifiers(qbus->parent, nvqs, false); in virtio_blk_start_ioeventfd()
1817 k->set_guest_notifiers(qbus->parent, nvqs, false); in virtio_blk_stop_ioeventfd()
/openbmc/qemu/hw/net/
H A Dvhost_net.c374 if (!k->set_guest_notifiers) { in vhost_net_start()
399 r = k->set_guest_notifiers(qbus->parent, total_notifiers, true); in vhost_net_start()
435 e = k->set_guest_notifiers(qbus->parent, total_notifiers, false); in vhost_net_start()
465 r = k->set_guest_notifiers(qbus->parent, total_notifiers, false); in vhost_net_stop()
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-bus.h52 int (*set_guest_notifiers)(DeviceState *d, int nvqs, bool assign); member
/openbmc/qemu/hw/s390x/
H A Dvirtio-ccw.c1272 k->set_guest_notifiers = virtio_ccw_set_guest_notifiers; in virtio_ccw_bus_class_init()