/qemu/hw/block/ |
H A D | virtio-blk.c | 1376 features |= s->host_features; in virtio_blk_get_features() 1378 virtio_add_feature(&features, VIRTIO_BLK_F_SEG_MAX); in virtio_blk_get_features() 1379 virtio_add_feature(&features, VIRTIO_BLK_F_GEOMETRY); in virtio_blk_get_features() 1380 virtio_add_feature(&features, VIRTIO_BLK_F_TOPOLOGY); in virtio_blk_get_features() 1381 virtio_add_feature(&features, VIRTIO_BLK_F_BLK_SIZE); in virtio_blk_get_features() 1382 if (virtio_has_feature(features, VIRTIO_F_VERSION_1)) { in virtio_blk_get_features() 1389 virtio_add_feature(&features, VIRTIO_BLK_F_SCSI); in virtio_blk_get_features() 1395 virtio_add_feature(&features, VIRTIO_BLK_F_WCE); in virtio_blk_get_features() 1398 virtio_add_feature(&features, VIRTIO_BLK_F_RO); in virtio_blk_get_features() 1401 virtio_add_feature(&features, VIRTIO_BLK_F_MQ); in virtio_blk_get_features() [all …]
|
/qemu/tests/qapi-schema/ |
H A D | enum-dict-member-unknown.err | 3 Valid keys are 'features', 'if', 'name'.
|
/qemu/tests/qtest/libqos/ |
H A D | virtio-pci-modern.c | 62 static void set_features(QVirtioDevice *d, uint64_t features) in set_features() argument 67 g_assert_cmphex(features & (1ull << VIRTIO_F_VERSION_1), !=, 0); in set_features() 76 features); in set_features() 84 features >> 32); in set_features()
|
H A D | virtio-mmio.h | 42 uint32_t features; /* As it cannot be read later, save it */ member
|
/qemu/target/i386/ |
H A D | cpu.h | 1813 FeatureWordArray features; member 2416 return env->features[FEAT_1_ECX] & CPUID_EXT_VMX; in cpu_has_vmx() 2421 return env->features[FEAT_8000_0001_ECX] & CPUID_EXT3_SVM; in cpu_has_svm() 2540 if (!env->features[FEAT_XSAVE]) { in cr4_reserved_bits() 2543 if (!(env->features[FEAT_7_0_EBX] & CPUID_7_0_EBX_SMEP)) { in cr4_reserved_bits() 2546 if (!(env->features[FEAT_7_0_EBX] & CPUID_7_0_EBX_SMAP)) { in cr4_reserved_bits() 2549 if (!(env->features[FEAT_7_0_EBX] & CPUID_7_0_EBX_FSGSBASE)) { in cr4_reserved_bits() 2552 if (!(env->features[FEAT_7_0_ECX] & CPUID_7_0_ECX_PKU)) { in cr4_reserved_bits() 2555 if (!(env->features[FEAT_7_0_ECX] & CPUID_7_0_ECX_LA57)) { in cr4_reserved_bits() 2558 if (!(env->features[FEAT_7_0_ECX] & CPUID_7_0_ECX_UMIP)) { in cr4_reserved_bits() [all …]
|
H A D | helper.c | 195 if (!(env->features[FEAT_1_EDX] & CPUID_SSE)) { in cpu_x86_update_cr4() 202 if (!(env->features[FEAT_7_0_EBX] & CPUID_7_0_EBX_SMAP)) { in cpu_x86_update_cr4() 208 if (!(env->features[FEAT_7_0_ECX] & CPUID_7_0_ECX_UMIP)) { in cpu_x86_update_cr4() 215 if (!(env->features[FEAT_7_0_ECX] & CPUID_7_0_ECX_PKU)) { in cpu_x86_update_cr4() 218 if (!(env->features[FEAT_7_0_ECX] & CPUID_7_0_ECX_PKS)) { in cpu_x86_update_cr4()
|
/qemu/hw/virtio/ |
H A D | virtio-pmem.c | 102 static uint64_t virtio_pmem_get_features(VirtIODevice *vdev, uint64_t features, in virtio_pmem_get_features() argument 105 return features; in virtio_pmem_get_features()
|
H A D | vdpa-dev.c | 224 uint64_t features, in vhost_vdpa_device_get_features() argument 228 uint64_t backend_features = s->dev.features; in vhost_vdpa_device_get_features() 230 if (!virtio_has_feature(features, VIRTIO_F_IOMMU_PLATFORM)) { in vhost_vdpa_device_get_features()
|
H A D | virtio-iommu.c | 1049 f |= dev->features; in virtio_iommu_get_features() 1346 virtio_add_feature(&s->features, VIRTIO_RING_F_EVENT_IDX); in virtio_iommu_device_realize() 1347 virtio_add_feature(&s->features, VIRTIO_RING_F_INDIRECT_DESC); in virtio_iommu_device_realize() 1348 virtio_add_feature(&s->features, VIRTIO_F_VERSION_1); in virtio_iommu_device_realize() 1349 virtio_add_feature(&s->features, VIRTIO_IOMMU_F_INPUT_RANGE); in virtio_iommu_device_realize() 1350 virtio_add_feature(&s->features, VIRTIO_IOMMU_F_DOMAIN_RANGE); in virtio_iommu_device_realize() 1351 virtio_add_feature(&s->features, VIRTIO_IOMMU_F_MAP_UNMAP); in virtio_iommu_device_realize() 1352 virtio_add_feature(&s->features, VIRTIO_IOMMU_F_MMIO); in virtio_iommu_device_realize() 1353 virtio_add_feature(&s->features, VIRTIO_IOMMU_F_PROBE); in virtio_iommu_device_realize() 1354 virtio_add_feature(&s->features, VIRTIO_IOMMU_F_BYPASS_CONFIG); in virtio_iommu_device_realize()
|
H A D | trace-events | 48 vhost_vdpa_set_features(void *dev, uint64_t features) "dev: %p features: 0x%"PRIx64 65 vhost_vdpa_get_features(void *dev, uint64_t features) "dev: %p features: 0x%"PRIx64 113 virtio_iommu_get_features(uint64_t features) "device supports features=0x%"PRIx64
|
/qemu/target/tricore/ |
H A D | cpu.h | 56 uint64_t features; member 160 return (env->features & (1ULL << feature)) != 0; in tricore_has_feature()
|
/qemu/subprojects/libvhost-user/ |
H A D | libvhost-user.h | 240 typedef void (*vu_set_features_cb) (VuDev *dev, uint64_t features); 311 uint64_t features; member 412 uint64_t features; member
|
H A D | libvhost-user.c | 107 bool has_feature(uint64_t features, unsigned int fbit) in has_feature() argument 110 return !!(features & (1ULL << fbit)); in has_feature() 117 return has_feature(dev->features, fbit); in vu_has_feature() 522 api_struct.features = UFFD_FEATURE_MISSING_SHMEM | in have_userfault() 727 if (!(dev->features & (1ULL << VHOST_F_LOG_ALL)) || in vu_log_write() 809 dev->features = vmsg->payload.u64; in vu_set_features_exec() 824 dev->iface->set_features(dev, dev->features); in vu_set_features_exec() 1671 vmsg_set_reply_u64(vmsg, features); in vu_get_protocol_features_exec() 1678 uint64_t features = vmsg->payload.u64; in vu_set_protocol_features_exec() local 1680 DPRINT("u64: 0x%016"PRIx64"\n", features); in vu_set_protocol_features_exec() [all …]
|
/qemu/configs/devices/aarch64-softmmu/ |
H A D | minimal.mak | 4 # features from the 32bit platform (although virt still supports 32bit
|
/qemu/docs/devel/ |
H A D | index-internals.rst | 4 Details about QEMU's various subsystems including how to add features to them.
|
/qemu/block/ |
H A D | qed-check.c | 212 if (!(s->header.features & QED_F_NEED_CHECK)) { in qed_check_mark_clean() 219 s->header.features &= ~QED_F_NEED_CHECK; in qed_check_mark_clean()
|
/qemu/include/hw/virtio/ |
H A D | vhost-vsock-common.h | 50 uint64_t vhost_vsock_common_get_features(VirtIODevice *vdev, uint64_t features,
|
H A D | vhost-scsi-common.h | 47 uint64_t vhost_scsi_common_get_features(VirtIODevice *vdev, uint64_t features,
|
H A D | virtio-iommu.h | 58 uint64_t features; member
|
/qemu/net/ |
H A D | vhost-user.c | 54 uint64_t features = vhost_net_get_acked_features(s->vhost_net); in vhost_user_save_acked_features() local 55 if (features) { in vhost_user_save_acked_features() 56 s->acked_features = features; in vhost_user_save_acked_features()
|
/qemu/ui/ |
H A D | vnc.h | 281 uint32_t features; member 582 return (vs->features & (1 << feature)); in vnc_has_feature() 587 vs->features |= (1 << feature); in vnc_set_feature()
|
/qemu/contrib/vhost-user-blk/ |
H A D | vhost-user-blk.c | 365 uint64_t features; in vub_get_features() local 372 features = 1ull << VIRTIO_BLK_F_SIZE_MAX | in vub_get_features() 384 features |= 1ull << VIRTIO_BLK_F_RO; in vub_get_features() 387 return features; in vub_get_features()
|
/qemu/tests/qtest/ |
H A D | test-x86-cpuid-compat.c | 99 static uint32_t get_feature_word(QList *features, uint32_t eax, uint32_t ecx, in get_feature_word() argument 104 for (e = qlist_first(features); e; e = qlist_next(e)) { in get_feature_word()
|
/qemu/docs/system/i386/ |
H A D | hyperv.rst | 10 guest support for such features is added simultaneously with the feature itself. 14 KVM on x86 implements Hyper-V Enlightenments for Windows guests. These features 16 compatible hypervisor and use Hyper-V specific features. 34 and features are kept in leaves 0x40000100..0x40000101. 165 Note: some virtualization features (e.g. Posted Interrupts) are disabled when 259 Supplementary features 277 some features were not announced in guest visible CPUIDs. ``hv-enforce-cpuid``
|
/qemu/docs/interop/ |
H A D | parallels.txt | 142 format features. This cluster is addressed by the ext_off field in the header. 153 extension must be "End of features" (see below). 159 0x0000000000000000 - End of features 189 The last extension must be "End of features" with all the fields set to 0.
|