/qemu/rust/ |
H A D | Cargo.lock | 3 version = 3 7 version = "1.0.98" 8 source = "registry+https://github.com/rust-lang/crates.io-index" 12 name = "arbitrary-int" 13 version = "1.2.7" 14 source = "registry+https://github.com/rust-lang/crates.io-index" 19 version = "0.2.0" 20 source = "registry+https://github.com/rust-lang/crates.io-index" 23 "arbitrary-int", 24 "bilge-impl", [all …]
|
/qemu/docs/system/i386/ |
H A D | hyperv.rst | 1 Hyper-V Enlightenments 6 ----------- 11 It may, however, be hard-to-impossible to add support for these interfaces to 14 KVM on x86 implements Hyper-V Enlightenments for Windows guests. These features 15 make Windows and Hyper-V guests think they're running on top of a Hyper-V 16 compatible hypervisor and use Hyper-V specific features. 20 ----- 22 No Hyper-V enlightenments are enabled by default by either KVM or QEMU. In 25 .. parsed-literal:: 27 |qemu_system| --enable-kvm --cpu host,hv_relaxed,hv_vpindex,hv_time, ... [all …]
|
H A D | xen.rst | 6 ----------- 15 ----- 17 Xen mode is enabled by setting the ``xen-version`` property of the KVM 20 .. parsed-literal:: 22 |qemu_system| --accel kvm,xen-version=0x40011,kernel-irqchip=split 25 ``xen-vapic`` CPU flag: 27 .. parsed-literal:: 29 |qemu_system| --accel kvm,xen-version=0x40011,kernel-irqchip=split --cpu host,+xen-vapic 33 advertised to a Xen guest. If Hyper-V is also enabled, the Xen identification 37 ---------- [all …]
|
/qemu/qapi/ |
H A D | control.json | 1 # -*- Mode: Python -*- 19 # .. qmp-example:: 21 # -> { "execute": "qmp_capabilities", 23 # <- { "return": {} } 28 # :doc:`/interop/qmp-spec`) 38 'allow-preconfig': true } 46 # @oob: QMP ability to support out-of-band requests. (Please refer to 47 # qmp-spec.rst for more information on OOB) 57 # A three-part version number. 59 # @major: The major version number. [all …]
|
H A D | misc-arm.json | 1 # -*- Mode: Python -*- 4 # SPDX-License-Identifier: GPL-2.0-or-later 10 # Interrupt Controller) version. These bits are not only decided by 11 # QEMU/KVM software version, but also decided by the hardware that the 14 # @version: version of GIC to be described. Currently, only 2 and 3 26 'data': { 'version': 'int', 31 # @query-gic-capabilities: 36 # On non-ARM targets this command will report an error as the GIC 43 # .. qmp-example:: 45 # -> { "execute": "query-gic-capabilities" } [all …]
|
/qemu/include/hw/xen/ |
H A D | start_info.h | 32 * 0 +----------------+ 35 * 4 +----------------+ 36 * | version | Version of this structure. Current version is 1. New 37 * | | versions are guaranteed to be backwards-compatible. 38 * 8 +----------------+ 40 * 12 +----------------+ 42 * 16 +----------------+ 45 * 24 +----------------+ 47 * | | a zero-terminated ASCII string. 48 * 32 +----------------+ [all …]
|
/qemu/docs/about/ |
H A D | build-platforms.rst | 1 .. _Supported-build-platforms: 21 support targets, QEMU considers only the version number, and assumes the 23 version. In other words, if a distro backports extra features to the 25 support for those backports, unless the feature is auto-detectable in a 33 :ref:`setup-build-env` page. 36 ---------------------------- 40 .. list-table:: 41 :header-rows: 1 43 * - CPU Architecture 44 - Accelerators [all …]
|
/qemu/hw/misc/ |
H A D | eccmemctl.c | 27 #include "hw/qdev-properties.h" 35 * MCC (version 0, implementation 0) SS-600MP 36 * EMC (version 0, implementation 1) SS-10 37 * SMC (version 0, implementation 2) SS-10SX and SS-20 40 * "Sun-4M System Architecture (revision 2.0) by Chuck Narad", 950-1373-01, 75 #define ECC_MER_VER 0x0f000000 /* Version */ 77 #define ECC_MER_MASK_0 0x00000103 /* Version 0 (MCC) mask */ 78 #define ECC_MER_MASK_1 0x00000bff /* Version 1 (EMC) mask */ 79 #define ECC_MER_MASK_2 0x00000bff /* Version 2 (SMC) mask */ 102 #define ECC_MFAR0_PADDR 0x0000000f /* PA[32-35] */ [all …]
|
/qemu/docs/system/arm/ |
H A D | sbsa.rst | 1 Arm Server Base System Architecture Reference board (``sbsa-ref``) 4 The ``sbsa-ref`` board intends to look like real hardware (while the ``virt`` 9 - `Base System Architecture <https://developer.arm.com/documentation/den0094/>`__ (BSA) 10 - `Server Base System Architecture <https://developer.arm.com/documentation/den0029/>`__ (SBSA) 21 The ``sbsa-ref`` board supports: 23 - A configurable number of AArch64 CPUs 24 - GIC version 3 25 - System bus AHCI controller 26 - System bus XHCI controller 27 - CDROM and hard disc on AHCI bus [all …]
|
/qemu/roms/ |
H A D | edk2-build.py | 4 https://gitlab.com/kraxel/edk2-build-config 19 # pylint: disable=unused-variable 21 """ detect 'git rebase -x edk2-build.py master' testbuilds """ 27 with open(gitdir, 'r', encoding = 'utf-8') as f: 30 if not os.path.exists(f'{gitdir}/rebase-merge/msgnum'): 32 with open(f'{gitdir}/rebase-merge/msgnum', 'r', encoding = 'utf-8') as f: 34 with open(f'{gitdir}/rebase-merge/end', 'r', encoding = 'utf-8') as f: 36 with open(f'{gitdir}/rebase-merge/head-name', 'r', encoding = 'utf-8') as f: 39 rebase_prefix = f'[ {int(msgnum/2)} / {int(end/2)} - {head[-1]} ] ' 41 # fixed version speeds up builds [all …]
|
/qemu/tests/vm/ |
H A D | aarch64vm.py | 10 # This code is licensed under the GPL version 2 or later. See 11 # the COPYING file in the top-level directory. 19 # This is the config needed for current version of QEMU. 23 'machine' : "virt,gic-version=max", 26 # The minimum minor version of QEMU we will support with aarch64 VMs is 3. 30 # The DEFAULT_CONFIG will default to a version of 33 'machine' : "virt,gic-version=host"}, 34 'tcg' : {'cpu' : "cortex-a57", 47 """Set the defaults for current version of QEMU.""" 53 error = "\nThis major version of QEMU {} is to old for aarch64 VMs.\n"\ [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 061 | 10 # the Free Software Foundation; either version 2 of the License, or 11 # (at your option) any later version. 41 # This tests qcow2-specific low-level functionality 58 echo "=== Testing version downgrade with zero expansion ===" 60 _make_test_img -o "compat=1.1,lazy_refcounts=on" 64M 61 $QEMU_IO -c "write -z 0 128k" "$TEST_IMG" | _filter_qemu_io 63 $QEMU_IMG amend -o "compat=0.10" "$TEST_IMG" 65 $QEMU_IO -c "read -P 0 0 128k" "$TEST_IMG" | _filter_qemu_io 69 echo "=== Testing version downgrade with zero expansion and 4K cache entries ===" 71 _make_test_img -o "compat=1.1,lazy_refcounts=on" 64M [all …]
|
H A D | 206 | 12 # the Free Software Foundation; either version 2 of the License, or 13 # (at your option) any later version. 50 vm.qmp_log('blockdev-add', 63 # Successful image creation (inline blockdev-add, explicit defaults) 65 iotests.log("=== Successful image creation (inline blockdev-add, explicit defaults) ===") 84 'version': 'v3', 85 'cluster-size': 65536, 87 'lazy-refcounts': False, 88 'refcount-bits': 16 }) 94 # Successful image creation (v3 non-default options) [all …]
|
/qemu/crypto/ |
H A D | rsakey-builtin.c.inc | 10 * version 2.1 of the License, or (at your option) any later version. 31 return -1; 33 mpi->data = g_memdup2(value, vlen); 34 mpi->len = vlen; 41 uint8_t *version = (uint8_t *)ctx; 43 error_setg(errp, "Invalid rsakey version"); 44 return -1; 46 *version = *value; 56 return -1; 85 &rsa->n, errp) < 0 || [all …]
|
H A D | rsakey.c | 10 * version 2.1 of the License, or (at your option) any later version. 31 g_free(rsa_key->n.data); in qcrypto_akcipher_rsakey_free() 32 g_free(rsa_key->e.data); in qcrypto_akcipher_rsakey_free() 33 g_free(rsa_key->d.data); in qcrypto_akcipher_rsakey_free() 34 g_free(rsa_key->p.data); in qcrypto_akcipher_rsakey_free() 35 g_free(rsa_key->q.data); in qcrypto_akcipher_rsakey_free() 36 g_free(rsa_key->dp.data); in qcrypto_akcipher_rsakey_free() 37 g_free(rsa_key->dq.data); in qcrypto_akcipher_rsakey_free() 38 g_free(rsa_key->u.data); in qcrypto_akcipher_rsakey_free() 46 * version INTEGER, [all …]
|
H A D | rsakey-nettle.c.inc | 10 * version 2.1 of the License, or (at your option) any later version. 30 mpi->data = g_memdup2(i->data, i->length); 31 mpi->len = i->length; 38 i->type != ASN1_INTEGER) { 46 * version INTEGER 63 uint32_t version; 71 !asn1_der_get_uint32(&i, &version) || 72 version > 1 || 73 !GetMPI(&i, &rsa->n) || 74 !GetMPI(&i, &rsa->e) || [all …]
|
/qemu/subprojects/packagefiles/anyhow-1-rs/ |
H A D | meson.build | 1 project('anyhow-1-rs', 'rust', 3 version: '1.0.98', 4 license: 'MIT OR Apache-2.0', 9 rust_args = ['--cap-lints', 'allow'] 10 rust_args += ['--cfg', 'feature="std"'] 11 if rustc.version().version_compare('<1.65.0') 12 error('rustc version ' + rustc.version() + ' is unsupported. Please upgrade to at least 1.65.0') 14 rust_args += [ '--cfg', 'std_backtrace' ] # >= 1.65.0 15 if rustc.version().version_compare('<1.81.0') 16 rust_args += [ '--cfg', 'anyhow_no_core_error' ] [all …]
|
/qemu/hw/pci-host/ |
H A D | pnv_phb.c | 6 * This code is licensed under the GPL version 2 or later. See the 7 * COPYING file in the top-level directory. 14 #include "hw/pci-host/pnv_phb.h" 15 #include "hw/pci-host/pnv_phb3.h" 16 #include "hw/pci-host/pnv_phb4.h" 18 #include "hw/qdev-properties.h" 31 * which in turn calls the property release callback prop->release if 47 const char *dev_id = DEVICE(child)->id; in pnv_parent_fixup() 49 if (child->parent == parent) { in pnv_parent_fixup() 67 if (phb->version == 3) { in pnv_phb_user_get_parent() [all …]
|
/qemu/tests/qtest/ |
H A D | sdhci-test.c | 4 * Written by Philippe Mathieu-Daudé <f4bug@amsat.org> 6 * This work is licensed under the terms of the GNU GPL, version 2 or later. 7 * See the COPYING file in the top-level directory. 8 * SPDX-License-Identifier: GPL-2.0-or-later 15 #include "libqos/pci-pc.h" 27 static void check_specs_version(QSDHCI *s, uint8_t version) in check_specs_version() argument 31 v = s->readw(s, SDHC_HCVER); in check_specs_version() 34 g_assert_cmpuint(v, ==, version); in check_specs_version() 41 capab = s->readq(s, SDHC_CAPAB); in check_capab_capareg() 50 capab0 = s->readq(s, SDHC_CAPAB); in check_capab_readonly() [all …]
|
/qemu/scripts/coverity-scan/ |
H A D | run-coverity-scan | 1 #!/bin/sh -e 6 # This work is licensed under the terms of the GNU GPL version 2, 7 # or (at your option) any later version. 8 # See the COPYING file in the top-level directory. 10 # Copyright (c) 2017-2020 Linaro Limited 14 # run the (closed-source) coverity build tools, so don't 18 # tree, and that tree is a fresh clean one, because we do an in-tree 21 # regular expressions it uses; an out-of-tree build won't work for this.) 31 # --check-upload-only : return success if upload is possible 32 # --dry-run : run the tools, but don't actually do the upload [all …]
|
/qemu/linux-headers/linux/ |
H A D | psp-sev.h | 1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ 6 * Copyright (C) 2016-2017 Advanced Micro Devices, Inc. 46 * The SEV API error codes are 16 bits, so the -1 value will not overlap 49 SEV_RET_NO_FW_CALL = -1, 94 * struct sev_user_data_status - PLATFORM_STATUS command parameters 96 * @major: major API version 97 * @minor: minor API version 100 * @build: firmware build id for API version 115 * struct sev_user_data_pek_csr - PEK_CSR command parameters 126 * struct sev_user_data_cert_import - PEK_CERT_IMPORT command parameters [all …]
|
/qemu/include/hw/hyperv/ |
H A D | dynmem-proto.h | 5 * Hyper-V Dynamic Memory Protocol definitions 7 * Copyright (C) 2020-2023 Oracle and/or its affiliates. 14 * This work is licensed under the terms of the GNU GPL, version 2. 15 * See the COPYING file in the top-level directory. 19 * Protocol versions. The low word is the minor version, the high word the major 20 * version. 23 * Initial version 1.0 32 #define DYNMEM_MAJOR_VERSION(Version) ((uint32_t)(Version) >> 16) argument 33 #define DYNMEM_MINOR_VERSION(Version) ((uint32_t)(Version) & 0xff) argument 55 * Version 0.3 [all …]
|
/qemu/hw/smbios/ |
H A D | smbios.c | 4 * Copyright (C) 2009 Hewlett-Packard Development Company, L.P. 11 * This work is licensed under the terms of the GNU GPL, version 2. See 12 * the COPYING file in the top-level directory. 14 * Contributions after 2012-01-13 are licensed under the terms of the 15 * GNU GPL, version 2 or (at your option) any later version. 21 #include "qemu/config-file.h" 34 * SMBIOS tables provided by user with '-smbios file=<foo>' option 59 const char *manufacturer, *product, *version, *serial, *asset, *location; member 63 const char *manufacturer, *version, *serial, *asset, *sku; member 75 const char *sock_pfx, *manufacturer, *version, *serial, *asset, *part; member [all …]
|
/qemu/scripts/ |
H A D | make-release | 1 #!/bin/bash -e 11 # See the COPYING file in the top-level directory. 14 if test ! -f "$src/subprojects/$1.wrap"; then 15 echo "scripts/archive-source.sh should only process wrap subprojects" 22 # named "[wrap-*]", which helps keeping the script simple. 24 dir=$(sed -n \ 25 -e '/^\[wrap-[a-z][a-z]*\]$/,/^\[/{' \ 26 -e '/^directory *= */!b' \ 27 -e 's///p' \ 28 -e 'q' \ [all …]
|
/qemu/plugins/ |
H A D | loader.c | 12 * License: GNU GPL, version 2 or later. 13 * See the COPYING file in the top-level directory. 15 * SPDX-License-Identifier: GPL-2.0-or-later 19 #include "qemu/error-report.h" 20 #include "qemu/config-file.h" 32 #include "qemu/target-info.h" 33 #include "exec/tb-flush.h" 84 if (strcmp(desc->path, path) == 0) { in plugin_find_desc() 106 error_setg(errp, "requires a non-empty argument"); in plugin_add() 109 p = plugin_find_desc(arg->head, value); in plugin_add() [all …]
|