Searched +full:sub +full:- +full:nodes (Results 1 – 25 of 28) sorted by relevance
12
5 --------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-allocated46 -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=mem279 in any of QEMU's built-in CPU configuration. To expose SGX (and SGX Launch80 Control) to a guest, you must either use ``-cpu host`` to pass-through the81 host CPU model, or explicitly enable SGX when using a built-in CPU model,[all …]
1 # coding=utf-89 # See the COPYING file in the top-level directory.12 qapidoc is a Sphinx extension that implements the qapi-doc directive17 It implements one new rST directive, "qapi-doc::".18 Each qapi-doc:: directive takes one argument, which is the25 https://www.sphinx-doc.org/en/master/development/index.html31 from docutils import nodes38 def dedent(text: str) -> str:52 """A QAPI schema visitor which generates docutils/Sphinx nodes54 This class builds up a tree of docutils/Sphinx nodes corresponding[all …]
1 # coding=utf-85 # Copyright (c) 2024-2025 Red Hat9 # See the COPYING file in the top-level directory.12 qapidoc is a Sphinx extension that implements the qapi-doc directive17 It implements one new rST directive, "qapi-doc::".18 Each qapi-doc:: directive takes one argument, which is the25 https://www.sphinx-doc.org/en/master/development/index.html40 from docutils import nodes65 from sphinx.util.nodes import nested_parse_with_titles88 # pylint: disable=too-many-public-methods[all …]
6 # Copyright (c) 2016-2017 Virtuozzo International GmbH. All rights reserved.41 result = vm.qmp('x-debug-block-dirty-bitmap-sha256',55 qemu_img('create', '-f', iotests.imgfmt, disk_a, size)56 qemu_img('create', '-f', iotests.imgfmt, disk_b, size)70 vm.cmd('block-dirty-bitmap-add', params)73 result = vm.qmp('x-debug-block-dirty-bitmap-sha256',91 mig_caps.append({'capability': 'dirty-bitmaps', 'state': True})93 self.vm_a.cmd('migrate-set-capabilities',107 result = self.vm_a.qmp('query-status')126 log = re.sub(r'^(wrote .* bytes at offset .*\n'[all …]
1 # Common utilities and Python wrappers for qemu-iotests56 qemu_img_args = [os.environ.get('QEMU_IMG_PROG', 'qemu-img')]60 qemu_io_args = [os.environ.get('QEMU_IO_PROG', 'qemu-io')]64 qemu_io_args_no_fmt = [os.environ.get('QEMU_IO_PROG', 'qemu-io')]69 qemu_nbd_prog = os.environ.get('QEMU_NBD_PROG', 'qemu-nbd')77 qsd_prog = os.environ.get('QSD_PROG', 'qemu-storage-daemon')105 valgrind_logfile = "--log-file=" + test_dir111 qemu_valgrind = ['valgrind', valgrind_logfile, '--error-exitcode=99']115 luks_default_key_secret_opt = 'key-secret=keysec0'122 logger_name: str, level: int = logging.CRITICAL) -> Iterator[None]:[all …]
4 # Test for copy-before-write filter permission conflict34 copy-before-write filter so it can copy all data to the target before it is35 changed. copy-before-write filter is appended above source node, to achieve37 side parents of source sub-tree with write permission is unsupported (we'd have38 append several copy-before-write filter like nodes to handle such parents). The40 not allowed (blockdev-backup command should fail).60 copy-before-write filter wants to unshare write permission on its source child.61 Write unsharing will be propagated to the "source->base" link and will conflict77 vm.qmp_log('blockdev-add', **{78 'node-name': 'target',[all …]
30 target_backing_img = os.path.join(iotests.test_dir, 'target-backing.img')44 qmp_cmd = 'drive-mirror'49 qemu_img('create', '-f', iotests.imgfmt,50 '-o', 'backing_file=%s' % backing_img, '-F', 'raw', test_img)51 self.vm = iotests.VM().add_drive(test_img, "node-name=top,backing.node-name=base")72 result = self.vm.qmp('query-block')85 result = self.vm.qmp('query-block')95 result = self.vm.qmp('query-block')109 result = self.vm.qmp('query-block-jobs')113 result = self.vm.qmp('query-block-jobs')[all …]
4 # Test cases for the QMP 'blockdev-reopen' command6 # Copyright (C) 2018-2019 Igalia, S.L.40 'node-name': 'hd%d' % idx,42 'node-name': 'hd%d-file' % idx,49 qemu_img('create', '-f', iotests.imgfmt, hd_path[0], '3M')50 qemu_img('create', '-f', iotests.imgfmt, '-b', hd_path[0],51 '-F', iotests.imgfmt, hd_path[1])52 qemu_img('create', '-f', iotests.imgfmt, hd_path[2], '3M')53 qemu_io('-f', iotests.imgfmt, '-c', 'write -P 0xa0 0 1M', hd_path[0])54 qemu_io('-f', iotests.imgfmt, '-c', 'write -P 0xa1 1M 1M', hd_path[1])[all …]
30 #include "hw/acpi/aml-build.h"35 * 5.2.27.3 Memory Proximity Domain Attributes Structure: Table 5-14574 * Structure: Table 5-14699 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 …]
11 * See the COPYING.LIB file in the top-level directory.18 #include "block/block-common.h"25 #include "system/block-backend.h"55 bdrv_unfreeze_backing_chain(s->commit_top_bs, s->base_bs); in commit_prepare()56 s->chain_frozen = false; in commit_prepare()61 blk_unref(s->base); in commit_prepare()62 s->base = NULL; in commit_prepare()66 return bdrv_drop_intermediate(s->commit_top_bs, s->base_bs, in commit_prepare()67 s->backing_file_str, in commit_prepare()68 s->backing_mask_protocol); in commit_prepare()[all …]
36 #include "qemu/main-loop.h"38 #include "qapi/qapi-visit-sockets.h"40 #include "qapi/clone-visitor.h"52 #define COOKIE_TO_INDEX(cookie) ((cookie) - 1)115 BDRVNBDState *s = (BDRVNBDState *)bs->opaque; in nbd_clear_bdrvstate()117 nbd_client_connection_release(s->conn); in nbd_clear_bdrvstate()118 s->conn = NULL; in nbd_clear_bdrvstate()120 yank_unregister_instance(BLOCKDEV_YANK_INSTANCE(bs->node_name)); in nbd_clear_bdrvstate()123 assert(!s->reconnect_delay_timer); in nbd_clear_bdrvstate()124 assert(!s->open_timer); in nbd_clear_bdrvstate()[all …]
27 #include "system/block-backend.h"28 #include "block/aio-wait.h"33 #include "block/dirty-bitmap.h"34 #include "block/write-threshold.h"38 #include "qemu/error-report.h"39 #include "qemu/main-loop.h"43 /* Maximum bounce buffer for copy-on-read and write zeroes, in bytes */62 QLIST_FOREACH_SAFE(c, &bs->parents, next_parent, next) { in bdrv_parent_drained_begin()74 assert(c->quiesced_parent); in bdrv_parent_drained_end_single()75 c->quiesced_parent = false; in bdrv_parent_drained_end_single()[all …]
1 /* SPDX-License-Identifier: MIT */5 * Unified block-device I/O interface for Xen guest OSes.7 * Copyright (c) 2003-2004, Keir Fraser18 * Front->back notifications: When enqueuing a new request, sending a20 * hold-off mechanism provided by the ring macros). Backends must set23 * Back->front notifications: When enqueuing a new response, sending a25 * hold-off mechanism provided by the ring macros). Frontends must set37 * The two halves of a Xen block driver utilize nodes within the XenStore to39 * section enumerates these nodes which reside in the respective front and42 * All data in the XenStore is stored as strings. Nodes specifying numeric[all …]
1 /* SPDX-License-Identifier: MIT */3 * kbdif.h -- Xen virtual keyboard/mouse17 * The two halves of a para-virtual driver utilize nodes within19 * This section enumerates these nodes which reside in the respective front and22 * All data in XenStore is stored as strings. Nodes specifying numeric28 * Backend XenBus Nodes31 *---------------------------- Features supported ----------------------------37 * feature-disable-keyboard43 * feature-disable-pointer49 * feature-abs-pointer[all …]
... --------------------- ...
... line-size icache-nlines icache-associativity ecache-line-size ecache-nlines ecache-associativity ncaches
2 # Copyright (C) 2009-2022 Red Hat Inc.9 # later. See the COPYING file in the top-level directory.13 Low-level QEMU shell on top of QMP.15 usage: qmp-shell [-h] [-H] [-N] [-v] [-p] qmp_server21 -h, --help show this help message and exit22 -H, --hmp Use HMP interface23 -N, --skip-negotiation24 Skip negotiate (for qemu-ga)25 -v, --verbose Verbose (echo commands sent and received)26 -p, --pretty Pretty-print JSON[all …]
10 * See the COPYING file in the top-level directory.16 * key-vals = [ key-val { ',' key-val } [ ',' ] ]17 * key-val = key '=' val | help18 * key = key-fragment { '.' key-fragment }19 * key-fragment = qapi-name | index20 * qapi-name = '__' / [a-z0-9.-]+ / '_' / [A-Za-z][A-Za-z0-9_-]* /21 * index = / [0-9]+ /27 * key-vals specifies a JSON object, i.e. a tree whose root is an28 * object, inner nodes other than the root are objects or arrays,31 * Each key-val = key-fragment '.' ... '=' val specifies a path from[all …]
7 Copyright (C) 2012-2016 Red Hat, Inc.10 later. See the COPYING file in the top-level directory.17 QAPI is a native C API within QEMU which provides management-level19 users/processes, this interface is made available by a JSON-based wire43 There are several kinds of types: simple types (a number of built-in50 -------------67 syntax in an EBNF-like notation:69 * Production rules look like ``non-terminal = expression``85 * ALL-CAPS words other than ``STRING`` are non-terminals90 A QAPI schema consists of a series of top-level expressions::[all …]
1 # -*- Mode: Python -*-20 # @vm-state-size: size of the VM state22 # @date-sec: UTC date of the snapshot in seconds24 # @date-nsec: fractional part in nano seconds to be used with date-sec26 # @vm-clock-sec: VM clock relative to boot in seconds28 # @vm-clock-nsec: fractional part in nano seconds to be used with29 # vm-clock-sec32 # record/replay is enabled. Used for "time-traveling" to match34 # counter may be obtained through @query-replay command40 'data': { 'id': 'str', 'name': 'str', 'vm-state-size': 'int',[all …]
14 "-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 …]
12 Dirty Bitmaps are in-memory objects that track writes to block devices. They16 This document explains the conceptual mechanisms, as well as up-to-date,27 --------67 -----------------------83 ------------------85 Bitmap objects need a method to reference them in the API. All API-created and86 managed bitmaps have a human-readable name chosen by the user at creation89 - A bitmap's name is unique to the node, but bitmaps attached to different90 nodes can share the same name. Therefore, all bitmaps are addressed via93 - The name of a user-created bitmap cannot be empty ("").[all …]
10 * See the COPYING file in the top-level directory.17 #include "qapi/qapi-builtin-types.h"147 * always begins at byte 0 of that structure, as long as any sub-object places228 * - create the typedefs for the object and class structs229 * - register the type for use with g_autoptr230 * - provide three standard type cast functions319 * - declare prototypes for _finalize, _class_init and _init methods320 * - declare the TypeInfo struct instance321 * - provide the constructor to register the type324 * and _init methods need to be written. Any of these can be zero-line[all …]
3 * Copyright (C) 2008-2010 Kevin O'Connor <kevin@koconnor.net>26 #include "acpi-build.h"27 #include "acpi-common.h"29 #include "qemu/error-report.h"35 #include "hw/acpi/acpi-defs.h"39 #include "hw/acpi/bios-linker-loader.h"52 #include "hw/mem/memory-device.h"56 #include "hw/hyperv/vmbus-bridge.h"64 #include "hw/pci-host/i440fx.h"65 #include "hw/pci-host/q35.h"[all …]
23 #include "qemu/qemu-print.h"24 #include "qemu/hw-version.h"26 #include "tcg/helper-tcg.h"27 #include "exec/translation-block.h"29 #include "hvf/hvf-i386.h"33 #include "qemu/error-report.h"34 #include "qapi/qapi-visit-machine.h"35 #include "standard-headers/asm-x86/kvm_para.h"36 #include "hw/qdev-properties.h"40 #include "confidential-guest.h"[all …]