/qemu/hw/isa/ |
H A D | lpc_ich9.c | 384 uint64_t guest_features; in smi_features_ok_callback() local 392 memcpy(&guest_features, lpc->smi_guest_features_le, sizeof guest_features); in smi_features_ok_callback() 393 le64_to_cpus(&guest_features); in smi_features_ok_callback() 394 if (guest_features & ~lpc->smi_host_features) { in smi_features_ok_callback() 399 guest_cpu_hotplug_features = guest_features & in smi_features_ok_callback() 402 if (!(guest_features & BIT_ULL(ICH9_LPC_SMI_F_BROADCAST_BIT)) && in smi_features_ok_callback() 418 lpc->smi_negotiated_features = guest_features; in smi_features_ok_callback()
|
/qemu/pc-bios/s390-ccw/ |
H A D | virtio-net.c | 56 vdev->guest_features[0] = VIRTIO_NET_F_MAC_BIT; in virtio_net_init() 59 if (!(vdev->guest_features[0] & VIRTIO_NET_F_MAC_BIT)) { in virtio_net_init()
|
H A D | virtio.c | 279 for (i = 0; i < ARRAY_SIZE(vdev->guest_features); i++) { in virtio_setup_ccw() 287 vdev->guest_features[i] &= bswap32(feats.features); in virtio_setup_ccw() 288 feats.features = bswap32(vdev->guest_features[i]); in virtio_setup_ccw()
|
H A D | virtio-blkdev.c | 229 vdev->guest_features[0] = VIRTIO_BLK_F_GEOMETRY | VIRTIO_BLK_F_BLK_SIZE; in virtio_blk_setup_device()
|
H A D | virtio.h | 257 uint32_t guest_features[2]; member
|
/qemu/hw/virtio/ |
H A D | virtio-mmio.c | 322 proxy->guest_features[proxy->guest_features_sel] = value; in virtio_mmio_write() 432 ((uint64_t)proxy->guest_features[1]) << 32 | in virtio_mmio_write() 433 proxy->guest_features[0]); in virtio_mmio_write() 590 VMSTATE_UINT32_ARRAY(guest_features, VirtIOMMIOProxy, 2), 644 proxy->guest_features[0] = proxy->guest_features[1] = 0; in virtio_mmio_reset()
|
H A D | virtio-pci.c | 126 VMSTATE_UINT32_ARRAY(guest_features, VirtIOPCIProxy, 2), 487 ret = vdev->guest_features; in virtio_ioport_read() 1507 if (proxy->gfselect < ARRAY_SIZE(proxy->guest_features)) { in virtio_pci_common_read() 1508 val = proxy->guest_features[proxy->gfselect]; in virtio_pci_common_read() 1590 if (proxy->gfselect < ARRAY_SIZE(proxy->guest_features)) { in virtio_pci_common_write() 1591 proxy->guest_features[proxy->gfselect] = val; in virtio_pci_common_write() 1593 (((uint64_t)proxy->guest_features[1]) << 32) | in virtio_pci_common_write() 1594 proxy->guest_features[0]); in virtio_pci_common_write()
|
H A D | virtio-qmp.c | 745 status->guest_features = qmp_decode_features(vdev->device_id, in qmp_x_query_virtio_status() 746 vdev->guest_features); in qmp_x_query_virtio_status()
|
H A D | vhost-vsock-common.c | 73 vvc->vhost_dev.acked_features = vdev->guest_features; in vhost_vsock_common_start()
|
H A D | vhost-user-scmi.c | 59 vhost_ack_features(vhost_dev, feature_bits, vdev->guest_features); in vu_scmi_start()
|
H A D | vhost-user-base.c | 44 vub->vhost_dev.acked_features = vdev->guest_features; in vub_start()
|
H A D | virtio-hmp-cmds.c | 150 hmp_virtio_dump_features(mon, s->guest_features); in hmp_virtio_status()
|
H A D | vdpa-dev.c | 261 s->dev.acked_features = vdev->guest_features; in vhost_vdpa_device_start()
|
H A D | vhost-user-fs.c | 79 fs->vhost_dev.acked_features = vdev->guest_features; in vuf_start()
|
H A D | virtio.c | 2919 VMSTATE_UINT64(guest_features, VirtIODevice), 2983 uint32_t guest_features_lo = (vdev->guest_features & 0xffffffff); in virtio_save() 3071 vdev->guest_features = val; in virtio_set_features_nocheck() 3257 vdev->guest_features = features; in virtio_load() 3342 uint64_t features64 = vdev->guest_features; in virtio_load()
|
/qemu/include/hw/virtio/ |
H A D | virtio-mmio.h | 71 uint32_t guest_features[2]; member
|
H A D | virtio-pci.h | 161 uint32_t guest_features[2]; member
|
H A D | virtio.h | 125 uint64_t guest_features; member 452 return virtio_has_feature(vdev->guest_features, fbit); in virtio_vdev_has_feature()
|
/qemu/hw/scsi/ |
H A D | vhost-scsi-common.c | 55 vsc->dev.acked_features = vdev->guest_features; in vhost_scsi_common_start()
|
/qemu/backends/ |
H A D | vhost-user.c | 75 b->dev.acked_features = b->vdev->guest_features; in vhost_user_backend_start()
|
/qemu/hw/net/ |
H A D | vmxnet3.c | 1311 uint32_t guest_features; in vmxnet3_update_features() local 1315 guest_features = VMXNET3_READ_DRV_SHARED32(d, s->drv_shmem, in vmxnet3_update_features() 1318 rxcso_supported = VMXNET_FLAG_IS_SET(guest_features, UPT1_F_RXCSUM); in vmxnet3_update_features() 1319 s->rx_vlan_stripping = VMXNET_FLAG_IS_SET(guest_features, UPT1_F_RXVLAN); in vmxnet3_update_features() 1320 s->lro_supported = VMXNET_FLAG_IS_SET(guest_features, UPT1_F_LRO); in vmxnet3_update_features()
|
H A D | virtio-net.c | 300 if (virtio_has_feature(vdev->guest_features, VIRTIO_NET_F_MTU)) { in virtio_net_vhost_status() 872 return virtio_net_guest_offloads_by_features(vdev->guest_features); in virtio_net_supported_guest_offloads() 1969 vdev->guest_features); in virtio_net_receive_rcu() 3073 virtio_has_feature(vdev->guest_features, VIRTIO_NET_F_RSS) || in virtio_net_pre_load_queues() 3074 virtio_has_feature(vdev->guest_features, VIRTIO_NET_F_MQ)); in virtio_net_pre_load_queues()
|
/qemu/hw/s390x/ |
H A D | virtio-ccw.c | 432 (vdev->guest_features & 0xffffffff00000000ULL) | in virtio_ccw_cb() 441 (vdev->guest_features & 0x00000000ffffffffULL) | in virtio_ccw_cb()
|
/qemu/hw/block/ |
H A D | vhost-user-blk.c | 157 s->dev.acked_features = vdev->guest_features; in vhost_user_blk_start()
|
/qemu/qapi/ |
H A D | virtio.json | 127 # @guest-features: VirtIODevice guest_features
|