Home
last modified time | relevance | path

Searched +full:set +full:- +full:content (Results 1 – 25 of 119) sorted by relevance

12345

/qemu/include/ui/
H A Dclipboard.h13 * clipboard peer. Subsequently they can set the clipboard content
36 * @QEMU_CLIPBOARD_TYPE_TEXT: text/plain; charset=utf-8
113 * Clipboard content.
132 * Clipboard content data and metadata.
149 * (set+grab clipboard) and passive (watch clipboard for updates)
213 * QemuClipboardInfo is a reference-counted struct. The new struct is
246 * This is used for both new completely clipboard content and for
265 * Request clipboard content. Typically the clipboard owner only
282 * Set clipboard content for the given @type. This function will make
283 * a copy of the content data and store that.
/qemu/docs/sphinx/
H A Dqapi_domain.py6 # pylint: disable=too-many-lines
71 ) -> Tuple[nodes.field_name, nodes.field_body]:
73 docutils helper: unpack a field node in a type-safe manner.
98 ) -> tuple[str, str]:
102 # Cross-references that begin with a tilde adjust the title to
104 # was provided. This is a Sphinx-standard syntax; give it
105 # priority over QAPI-specific type markup below.
116 target = target[:-1]
122 target = target[1:-1]
125 # Don't mess with the title at all if it was explicitly set.
[all …]
H A Dcompat.py2 Sphinx cross-version compatibility goop
48 ) -> None:
53 # necessary so that the child nodes get the right source/line set
61 directive.content,
67 with switch_source_input(directive.state, directive.content):
69 directive.state, directive.content, content_node
80 # using the garden-variety lib-provided classes with no trickery.
83 def _compat_make_xref( # pylint: disable=unused-argument
93 ) -> Node:
98 and formatting cross-references, so we need to perform this magick
[all …]
H A Dqapidoc.py1 # coding=utf-8
5 # Copyright (c) 2024-2025 Red Hat
9 # See the COPYING file in the top-level directory.
12 qapidoc is a Sphinx extension that implements the qapi-doc directive
17 It implements one new rST directive, "qapi-doc::".
18 Each qapi-doc:: directive takes one argument, which is the
21 The docs/conf.py file must set the qapidoc_srctree config value to
25 https://www.sphinx-doc.org/en/master/development/index.html
88 # pylint: disable=too-many-public-methods
100 def __init__(self) -> None:
[all …]
H A Ddbusdoc.py1 # D-Bus XML documentation extension
5 # SPDX-License-Identifier: LGPL-2.1-or-later
7 # Author: Marc-André Lureau <marcandre.lureau@redhat.com>
8 """dbus-doc is a Sphinx extension that provides documentation from D-Bus XML."""
21 Set,
58 def add_line(self, line: str, *lineno: int) -> None:
76 self.indent = self.indent[:-3]
87 self.indent = self.indent[:-3]
98 self.add_line(f":emits-changed: yes")
102 self.indent = self.indent[:-3]
[all …]
/qemu/crypto/
H A Dtlscredspsk.c2 * QEMU crypto TLS Pre-Shared Keys (PSK) support
40 char *content = NULL; in lookup_key() local
43 int ret = -1; in lookup_key()
45 if (!g_file_get_contents(pskfile, &content, &clen, &gerr)) { in lookup_key()
47 pskfile, gerr->message); in lookup_key()
49 return -1; in lookup_key()
52 lines = g_strsplit(content, "\n", -1); in lookup_key()
55 key->data = (unsigned char *) g_strdup(&lines[i][ulen + 1]); in lookup_key()
56 key->size = strlen(lines[i]) - ulen - 1; in lookup_key()
65 free(content); in lookup_key()
[all …]
/qemu/docs/
H A Dxbzrle.txt5 of VM downtime and the total live-migration time of Virtual machines.
25 The compression format performs a XOR between the previous and current content
45 retrieving the old page content from the cache (default size of 64MB). The
46 receiving side uses the existing page's content and XBZRLE to decode the new
47 page's content.
55 XBZRLE has a sustained bandwidth of 2-2.5 GB/s for typical workloads making it
56 ideal for in-line, real-time encoding such as is needed for live-migration.
91 3. Set the XBZRLE cache size - the cache size is in MBytes and should be a
93 {qemu} migrate_set_parameter xbzrle-cache-size 256m
96 {qemu} migrate -d tcp:destination.host:4444
[all …]
H A Dconf.py1 # -*- coding: utf-8 -*-
4 # sphinx-quickstart on Thu Jan 31 16:40:14 2019.
8 # for each of QEMU's manuals: in this case sphinx-build is run multiple
11 # the manuals into a single document: in this case sphinx-build is
12 # run once, on the top-level docs directory.
16 # to ship the 'devel' manual to end-users).
17 # Third-party sites such as readthedocs.org will take option (2).
20 # This file is execfile()d with the current directory set to its
34 # The per-manual conf.py will set qemu_docdir for a single-manual build;
35 # otherwise set it here if this is an entire-manual-set build.
[all …]
/qemu/pc-bios/s390-ccw/
H A Djump2ipl.c2 * QEMU s390-ccw firmware - jump to IPL code
5 * your option) any later version. See the COPYING file in the top-level
11 #include "s390-ccw.h"
12 #include "s390-arch.h"
43 * The IPLB for QEMU SCSI type devices must be rebuilt during re-ipl. The in jump_to_IPL_code()
44 * iplb.devno is set to the boot position of the target SCSI device. in jump_to_IPL_code()
51 panic("Failed to set IPLB"); in jump_to_IPL_code()
56 * content of non-BIOS memory after we loaded the guest, so we in jump_to_IPL_code()
57 * save the original content and restore it in jump_to_IPL_2. in jump_to_IPL_code()
64 debug_print_int("set IPL addr to", address ?: *reset_psw & PSW_MASK_SHORT_ADDR); in jump_to_IPL_code()
[all …]
/qemu/docs/interop/
H A Dbarrier.rst4 QEMU's ``input-barrier`` device implements the client end of
5 the KVM (Keyboard-Video-Mouse) software
11 --------------
24 --------------------
32 server -> client
46 client ->server
62 client ->server
77 client -> server
87 server -> client
97 server -> client
[all …]
H A Dvhost-user-gpu.rst2 Vhost-user-gpu Protocol
7 version 2 or later. See the COPYING file in the top-level
15 The vhost-user-gpu protocol is aiming at sharing the rendering result
16 of a virtio-gpu, done from a vhost-user back-end process to a vhost-user
17 front-end process (such as QEMU). It bears a resemblance to a display
19 back-end as the client, but in a very limited way. Typically, it will
29 Requests are sent by the *back-end*, and the optional replies by the
30 *front-end*.
38 A vhost-user-gpu message (request and reply) consists of 3 header
41 +---------+-------+------+---------+
[all …]
/qemu/python/qemu/utils/
H A D__init__.py15 # the COPYING file in the top-level directory.
25 # pylint: disable=import-error
39 def get_info_usernet_hostfwd_port(info_usernet_output: str) -> Optional[int]:
54 # pylint: disable=too-many-arguments
56 content: str = '',
64 ) -> str:
72 ┃ This is what this function looks like with text content that's
73 ┃ wrapped to 66 characters. The right-hand margin is left open to
76 ┃ provides a visual distinction that's good-enough, though.
79 :param content: The text to wrap and decorate.
[all …]
/qemu/ui/
H A Ddbus-display1.xml1 <?xml version="1.0" encoding="utf-8"?>
3 <!--
7 -->
9 <!--
13 -->
16 <!--
20 -->
23 <!--
27 -->
30 <!--
[all …]
/qemu/docs/devel/
H A Dqapi-domain.rst6 <https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html>`_
10 <https://www.sphinx-doc.org/en/master/usage/domains/python.html>`_
16 <https://www.sphinx-doc.org/en/master/usage/domains/index.html>`_
17 provides a set of special rST directives and cross-referencing roles to
21 <https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html>`_
31 understanding the cross-referencing syntax *will* be helpful when
64 <https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#field-lists>`_
66 <https://www.sphinx-doc.org/en/master/usage/domains/python.html#info-field-lists>`_
68 example, add cross-references. The QAPI Domain takes advantage of this
81 * May apply cross-reference roles to *either* the argument *or* the
[all …]
/qemu/tests/unit/
H A Dtest-xs-node.c7 * See the COPYING file in the top-level directory.
45 printf("->%p(%d, '%s'): '%.*s'%s%s\n", n, n->ref, n->name, in dump_ref()
46 (int)(n->content ? n->content->len : strlen("<empty>")), in dump_ref()
47 n->content ? (char *)n->content->data : "<empty>", in dump_ref()
48 n->modified_in_tx ? " MODIFIED" : "", in dump_ref()
49 n->deleted_in_tx ? " DELETED" : ""); in dump_ref()
51 if (n->children) { in dump_ref()
52 g_hash_table_foreach(n->children, (void *)dump_ref, in dump_ref()
63 g_assert(!s->nr_domu_watches); in xs_impl_delete()
67 g_assert(s->nr_nodes == 1); in xs_impl_delete()
[all …]
/qemu/scripts/codeconverter/codeconverter/
H A Dpatching.py7 # the COPYING file in the top-level directory.
44 Subclasses just need to set the `regexp` class attribute
48 def __init__(self, f: 'FileInfo', m: Match) -> None:
53 def name(self) -> str:
62 def start(self) -> int:
65 def end(self) -> int:
68 def line_col(self) -> LineAndColumn:
71 def group(self, group: Union[int, str]) -> str:
74 def getgroup(self, group: str) -> Optional[str]:
79 def log(self, level, fmt, *args) -> None:
[all …]
/qemu/util/
H A Dmmap-alloc.c10 * later. See the COPYING file in the top-level directory.
21 #include "qemu/mmap-alloc.h"
22 #include "qemu/host-utils.h"
24 #include "qemu/error-report.h"
66 if (fd != -1) { in qemu_fd_getpagesize()
90 gchar *content = NULL; in map_noreserve_effective() local
109 * implicitly active -- no reservation; this includes shmem. The only in map_noreserve_effective()
119 * memory overcommit is set to "never". Sparse memory regions aren't really in map_noreserve_effective()
125 if (g_file_get_contents(OVERCOMMIT_MEMORY_PATH, &content, NULL, NULL) && in map_noreserve_effective()
126 !qemu_strtoui(content, &endptr, 0, &tmp) && in map_noreserve_effective()
[all …]
/qemu/pc-bios/
H A Dedk2-licenses.txt4 SPDX-License-Identifier: BSD-2-Clause-Patent
18 a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
26 non-copyrightable additions of contributors, in source or binary form)
54 ==> edk2/License-History.txt <==
55 License-History.txt
69 ----------
81 https://opensource.org/licenses/BSD-2-Clause
86 https://lists.01.org/pipermail/edk2-devel/2017-March/008654.html
93 Replace BSD 2-Clause License with BSD + Patent License removing the need for
97 https://opensource.org/licenses/BSD-2-Clause
[all …]
/qemu/tests/lcitool/
H A Drefresh3 # Re-generate container recipes
7 # https://gitlab.com/libvirt/libvirt-ci
13 # the top-level directory.
28 lcitool_path = Path(self_dir, "libvirt-ci", "bin", "lcitool")
30 lcitool_cmd = [lcitool_path, "--data-dir", self_dir]
33 def atomic_write(filename, content): argument
37 print(content, file=fp, end="")
51 content = lcitool.stdout
53 content += trailer
54 atomic_write(filename, content)
[all …]
/qemu/docs/system/i386/
H A Dtdx.rst5 Virtual Machine Extensions (VMX) and Multi-Key Total Memory Encryption (MKTME)
12 -------------
26 content into its private memory.
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,
46 - PERFMON (bit 63) controls whether PMU is exposed to TD.
[all …]
/qemu/.gitlab-ci.d/
H A Dwindows.yml1 msys2-64bit:
4 - saas-windows-medium-amd64
8 - msys64/var/cache
9 - ccache
20 CONFIGURE_ARGS: --disable-system --enable-tools -Ddebug=false -Doptimization=0
22 GIT_FETCH_EXTRA_FLAGS: --no-tags --prune --quiet
24 name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
27 - build/meson-logs/testlog.txt
29 junit: "build/meson-logs/testlog.junit.xml"
31 - Write-Output "Acquiring msys2.exe installer at $(Get-Date -Format u)"
[all …]
/qemu/qga/
H A Dcommands-posix.c2 * QEMU Guest Agent POSIX-specific command implementations
11 * See the COPYING file in the top-level directory.
19 #include "qga-qapi-commands.h"
21 #include "qemu/host-utils.h"
25 #include "commands-common.h"
58 if (rpid == -1) { in ga_wait_child()
74 fd[1] = -1; in ga_pipe_read_str()
80 len = -errno; in ga_pipe_read_str()
90 fd[0] = -1; in ga_pipe_read_str()
105 int retcode = -1; in ga_run_command()
[all …]
/qemu/tests/qemu-iotests/
H A D081.out34 …TAMP}, "event": "QUORUM_REPORT_BAD", "data": {"node-name": "drive2", "sectors-count": 20480, "sect…
38 …croseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
51 -- corrupting --
55 -- running quorum --
56-blockdev file,node-name=file1,filename=TEST_DIR/1.IMGFMT -blockdev file,node-name=file2,filename=…
58 "node-name": "quorum",
59 "read-only": true,
60 "vote-threshold": 2,
61 "rewrite-corrupted": true,
63 } -device virtio-scsi,id=scsi -device scsi-hd,id=quorum-drive,bus=scsi.0,drive=quorum
[all …]
/qemu/include/block/
H A Dblock-common.h27 #include "qapi/qapi-types-block-core.h"
31 * co_wrapper{*}: Function specifiers used by block-coroutine-wrapper.py
34 * generated by scripts/block-coroutine-wrapper.py
36 * Usage: read docs/devel/block-coroutine-wrapper.rst
39 * - co_wrapper functions can be called by only non-coroutine context, because
41 * - co_wrapper_mixed functions can be called by both coroutine and
42 * non-coroutine context.
43 * - co_wrapper_bdrv_rdlock are co_wrapper functions but automatically take and
45 * - co_wrapper_mixed_bdrv_rdlock are co_wrapper_mixed functions but
58 * no_co_wrapper: Function specifier used by block-coroutine-wrapper.py
[all …]
/qemu/docs/specs/
H A Dfw_cfg.rst5 Guest-side Hardware Interface
15 ---------------------------
19 * Width: 16-bit
20 * Endianness: little-endian (if IOport), or big-endian (if MMIO)
25 Setting the selector register will cause the data offset to be set
34 the selector value is between 0x4000-0x7fff or 0xc000-0xffff.
38 longer supported, and will be ignored (treated as no-ops)!
49 items are accessed with a selector value between 0x0000-0x7fff, and
51 value between 0x8000-0xffff.
54 -------------
[all …]

12345