Home
last modified time | relevance | path

Searched refs:virtio_has_feature (Results 1 – 12 of 12) sorted by relevance

/qemu/hw/virtio/
A Dvhost-user.c1014 virtio_has_feature(dev->protocol_features, in vhost_user_set_mem_table()
1457 if (virtio_has_feature(dev->protocol_features, in vhost_user_set_features()
1512 if (!virtio_has_feature(dev->protocol_features, in vhost_user_reset_device()
1570 if (!virtio_has_feature(dev->protocol_features, in vhost_user_backend_handle_vring_host_notifier()
1888 if (!virtio_has_feature(dev->protocol_features, in vhost_setup_backend_channel()
2279 !virtio_has_feature(dev->protocol_features, in vhost_user_backend_init()
2365 if (virtio_has_feature(dev->protocol_features, in vhost_user_migration_done()
2444 if (!virtio_has_feature(dev->protocol_features, in vhost_user_get_config()
2497 if (!virtio_has_feature(dev->protocol_features, in vhost_user_set_config()
2681 if (!virtio_has_feature(dev->protocol_features, in vhost_user_get_inflight_fd()
[all …]
A Dvirtio-balloon.c713 if (virtio_has_feature(features, VIRTIO_BALLOON_F_PAGE_POISON)) { in virtio_balloon_config_size()
716 if (virtio_has_feature(features, VIRTIO_BALLOON_F_FREE_PAGE_HINT)) { in virtio_balloon_config_size()
885 if (virtio_has_feature(s->host_features, VIRTIO_BALLOON_F_FREE_PAGE_HINT) && in virtio_balloon_device_realize()
896 if (virtio_has_feature(s->host_features, VIRTIO_BALLOON_F_FREE_PAGE_HINT)) { in virtio_balloon_device_realize()
907 if (virtio_has_feature(s->host_features, VIRTIO_BALLOON_F_REPORTING)) { in virtio_balloon_device_realize()
A Dvhost-vsock-common.c41 !virtio_has_feature(features, VIRTIO_VSOCK_F_SEQPACKET)) { in vhost_vsock_common_get_features()
A Dvdpa-dev.c230 if (!virtio_has_feature(features, VIRTIO_F_IOMMU_PLATFORM)) { in vhost_vdpa_device_get_features()
A Dvhost.c1998 !virtio_has_feature(hdev->backend_features, in vhost_dev_set_vring_enable()
A Dvirtio-pci.c1971 !virtio_has_feature(vdev->host_features, VIRTIO_F_VERSION_1)) { in virtio_pci_device_plugged()
/qemu/hw/net/
A Dvirtio-net.c966 virtio_has_feature(features, in virtio_net_set_features()
968 virtio_has_feature(features, in virtio_net_set_features()
970 virtio_has_feature(features, in virtio_net_set_features()
974 virtio_has_feature(features, VIRTIO_NET_F_GUEST_TSO4); in virtio_net_set_features()
976 virtio_has_feature(features, VIRTIO_NET_F_GUEST_TSO6); in virtio_net_set_features()
1000 if (!virtio_has_feature(features, VIRTIO_NET_F_CTRL_VLAN)) { in virtio_net_set_features()
1004 if (virtio_has_feature(features, VIRTIO_NET_F_STANDBY)) { in virtio_net_set_features()
1077 virtio_has_feature(offloads, VIRTIO_NET_F_GUEST_TSO4); in virtio_net_handle_offloads()
1079 virtio_has_feature(offloads, VIRTIO_NET_F_GUEST_TSO6); in virtio_net_handle_offloads()
3803 if (virtio_has_feature(n->host_features, VIRTIO_NET_F_RSS)) { in virtio_net_device_realize()
[all …]
/qemu/include/hw/virtio/
A Dvirtio.h443 static inline bool virtio_has_feature(uint64_t features, unsigned int fbit) in virtio_has_feature() function
452 return virtio_has_feature(vdev->guest_features, fbit); in virtio_vdev_has_feature()
458 return virtio_has_feature(vdev->host_features, fbit); in virtio_host_has_feature()
/qemu/hw/block/
A Dvirtio-blk.c483 if (!virtio_has_feature(s->host_features, VIRTIO_BLK_F_ZONED)) { in check_zoned_request()
1175 if (virtio_has_feature(s->host_features, VIRTIO_BLK_F_DISCARD)) { in virtio_blk_update_config()
1191 if (virtio_has_feature(s->host_features, VIRTIO_BLK_F_WRITE_ZEROES)) { in virtio_blk_update_config()
1246 if (!virtio_has_feature(features, VIRTIO_F_VERSION_1)) { in virtio_blk_get_features()
1254 virtio_has_feature(features, VIRTIO_BLK_F_CONFIG_WCE))) { in virtio_blk_get_features()
1881 if (virtio_has_feature(s->host_features, VIRTIO_BLK_F_DISCARD) && in virtio_blk_device_realize()
1890 if (virtio_has_feature(s->host_features, VIRTIO_BLK_F_WRITE_ZEROES) && in virtio_blk_device_realize()
/qemu/hw/display/
A Dvhost-user-gpu.c625 if (virtio_has_feature(g->vhost->dev.features, VIRTIO_GPU_F_VIRGL)) { in vhost_user_gpu_device_realize()
628 if (virtio_has_feature(g->vhost->dev.features, VIRTIO_GPU_F_EDID)) { in vhost_user_gpu_device_realize()
/qemu/hw/char/
A Dvirtio-serial-bus.c590 if (!virtio_has_feature(vser->host_features, in set_config()
1043 if (!virtio_has_feature(vser->host_features, in virtio_serial_device_realize()
/qemu/hw/s390x/
A Dvirtio-ccw.c1162 if (!virtio_has_feature(vdev->host_features, VIRTIO_F_VERSION_1)) { in virtio_ccw_device_plugged()

Completed in 43 milliseconds