Home
last modified time | relevance | path

Searched +full:- +full:- +full:disable +full:- +full:kvm (Results 1 – 25 of 122) sorted by relevance

12345

/openbmc/qemu/.gitlab-ci.d/
H A Dcrossbuilds.yml2 - local: '/.gitlab-ci.d/crossbuild-template.yml'
4 cross-armhf-user:
7 job: armhf-debian-cross-container
9 IMAGE: debian-armhf-cross
11 cross-arm64-system:
14 job: arm64-debian-cross-container
16 IMAGE: debian-arm64-cross
18 cross-arm64-user:
21 job: arm64-debian-cross-container
23 IMAGE: debian-arm64-cross
[all …]
H A Dcrossbuild-template.yml7 - ccache
12 - source scripts/ci/gitlab-ci-section
13 - section_start setup "Pre-script setup"
14 - JOBS=$(expr $(nproc) + 1)
15 - cat /packages.txt
16 - section_end setup
18 - export CCACHE_BASEDIR="$(pwd)"
19 - export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
20 - export CCACHE_MAXSIZE="500M"
21 - export PATH="$CCACHE_WRAPPERSDIR:$PATH"
[all …]
H A Dbuildtest.yml2 - local: '/.gitlab-ci.d/buildtest-template.yml'
4 build-system-alpine:
6 - .native_build_job_template
7 - .native_build_artifact_template
9 - job: amd64-alpine-container
12 TARGETS: avr-softmmu loongarch64-softmmu mips64-softmmu mipsel-softmmu
13 MAKE_CHECK_ARGS: check-build
14 CONFIGURE_ARGS: --enable-docs --enable-trace-backends=log,simple,syslog
16 check-system-alpine:
19 - job: build-system-alpine
[all …]
/openbmc/qemu/docs/system/arm/
H A Dcpu-features.rst10 Cortex-A15 and the Cortex-A57, which respectively implement Arm
11 architecture reference manuals ARMv7-A and ARMv8-A, may both optionally
12 implement PMUs. For example, if a user wants to use a Cortex-A15 without
13 a PMU, then the ``-cpu`` parameter should contain ``pmu=off`` on the QEMU
14 command line, i.e. ``-cpu cortex-a15,pmu=off``.
18 that implement the ARMv8-A architecture reference manual may optionally
20 ``aarch64`` CPU property. A CPU type such as the Cortex-A15, which does
21 not implement ARMv8-A, will not have the ``aarch64`` CPU property.
27 when using the KVM accelerator and when running on a host CPU type that
28 supports the feature. While ``aarch64`` currently only works with KVM,
[all …]
H A Dvirt.rst1 .. _arm-virt:
10 idiosyncrasies and limitations of a particular bit of real-world
18 ``virt-5.0`` machine type will behave like the ``virt`` machine from
19 the QEMU 5.0 release, and migration should work between ``virt-5.0``
20 of the 5.0 release and ``virt-5.0`` of the 5.1 release. Migration
22 the non-versioned ``virt`` machine type.
24 VM migration is not guaranteed when using ``-cpu max``, as features
33 - PCI/PCIe devices
34 - CXL Fixed memory windows, root bridges and devices.
35 - Flash memory
[all …]
/openbmc/qemu/tests/qtest/
H A Darm-cpu-features.c9 * See the COPYING file in the top-level directory.
18 * We expect the SVE max-vq to be 16. Also it must be <= 64
23 #define MACHINE "-machine virt,gic-version=max -accel tcg "
24 #define MACHINE_KVM "-machine virt,gic-version=max -accel kvm "
25 #define QUERY_HEAD "{ 'execute': 'query-cpu-model-expansion', " \
191 resp = qtest_qmp(qts, "{ 'execute': 'query-cpu-model-expansion', " in assert_type_full()
207 resp = qtest_qmp(qts, "{ 'execute': 'query-cpu-model-expansion', " in assert_bad_props()
234 if (strlen(e->key) > 3 && !strncmp(e->key, "sve", 3) && in resp_get_sve_vls()
235 g_ascii_isdigit(e->key[3])) { in resp_get_sve_vls()
239 bits = g_ascii_strtoll(&e->key[3], &endptr, 10); in resp_get_sve_vls()
[all …]
/openbmc/qemu/docs/system/i386/
H A Dmicrovm.rst8 designed for short-lived guests. microvm also establishes a baseline
14 -----------------
18 - ISA bus
19 - i8259 PIC (optional)
20 - i8254 PIT (optional)
21 - MC146818 RTC (optional)
22 - One ISA serial port (optional)
23 - LAPIC
24 - IOAPIC (with kernel-irqchip=split by default)
25 - kvmclock (if using KVM)
[all …]
H A Dtdx.rst5 Virtual Machine Extensions (VMX) and Multi-Key Total Memory Encryption (MKTME)
12 -------------
15 while KVM hypervisor has TDX support and has TDX enabled. If those requirements
25 KVM vcpu ioctl ``KVM_TDX_INIT_MEM_REGION`` can be used to populate the TDVF
29 device and it actually works as RAM. "-bios" option is chosen to load TDVF.
32 command line to specify and load TDVF is ``-bios OVMF.fd``
35 ---------------------
37 Unlike non-TDX VM, the CPU features (enumerated by CPU or MSR) of a TD are not
43 - Attributes:
44 - PKS (bit 30) controls whether Supervisor Protection Keys is exposed to TD,
[all …]
H A Dhyperv.rst1 Hyper-V Enlightenments
6 -----------
8 In some cases when implementing a hardware interface in software is slow, KVM
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::
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/
H A Dqemu.inc7 LICENSE = "GPL-2.0-only & LGPL-2.1-only"
9 DEPENDS += "bison-native meson-native ninja-native"
11 RDEPENDS:${PN}-ptest = "bash"
13 require qemu-targets.inc
14 # https://gitlab.com/qemu-project/qemu/-/commit/81e2b198a8cb4ee5fdf108bd438f44b193ee3a36 means
15 # we need a full python3-native setup
16 inherit pkgconfig ptest update-rc.d systemd python3native
21 SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
23 file://run-ptest \
24 file://fix-strerrorname_np.patch \
[all …]
H A Dqemu_10.0.0.bb5 DEPENDS += "glib-2.0 zlib pixman"
7 DEPENDS:append:libc-musl = " libucontext"
9 CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}"
10 LDFLAGS:append:toolchain-clang:x86 = " -latomic"
12 RDEPENDS:${PN}-common:class-target += "bash"
14 EXTRA_OECONF:append:class-target = " --target-list=${@get_qemu_target_list(d)}"
15 EXTRA_OECONF:append:class-target:mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', '
16 EXTRA_OECONF:append:class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"
19 fdt sdl kvm pie slirp \
24 PACKAGECONFIG:class-nativesdk ??= "fdt sdl kvm pie slirp \
/openbmc/qemu/docs/devel/
H A Dtracing.rst19 $ qemu --trace "memory_region_ops_*" ...
25 ``./configure --enable-trace-backends=BACKENDS`` was not explicitly specified.
27 Multiple patterns can be specified by repeating the ``--trace`` option::
29 $ qemu --trace "kvm_*" --trace "virtio_*" ...
32 file to avoid long command-line options::
36 $ qemu --trace events=/tmp/events ...
41 Sub-directory setup
42 -------------------
45 "trace-events" file. All directories which contain "trace-events" files must be
47 file. During build, the "trace-events" file in each listed subdirectory will be
[all …]
/openbmc/qemu/linux-headers/asm-mips/
H A Dkvm.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
18 * KVM MIPS specific structures and definitions.
28 * If Config[AT] is zero (32-bit CPU), the register contents are
29 * stored in the lower 32-bits of the struct kvm_regs fields and sign
30 * extended to 64-bits.
51 * bits[63..52] - As per linux/kvm.h
52 * bits[51..32] - Must be zero.
53 * bits[31..16] - Register set.
58 * bits[15..8] - COP0 register set.
61 * bits[7..3] - Register 'rd' index.
[all …]
/openbmc/qemu/target/arm/
H A Dcpu64.c18 * <http://www.gnu.org/licenses/gpl-2.0.html>
27 #include "system/kvm.h"
34 #include "hw/qdev-properties.h"
36 #include "cpu-features.h"
44 #include "cpu-sysregs.h.inc"
54 #include "cpu-sysregs.h.inc" in get_sysreg_idx()
65 * then all other lengths are implicitly disabled. If sve-max-vq is in arm_cpu_sve_finalize()
69 * are enabled and sve-max-vq is not specified, then all lengths not in arm_cpu_sve_finalize()
70 * explicitly disabled will be enabled. Additionally, all power-of-two in arm_cpu_sve_finalize()
73 * disabled power-of-two vector length will be automatically disabled. in arm_cpu_sve_finalize()
[all …]
/openbmc/qemu/hw/i386/kvm/
H A Di8254.c2 * KVM in-kernel PIT (i8254) support
4 * Copyright (c) 2003-2004 Fabrice Bellard
27 #include <linux/kvm.h>
28 #include "qapi/qapi-types-machine.h"
35 #include "hw/qdev-properties-system.h"
36 #include "system/kvm.h"
37 #include "target/i386/kvm/kvm_i386.h"
78 offset -= ts.tv_nsec; in kvm_pit_update_clock_offset()
79 offset -= (int64_t)ts.tv_sec * 1000000000; in kvm_pit_update_clock_offset()
84 s->kernel_clock_offset = clock_offset; in kvm_pit_update_clock_offset()
[all …]
/openbmc/openbmc/poky/documentation/dev-manual/
H A Dqemu.rst1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
34 - `QEMU Website <https://wiki.qemu.org/Main_Page>`__\ *:* The official
37 - `Documentation <https://wiki.qemu.org/Manual>`__\ *:* The QEMU user
49 (SDK). See ":ref:`sdk-manual/intro:the qemu emulator`" section in the
56 - If you cloned the ``poky`` repository or you downloaded and
58 environment script (i.e. :ref:`structure-core-script`)::
61 $ source oe-init-build-env
63 - If you installed a cross-toolchain, you can run the script that
67 . poky_sdk/environment-setup-core2-64-poky-linux
70 pre-built kernel that will boot in QEMU. You also need the target
[all …]
/openbmc/bmcweb/
H A Dmeson.options3 'kvm',
6 description: '''Enable the KVM host video WebSocket. Path is /kvm/0.
20 'vm-websocket',
29 'redfish-use-3-digit-messageid',
36 removed Q2-2025''',
47 # 'vm-nbdproxy',
58 description: '''Enable Phosphor REST (D-Bus) APIs. Paths directly map
59 Phosphor D-Bus object paths, for example,
61 https://github.com/openbmc/docs/blob/master/rest-api.md.''',
75 'host-serial-socket',
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Duki.py5 # SPDX-License-Identifier: MIT
20 …"""Build and boot into UEFI firmware (omvf/edk2), systemd-boot, initrd without systemd, rootfs wit…
21 image = "core-image-minimal"
25 cmd += " kvm"
28 # efi firmware must load systemd-boot, not grub
29 EFI_PROVIDER = "systemd-boot"
32 IMAGE_FSTYPES:pn-%s:append = " wic"
33 WKS_FILE = "efi-uki-bootdisk.wks.in"
38 IMAGE_CLASSES:append:pn-core-image-minimal = " uki"
41 INITRAMFS_IMAGE = "core-image-minimal-initramfs"
[all …]
/openbmc/qemu/target/loongarch/kvm/
H A Dkvm.c1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * QEMU LoongArch KVM
10 #include <linux/kvm.h>
11 #include "asm-loongarch/kvm_para.h"
14 #include "qemu/error-report.h"
15 #include "qemu/main-loop.h"
17 #include "system/kvm.h"
21 #include "system/address-spaces.h"
28 #include "cpu-csr.h"
45 .addr = (uint64_t)&env->stealtime.guest_addr, in kvm_get_stealtime()
[all …]
/openbmc/qemu/tests/functional/
H A Dtest_intel_iommu.py11 # later. See the COPYING file in the top-level directory.
30 '/31/Cloud/x86_64/images/Fedora-Cloud-Base-31-1.9.x86_64.qcow2'),
36 IOMMU_ADDON = ',iommu_platform=on,disable-modern=off,disable-legacy=on'
42 self.vm.add_args('-drive', f'file={path},if=none,id=drv0,snapshot=on')
43 self.vm.add_args('-device', 'virtio-blk-pci,bus=pcie.0,' +
44 'drive=drv0,id=virtio-disk0,bootindex=1,'
46 self.vm.add_args('-device', 'virtio-gpu-pci' + self.IOMMU_ADDON)
48 self.vm.add_args('-netdev',
49 'user,id=n1,hostfwd=tcp:127.0.0.1:0-:%d' %
51 self.vm.add_args('-device',
[all …]
/openbmc/qemu/
H A D.travis.yml5 - gcc
9 # - OS name (currently only linux)
10 # - OS distribution (e.g. "jammy" for Linux)
11 # - Names and values of visible environment variables set in .travis.yml or Settings panel
19 # $ travis encrypt -r "qemu/qemu" "irc.oftc.net#qemu"
23- secure: "F7GDRgjuOo5IUyRLqSkmDL7kvdU4UcH3Lm/W2db2JnDHTGCqgEdaYEYKciyCLZ57vOTsTsOgesN8iUT7hNHBd1K…
30 - SRC_DIR=".."
31 - BUILD_DIR="build"
32 - BASE_CONFIG="--disable-docs --disable-tools"
33 - TEST_BUILD_CMD=""
[all …]
/openbmc/qemu/hw/xen/
H A Dxen_pt_load_rom.c2 * This is splited from hw/i386/kvm/pci-assign.c
6 #include "qemu/error-report.h"
29 if (dev->romfile || !dev->rom_bar) { in pci_assign_dev_load_option_rom()
41 error_report("pci-assign: Cannot open %s: %s", rom_file, strerror(errno)); in pci_assign_dev_load_option_rom()
45 if (fstat(fileno(fp), &st) == -1) { in pci_assign_dev_load_option_rom()
46 error_report("pci-assign: Cannot stat %s: %s", rom_file, strerror(errno)); in pci_assign_dev_load_option_rom()
56 if (dev->romsize != UINT_MAX) { in pci_assign_dev_load_option_rom()
57 if (st.st_size > dev->romsize) { in pci_assign_dev_load_option_rom()
59 rom_file, (long) st.st_size, dev->romsize); in pci_assign_dev_load_option_rom()
63 dev->romsize = st.st_size; in pci_assign_dev_load_option_rom()
[all …]
/openbmc/qemu/docs/system/
H A Dcpu-models-x86.rst.inc1 Recommendations for KVM CPU model configuration on x86 hosts
10 Two ways to configure CPU models with QEMU / KVM
16 the guest. Note that KVM may filter out some host CPU model features
51 lists the long term stable CPU model versions (eg Haswell-v4).
56 .. _ABI compatibility levels: https://gitlab.com/x86-psABIs/x86-64-ABI/
58 .. csv-table:: x86-64 ABI compatibility levels
59 :file: cpu-models-x86-abi.csv
61 :header-rows: 1
77 ``SierraForest``, ``SierraForest-v2``
78 Intel Xeon Processor (SierraForest, 2024), SierraForest-v2 mitigates
[all …]
/openbmc/qemu/scripts/
H A Dmeson-buildoptions.sh1 # This file is generated by meson-buildoptions.py, do not edit!
3 printf "%s\n" ' --audio-drv-list=CHOICES Set audio driver list [default] (choices: alsa/co'
6 printf "%s\n" ' --bindir=VALUE Executable directory [bin]'
7 printf "%s\n" ' --block-drv-ro-whitelist=VALUE'
8 printf "%s\n" ' set block driver read-only whitelist (by default'
9 printf "%s\n" ' affects only QEMU, not tools like qemu-img)'
10 printf "%s\n" ' --block-drv-rw-whitelist=VALUE'
11 printf "%s\n" ' set block driver read-write whitelist (by default'
12 printf "%s\n" ' affects only QEMU, not tools like qemu-img)'
13 printf "%s\n" ' --datadir=VALUE Data file directory [share]'
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/ltp/
H A Dltp_20250130.bb3 HOMEPAGE = "https://linux-test-project.github.io/"
5 LICENSE = "GPL-2.0-only & GPL-2.0-or-later & LGPL-2.0-or-later & LGPL-2.1-or-later & BSD-2-Clause"
9 file://testcases/network/can/filter-tests/COPYING;md5=5b155ea7d7f86eae8e8832955d8b70bc \
12 DEPENDS = "attr libaio libcap acl openssl zip-native"
13 DEPENDS:append:libc-musl = " fts "
14 EXTRA_OEMAKE:append:libc-musl = " LIBC=musl "
15 EXTRA_OECONF:append:libc-musl = " LIBS=-lfts "
17 # since ltp contains x86-64 assembler which uses the frame-pointer register,
18 # set -fomit-frame-pointer x86-64 to handle cases where optimisation
19 # is set to -O0 or frame pointers have been enabled by -fno-omit-frame-pointer
[all …]

12345