/openbmc/qemu/.gitlab-ci.d/ |
H A D | crossbuilds.yml | 2 - local: '/.gitlab-ci.d/crossbuild-template.yml' 4 cross-armhf-user: 7 job: armhf-debian-cross-container 9 IMAGE: debian-armhf-cross 11 cross-arm64-system: 14 job: arm64-debian-cross-container 16 IMAGE: debian-arm64-cross 18 cross-arm64-user: 21 job: arm64-debian-cross-container 23 IMAGE: debian-arm64-cross [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/ |
H A D | qemu.inc | 7 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 …]
|
H A D | qemu_9.2.0.bb | 5 DEPENDS += "glib-2.0 zlib pixman" 7 DEPENDS:append:libc-musl = " libucontext" 9 CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}" 11 RDEPENDS:${PN}-common:class-target += "bash" 13 EXTRA_OECONF:append:class-target = " --target-list=${@get_qemu_target_list(d)}" 14 EXTRA_OECONF:append:class-target:mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' … 15 EXTRA_OECONF:append:class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" 19 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio xen', d)} \ 23 PACKAGECONFIG:class-nativesdk ??= "fdt sdl kvm pie slirp \
|
/openbmc/qemu/accel/xen/ |
H A D | xen-all.c | 5 * the COPYING file in the top-level directory. 7 * Contributions after 2012-01-13 are licensed under the terms of the 12 #include "qemu/error-report.h" 15 #include "hw/xen/xen_native.h" 16 #include "hw/xen/xen-legacy-backend.h" 17 #include "hw/xen/xen_pt.h" 18 #include "hw/xen/xen_igd.h" 22 #include "sysemu/xen.h" 38 snprintf(path, sizeof (path), "device-model/%u/state", xen_domid); in xenstore_record_dm_state() 72 perror("xen: failed to restrict"); in xen_setup_post() [all …]
|
/openbmc/linux/arch/arm64/xen/ |
H A D | hypercall.S | 4 * Xen hypercall wrappers 34 * The Xen hypercall calling convention is very similar to the procedure 35 * call standard for the ARM 64-bit architecture: the first parameter is 43 * The hvc ISS is required to be 0xEA1, that is the Xen specific ARM 47 * the ARM 64-bit EABI standard. 52 #include <asm/asm-uaccess.h> 53 #include <xen/interface/xen.h> 100 * need the explicit uaccess_enable/disable if the TTBR0 PAN emulation 107 * Disable userspace access from kernel once the hyp call completed.
|
/openbmc/linux/arch/x86/xen/ |
H A D | time.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Xen time implementation. 21 #include <asm/xen/hypervisor.h> 22 #include <asm/xen/hypercall.h> 23 #include <asm/xen/cpuid.h> 25 #include <xen/events.h> 26 #include <xen/features.h> 27 #include <xen/interface/xen.h> 28 #include <xen/interface/vcpu.h> 30 #include "xen-ops.h" [all …]
|
H A D | enlighten_pv.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Core of Xen paravirt_ops implementation. 7 * - privileged instructions 8 * - interrupt flags 9 * - segment operations 10 * - booting and setup 30 #include <linux/page-flags.h> 38 #include <xen/xen.h> 39 #include <xen/events.h> 40 #include <xen/interface/xen.h> [all …]
|
H A D | multicalls.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include <trace/events/xen.h> 7 #include "xen-ops.h" 27 /* need to disable interrupts until this entry is complete */ in xen_mc_batch()
|
H A D | multicalls.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Xen hypercall batching. 5 * Xen allows multiple hypercalls to be issued at once, using the 10 * per-cpu buffer of outstanding multicalls. When you want to queue a 18 * when explicitly requested. There's no way to get per-multicall 27 #include <asm/xen/hypercall.h> 66 /* Disable interrupts in case someone comes in and queues in xen_mc_flush() 70 trace_xen_mc_flush(b->mcidx, b->argidx, b->cbidx); in xen_mc_flush() 73 memcpy(b->debug, b->entries, in xen_mc_flush() 74 b->mcidx * sizeof(struct multicall_entry)); in xen_mc_flush() [all …]
|
/openbmc/linux/include/xen/interface/ |
H A D | callback.h | 1 /* SPDX-License-Identifier: MIT */ 5 * Register guest OS callbacks with Xen. 13 #include <xen/interface/xen.h> 19 * @extra_args == Operation-specific extra arguments (NULL if none). 25 /* x86: Failsafe callback when guest state cannot be restored by Xen. */ 28 /* x86/64 hypervisor: Syscall by 64-bit guest app ('64-on-64-on-64'). */ 42 * - 32-bit hypervisor: with the supervisor_mode_kernel feature enabled 43 * - 64-bit hypervisor: 32-bit guest applications on Intel CPUs 44 * ('32-on-32-on-64', '32-on-64-on-64') 45 * [nb. also 64-bit guest applications on Intel CPUs [all …]
|
H A D | xen-mca.h | 1 /* SPDX-License-Identifier: MIT */ 3 * arch-x86/mca.h 4 * Guest OS machine check interface to x86 Xen. 43 /* IN: Dom0 acknowledges previosly-fetched error log entry */ 127 /* Xen takes successful recovery action, the error is recovered */ 129 /* No action is performed by XEN */ 143 /* L3 cache disable Action */ 147 * Below interface used between XEN/DOM0 for passing XEN's recovery action 182 uint64_t mi_data[(MCINFO_MAXSIZE - 1) / 8]; 219 ((_mi)->mi_nentries) [all …]
|
/openbmc/linux/arch/arm/xen/ |
H A D | hypercall.S | 4 * Xen hypercall wrappers 34 * The Xen hypercall calling convention is very similar to the ARM 37 * Xen hypercalls have 5 arguments at most, the fifth paramter is passed 45 * The hvc ISS is required to be 0xEA1, that is the Xen specific ARM 51 #include <asm/opcodes-virt.h> 52 #include <xen/interface/xen.h> 114 * Disable userspace access from kernel. This is fine to do it
|
/openbmc/qemu/hw/i386/xen/ |
H A D | xen-hvm.c | 5 * the COPYING file in the top-level directory. 7 * Contributions after 2012-01-13 are licensed under the terms of the 14 #include "qapi/qapi-commands-migration.h" 19 #include "hw/i386/apic-msidef.h" 20 #include "hw/xen/xen-x86.h" 23 #include "hw/xen/xen-hvm-common.h" 24 #include "hw/xen/arch_hvm.h" 25 #include <xen/hvm/e820.h> 35 * This allows QEMU to build on a system that has Xen 4.5 or earlier installed. 36 * This is here (not in hw/xen/xen_native.h) because xen/hvm/ioreq.h needs to [all …]
|
/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/linux/drivers/gpu/drm/xen/ |
H A D | xen_drm_front_kms.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 4 * Xen para-virtual DRM device 6 * Copyright (C) 2016-2018 EPAM Systems Inc. 28 * must be a bit more than IO time-out 40 struct xen_drm_front_drm_info *drm_info = fb->dev->dev_private; in fb_destroy() 43 if (drm_dev_enter(fb->dev, &idx)) { in fb_destroy() 44 xen_drm_front_fb_detach(drm_info->front_info, in fb_destroy() 59 struct xen_drm_front_drm_info *drm_info = dev->dev_private; in fb_create() 68 gem_obj = fb->obj[0]; in fb_create() 70 ret = xen_drm_front_fb_attach(drm_info->front_info, in fb_create() [all …]
|
/openbmc/qemu/hw/xen/ |
H A D | xen_pt.c | 6 * the COPYING file in the top-level directory. 16 * Interrupt Disable policy: 22 * - Set real Interrupt Disable bit to '1'. 23 * - Set machine_irq and assigned_device->machine_irq to '0'. 28 * - Set real Interrupt Disable bit to '1'. 29 * - Unmap INTx. 30 * - Decrement xen_pt_mapped_machine_irq[machine_irq] 31 * - Set assigned_device->machine_irq to '0'. 33 * Write to Interrupt Disable bit by guest software(xen_pt_cmd_reg_write) 35 * - Set real bit to '0' if assigned_device->machine_irq isn't '0'. [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | pci-dma.c | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <linux/dma-map-ops.h> 3 #include <linux/dma-direct.h> 10 #include <linux/amd-iommu.h> 18 #include <xen/xen.h> 19 #include <xen/swiotlb-xen.h> 112 * See <Documentation/arch/x86/x86_64/boot-options.rst> for the iommu kernel 120 return -EINVAL; in iommu_setup() 183 pr_info("PCI-DMA: Using software bounce buffering for IO (SWIOTLB)\n"); in pci_iommu_init() 196 /* Many VIA bridges seem to corrupt data for DAC. Disable it here */ [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 5 force -- enable ACPI if default was off 6 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 7 off -- disable ACPI if default was on 8 noirq -- do not use ACPI for IRQ routing 9 strict -- Be less tolerant of platforms that are not 11 rsdt -- prefer RSDT over (default) XSDT 12 copy_dsdt -- copy DSDT to memory 26 If set to vendor, prefer vendor-specific driver 31 If set to none, disable the ACPI backlight interface. 40 Disable AML predefined validation mechanism [all …]
|
/openbmc/qemu/docs/system/loongarch/ |
H A D | virt.rst | 12 ----------------- 15 - Gpex host bridge 16 - Ls7a RTC device 17 - Ls7a IOAPIC device 18 - ACPI GED device 19 - Fw_cfg device 20 - PCI/PCIe devices 21 - Memory device 22 - CPU device. Type: la464. 25 -------------------- [all …]
|
/openbmc/linux/drivers/pci/ |
H A D | xen-pcifront.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Xen PCI Frontend 10 #include <xen/xenbus.h> 11 #include <xen/events.h> 12 #include <xen/grant_table.h> 13 #include <xen/page.h> 17 #include <xen/interface/io/pciif.h> 18 #include <asm/xen/pci.h> 25 #include <xen/platform_pci.h> 27 #include <asm/xen/swiotlb-xen.h> [all …]
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_ring.h | 35 #include "standard-headers/linux/types.h" 36 #include "standard-headers/linux/virtio_types.h" 40 /* This marks a buffer as write-only (otherwise read-only). */ 52 /* The Host uses this in used->flags to advise the Guest: don't kick me when 56 /* The Guest uses this in avail->flags to advise the Host: don't interrupt me 63 /* Disable events in packed ring. */ 82 * at the end of the avail ring. Host should ignore the avail->flags field. */ 84 * at the end of the used ring. Guest should ignore the used->flags field. */ 88 * When using pre-virtio 1.0 layout, these fall out naturally. 95 * struct vring_desc - Virtio ring descriptors, [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | virtio_ring.h | 42 /* This marks a buffer as write-only (otherwise read-only). */ 54 /* The Host uses this in used->flags to advise the Guest: don't kick me when 58 /* The Guest uses this in avail->flags to advise the Host: don't interrupt me 65 /* Disable events in packed ring. */ 84 * at the end of the avail ring. Host should ignore the avail->flags field. */ 86 * at the end of the used ring. Guest should ignore the used->flags field. */ 90 * When using pre-virtio 1.0 layout, these fall out naturally. 97 * struct vring_desc - Virtio ring descriptors, 100 * @addr: buffer address (guest-physical) 139 * alignments assumptions. Thus, we might need to decrease the compiler-selected [all …]
|
/openbmc/qemu/qapi/ |
H A D | migration.json | 1 # -*- Mode: Python -*- 28 # @normal-bytes: number of normal bytes sent (since 1.2) 30 # @dirty-pages-rate: number of pages dirtied by second by the guest 35 # @dirty-sync-count: number of times that dirty ram was synchronized 38 # @postcopy-requests: The number of page requests received from the 41 # @page-size: The number of bytes per page for the various page-based 44 # @multifd-bytes: The number of bytes sent through multifd (since 3.0) 46 # @pages-per-second: the number of memory pages transferred per second 49 # @precopy-bytes: The number of bytes sent in the pre-copy phase 52 # @downtime-bytes: The number of bytes sent while the guest is paused [all …]
|
/openbmc/linux/arch/x86/boot/ |
H A D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* -*- linux-c -*- ------------------------------------------------------- * 5 * Copyright 2007 rPath, Inc. - All Rights Reserved 7 * ----------------------------------------------------------------------- */ 18 * disable all interrupts. 28 outb(0x80, 0x70); /* Disable NMI */ in realmode_switch_hook() 34 * Disable all interrupts at the legacy PIC. 67 being 8-byte unaligned. Intel recommends 16 byte alignment. */ in setup_gdt() 73 /* TSS: 32-bit tss, 104 bytes, base 4096 */ in setup_gdt() 78 /* Xen HVM incorrectly stores a pointer to the gdt_ptr, instead in setup_gdt() [all …]
|
/openbmc/qemu/stubs/ |
H A D | meson.build | 5 stub_ss.add(files('cpu-get-clock.c')) 6 stub_ss.add(files('error-printf.c')) 8 stub_ss.add(files('iothread-lock.c')) 9 stub_ss.add(files('is-daemonized.c')) 10 stub_ss.add(files('monitor-core.c')) 11 stub_ss.add(files('replay-mode.c')) 12 stub_ss.add(files('trace-control.c')) 15 stub_ss.add(files('bdrv-next-monitor-owned.c')) 16 stub_ss.add(files('blk-commit-all.c')) 17 stub_ss.add(files('blk-exp-close-all.c')) [all …]
|