Home
last modified time | relevance | path

Searched +full:- +full:- +full:disable +full:- +full:vhost +full:- +full:net (Results 1 – 25 of 36) 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/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 -*-
6 # = Net devices
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",
54 # <- { "return": {} }
[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/linux/tools/include/uapi/linux/
H A Dvhost.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 /* Userspace interface for in-kernel virtio accelerators. */
6 /* vhost is used to reduce the number of system calls involved in virtio.
8 * Existing virtio net code is used in the guest without modification.
18 #define VHOST_FILE_UNBIND -1
25 * vhost specific features. */
30 * must be called before any other vhost command. Further calls to
80 * or VHOST_VRING_BIG_ENDIAN (other values return -EINVAL).
82 * returns -EBUSY.
121 /* Set or get vhost backend capability */
[all …]
/openbmc/linux/include/uapi/linux/
H A Dvhost.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 /* Userspace interface for in-kernel virtio accelerators. */
6 /* vhost is used to reduce the number of system calls involved in virtio.
8 * Existing virtio net code is used in the guest without modification.
18 #define VHOST_FILE_UNBIND -1
25 * vhost specific features. */
30 * must be called before any other vhost command. Further calls to
80 * or VHOST_VRING_BIG_ENDIAN (other values return -EINVAL).
82 * returns -EBUSY.
121 /* Set or get vhost backend capability */
[all …]
/openbmc/qemu/linux-headers/linux/
H A Dvhost.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 /* Userspace interface for in-kernel virtio accelerators. */
6 /* vhost is used to reduce the number of system calls involved in virtio.
8 * Existing virtio net code is used in the guest without modification.
18 #define VHOST_FILE_UNBIND -1
25 * vhost specific features. */
30 * must be called before any other vhost command. Further calls to
80 * or VHOST_VRING_BIG_ENDIAN (other values return -EINVAL).
82 * returns -EBUSY.
121 /* Set or get vhost backend capability */
[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/include/hw/virtio/
H A Dvirtio.h10 * the COPYING file in the top-level directory.
18 #include "hw/qdev-core.h"
19 #include "net/net.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"
[all …]
/openbmc/linux/drivers/vhost/
H A Dnet.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * virtio-net server in host kernel.
10 #include <linux/vhost.h>
23 #include <linux/net.h>
33 #include <net/sock.h>
34 #include <net/xdp.h>
36 #include "vhost.h"
41 " 1 -Enable; 0 - Disable");
112 /* vhost zerocopy support fields below: */
154 if (rxq->tail != rxq->head) in vhost_net_buf_get_ptr()
[all …]
/openbmc/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 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 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/qemu/net/
H A Dslirp.c4 * Copyright (c) 2003-2008 Fabrice Bellard
27 #include "net/slirp.h"
34 #include "net/eth.h"
35 #include "net/net.h"
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()
[all …]
/openbmc/qemu/hw/virtio/
H A Dvhost-vdpa.c2 * vhost-vdpa
4 * Copyright(c) 2017-2018 Intel Corporation.
8 * See the COPYING file in the top-level directory.
13 #include <linux/vhost.h>
18 #include "hw/virtio/vhost.h"
19 #include "hw/virtio/vhost-backend.h"
20 #include "hw/virtio/virtio-net.h"
21 #include "hw/virtio/vhost-shadow-virtqueue.h"
22 #include "hw/virtio/vhost-vdpa.h"
23 #include "exec/address-spaces.h"
[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/docs/interop/
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
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*
33 or a block device back-end processing read & write to a virtual
34 disk. In order to facilitate interoperability between various back-end
38 The *front-end* and *back-end* can be either a client (i.e. connecting) or
[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/hw/net/
H A Dvirtio-net.c10 * the COPYING file in the top-level directory.
18 #include "qemu/main-loop.h"
21 #include "net/net.h"
22 #include "net/checksum.h"
23 #include "net/tap.h"
24 #include "qemu/error-report.h"
28 #include "qemu/config-file.h"
30 #include "hw/virtio/virtio-net
225 virtio_net_announce_notify(VirtIONet * net) virtio_net_announce_notify() argument
3957 struct vhost_net *net; virtio_net_get_vhost() local
[all...]
/openbmc/qemu/hw/s390x/
H A Ds390-virtio-ccw.c10 * your option) any later version. See the COPYING file in the top-level
17 #include "exec/confidential-guest-support.h"
19 #include "hw/s390x/s390-virtio-hcall.h"
24 #include "virtio-ccw.h"
25 #include "qemu/config-file.h"
27 #include "qemu/error-report.h"
29 #include "qemu/qemu-print.h"
31 #include "hw/s390x/s390-pci-bus.h"
33 #include "hw/s390x/storage-keys.h"
34 #include "hw/s390x/storage-attributes.h"
[all …]
/openbmc/linux/Documentation/virt/uml/
H A Duser_mode_linux_howto_v2.rst1 .. SPDX-License-Identifier: GPL-2.0
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
54 is not accelerated in any way (vhost, kvm, etc) and it is not trying to
57 * You can run a usermode kernel as a non-root user (you may need to
99 This is extremely easy on Debian - you can do it using debootstrap. It is
100 also easy on OpenWRT - the build process can build UML images. All other
101 distros - YMMV.
[all …]

12