Home
last modified time | relevance | path

Searched +full:build +full:- +full:legacy (Results 1 – 25 of 47) sorted by relevance

12

/qemu/tests/docker/dockerfiles/
H A Ddebian-legacy-test-cross.docker1 # Docker legacy cross-compiler target (tests and minimal qemu)
6 # libc6.1-dev-alpha-cross: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054412
7 # sh4-linux-user: binaries don't run with bookworm compiler
9 # As we are targeting check-tcg here we only need minimal qemu
12 FROM docker.io/library/debian:11-slim
14 # Duplicate deb line as deb-src
15 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
18 apt-get update && \
19 apt-get install -y eatmydata && \
20 eatmydata apt-get dist-upgrade -y && \
[all …]
/qemu/.gitlab-ci.d/
H A Dbuildtest.yml2 - local: '/.gitlab-ci.d/buildtest-template.yml'
4 build-system-alpine:
6 - .native_build_job_template
7 - .native_build_artifact_template
9 - job: amd64-alpine-container
12 TARGETS: avr-softmmu loongarch64-softmmu mips64-softmmu mipsel-softmmu
13 MAKE_CHECK_ARGS: check-build
14 CONFIGURE_ARGS: --enable-docs --enable-trace-backends=log,simple,syslog
16 check-system-alpine:
19 - job: build-system-alpine
[all …]
/qemu/docs/
H A Dpcie_pci_bridge.txt6 PCIE-to-PCI bridge is a new method for legacy PCI
9 Previously Intel DMI-to-PCI bridge was used for this purpose.
10 But due to its strict limitations - no support of hot-plug,
11 no cross-platform and cross-architecture support - a new generic
12 PCIE-to-PCI bridge should now be used for any legacy PCI device usage
15 This generic PCIE-PCI bridge is a cross-platform device,
16 can be hot-plugged into appropriate root port (requires additional actions,
17 see 'PCIE-PCI bridge hot-plug' section),
18 and supports devices hot-plug into the bridge itself
21 Hot-plug of legacy PCI devices into the bridge
[all …]
H A Digd-assign.txt1 Intel Graphics Device (IGD) assignment with vfio-pci
4 Using vfio-pci, we can passthrough Intel Graphics Device (IGD) to guest, either
16 (*-Required by)
19 |---------------------------------------------|-------|---------|-------|---------|
30 For #1, the "x-igd-opregion=on" option exposes a copy of host IGD OpRegion to
33 For #2, "x-igd-lpc=on" option copies the IDs of host LPC bridge and host bridge
42 For #5, "x-vga=on" enables guest access to standard VGA IO/MMIO ranges.
48 QEMU also provides a "Legacy" mode that implicitly enables full functionality
55 In "Legacy" mode, QEMU will automatically setup OpRegion, LPC bridge IDs and
57 x-igd-opregion=on,x-igd-lpc=on,x-vga=on
[all …]
/qemu/hw/acpi/
H A Dcpu_hotplug.c10 * See the COPYING file in the top-level directory.
18 #include "qemu/error-report.h"
30 uint64_t val = cpus->sts[addr]; in cpu_status_read()
40 mode by writing 0 at the beginning of legacy CPU bitmap in cpu_status_write()
44 object_property_set_bool(cpus->device, "cpu-hotplug-legacy", false, in cpu_status_write()
67 cpu_id = cpu->cc->get_arch_id(cpu); in acpi_set_cpu_present_bit()
69 object_property_set_bool(g->device, "cpu-hotplug-legacy", false, in acpi_set_cpu_present_bit()
76 g->sts[cpu_id / 8] |= (1 << (cpu_id % 8)); in acpi_set_cpu_present_bit()
100 memory_region_init_io(&gpe_cpu->io, owner, &AcpiCpuHotplug_ops, in legacy_acpi_cpu_hotplug_init()
101 gpe_cpu, "acpi-cpu-hotplug", ACPI_GPE_PROC_LEN); in legacy_acpi_cpu_hotplug_init()
[all …]
H A Dcpu.c6 #include "qapi/qapi-events-acpi.h"
30 info->slot_type = ACPI_SLOT_TYPE_CPU; in acpi_cpu_device_status()
31 info->slot = g_strdup_printf("%d", idx); in acpi_cpu_device_status()
32 info->source = cdev->ost_event; in acpi_cpu_device_status()
33 info->status = cdev->ost_status; in acpi_cpu_device_status()
34 if (cdev->cpu) { in acpi_cpu_device_status()
35 DeviceState *dev = DEVICE(cdev->cpu); in acpi_cpu_device_status()
36 if (dev->id) { in acpi_cpu_device_status()
37 info->device = g_strdup(dev->id); in acpi_cpu_device_status()
48 for (i = 0; i < cpu_st->dev_count; i++) { in acpi_cpu_ospm_status()
[all …]
/qemu/hw/smbios/
H A Dsmbios_legacy.c2 * SMBIOS legacy support
4 * Copyright (C) 2009 Hewlett-Packard Development Company, L.P.
12 * the COPYING file in the top-level directory.
14 * Contributions after 2012-01-13 are licensed under the terms of the
67 field->header.type = SMBIOS_FIELD_ENTRY; in smbios_add_field()
68 field->header.length = cpu_to_le16(sizeof(*field) + len); in smbios_add_field()
70 field->type = type; in smbios_add_field()
71 field->offset = cpu_to_le16(offset); in smbios_add_field()
72 memcpy(field->data, data, len); in smbios_add_field()
122 * function is for legacy mode and needs to keep the guest ABI, and in smbios_build_type_1_fields()
[all …]
H A Dsmbios.c4 * Copyright (C) 2009 Hewlett-Packard Development Company, L.P.
12 * the COPYING file in the top-level directory.
14 * Contributions after 2012-01-13 are licensed under the terms of the
21 #include "qemu/config-file.h"
34 * SMBIOS tables provided by user with '-smbios file=<foo>' option
302 .name = "max-speed",
306 .name = "current-speed",
322 .name = "processor-family",
326 .name = "processor-id",
506 * entry point uses a 16-bit integer, so we're limited
[all …]
/qemu/roms/
H A DMakefile2 vgabios_variants := stdvga cirrus vmware qxl isavga virtio bochs-display ramfb ati
3 vgabios_targets := $(subst -isavga,,$(patsubst %,vgabios-%.bin,$(vgabios_variants)))
7 pxe-rom-e1000 efi-rom-e1000 : VID := 8086
8 pxe-rom-e1000 efi-rom-e1000 : DID := 100e
9 pxe-rom-e1000e efi-rom-e1000e : VID := 8086
10 pxe-rom-e1000e efi-rom-e1000e : DID := 10d3
11 pxe-rom-eepro100 efi-rom-eepro100 : VID := 8086
12 pxe-rom-eepro100 efi-rom-eepro100 : DID := 1209
13 pxe-rom-ne2k_pci efi-rom-ne2k_pci : VID := 1050
14 pxe-rom-ne2k_pci efi-rom-ne2k_pci : DID := 0940
[all …]
/qemu/qapi/
H A Dmisc-i386.json1 # -*- Mode: Python -*-
4 # SPDX-License-Identifier: GPL-2.0-or-later
7 # @rtc-reset-reinjection:
11 # for example QEMU guest agent's guest-set-time command.
19 # .. qmp-example::
21 # -> { "execute": "rtc-reset-reinjection" }
22 # <- { "return": {} }
24 { 'command': 'rtc-reset-reinjection' }
29 # An enumeration of SEV state information used during @query-sev.
33 # @launch-update: The guest is currently being launched; plaintext
[all …]
/qemu/python/qemu/utils/
H A Dqom_common.py13 # See the COPYING file in the top-level directory.
15 # Based on ./scripts/qmp/qom-[set|get|tree|list]
31 from qemu.qmp.legacy import QEMUMonitorProtocol
36 Represents the return type from e.g. qom-list.
47 def make(cls, value: Dict[str, Any]) -> 'ObjectPropertyInfo':
49 Build an ObjectPropertyInfo from a Dict with an unknown shape.
52 assert value.keys() <= {'name', 'type', 'description', 'default-value'}
55 value.get('default-value'))
58 def child(self) -> bool:
63 def link(self) -> bool:
[all …]
/qemu/docs/system/ppc/
H A Dppce500.rst8 -----------------
19 * Power-off functionality via one GPIO pin
26 ----------------------------------
29 which it passes to the guest, if there is no ``-dtb`` option. This provides
33 If users want to provide their own DTB, they can use the ``-dtb`` option.
36 * The number of subnodes under /cpus node should match QEMU's ``-smp`` option
37 * The /memory reg size should match QEMU’s selected ram_size via ``-m``
39 Both ``qemu-system-ppc`` and ``qemu-system-ppc64`` provide emulation for the
40 following 32-bit PowerPC CPUs:
45 Additionally ``qemu-system-ppc64`` provides support for the following 64-bit
[all …]
/qemu/docs/config/
H A Dq35-emulated.cfg1 # q35 - Emulated guest (graphical console)
6 # $ qemu-system-x86_64 \
7 # -nodefaults \
8 # -readconfig q35-emulated.cfg
17 # ---------------------------------------------------------
19 # Using -nodefaults is required to have full control over
43 # 00:1e.0 PCI bridge (legacy PCI bridge)
79 [device "ich9-pcie-port-1"]
87 [device "ich9-pcie-port-2"]
95 [device "ich9-pcie-port-3"]
[all …]
/qemu/tests/functional/
H A Dtest_arm_orangepi.py6 # SPDX-License-Identifier: GPL-2.0-or-later
20 ('https://apt.armbian.com/pool/main/l/linux-6.6.16/'
21 …'linux-image-current-sunxi_24.2.1_armhf__6.6.16-Seb3e-D6b4a-P2359-Ce96bHfe66-HK01ba-V014b-B067e-R4…
25 ('https://github.com/groeck/linux-build-test/raw/'
27 'arm/rootfs-armv7a.cpio.gz'),
32 'buildroot-baseline/20230703.0/armel/rootfs.ext2.xz'),
36 ('https://k-space.ee.armbian.com/archive/orangepipc/archive/'
42 'main/u/u-boot/u-boot-sunxi_2020.01%2Bdfsg-1_armhf.deb'),
46 ('https://archive.netbsd.org/pub/NetBSD-archive/NetBSD-9.0/'
47 'evbarm-earmv7hf/binary/gzimg/armv7.img.gz'),
[all …]
/qemu/python/qemu/qmp/
H A Dlegacy.py2 (Legacy) Sync QMP Wrapper
14 # Copyright (C) 2009-2022 Red Hat Inc.
21 # the COPYING file in the top-level directory.
54 # 'command-returns-exceptions', it can actually be anything.
62 Unable to parse socket address: Port was non-numerical.
101 ) -> _T:
106 def _get_greeting(self) -> Optional[QMPMessage]:
108 # pylint: disable=protected-access
112 def __enter__(self: _T) -> _T:
119 exc_tb: Optional[TracebackType]) -> None:
[all …]
H A Dqmp_shell.py2 # Copyright (C) 2009-2022 Red Hat Inc.
9 # later. See the COPYING file in the top-level directory.
13 Low-level QEMU shell on top of QMP.
15 usage: qmp-shell [-h] [-H] [-N] [-v] [-p] qmp_server
21 -h, --help show this help message and exit
22 -H, --hmp Use HMP interface
23 -N, --skip-negotiation
24 Skip negotiate (for qemu-ga)
25 -v, --verbose Verbose (echo commands sent and received)
26 -p, --pretty Pretty-print JSON
[all …]
/qemu/pc-bios/
HDu-boot.e500 ... DHCP Option in OFFER/ACK: %d , Build: %s Class Index Probed Driver Name -- ...
/qemu/
H A Dconfigure14 source_path=$(cd "$(dirname -- "$0")"; pwd)
16 if test "$PWD" -ef "$source_path"
18 echo "Using './build' as the directory for build output"
20 MARKER=build/auto-created-by-configure
22 if test -e build
24 if test -f $MARKER
26 rm -rf build
28 echo "ERROR: ./build dir already exists and was not previously created by configure"
33 if ! mkdir build || ! touch $MARKER
35 echo "ERROR: Could not create ./build directory. Check the permissions on"
[all …]
/qemu/tests/qtest/
H A Dufs-test.c6 * SPDX-License-Identifier: GPL-2.0-or-later
26 /* Constants to build upiu */
51 /* for legacy doorbell mode */
64 return qpci_io_readl(&ufs->dev, ufs->bar, offset); in ufs_rreg()
69 qpci_io_writel(&ufs->dev, ufs->bar, offset, value); in ufs_wreg()
74 int slot = find_first_zero_bit(ufs->cmd_desc_bitmap, UFS_MAX_CMD_DESC); in alloc_cmd_desc_slot()
78 set_bit(slot, ufs->cmd_desc_bitmap); in alloc_cmd_desc_slot()
84 if (!test_bit(slot, ufs->cmd_desc_bitmap)) { in release_cmd_desc_slot()
87 clear_bit(slot, ufs->cmd_desc_bitmap); in release_cmd_desc_slot()
97 qtest_clock_step(ufs->dev.bus->qts, 100); in ufs_wait_for_irq()
[all …]
/qemu/docs/about/
H A Demulation.rst9 .. list-table:: Supported Guest Architectures for Emulation
11 :header-rows: 1
13 * - Architecture (qemu name)
14 - System
15 - User
16 - Notes
17 * - Alpha
18 - Yes
19 - Yes
20 - Legacy 64 bit RISC ISA developed by DEC
[all …]
/qemu/hw/i386/
H A Dpc.c4 * Copyright (c) 2003-2004 Fabrice Bellard
29 #include "hw/char/serial-isa.h"
31 #include "hw/hyperv/hv-balloon.h"
35 #include "hw/ide/ide-bus.h"
50 #include "qemu/error-report.h"
52 #include "acpi-build.h"
57 #include "hw/net/ne2000-isa.h"
58 #include "hw/virtio/virtio-iommu.h"
59 #include "hw/virtio/virtio-md-pci.h"
64 #include "hw/mem/memory-device.h"
[all …]
/qemu/target/i386/
H A Dsev.c4 * Copyright Advanced Micro Devices 2016-2018
10 * See the COPYING file in the top-level directory.
18 #include <linux/psp-sev.h>
27 #include "qemu/error-report.h"
39 #include "monitor/hmp-target.h"
40 #include "qapi/qapi-commands-misc-i386.h"
41 #include "confidential-guest.h"
43 #include "system/address-spaces.h"
73 uint8_t padding[ROUND_UP(sizeof(SevHashTable), 16) - sizeof(SevHashTable)];
78 #define SEV_INFO_BLOCK_GUID "00f771de-1a7e-4fcb-890e-68c77e2fb44e"
[all …]
/qemu/scripts/
H A Dsimpletrace.py3 # Pretty-printer for simple trace backend binary trace files
8 # the COPYING file in the top-level directory.
24 # same trace-events-all file and the same simpletrace.py file that
58 args_payload = fobj.read(record_length - rec_header_fmt_len)
78 event_mapping (str -> Event): events dict, indexed by name
84 dropped_event = Event.build("Dropped_Event(uint64_t num_events_dropped)",
114 'file, try using trace-events-all instead.'
140 is invoked. When Analyzer is used as a context-manager (using the `with`
182 fn_argcount = len(inspect.getfullargspec(fn)[0]) - 1
201 # super().__init__() because of legacy.
[all …]
/qemu/hw/i386/xen/
H A Dxen-hvm.c5 * the COPYING file in the top-level directory.
7 * Contributions after 2012-01-13 are licensed under the terms of the
13 #include "qemu/error-report.h"
15 #include "qapi/qapi-commands-migration.h"
21 #include "hw/i386/apic-msidef.h"
22 #include "hw/xen/xen-x86.h"
25 #include "hw/xen/xen-hvm-common.h"
31 #include "system/xen-mapcache.h"
41 * This allows QEMU to build on a system that has Xen 4.5 or earlier installed.
76 return irq_num + (PCI_SLOT(pci_dev->devfn) << 2); in xen_pci_slot_get_pirq()
[all …]
/qemu/rust/hw/timer/hpet/src/
H A Ddevice.rs3 // SPDX-License-Identifier: GPL-2.0-or-later
60 /// Legacy Replacement Route Capable (bit 15)
70 /// Legacy Replacement Route (bit 1)
76 /// bit 4, 5, 15, and bits 32:64 are read-only.
86 /// Timer N Size (timer size is 64-bits or 32 bits, bit 5)
90 /// Timer N 32-bit Mode (bit 8)
148 const fn hpet_next_wrap(cur_tick: u64) -> u64 { in hpet_next_wrap()
152 const fn hpet_time_after(a: u64, b: u64) -> bool { in hpet_time_after()
153 ((b - a) as i64) < 0 in hpet_time_after()
156 const fn ticks_to_ns(value: u64) -> u64 { in ticks_to_ns()
[all …]

12