Home
last modified time | relevance | path

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

/qemu/hw/virtio/
H A Dvirtio.c210 if (!virtio_vdev_has_feature(vdev, VIRTIO_RING_F_INDIRECT_DESC)) { in virtio_check_indirect_feature()
254 packed = virtio_vdev_has_feature(vq->vdev, VIRTIO_F_RING_PACKED) ? in virtio_init_region_cache()
522 if (virtio_vdev_has_feature(vq->vdev, VIRTIO_RING_F_EVENT_IDX)) { in virtio_queue_split_set_notification()
551 } else if (virtio_vdev_has_feature(vq->vdev, VIRTIO_RING_F_EVENT_IDX)) { in virtio_queue_packed_set_notification()
581 if (virtio_vdev_has_feature(vq->vdev, VIRTIO_F_RING_PACKED)) { in virtio_queue_set_notification()
749 if (virtio_vdev_has_feature(vq->vdev, VIRTIO_F_RING_PACKED)) { in virtio_queue_empty()
791 if (virtio_vdev_has_feature(vq->vdev, VIRTIO_F_RING_PACKED)) { in virtio_queue_poll()
878 if (virtio_vdev_has_feature(vq->vdev, VIRTIO_F_RING_PACKED)) { in virtqueue_unpop()
906 if (virtio_vdev_has_feature(vq->vdev, VIRTIO_F_RING_PACKED)) { in virtqueue_rewind()
1028 if (virtio_vdev_has_feature(vq->vdev, VIRTIO_F_IN_ORDER)) { in virtqueue_fill()
[all …]
H A Dvhost-shadow-virtqueue.c249 if (virtio_vdev_has_feature(svq->vdev, VIRTIO_RING_F_EVENT_IDX)) { in vhost_svq_kick()
407 if (virtio_vdev_has_feature(svq->vdev, VIRTIO_RING_F_EVENT_IDX)) { in vhost_svq_enable_notification()
425 if (!virtio_vdev_has_feature(svq->vdev, VIRTIO_RING_F_EVENT_IDX)) { in vhost_svq_disable_notification()
H A Dvirtio-balloon.c215 return virtio_vdev_has_feature(vdev, VIRTIO_BALLOON_F_STATS_VQ); in balloon_stats_supported()
592 return virtio_vdev_has_feature(vdev, VIRTIO_BALLOON_F_FREE_PAGE_HINT); in virtio_balloon_free_page_support()
761 return virtio_vdev_has_feature(vdev, VIRTIO_BALLOON_F_PAGE_POISON); in virtio_balloon_page_poison_support()
H A Dvirtio-mmio.c413 if (virtio_vdev_has_feature(vdev, VIRTIO_F_NOTIFICATION_DATA)) { in virtio_mmio_write()
H A Dvirtio-pci.c411 if (virtio_vdev_has_feature(vdev, VIRTIO_F_NOTIFICATION_DATA)) { in virtio_ioport_write()
1406 if (virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { in virtio_pci_queue_enabled()
H A Dvirtio-mem.c902 !virtio_vdev_has_feature(vdev, VIRTIO_MEM_F_UNPLUGGED_INACCESSIBLE)) { in virtio_mem_validate_features()
H A Dvirtio-iommu.c1294 if (!virtio_vdev_has_feature(vdev, VIRTIO_IOMMU_F_BYPASS_CONFIG)) { in virtio_iommu_set_config()
H A Dvhost.c1162 if (virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { in vhost_needs_vring_endian()
/qemu/net/
H A Dvhost-vdpa.c332 cvq = virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_VQ) ? in vhost_vdpa_net_log_global_enable()
755 if (virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_CTRL_MAC_ADDR)) { in vhost_vdpa_net_load_mac()
780 if (!virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_CTRL_RX) || in vhost_vdpa_net_load_mac()
926 if (!virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_MQ)) { in vhost_vdpa_net_load_mq()
945 if (virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_RSS)) { in vhost_vdpa_net_load_mq()
951 } else if (virtio_vdev_has_feature(&n->parent_obj, in vhost_vdpa_net_load_mq()
971 if (!virtio_vdev_has_feature(&n->parent_obj, in vhost_vdpa_net_load_offloads()
1036 if (!virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_CTRL_RX)) { in vhost_vdpa_net_load_rx()
1091 if (!virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_CTRL_RX_EXTRA)) { in vhost_vdpa_net_load_rx()
1198 if (!virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_CTRL_VLAN)) { in vhost_vdpa_net_load_vlan()
/qemu/hw/s390x/
H A Ds390-hypercall.c51 if (virtio_vdev_has_feature(vdev, VIRTIO_F_NOTIFICATION_DATA)) { in handle_virtio_ccw_notify()
/qemu/hw/net/
H A Dvirtio-net.c200 if (!virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_MAC_ADDR) && in virtio_net_set_config()
201 !virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1) && in virtio_net_set_config()
257 if (virtio_vdev_has_feature(vdev, VIRTIO_NET_F_GUEST_ANNOUNCE) && in virtio_net_announce()
258 virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_VQ)) { in virtio_net_announce()
268 int cvq = virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_VQ) ? in virtio_net_vhost_status()
540 if (!virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_VLAN)) { in virtio_net_query_rxfilter()
1059 if (!virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_GUEST_OFFLOADS)) { in virtio_net_handle_offloads()
1399 if (do_rss && !virtio_vdev_has_feature(vdev, VIRTIO_NET_F_RSS)) { in virtio_net_handle_rss()
1403 if (!do_rss && !virtio_vdev_has_feature(vdev, VIRTIO_NET_F_HASH_REPORT)) { in virtio_net_handle_rss()
1520 if (!virtio_vdev_has_feature(vdev, VIRTIO_NET_F_MQ)) { in virtio_net_handle_mq()
[all …]
/qemu/include/hw/virtio/
H A Dvirtio.h449 static inline bool virtio_vdev_has_feature(const VirtIODevice *vdev, in virtio_vdev_has_feature() function
463 if (!virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { in virtio_is_big_endian()
H A Dvirtio-access.h32 if (virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { in virtio_access_is_big_endian()
/qemu/hw/scsi/
H A Dvirtio-scsi.c205 if (!virtio_vdev_has_feature(vdev, VIRTIO_F_ANY_LAYOUT)) { in virtio_scsi_parse_req()
1114 if (virtio_vdev_has_feature(vdev, VIRTIO_SCSI_F_CHANGE) && in virtio_scsi_change()
1153 if (virtio_vdev_has_feature(vdev, VIRTIO_SCSI_F_HOTPLUG)) { in virtio_scsi_hotplug()
1190 if (virtio_vdev_has_feature(vdev, VIRTIO_SCSI_F_HOTPLUG)) { in virtio_scsi_hotunplug()
/qemu/hw/block/
H A Dvirtio-blk.c1300 if (!virtio_vdev_has_feature(vdev, VIRTIO_BLK_F_CONFIG_WCE)) { in virtio_blk_set_status()
1302 virtio_vdev_has_feature(vdev, in virtio_blk_set_status()
/qemu/hw/char/
H A Dvirtio-serial-bus.c97 return virtio_vdev_has_feature(vdev, VIRTIO_CONSOLE_F_MULTIPORT); in use_multiport()