Home
last modified time | relevance | path

Searched +full:- +full:- +full:disable +full:- +full:vhost +full:- +full:user (Results 1 – 25 of 39) sorted by relevance

12

/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/qemu/hw/virtio/
H A Dvhost-user-base.c2 * Base vhost-user-base implementation. This can be used to derive a
3 * more fully specified vhost-user backend either generically (see
4 * vhost-user-device) or via a specific stub for a device which
10 * SPDX-License-Identifier: GPL-2.0-or-later
15 #include "hw/qdev-properties.h"
16 #include "hw/virtio/virtio-bus.h"
17 #include "hw/virtio/vhost-user-base.h"
18 #include "qemu/error-report.h"
27 if (!k->set_guest_notifiers) { in vub_start()
32 ret = vhost_dev_enable_notifiers(&vub->vhost_dev, vdev); in vub_start()
[all …]
H A Dvhost-user.c2 * vhost-user
7 * See the COPYING file in the top-level directory.
13 #include "hw/virtio/virtio-dmabuf.h"
14 #include "hw/virtio/vhost.h"
15 #include "hw/virtio/virtio-crypto.h"
16 #include "hw/virtio/vhost-user.h"
17 #include "hw/virtio/vhost-backend.h"
19 #include "hw/virtio/virtio-net.h"
20 #include "chardev/char-fe.h"
21 #include "io/channel-socket.h"
[all …]
/openbmc/qemu/qapi/
H A Dvirtio.json1 # -*- Mode: Python -*-
25 # @x-query-virtio:
37 # .. qmp-example::
39 # -> { "execute": "x-query-virtio" }
40 # <- { "return": [
42 # "name": "virtio-input",
43 # "path": "/machine/peripheral-anon/device[4]/virtio-backend"
46 # "name": "virtio-crypto",
47 # "path": "/machine/peripheral/crypto0/virtio-backend"
50 # "name": "virtio-scsi",
[all …]
H A Dnet.json1 # -*- Mode: Python -*-
21 # - If @name is not a valid network device, DeviceNotFound
29 # .. qmp-example::
31 # -> { "execute": "set_link",
33 # <- { "return": {} }
47 # - If @type is not a valid network backend, DeviceNotFound
49 # .. qmp-example::
51 # -> { "execute": "netdev_add",
52 # "arguments": { "type": "user", "id": "netdev1",
54 # <- { "return": {} }
[all …]
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 …]
/openbmc/qemu/docs/interop/
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 …]
H A Dvhost-user.rst4 Vhost-user Protocol
11 version 2 or later. See the COPYING file in the top-level
20 control the vhost implementation in the Linux kernel. It implements
21 the control plane needed to establish virtqueue sharing with a user
26 The protocol defines 2 sides of the communication, *front-end* and
27 *back-end*. The *front-end* is the application that shares its virtqueues, in
28 our case QEMU. The *back-end* is the consumer of the virtqueues.
30 In the current implementation QEMU is the *front-end*, and the *back-end*
32 software Ethernet switch running in user space, such as Snabbswitch,
33 or a block device back-end processing read & write to a virtual
[all …]
/openbmc/qemu/include/hw/virtio/
H A Dvhost.h4 #include "hw/virtio/vhost-backend.h"
13 /* Generic structures common for any vhost based device. */
66 /* Vhost device config space changed callback
74 * struct vhost_dev - common vhost_dev structure
89 /* the first virtqueue which would be used by this vhost dev */
91 /* one past the last vq index for the virtio device (not vhost) */
93 /* if non-zero, minimum required value for max_queues */
96 * vhost feature handling requires matching the feature set
101 * @acked_features: final negotiated features with front-end driver
114 * @protocol_features: is the vhost-user only feature set by
[all …]
H A Dvirtio.h10 * the COPYING file in the top-level directory.
18 #include "hw/qdev-core.h"
22 #include "standard-headers/linux/virtio_config.h"
23 #include "standard-headers/linux/virtio_ring.h"
29 * between the driver frontend and the device. This bit is re-used for
30 * vhost-user to advertise VHOST_USER_F_PROTOCOL_FEATURES between QEMU
31 * and a vhost-user backend.
85 #define VIRTIO_CONFIG_IRQ_IDX -1
87 #define TYPE_VIRTIO_DEVICE "virtio-device"
102 * struct VirtIODevice - common VirtIO structure
[all …]
/openbmc/qemu/tests/qtest/
H A Dvhost-user-test.c2 * QTest testcase for the vhost-user
7 * See the COPYING file in the top-level directory.
13 #include "libqtest-single.h"
16 #include "qemu/config-file.h"
20 #include "chardev/char-fe.h"
25 #include "libqos/pci-pc.h"
26 #include "libqos/virtio-pci.h"
28 #include "libqos/malloc-pc.h"
30 #include "hw/virtio/virtio-net.h"
32 #include "standard-headers/linux/vhost_types.h"
[all …]
/openbmc/qemu/
H A Dmeson_options.txt1 # These options do not correspond to a --enable/--disable-* option
3 # scripts/meson-buildoptions.py's SKIP_OPTIONS constant too.
9 option('qemu_firmwarepath', type : 'array', value : ['share/qemu-firmware'],
12 description: 'use specified string as sub-version of the package')
25 …description: 'set block driver read-write whitelist (by default affects only QEMU, not tools like …
27 …description: 'set block driver read-only whitelist (by default affects only QEMU, not tools like q…
28 option('interp_prefix', type : 'string', value : '/usr/gnemul/qemu-%M',
33 description: 'fuzzing engine library for OSS-Fuzz')
40 # Everything else can be set via --enable/--disable-* option
42 # here make sure to run "make update-buildoptions".
[all …]
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 Dmeson.build10 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py'))
23 config_host = keyval.load(meson.current_build_dir() / 'config-host.mak')
30 tmpdir = meson.current_build_dir() / 'meson-private/temp'
61 have_linux_user = have_linux_user or target.endswith('linux-user')
62 have_bsd_user = have_bsd_user or target.endswith('bsd-user')
63 have_system = have_system or target.endswith('-softmmu')
107 …dgen.version() + ' is unsupported. You can install a new version with "cargo install bindgen-cli"')
114 message('To use Rust you can install a new version with "cargo install bindgen-cli"')
132 # instead. QEMU --enable-modules depends on this because the SystemTap
135 add_global_arguments('-DSTAP_SDT_V2',
[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 …]
/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/qemu/net/
H A Dslirp.c4 * Copyright (c) 2003-2008 Fabrice Bellard
39 #include "qemu/error-report.h"
42 #include "chardev/char-fe.h"
50 #include "migration/qemu-file-types.h"
59 return -1; in get_str_sep()
60 len = p1 - p; in get_str_sep()
63 if (len > buf_size - 1) in get_str_sep()
64 len = buf_size - 1; in get_str_sep()
123 if (net_peer_needs_padding(&s->nc)) { in net_slirp_send_packet()
130 return qemu_send_packet(&s->nc, pkt, pkt_len); in net_slirp_send_packet()
[all …]
/openbmc/qemu/hw/core/
H A Dmachine.c10 * See the COPYING file in the top-level directory.
19 #include "qemu/error-report.h"
21 #include "qapi/qapi-visit-machine.h"
33 #include "exec/confidential-guest-support.h"
34 #include "hw/virtio/virtio-pci.h"
35 #include "hw/virtio/virtio-net.h"
36 #include "hw/virtio/virtio-iommu.h"
40 { TYPE_PCI_DEVICE, "x-pcie-ext-tag", "false" },
45 {"arm-cpu", "backcompat-cntfrq", "true" },
46 { "scsi-hd", "migrate-emulated-scsi-request", "false" },
[all …]
/openbmc/qemu/docs/system/
H A Dintroduction.rst7 ---------------------------
14 .. list-table:: Supported Accelerators
15 :header-rows: 1
17 * - Accelerator
18 - Host OS
19 - Host Architectures
20 * - KVM
21 - Linux
22 - Arm (64 bit only), MIPS, PPC, RISC-V, s390x, x86
23 * - Xen
[all …]
/openbmc/openbmc/poky/scripts/esdk-tools/
H A Drunqemu5 # Copyright (C) 2006-2011 Linux Foundation
8 # SPDX-License-Identifier: GPL-2.0-only
32 or to source oe-init-build-env before running this script.\n\n \
34 runqemu, i.e. `runqemu /path/to/my-image-name.qemuboot.conf`\n\n %s" % message)
46 formatter = logging.Formatter('%(name)s - %(levelname)s - %(message)s')
62 KERNEL - the kernel image file to use
63 BIOS - the bios image file to use
64 ROOTFS - the rootfs image file or nfsroot directory to use
65 DEVICE_TREE - the device tree blob to use
66 MACHINE - the machine name (optional, autodetected from KERNEL filename if unspecified)
[all …]
/openbmc/openbmc/poky/scripts/
H A Drunqemu5 # Copyright (C) 2006-2011 Linux Foundation
8 # SPDX-License-Identifier: GPL-2.0-only
32 or to source oe-init-build-env before running this script.\n\n \
34 runqemu, i.e. `runqemu /path/to/my-image-name.qemuboot.conf`\n\n %s" % message)
46 formatter = logging.Formatter('%(name)s - %(levelname)s - %(message)s')
62 KERNEL - the kernel image file to use
63 BIOS - the bios image file to use
64 ROOTFS - the rootfs image file or nfsroot directory to use
65 DEVICE_TREE - the device tree blob to use
66 MACHINE - the machine name (optional, autodetected from KERNEL filename if unspecified)
[all …]
/openbmc/qemu/util/
H A Dqemu-coroutine.c11 * See the COPYING.LIB file in the top-level directory.
20 #include "qemu/coroutine-tls.h"
40 * .-----------------------------------.
42 * `-----------------------------------'
44 * .-------------------.
45 * | Batch 1 | Batch 2 | per-thread local_pool (maximum 2 batches)
46 * `-------------------'
74 QSLIST_INIT(&batch->list); in coroutine_pool_batch_new()
75 batch->size = 0; in coroutine_pool_batch_new()
84 QSLIST_FOREACH_SAFE(co, &batch->list, pool_next, tmp) { in coroutine_pool_batch_delete()
[all …]
/openbmc/linux/Documentation/dev-tools/
H A Dkcov.rst5 for coverage-guided fuzzing. Coverage data of a running kernel is exported via
13 inherently non-deterministic parts of the kernel (e.g. scheduler, locking).
24 -------------
41 mount -t debugfs none /sys/kernel/debug
44 -------------------
49 .. code-block:: c
80 if (fd == -1)
85 /* Mmap buffer shared between kernel- and user-space. */
96 read(-1, NULL, 0);
101 /* Disable coverage collection for the current thread. After this call
[all …]
/openbmc/linux/Documentation/virt/uml/
H A Duser_mode_linux_howto_v2.rst1 .. SPDX-License-Identifier: GPL-2.0
13 Welcome to User Mode Linux
15 User Mode Linux is the first Open Source virtualization platform (first
25 Most OSes today have built-in support for a number of "fake"
27 User Mode Linux takes this concept to the ultimate extreme - there
30 concepts which map onto something provided by the host - files, sockets,
36 The UML kernel is just a process running on Linux - same as any other
37 program. It can be run by an unprivileged user and it does not require
49 Why Would I Want User Mode Linux?
53 * If User Mode Linux kernel crashes, your host kernel is still fine. It
[all …]
/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvirgl.c2 * Virtio vhost-user GPU Device
4 * Copyright Red Hat, Inc. 2013-2018
9 * Marc-André Lureau <marcandre.lureau@redhat.com>
12 * See the COPYING file in the top-level directory.
125 /* Not yet(?) defined in standard-headers, remove when possible */
182 cmd->error = VIRTIO_GPU_RESP_ERR_INVALID_PARAMETER; in virgl_cmd_get_capset()
187 resp->hdr.type = VIRTIO_GPU_RESP_OK_CAPSET; in virgl_cmd_get_capset()
190 (void *)resp->capset_data); in virgl_cmd_get_capset()
191 vg_ctrl_response(g, cmd, &resp->hdr, sizeof(*resp) + max_size); in virgl_cmd_get_capset()
206 s = iov_to_buf(cmd->elem.out_sg, cmd->elem.out_num, in virgl_cmd_submit_3d()
[all …]

12