Home
last modified time | relevance | path

Searched refs:guest_features (Results 1 – 25 of 25) sorted by relevance

/qemu/hw/isa/
H A Dlpc_ich9.c384 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 Dvirtio-net.c56 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 Dvirtio.c279 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 Dvirtio-blkdev.c229 vdev->guest_features[0] = VIRTIO_BLK_F_GEOMETRY | VIRTIO_BLK_F_BLK_SIZE; in virtio_blk_setup_device()
H A Dvirtio.h257 uint32_t guest_features[2]; member
/qemu/hw/virtio/
H A Dvirtio-mmio.c322 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 Dvirtio-pci.c126 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 Dvirtio-qmp.c745 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 Dvhost-vsock-common.c73 vvc->vhost_dev.acked_features = vdev->guest_features; in vhost_vsock_common_start()
H A Dvhost-user-scmi.c59 vhost_ack_features(vhost_dev, feature_bits, vdev->guest_features); in vu_scmi_start()
H A Dvhost-user-base.c44 vub->vhost_dev.acked_features = vdev->guest_features; in vub_start()
H A Dvirtio-hmp-cmds.c150 hmp_virtio_dump_features(mon, s->guest_features); in hmp_virtio_status()
H A Dvdpa-dev.c261 s->dev.acked_features = vdev->guest_features; in vhost_vdpa_device_start()
H A Dvhost-user-fs.c79 fs->vhost_dev.acked_features = vdev->guest_features; in vuf_start()
H A Dvirtio.c2919 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 Dvirtio-mmio.h71 uint32_t guest_features[2]; member
H A Dvirtio-pci.h161 uint32_t guest_features[2]; member
H A Dvirtio.h125 uint64_t guest_features; member
452 return virtio_has_feature(vdev->guest_features, fbit); in virtio_vdev_has_feature()
/qemu/hw/scsi/
H A Dvhost-scsi-common.c55 vsc->dev.acked_features = vdev->guest_features; in vhost_scsi_common_start()
/qemu/backends/
H A Dvhost-user.c75 b->dev.acked_features = b->vdev->guest_features; in vhost_user_backend_start()
/qemu/hw/net/
H A Dvmxnet3.c1311 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 Dvirtio-net.c300 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 Dvirtio-ccw.c432 (vdev->guest_features & 0xffffffff00000000ULL) | in virtio_ccw_cb()
441 (vdev->guest_features & 0x00000000ffffffffULL) | in virtio_ccw_cb()
/qemu/hw/block/
H A Dvhost-user-blk.c157 s->dev.acked_features = vdev->guest_features; in vhost_user_blk_start()
/qemu/qapi/
H A Dvirtio.json127 # @guest-features: VirtIODevice guest_features