Home
last modified time | relevance | path

Searched refs:backend_features (Results 1 – 14 of 14) sorted by relevance

/qemu/hw/virtio/
H A Dvdpa-dev.c107 v->dev.backend_features = 0; in vhost_vdpa_device_realize()
228 uint64_t backend_features = s->dev.features; in vhost_vdpa_device_get_features() local
231 virtio_clear_feature(&backend_features, VIRTIO_F_IOMMU_PLATFORM); in vhost_vdpa_device_get_features()
234 return backend_features; in vhost_vdpa_device_get_features()
H A Dvirtio-qmp.c740 status->backend_features = qmp_decode_features(vdev->device_id, in qmp_x_query_virtio_status()
741 vdev->backend_features); in qmp_x_query_virtio_status()
782 status->vhost_dev->backend_features = in qmp_x_query_virtio_status()
783 qmp_decode_features(vdev->device_id, hdev->backend_features); in qmp_x_query_virtio_status()
H A Dvirtio-hmp-cmds.c154 hmp_virtio_dump_features(mon, s->backend_features); in hmp_virtio_status()
179 hmp_virtio_dump_features(mon, s->vhost_dev->backend_features); in hmp_virtio_status()
H A Dvhost-user.c1437 features | dev->backend_features, in vhost_user_set_features()
2164 dev->backend_features |= 1ULL << VHOST_USER_F_PROTOCOL_FEATURES; in vhost_user_backend_init()
H A Dvhost.c1980 !virtio_has_feature(hdev->backend_features, in vhost_dev_set_vring_enable()
/qemu/hw/net/
H A Dvhost_net.c136 net->dev.acked_features = net->dev.backend_features; in vhost_net_ack_features()
193 net->dev.backend_features = qemu_has_vnet_hdr(options->net_backend) in vhost_net_init()
198 net->dev.backend_features = 0; in vhost_net_init()
218 if (~net->dev.features & net->dev.backend_features) { in vhost_net_init()
221 (uint64_t)(~net->dev.features & net->dev.backend_features)); in vhost_net_init()
H A Dvirtio-net.c801 vdev->backend_features = features; in virtio_net_get_features()
819 if (!virtio_has_feature(vdev->backend_features, VIRTIO_NET_F_CTRL_VQ)) { in virtio_net_get_features()
956 !virtio_has_feature(vdev->backend_features, VIRTIO_NET_F_MTU)) { in virtio_net_set_features()
/qemu/include/hw/virtio/
H A Dvhost.h111 uint64_t backend_features; member
H A Dvirtio.h124 uint64_t backend_features; member
/qemu/hw/scsi/
H A Dvhost-scsi.c276 vsc->dev.backend_features = 0; in vhost_scsi_realize()
H A Dvhost-user-scsi.c156 vsc->dev.backend_features = 0; in vhost_user_scsi_connect()
/qemu/qapi/
H A Dvirtio.json86 # @backend-features: vhost_dev backend_features
131 # @backend-features: VirtIODevice backend_features
/qemu/net/
H A Dvhost-vdpa.c1586 uint64_t backend_features; in vhost_vdpa_probe_cvq_isolation() local
1592 r = ioctl(device_fd, VHOST_GET_BACKEND_FEATURES, &backend_features); in vhost_vdpa_probe_cvq_isolation()
1598 if (!(backend_features & BIT_ULL(VHOST_BACKEND_F_IOTLB_ASID))) { in vhost_vdpa_probe_cvq_isolation()
/qemu/hw/block/
H A Dvhost-user-blk.c329 s->dev.backend_features = 0; in vhost_user_blk_connect()