/openbmc/qemu/scripts/ |
H A D | meson-buildoptions.sh | 1 # 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/openbmc/poky/documentation/dev-manual/ |
H A D | qemu.rst | 1 .. 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/linux/tools/include/uapi/linux/ |
H A D | vhost.h | 1 /* 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. 18 #define VHOST_FILE_UNBIND -1 25 * vhost specific features. */ 30 * must be called before any other vhost command. Further calls to 64 * the kernel will free all the device's workers when the device is closed. 80 * or VHOST_VRING_BIG_ENDIAN (other values return -EINVAL). 82 * returns -EBUSY. 85 * Not all kernel configurations support this ioctl, but all configurations that [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | vhost.h | 1 /* 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. 18 #define VHOST_FILE_UNBIND -1 25 * vhost specific features. */ 30 * must be called before any other vhost command. Further calls to 64 * the kernel will free all the device's workers when the device is closed. 80 * or VHOST_VRING_BIG_ENDIAN (other values return -EINVAL). 82 * returns -EBUSY. 85 * Not all kernel configurations support this ioctl, but all configurations that [all …]
|
/openbmc/qemu/linux-headers/linux/ |
H A D | vhost.h | 1 /* 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. 18 #define VHOST_FILE_UNBIND -1 25 * vhost specific features. */ 30 * must be called before any other vhost command. Further calls to 64 * the kernel will free all the device's workers when the device is closed. 80 * or VHOST_VRING_BIG_ENDIAN (other values return -EINVAL). 82 * returns -EBUSY. 85 * Not all kernel configurations support this ioctl, but all configurations that [all …]
|
/openbmc/qemu/ |
H A D | meson_options.txt | 1 # 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 D | qemu-options.hx | 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 …]
|
H A D | meson.build | 10 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/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-vdpa | 3 Contact: virtualization@lists.linux-foundation.org 7 means the kernel automatically binds devices to a compatible 10 Writing "0" to this file disable this feature, any other string 15 Contact: virtualization@lists.linux-foundation.org 17 Writing a device name to this file will cause the kernel binds 25 Contact: virtualization@lists.linux-foundation.org 33 Contact: virtualization@lists.linux-foundation.org 41 Contact: virtualization@lists.linux-foundation.org 47 driver_override file (echo vhost-vdpa > driver_override) and may 53 matching name is currently loaded in the kernel, the device will [all …]
|
/openbmc/qemu/docs/interop/ |
H A D | vhost-user.rst | 4 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/virtio/ |
H A D | vhost-vdpa.c | 2 * 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 …]
|
/openbmc/qemu/hw/core/ |
H A D | machine.c | 10 * 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/linux/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ibmvfc.c -- driver for IBM Power Virtual Fibre Channel Adapter 12 #include <linux/dma-mapping.h> 22 #include <linux/bsg-lib.h> 69 MODULE_PARM_DESC(mig_channels_only, "Prevent migration to non-channelized system. " 98 MODULE_PARM_DESC(log_level, "Set to 0 - 4 for increasing verbosity of device driver. " 181 static int ibmvfc_check_caps(struct ibmvfc_host *vhost, unsigned long cap_flags) in ibmvfc_check_caps() argument 183 u64 host_caps = be64_to_cpu(vhost->login_buf->resp.capabilities); in ibmvfc_check_caps() 188 static struct ibmvfc_fcp_cmd_iu *ibmvfc_get_fcp_iu(struct ibmvfc_host *vhost, in ibmvfc_get_fcp_iu() argument 191 if (ibmvfc_check_caps(vhost, IBMVFC_HANDLE_VF_WWPN)) in ibmvfc_get_fcp_iu() [all …]
|
/openbmc/openbmc/poky/scripts/esdk-tools/ |
H A D | runqemu | 5 # 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 D | runqemu | 5 # 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/qapi/ |
H A D | qom.json | 1 # -*- 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/linux/drivers/vhost/ |
H A D | net.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * virtio-net server in host kernel. 10 #include <linux/vhost.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() 155 return rxq->queue[rxq->head]; in vhost_net_buf_get_ptr() 162 return rxq->tail - rxq->head; in vhost_net_buf_get_size() 167 return rxq->tail == rxq->head; in vhost_net_buf_is_empty() [all …]
|
/openbmc/qemu/docs/system/ |
H A D | introduction.rst | 7 --------------------------- 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/linux/Documentation/dev-tools/ |
H A D | kcov.rst | 4 KCOV collects and exposes kernel code coverage information in a form suitable 5 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). 19 coverage for annotated parts of the kernel executing in background kernel 24 ------------- 27 or any Clang version supported by the kernel. 31 To enable KCOV, configure the kernel with:: 41 mount -t debugfs none /sys/kernel/debug 44 ------------------- 49 .. code-block:: c [all …]
|
/openbmc/linux/Documentation/virt/uml/ |
H A D | user_mode_linux_howto_v2.rst | 1 .. 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, 35 kernel and the UML programs operate. 36 The UML kernel is just a process running on Linux - same as any other 39 The UML userspace, however, is a bit different. The Linux kernel on the 41 on a UML instance is trying to do and making the UML kernel handle all 44 difference between the guest kernel and guest programs. This difference 53 * If User Mode Linux kernel crashes, your host kernel is still fine. It [all …]
|
/openbmc/linux/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/kernel.h> 16 #include <linux/dma-map-ops.h> 32 MODULE_PARM_DESC(batch_mapping, "Batched mapping 1 -Enable; 0 - Disable"); 41 MODULE_PARM_DESC(use_va, "Enable/disable the device's ability to use VA"); 58 struct vdpasim *vdpasim = mm_work->vdpasim; in vdpasim_mm_work_fn() 60 mm_work->ret = 0; in vdpasim_mm_work_fn() 63 vdpasim->mm_bound = mm_work->mm_to_bind; in vdpasim_mm_work_fn() 69 struct kthread_work *work = &mm_work->work; in vdpasim_worker_change_mm_sync() 72 kthread_queue_work(vdpasim->worker, work); in vdpasim_worker_change_mm_sync() [all …]
|
/openbmc/linux/kernel/ |
H A D | kcov.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/kmsan-checks.h> 31 /* Number of 64-bit words written per one comparison: */ 37 * - initial state after open() 38 * - then there must be a single ioctl(KCOV_INIT_TRACE) call 39 * - then, mmap() call (several calls are allowed but not useful) 40 * - then, ioctl(KCOV_ENABLE, arg), where arg is 41 * KCOV_TRACE_PC - to trace only the PCs 43 * KCOV_TRACE_CMP - to trace only the comparison operands 44 * - then, ioctl(KCOV_DISABLE) to disable the task. [all …]
|
/openbmc/qemu/hw/net/ |
H A D | virtio-net.c | 10 * the COPYING file in the top-level directory. 18 #include "qemu/main-loop.h" 24 #include "qemu/error-report.h" 28 #include "qemu/config-file.h" 30 #include "hw/virtio/virtio-net.h" 33 #include "hw/virtio/virtio-bus.h" 35 #include "qapi/qapi-events-net.h" 36 #include "hw/qdev-properties.h" 37 #include "qapi/qapi-type [all...] |
/openbmc/qemu/hw/s390x/ |
H A D | s390-virtio-ccw.c | 10 * 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/tools/perf/ |
H A D | Makefile.perf | 1 # SPDX-License-Identifier: GPL-2.0-only 16 # Define ARCH as name of target architecture if you want cross-builds. 18 # Define CROSS_COMPILE as prefix name of compiler if you want cross-builds. 20 # Define NO_LIBPERL to disable perl script extension. 22 # Define NO_LIBPYTHON to disable python script extension. 27 # Define PYTHON_CONFIG to point to the python-config binary if 28 # the default `$(PYTHON)-config' is not correct. 34 # Define LDFLAGS=-static to build a static binary. 36 # Define EXTRA_CFLAGS=-m64 or EXTRA_CFLAGS=-m32 as appropriate for cross-builds. 38 # Define EXCLUDE_EXTLIBS=-lmylib to exclude libmylib from the auto-generated [all …]
|