Home
last modified time | relevance | path

Searched +full:kernel +full:- +full:policy (Results 1 – 25 of 25) sorted by relevance

/qemu/docs/system/i386/
H A Damd-memory-encryption.rst6 SEV is an extension to the AMD-V architecture which supports running encrypted
15 AMD secure processor (AMD-SP), which is present in AMD SOCs. Firmware running
16 inside the AMD-SP provides commands to support a common VM lifecycle. This
21 Secure Encrypted Virtualization - Encrypted State (SEV-ES) builds on the SEV
28 Launching (SEV and SEV-ES)
29 --------------------------
38 For a SEV-ES guest, the ``LAUNCH_UPDATE_VMSA`` command is also used to encrypt the
42 the firmware. To create this context, guest owner must provide a guest policy,
43 its public Diffie-Hellman key (PDH) and session parameters. These inputs
44 should be treated as a binary blob and must be passed as-is to the SEV firmware.
[all …]
H A Dsgx.rst5 --------
16 -----------
36 require -maxmem as EPC is not treated as {cold,hot}plugged memory.
43 The following QEMU snippet creates two EPC sections, with 64M pre-allocated
46 -object memory-backend-epc,id=mem1,size=64M,prealloc=on \
47 -object memory-backend-epc,id=mem2,size=28M \
48 -M sgx-epc.0.memdev=mem1,sgx-epc.1.memdev=mem2
79 in any of QEMU's built-in CPU configuration. To expose SGX (and SGX Launch
80 Control) to a guest, you must either use ``-cpu host`` to pass-through the
81 host CPU model, or explicitly enable SGX when using a built-in CPU model,
[all …]
/qemu/target/i386/
H A Dsev.c4 * Copyright Advanced Micro Devices 2016-2018
10 * See the COPYING file in the top-level directory.
18 #include <linux/psp-sev.h>
27 #include "qemu/error-report.h"
39 #include "monitor/hmp-target.h"
40 #include "qapi/qapi-commands-misc-i386.h"
41 #include "confidential-guest.h"
43 #include "system/address-spaces.h"
64 SevHashTableEntry kernel; member
73 uint8_t padding[ROUND_UP(sizeof(SevHashTable), 16) - sizeof(SevHashTable)];
[all …]
/qemu/qapi/
H A Dqom.json1 # -*- Mode: Python -*-
5 # See the COPYING file in the top-level directory.
8 { 'include': 'block-core.json' }
38 # @default-value: the default value, if any (since 5.0)
46 '*default-value': 'any' } }
49 # @qom-list:
54 # @path: the path within the object model. See @qom-get for a
62 # .. qmp-example::
64 # -> { "execute": "qom-list",
66 # <- { "return": [ { "name": "type", "type": "string" },
[all …]
H A Dmachine.json1 # -*- Mode: Python -*-
5 # See the COPYING file in the top-level directory.
12 { 'include': 'machine-common.json' }
18 # targets. Run "./configure --help" in the project root directory,
19 # and look for the \*-softmmu targets near the "--target-list" option.
30 # "qemu-system-" prefix to produce the corresponding QEMU
31 # executable name. This is true even for "qemu-system-x86_64".
52 'data': [ 'uninitialized', 'stopped', 'check-stop', 'operating', 'load' ] }
59 # @cpu-state: the virtual CPU's state
68 'data': { 'cpu-state': 'S390CpuState',
[all …]
H A Dblock-core.json1 # -*- Mode: Python -*-
20 # @vm-state-size: size of the VM state
22 # @date-sec: UTC date of the snapshot in seconds
24 # @date-nsec: fractional part in nano seconds to be used with date-sec
26 # @vm-clock-sec: VM clock relative to boot in seconds
28 # @vm-clock-nsec: fractional part in nano seconds to be used with
29 # vm-clock-sec
32 # record/replay is enabled. Used for "time-traveling" to match
34 # counter may be obtained through @query-replay command
40 'data': { 'id': 'str', 'name': 'str', 'vm-state-size': 'int',
[all …]
/qemu/
H A Dqemu-options.hx14 "-h or -help display this help and exit\n", QEMU_ARCH_ALL)
16 ``-h``
21 "-version display version information and exit\n", QEMU_ARCH_ALL)
23 ``-version``
28 "-machine [type=]name[,prop[=value][,...]]\n"
29 " selects emulated machine ('-machine help' for list)\n"
33 " dump-guest-core=on|off include guest memory in a core dump (default=on)\n"
34 " mem-merge=on|off controls memory merge support (default: on)\n"
35 " aes-key-wrap=on|off controls support for AES key wrapping (default=on)\n"
36 " dea-key-wrap=on|off controls support for DEA key wrapping (default=on)\n"
[all …]
H A DMAINTAINERS10 consult qemu-devel and not any specific individual privately.
23 W: Web-page with status/info
59 ------------------------------
63 L: qemu-devel@nongnu.org
67 Project policy and developer guides
72 R: Philippe Mathieu-Daudé <philmd@linaro.org>
75 F: docs/devel/build-environment.rst
76 F: docs/devel/code-of-conduct.rst
78 F: docs/devel/conflict-resolution.rst
80 F: docs/devel/submitting-a-patch.rst
[all …]
/qemu/hw/mips/
H A Dloongson3_bootp.h2 * LEFI (a UEFI-like interface for BIOS-Kernel boot parameters) data structures
3 * defined at arch/mips/include/asm/mach-loongson64/boot_param.h in Linux kernel
5 * Copyright (c) 2017-2020 Huacai Chen (chenhc@lemote.com)
6 * Copyright (c) 2017-2020 Jiaxun Yang <jiaxun.yang@flygoat.com>
87 uint32_t id; /* instance id of a sensor-class */
89 uint32_t fan_percent;/* only for constant speed policy */
118 uint32_t PIC_type; /* conform use HT or PCI to route to CPU-PIC */
121 uint32_t node_id; /* node id: 0x0-0; 0x1-1; 0x10-2; 0x11-3 */
221 /* Low MEM layout for QEMU kernel loader */
228 /* BIOS ROM layout for QEMU kernel loader */
/qemu/docs/specs/
H A Drapl-msr.rst12 Thanks to KVM's `MSR filtering <msr-filter-patch_>`__ functionality,
17 .. _msr-filter-patch: https://patchwork.kernel.org/project/kvm/patch/20200916202951.23760-7-graf@am…
37 it with the UNIT provided above you'll get the power in micro-joules. This
45 core that belongs to PKG-0 will not be able to get the value of PKG-1 and
46 vice-versa.
49 -------------------------
60 3. Sleep for 1 second - During this pause the vcpu and other non-vcpu threads
67 5. Filter the vcpu threads and the non-vcpu threads.
72 7. The total energy spent by the non-vcpu threads is divided by the number
87 -----------------
[all …]
/qemu/hw/i386/kvm/
H A Di8254.c2 * KVM in-kernel PIT (i8254) support
4 * Copyright (c) 2003-2004 Fabrice Bellard
28 #include "qapi/qapi-types-machine.h"
35 #include "hw/qdev-properties-system.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()
95 /* No need to re-read the state if VM is stopped. */ in kvm_pit_get()
96 if (s->vm_stopped) { in kvm_pit_get()
102 fprintf(stderr, "KVM_GET_PIT2 failed: %s\n", strerror(-ret)); in kvm_pit_get()
[all …]
/qemu/hw/acpi/
H A Dhmat.c30 #include "hw/acpi/aml-build.h"
35 * 5.2.27.3 Memory Proximity Domain Attributes Structure: Table 5-145
74 * Structure: Table 5-146
99 assert(!(hmat_lb->hierarchy >> 4)); in build_hmat_lb()
100 build_append_int_noprefix(table_data, hmat_lb->hierarchy, 1); in build_hmat_lb()
102 build_append_int_noprefix(table_data, hmat_lb->data_type, 1); in build_hmat_lb()
113 if (hmat_lb->data_type <= HMAT_LB_DATA_WRITE_LATENCY) { in build_hmat_lb()
115 base = hmat_lb->base * 1000; in build_hmat_lb()
118 base = hmat_lb->base / MiB; in build_hmat_lb()
136 for (i = 0; i < hmat_lb->list->len; i++) { in build_hmat_lb()
[all …]
/qemu/docs/system/
H A Dcpu-models-x86.rst.inc51 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
81 ``GraniteRapids``, ``GraniteRapids-v2``
84 ``Cascadelake-Server``, ``Cascadelake-Server-noTSX``
89 ``Skylake-Server``, ``Skylake-Server-IBRS``, ``Skylake-Server-IBRS-noTSX``
[all …]
H A Dsecurity.rst5 --------
11 ---------------------
24 safely on the physical CPU at close-to-native speed.
29 - Guest
30 - User-facing interfaces (e.g. VNC, SPICE, WebSocket)
31 - Network protocols (e.g. NBD, live migration)
32 - User-supplied files (e.g. disk images, kernels, device trees)
33 - Passthrough devices (e.g. PCI, USB)
36 real-world use cases and treated as security bugs if this is the case.
38 Non-virtualization Use Case
[all …]
/qemu/docs/about/
H A Ddeprecated.rst21 for pre-existing VM deployments. They should be scheduled for updating to a
23 should exclusively use a non-deprecated machine type, with use of the most
24 recent version highly recommended. Non-versioned machine types follow the
25 general feature deprecation policy.
31 --------------------------------------
33 Short-form boolean options (since 6.0)
43 The replacement for the ``nodelay`` short-form boolean option is ``nodelay=on``
50 command-line less readable, especially when the argument itself consist of a
51 name and a value, e.g. ``-plugin plugin_name,arg="arg_name=arg_value"``.
52 Therefore, the usage of ``arg`` is redundant. Single-word arguments are treated
[all …]
H A Demulation.rst9 .. list-table:: Supported Guest Architectures for Emulation
11 :header-rows: 1
13 * - Architecture (qemu name)
14 - System
15 - User
16 - Notes
17 * - Alpha
18 - Yes
19 - Yes
20 - Legacy 64 bit RISC ISA developed by DEC
[all …]
H A Dremoved-features.rst10 --------------------------------------
12 ``-hdachs`` (removed in 2.12)
15 The geometry defined by ``-hdachs c,h,s,t`` should now be specified via
16 ``-device ide-hd,drive=dr,cyls=c,heads=h,secs=s,bios-chs-trans=t``
17 (together with ``-drive if=none,id=dr,...``).
19 ``-net channel`` (removed in 2.12)
22 This option has been replaced by ``-net user,guestfwd=...``.
24 ``-net dump`` (removed in 2.12)
27 ``-net dump[,vlan=n][,file=filename][,len=maxlen]`` has been replaced by
28 ``-object filter-dump,id=id,netdev=dev[,file=filename][,maxlen=maxlen]``.
[all …]
/qemu/docs/devel/
H A Dsubmitting-a-patch.rst1 .. _submitting-a-patch:
13 one-shot fix, the bare minimum we ask is that:
15 .. list-table:: Minimal Checklist for Patches
17 :header-rows: 1
19 * - Check
20 - Reason
21 * - Patches contain Signed-off-by: Your Name <author@email>
22- States you are legally able to contribute the code. See :ref:`patch_emails_must_include_a_signed…
23 * - Sent as patch emails to ``qemu-devel@nongnu.org``
24 - The project uses an email list based workflow. See :ref:`submitting_your_patches`
[all …]
/qemu/hw/cxl/
H A Dcxl-mailbox-utils.c7 * COPYING file in the top-level directory.
19 #include "hw/pci-bridge/cxl_upstream_port.h"
54 * payload from cmd->payload and operating upon it as necessary. It must then
55 * fill the output data into cmd->payload (overwriting what was there),
122 /* CCI Message Format CXL r3.1 Figure 7-19 */
162 if (cmd->in < sizeof(*in)) { in cmd_tunnel_management_cmd()
171 /* Enough room for minimum sized message - no payload */ in cmd_tunnel_management_cmd()
172 if (in->size < sizeof(in->ccimessage)) { in cmd_tunnel_management_cmd()
175 /* Length of input payload should be in->size + a wrapping tunnel header */ in cmd_tunnel_management_cmd()
176 if (in->size != len_in - offsetof(typeof(*out), ccimessage)) { in cmd_tunnel_management_cmd()
[all …]
/qemu/hw/core/
H A Dnuma.c29 #include "exec/cpu-common.h"
31 #include "qemu/error-report.h"
33 #include "qapi/opts-visitor.h"
34 #include "qapi/qapi-visit-machine.h"
37 #include "hw/mem/pc-dimm.h"
39 #include "hw/mem/memory-device.h"
41 #include "qemu/config-file.h"
69 unsigned int max_cpus = ms->smp.max_cpus; in parse_numa_node()
70 NodeInfo *numa_info = ms->numa_state->nodes; in parse_numa_node()
72 if (node->has_nodeid) { in parse_numa_node()
[all …]
/qemu/include/standard-headers/linux/
H A Dethtool.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
19 #include "standard-headers/linux/const.h"
20 #include "standard-headers/linux/types.h"
21 #include "standard-headers/linux/if_ether.h"
26 * have the same layout for 32-bit and 64-bit userland.
38 * struct ethtool_cmd - DEPRECATED, link control and status
43 * interface supports autonegotiation or auto-detection.
44 * Read-only.
48 * auto-detection.
56 * @autoneg: Enable/disable autonegotiation and auto-detection;
[all …]
/qemu/system/
H A Dvl.c4 * Copyright (c) 2003-2008 Fabrice Bellard
26 #include "qemu/help-texts.h"
30 #include "qemu/target-info.h"
31 #include "exec/cpu-common.h"
32 #include "exec/page-vary.h"
33 #include "hw/qdev-properties.h"
34 #include "qapi/compat-policy.h"
39 #include "qemu-version.h"
42 #include "qemu/hw-version.h"
44 #include "qemu/target-info.h"
[all …]
/qemu/tests/qtest/
H A Dbios-tables-test.c10 * See the COPYING file in the top-level directory.
17 * 2. list any changed files in tests/qtest/bios-tables-test-allowed-diff.h
20 * Contributor or ACPI Maintainer (steps 4-7 need to be redone to resolve conflicts
23 * After 1-3 above tests will pass but ignore differences with the expected files.
24 * You will also notice that tests/qtest/bios-tables-test-allowed-diff.h lists
31 * output. If not - disassemble them yourself in any way you like.
32 * Look at the differences - make sure they make sense and match what the
38 * $(SRC_PATH)/tests/data/acpi/rebuild-expected-aml.sh
48 * tests/qtest/bios-tables-test-allowed-diff.h is empty - this will ensure
52 * - patch 1: list changed files in tests/qtest/bios-tables-test-allowed-diff.h.
[all …]
/qemu/linux-user/
H A Dsyscall.c28 #include "exec/page-protection.h"
29 #include "exec/mmap-lock.h"
30 #include "exec/tb-flush.h"
31 #include "exec/translation-block.h"
115 #include <linux/dm-ioctl.h>
136 #include "user-internals.h"
138 #include "signal-common.h"
140 #include "user-mmap.h"
141 #include "user/page-protection.h"
142 #include "user/safe-syscall.h"
[all …]
/qemu/ui/
H A Dvnc.c29 #include "vnc-jobs.h"
31 #include "hw/qdev-core.h"
34 #include "qemu/error-report.h"
35 #include "qemu/main-loop.h"
41 #include "qemu/config-file.h"
42 #include "qapi/qapi-emit-events.h"
43 #include "qapi/qapi-events-ui.h"
45 #include "qapi/qapi-commands-ui.h"
56 #include "io/dns-resolver.h"
84 fprintf(stderr, "%s/%p: %s -> %s\n", __func__, in vnc_set_share_mode()
[all …]