Home
last modified time | relevance | path

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

/openbmc/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
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-mmio.h71 uint32_t guest_features[2]; member
/openbmc/qemu/hw/virtio/
H A Dvirtio-pci.c119 for (i = 2; i < ARRAY_SIZE(proxy->guest_features); ++i) { in virtio_pci_modern_state_features128_needed()
120 features |= proxy->guest_features[i]; in virtio_pci_modern_state_features128_needed()
131 VMSTATE_UINT32_SUB_ARRAY(guest_features, VirtIOPCIProxy, 2, 2),
157 VMSTATE_UINT32_SUB_ARRAY(guest_features, VirtIOPCIProxy, 0, 2),
533 ret = vdev->guest_features; in virtio_ioport_read()
1570 val = proxy->guest_features[proxy->gfselect]; in virtio_pci_common_read()
1656 proxy->guest_features[proxy->gfselect] = val; in virtio_pci_common_write()
1658 for (i = 0; i < ARRAY_SIZE(proxy->guest_features); ++i) { in virtio_pci_common_write()
1659 uint64_t cur = proxy->guest_features[i]; in virtio_pci_common_write()
2384 memset(proxy->guest_features, 0, sizeof(proxy->guest_features)); in virtio_pci_reset()
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 Dvhost-user-fs.c79 fs->vhost_dev.acked_features = vdev->guest_features; in vuf_start()
/openbmc/qemu/hw/scsi/
H A Dvhost-scsi-common.c55 vsc->dev.acked_features = vdev->guest_features; in vhost_scsi_common_start()
/openbmc/qemu/backends/
H A Dvhost-user.c75 b->dev.acked_features = b->vdev->guest_features; in vhost_user_backend_start()
/openbmc/qemu/hw/block/
H A Dvhost-user-blk.c157 s->dev.acked_features = vdev->guest_features; in vhost_user_blk_start()