Home
last modified time | relevance | path

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

12345678910>>...24

/openbmc/qemu/docs/system/i386/
H A Dkvm-pv.rst1 Paravirtualized KVM features
5 -----------
7 In some cases when implementing hardware interfaces in software is slow, ``KVM``
11 -----
13 Paravirtualized ``KVM`` features are represented as CPU flags. The following
14 features are enabled by default for any CPU model when ``KVM`` acceleration is
17 - ``kvmclock``
18 - ``kvm-nopiodelay``
19 - ``kvm-asyncpf``
20 - ``kvm-steal-time``
[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 …]
H A Dxen.rst6 -----------
8 KVM has support for hosting Xen guests, intercepting Xen hypercalls and event
10 run under Xen to be hosted in QEMU under Linux/KVM instead.
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
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/qemu/
H A Dfix-strerrorname_np.patch3 Date: Wed, 18 Sep 2024 16:19:37 -0700
4 Subject: [PATCH] target/riscv/kvm: do not use non-portable strerrorname_np()
6 strerrorname_np is non-portable and breaks building with musl libc.
10 Upstream-Status: Submitted [https://mail.gnu.org/archive/html/qemu-stable/2023-12/msg00069.html]
12 Cc: qemu-stable@nongnu.org
13 Fixes: commit 082e9e4a58ba (target/riscv/kvm: improve 'init_multiext_cfg' error
15 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2041
16 Buglink: https://gitlab.alpinelinux.org/alpine/aports/-/issues/15541
17 Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
18 ---
[all …]
/openbmc/qemu/target/arm/
H A Dkvm_arm.h2 * QEMU KVM support -- ARM specific functions.
7 * See the COPYING file in the top-level directory.
14 #include "system/kvm.h"
15 #include "target/arm/cpu-qom.h"
23 * @devid: the KVM device ID
31 * @devid should be the ID of the device as defined by the arm-vgic device
46 * This updates KVM's working data structures from TCG data or
52 * Note that we do not stop early on failure -- we will attempt
63 * copy info from KVM's working data structures into TCG or
68 * Note that we do not stop early on failure -- we will attempt
[all …]
/openbmc/qemu/docs/specs/
H A Dppc-spapr-xive.rst13 - *Legacy Compatibility Mode*
20 - *XIVE native exploitation mode*
34 ---------------
37 property ``ibm,arch-vec-5-platform-support`` in byte 23 and the OS
38 Selection for XIVE is indicated in the ``ibm,architecture-vec-5``
43 ``ic-mode`` which can be set on the command line. It can take the
52 KVM negotiation
53 ---------------
55 When the guest starts under KVM, the capabilities of the host kernel
57 kernel, KVM will advertise the XIVE capability to QEMU or not.
[all …]
H A Driscv-aia.rst1 .. _riscv-aia:
3 RISC-V AIA support for RISC-V machines
7 RISC-V machine for TCG and KVM accelerators.
11 - "aia=aplic": adds one or more APLIC (Advanced Platform Level Interrupt Controller)
13 - "aia=aplic-imsic": adds one or more APLIC device and an IMSIC (Incoming MSI
18 emulated in userspace versus what is being emulated by an in-kernel irqchip.
21 (m-mode) APLIC and IMSIC (when applicable).
23 When running KVM:
25 - no m-mode is provided, so there is no m-mode APLIC or IMSIC emulation regardless of
27 - with "aia=aplic", s-mode APLIC will be emulated by userspace
[all …]
/openbmc/qemu/qapi/
H A Daccelerator.json1 # -*- Mode: Python -*-
4 # SPDX-License-Identifier: GPL-2.0-or-later
17 # Information about support for KVM acceleration
19 # @enabled: true if KVM acceleration is active
21 # @present: true if KVM acceleration is built into this executable
28 # @query-kvm:
30 # Return information about KVM acceleration
34 # .. qmp-example::
36 # -> { "execute": "query-kvm" }
37 # <- { "return": { "enabled": true, "present": true } }
[all …]
/openbmc/obmc-ikvm/
H A DREADME.md3 The obmc-ikvm application is a VNC server that provides access to the host
14 `obmc-ikvm -v <video device path> -i <HID gadget device path>`
18 `obmc-ikvm -v /dev/video0 -i /dev/hidg0`
20 ## Accessing Remote KVM via Web Interface
23 2. Navigate to **Operations** > **KVM**.
27 ## Accessing Remote KVM via VNC Client
29 Direct access to the BMC KVM port (usually 5900) is generally blocked to prevent
30 unencrypted connections. To securely connect to the KVM, use a VNC client over
34 Dropbear, make sure it is started without the `-j` option.
36 1. Create an SSH tunnel to forward the KVM port from the BMC to your local
[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 …]
/openbmc/qemu/docs/system/ppc/
H A Dpseries.rst5 The Power machine para-virtualized environment described by the Linux on Power
18 - POWER7, POWER7+
19 - POWER8, POWER8NVL
20 - POWER9
21 - Power10
22 - Power11
23 - Support for POWER5+ also exists, works with correct kernel/userspace
25 - XICS (POWER8)
26 - XIVE (Supported by below:)
27 - POWER9
[all …]
/openbmc/qemu/include/system/
H A Dkvm.h2 * QEMU KVM support
10 * See the COPYING file in the top-level directory.
14 /* header to be included in non-KVM-specific code */
25 # include <linux/kvm.h>
51 * Returns: true if an in-kernel irqchip was created.
55 * target-independent code: use one of the following functions or
73 * Returns: true if we can deliver interrupts to KVM
92 * a KVM CPU (ie the kernel supports irqfds and we are running
95 * Always available if running with in-kernel irqchip.
103 * a KVM CPU (ie the kernel supports resamplefds and we are running
[all …]
/openbmc/phosphor-webui/app/server-control/controllers/
H A Dkvm-controller.html1 <div class="kvm-page page">
2 <h1 class="page-title">IP KVM</h1>
3 <kvm-console new-window-btn="true"></kvm-console>
/openbmc/qemu/hw/intc/
H A Dspapr_xive_kvm.c4 * Copyright (c) 2017-2019, IBM Corporation.
7 * COPYING file in the top-level directory.
12 #include "qemu/error-report.h"
16 #include "system/kvm.h"
46 if (enabled_cpu->vcpu_id == vcpu_id) { in kvm_cpu_is_enabled()
59 enabled_cpu->vcpu_id = vcpu_id; in kvm_cpu_enable()
74 * XIVE Thread Interrupt Management context (KVM)
79 SpaprXive *xive = SPAPR_XIVE(tctx->xptr); in kvmppc_xive_cpu_set_state()
83 assert(xive->fd != -1); in kvmppc_xive_cpu_set_state()
86 state[0] = *((uint64_t *) &tctx->regs[TM_QW1_OS]); in kvmppc_xive_cpu_set_state()
[all …]
H A Dxics_kvm.c4 * PAPR Virtualized Interrupt System, aka ICS/ICP aka xics, in-kernel emulation
31 #include "system/kvm.h"
37 #include "qemu/config-file.h"
38 #include "qemu/error-report.h"
42 static int kernel_xics_fd = -1;
63 * ICP-KVM
70 /* The KVM XICS device is not in use */ in icp_get_kvm_state()
71 if (kernel_xics_fd == -1) { in icp_get_kvm_state()
76 if (!icp->cs) { in icp_get_kvm_state()
80 ret = kvm_get_one_reg(icp->cs, KVM_REG_PPC_ICP_STATE, &state); in icp_get_kvm_state()
[all …]
/openbmc/qemu/target/s390x/kvm/
H A Dtrace-events3 # kvm.c
6 …_index, uint8_t state, const char *msg) "Warning: Unable to set cpu %d state %" PRIu8 " to KVM: %s"
9 kvm_sw_breakpoint(uint32_t n) "KVM: will use %d-byte sw breakpoints"
10 kvm_insn_unhandled_priv(uint32_t x) "KVM: unhandled PRIV: 0x%x"
11 kvm_insn_diag(uint32_t x) "KVM: unknown DIAG: 0x%x"
/openbmc/qemu/docs/devel/
H A Dmulti-process.rst1 Multi-process QEMU
6 This is the design document for multi-process QEMU. It does not
31 -------------
34 VM control point, where VMs can be created, migrated, re-configured, and
40 A multi-process QEMU
43 A multi-process QEMU involves separating QEMU services into separate
51 A QEMU control process would remain, but in multi-process mode, will
53 provide the user interface to hot-plug devices or live migrate the VM.
55 A first step in creating a multi-process QEMU is to separate IO services
62 ----------------------
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/ltp/ltp/
H A D0001-kernel-kvm-don-t-hardcode-objcopy.patch4 Subject: [PATCH] kernel/kvm: don't hardcode objcopy
6 testcases/kernel/kvm uses objcopy to contruct a payload binary, but in
10 CC testcases/kernel/kvm/lib_host.o
11 objcopy: Unable to recognise the format of the input file `kvm_svm03-payload.elf'
12 make[3]: *** [ltp/testcases/kernel/kvm/Makefile:67: kvm_svm03-payload.o] Error 1
15 host-prefixed in cross builds) and using that instead.
17 Upstream-Status: Backport [a3942c0a5f9b4463e8320e80cd8522a2e008bfd2]
18 Signed-off-by: Ross Burton <ross.burton@arm.com>
19 ---
22 testcases/kernel/kvm/Makefile | 4 ++--
[all …]
/openbmc/qemu/target/i386/kvm/
H A Dkvm-cpu.c2 * x86 KVM CPU type initialization
7 * See the COPYING file in the top-level directory.
12 #include "host-cpu.h"
19 #include "accel/accel-cpu-target.h"
26 eax = kvm_arch_get_supported_cpuid(cs->kvm_state, 0x80000008, 0, R_EAX); in kvm_set_guest_phys_bits()
31 cpu->guest_phys_bits = guest_phys_bits; in kvm_set_guest_phys_bits()
32 if (cpu->guest_phys_bits > cpu->phys_bits) { in kvm_set_guest_phys_bits()
33 cpu->guest_phys_bits = cpu->phys_bits; in kvm_set_guest_phys_bits()
36 if (cpu->host_phys_bits && cpu->host_phys_bits_limit && in kvm_set_guest_phys_bits()
37 cpu->guest_phys_bits > cpu->host_phys_bits_limit) { in kvm_set_guest_phys_bits()
[all …]
/openbmc/webui-vue/src/env/router/
H A Dintel.js9 import Kvm from '@/views/Operations/Kvm';
10 import KvmConsole from '@/views/Operations/Kvm/KvmConsole';
51 path: '/change-password',
52 name: 'change-password',
69 path: 'serial-over-lan-console',
70 name: 'serial-over-lan-console',
77 path: 'kvm',
78 name: 'kvm-console',
81 title: i18n.global.t('appPageTitle.kvm'),
102 path: '/profile-settings',
[all …]
/openbmc/qemu/accel/kvm/
H A Dkvm-accel-ops.c2 * QEMU KVM support
12 * See the COPYING file in the top-level directory.
17 #include "qemu/error-report.h"
18 #include "qemu/main-loop.h"
19 #include "accel/accel-cpu-ops.h"
20 #include "system/kvm.h"
24 #include "qemu/guest-random.h"
27 #include <linux/kvm.h>
28 #include "kvm-cpus.h"
38 qemu_thread_get_self(cpu->thread); in kvm_vcpu_thread_fn()
[all …]
/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 …]
/openbmc/phosphor-webui/app/server-control/directives/
H A Dkvm-console.js2 * Directive for KVM (Kernel-based Virtual Machine)
18 restrict: 'E', template: require('./kvm-console.html'),
45 var token = $cookies.get('XSRF-TOKEN');
47 target, 'wss://' + host + '/kvm/0',
55 'Unable to create RFB client -- ' + exc);
61 '#/server-control/kvm-window', 'Kvm Window',
/openbmc/qemu/hw/vfio/
H A Dhelpers.c11 * the COPYING file in the top-level directory.
13 * Based on qemu-kvm device-assignment:
14 * Adapted for KVM by Qumranet.
19 * Copyright (C) 2008, IBM, Muli Ben-Yehuda (muli@il.ibm.com)
25 #include "system/kvm.h"
26 #include "hw/vfio/vfio-device.h"
29 #include "vfio-helpers.h"
33 vbmap->pages = REAL_HOST_PAGE_ALIGN(size) / qemu_real_host_page_size(); in vfio_bitmap_alloc()
34 vbmap->size = ROUND_UP(vbmap->pages, sizeof(__u64) * BITS_PER_BYTE) / in vfio_bitmap_alloc()
36 vbmap->bitmap = g_try_malloc0(vbmap->size); in vfio_bitmap_alloc()
[all …]
/openbmc/qemu/scripts/kvm/
H A Dkvm_flightrecorder3 # KVM Flight Recorder - ring buffer tracing script
9 # This script provides a command-line interface to kvm ftrace and is designed
10 # to be used as a flight recorder that is always running. To start in-memory
13 # sudo kvm_flightrecorder start 8192 # 8 MB per-cpu ring buffers
15 # The per-cpu ring buffer size can be given in KB as an optional argument to
33 # fixed-size in-memory trace.
53 enable_subsystem('kvm', True)
58 enable_subsystem('kvm', False)
81 print('Control the KVM flight recorder tracing.')
89 if cmd == '--version':
[all …]

12345678910>>...24