/openbmc/qemu/tests/qemu-iotests/ |
H A D | 225 | 42 # This tests vmdk-specific low-level functionality 52 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT 60 if [ -z "$backing" ]; then 66 echo "{ 'node-name': '$node_name', 79 not_vmdk_opts="{ 'node-name': 'backing', 'driver': 'null-co' }" 86 _launch_qemu -blockdev "$base_opts" -blockdev "$overlay_opts" 89 _send_qemu_cmd $QEMU_HANDLE 'qemu-io overlay "read 0 512"' 'ops' 99 _launch_qemu -blockdev "$not_base_opts" -blockdev "$overlay_opts" 101 # Should fail (gracefully) 102 _send_qemu_cmd $QEMU_HANDLE 'qemu-io overlay "read 0 512"' 'failed' [all …]
|
H A D | 194 | 21 # Non-shared storage migration test using NBD server and drive-mirror 36 iotests.qemu_img_create('-f', iotests.imgfmt, source_img_path, img_size) 37 iotests.qemu_io('-f', iotests.imgfmt, '-c', 'write 512M 1M', source_img_path) 38 iotests.qemu_img_create('-f', iotests.imgfmt, dest_img_path, img_size) 47 source_vm.qmp_log('block-dirty-bitmap-add', node='drive0', name='bitmap0') 50 …iotests.log(dest_vm.qmp('nbd-server-start', addr={'type': 'unix', 'data': {'path': nbd_sock_path}}… 51 iotests.log(dest_vm.qmp('nbd-server-add', device='drive0', writable=True)) 53 iotests.log('Starting `drive-mirror` on source...') 55 'drive-mirror', 61 job_id='mirror-job0')) [all …]
|
/openbmc/docs/designs/ |
H A D | state-management-and-external-interfaces.md | 23 [phoshor-state-manager][2] implements the xyz.openbmc_project.State.\* 28 the appropriate xyz.openbmc_project.State.\* D-Bus interface. 35 Currently phosphor-state-manager supports the following: 37 - Chassis: On/Off 38 - Host: On/Off/Reboot 60 "ForceOff": "Turn off the unit immediately (non-graceful shutdown).", 62 "ForceRestart": "Shut down immediately and non-gracefully and restart 64 "GracefulRestart": "Shut down gracefully and restart the system.", 65 "GracefulShutdown": "Shut down gracefully and power off.", 84 …------------------------------ | -----------------------------------------------------------------… [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/ |
H A D | Drive.interface.yaml | 5 - name: Rebuilding 10 - name: RequestedDriveTransition 15 - name: CurrentDriveState 19 The current state of the Drive and is a read-only property. 21 - readonly 22 - name: LastRebootTime 30 - readonly 33 - name: Transition 37 - name: "Reboot" 40 - name: "HardReboot" [all …]
|
H A D | BMC.interface.yaml | 8 - name: RequestedBMCTransition 14 - xyz.openbmc_project.Common.Error.Unavailable 16 - name: CurrentBMCState 19 The current state of the BMC and is a read-only property. 21 - name: LastRebootTime 27 - name: LastRebootCause 34 - name: Transition 38 - name: "Reboot" 41 - name: "HardReboot" 43 BMC system should be non-gracefully rebooted. [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | imx7_snvs.c | 2 * IMX7 Secure Non-Volatile Storage 9 * See the COPYING file in the top-level directory. 12 * down linux guest gracefully. 44 return s->tick_offset + ticks; in imx7_snvs_get_count() 60 ret = s->lpcr; in imx7_snvs_read() 73 s->lpcr = 0; in imx7_snvs_reset() 97 s->lpcr = v; in imx7_snvs_write() 109 s->tick_offset += new_value - snvs_count; in imx7_snvs_write() 136 memory_region_init_io(&s->mmio, obj, &imx7_snvs_ops, s, in imx7_snvs_init() 139 sysbus_init_mmio(sd, &s->mmio); in imx7_snvs_init() [all …]
|
/openbmc/qemu/docs/system/i386/ |
H A D | sgx.rst | 5 -------- 16 ----------- 36 require -maxmem as EPC is not treated as {cold,hot}plugged memory. 43 The following QEMU snippet creates two EPC sections, with 64M pre-allocated 46 -object memory-backend-epc,id=mem1,size=64M,prealloc=on \ 47 -object memory-backend-epc,id=mem2,size=28M \ 48 -M sgx-epc.0.memdev=mem1,sgx-epc.1.memdev=mem2 70 SGX keys being changed, and handle gracefully. For instance, when ERESUME fails 71 with #PF.SGX, guest software can gracefully detect it and recreate enclaves; 79 in any of QEMU's built-in CPU configuration. To expose SGX (and SGX Launch [all …]
|
H A D | microvm.rst | 8 designed for short-lived guests. microvm also establishes a baseline 14 ----------------- 18 - ISA bus 19 - i8259 PIC (optional) 20 - i8254 PIT (optional) 21 - MC146818 RTC (optional) 22 - One ISA serial port (optional) 23 - LAPIC 24 - IOAPIC (with kernel-irqchip=split by default) 25 - kvmclock (if using KVM) [all …]
|
/openbmc/qemu/python/qemu/machine/ |
H A D | machine.py | 8 # Copyright (C) 2015-2016 Red Hat Inc. 15 # the COPYING file in the top-level directory. 83 def __str__(self) -> str: 121 # pylint: disable=too-many-instance-attributes, too-many-public-methods 140 @param name: prefix for socket and log file names (default: qemu-PID) 149 # pylint: disable=too-many-arguments 195 def __enter__(self: _T) -> _T: 201 exc_tb: Optional[TracebackType]) -> None: 204 def add_monitor_null(self) -> None: 208 self._args.append('-monitor') [all …]
|
/openbmc/qemu/docs/interop/ |
H A D | live-block-operations.rst | 5 later. See the COPYING file in the top-level directory. 14 live block device jobs -- stream, commit, mirror, and backup. These can 19 to another target image; and point-in-time (and incremental) backups of 21 primitives, and some (non-exhaustive list of) examples to illustrate 25 The file ``qapi/block-core.json`` in the QEMU source tree has the 35 --------------------------------- 38 ``blockdev-snapshot-sync``, or offline via ``qemu-img``):: 45 [A] <----- [B] 59 block-core.json.) 74 ------------------------------------------- [all …]
|
/openbmc/ipmitool/control/ |
H A D | ipmitool.spec.in | 2 Summary: ipmitool - Utility for IPMI control 8 Source: %{name}-%{version}.tar.gz 9 Buildroot: /var/tmp/ipmitool-root 16 This utility can communicate with IPMI-enabled devices through either a 19 communications and remote Serial-over-LAN functionality. 28 rm -rf $RPM_BUILD_ROOT 34 ./configure --with-kerneldir \ 35 --with-rpm-distro=@DISTRO@ \ 36 --prefix=%{_prefix} \ 37 --bindir=%{_bindir} \ [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | fan_utils.robot | 80 [Documentation] Set the fan state, either functional or non-functional. 85 # fan_state The state to set, 1 for functional, 2 for non-functional. 122 ... fan's clockwise blade, and the speed of the counter-clockwise blade. 123 # Each fan unit has two counter-rotating fan blades 137 # Get the counter-clockwise blade speed. 171 ${cmd}= Catenate systemctl ${state} phosphor-fan-control@0.service 215 ${cmd}= Catenate systemctl list-units | grep phosphor-fan | wc -l 222 ... Fail msg=No phosphor-fan monitors found at power on. 226 ... Fail msg=Phosphor-fan monitors found at power off. 277 ${min_limit}= Evaluate ${target_speed}-${tolerance_value} [all …]
|
/openbmc/qemu/contrib/plugins/ |
H A D | lockstep.c | 10 * - single-threaded linux-user apps only with non-deterministic syscalls 11 * - no MTTCG enabled system emulation (icount may help) 17 * serial only test cases are a better bet. -d nochain may also help 18 * as well as -accel tcg,one-insn-per-tb=on 24 * SPDX-License-Identifier: GPL-2.0-or-later 35 #include <qemu-plugin.h> 95 g_autoptr(GString) out = g_string_new("No divergence :-)\n"); in plugin_exit() 99 qemu_plugin_outs(out->str); in plugin_exit() 107 * glib_req_ver for QEMU is bumped we make a copy of the glib-compat 140 DivergeState *last = (DivergeState *) divergence_log->data; in report_divergance() [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | commands.py | 2 # Copyright (c) 2013-2014 Intel Corporation 4 # SPDX-License-Identifier: MIT 8 # This module is mainly used by scripts/oe-selftest and modules under meta/oeqa/selftest 36 "bufsize": -1, 69 logfunc(line.decode("utf-8", errors='replace').rstrip()) 118 timeout = deadline - time.time() 128 # let's give it more time to terminate gracefully before killing it 139 data = data.decode("utf-8", errors='replace').rstrip() 157 # bitbake -e output is really big 160 lout = "\n".join(self.output.splitlines()[-20:]) [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_cpu_core.c | 7 * See the COPYING file in the top-level directory. 13 #include "hw/qdev-properties.h" 22 #include "target/ppc/mmu-hash64.h" 23 #include "target/ppc/power8-pmu.h" 27 #include "qemu/error-report.h" 32 CPUPPCState *env = &cpu->env; in spapr_reset_vcpu() 40 env->quiesced = true; /* set "RTAS stopped" state. */ in spapr_reset_vcpu() 49 env->msr &= ~(1ULL << MSR_SF); in spapr_reset_vcpu() 50 env->msr |= (1ULL << MSR_ME) | (1ULL << MSR_FP); in spapr_reset_vcpu() 52 env->spr[SPR_HIOR] = 0; in spapr_reset_vcpu() [all …]
|
/openbmc/webui-vue/src/locales/ |
H A D | en-US.json | 206 "label": "24-hour time", 696 "newPassLabelTextInfo": "Password must be between {min} - {max} characters", 780 "AlwaysOn": "Always on - The system always powers on when power is applied.", 781 … "AlwaysOff": "Always off - The system always remains powered off when power is applied.", 782 …"LastState": "Last state - The system returns to its last on or off power state when power is appl… 803 "ipmi": "Network IPMI (out-of-band IPMI)", 893 "forceRestartInfo": "Shut down immediately and non-gracefully and restart the unit", 895 "forceOffInfo": "Turn off the unit immediately (non-graceful shutdown)", 897 "gracefulRestartInfo": "Shut down gracefully and restart the unit", 899 "gracefulShutdownInfo": "Shut down gracefully and power off", [all …]
|
/openbmc/u-boot/common/ |
H A D | board_r.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * (C) Copyright 2002-2006 8 * Sysgo Real-Time Solutions, GmbH <www.elinos.com> 63 * so provide a way to let U-Boot gracefully ignore write protected in board_flash_wp_on() 76 * after non-volatile devices & environment is setup and cpu code have in initr_secondary_cpu() 79 * from a non-volatile device in initr_secondary_cpu() 90 trace_init(gd->trace_buff, CONFIG_TRACE_BUFFER_SIZE); in initr_trace() 99 gd->flags |= GD_FLG_RELOC | GD_FLG_FULL_MALLOC_INIT; in initr_reloc() 125 monitor_flash_len = _end - __image_copy_start; in initr_reloc_global_data() 127 monitor_flash_len = (ulong)&_end - (ulong)&_start; in initr_reloc_global_data() [all …]
|
/openbmc/ipmitool/ |
H A D | ChangeLog | 1 version 1.8.15 2014-11-24 2 * ID: 340 - ipmitool sol session improperly closes on packet retry 3 * ID: 277 - support for hostnames longer than 64 chars 4 * ID: 313 - ipmitool doesn't support hostname long than 64 symbols 5 * ID: 277 - Minor issue with ipmi_intf_session_set_hostname() 6 * ID: 247 - 'sensor thresh' help output is wrong 7 * ID: 324 - conflicting declaration write_fru_area() 8 * ID: 337 - Add support for 13G Dell PowerEdge 9 * ID: 325 - DDR4 DIMM Decoding Logic 10 * ID: 328 - HPM.2 fixes [all …]
|
/openbmc/openpower-proc-control/extensions/phal/ |
H A D | phal_error.cpp | 17 #include <phosphor-logging/elog.hpp> 76 * @return 0 to continue traverse, non-zero to stop traverse 89 * macro for bmc app's and this will call libdt-api api but, it will print in pdbgCallbackToGetTgtReqAttrsVal() 96 * looking traces. Hence using pdbg api to avoid trace until libdt-api in pdbgCallbackToGetTgtReqAttrsVal() 107 if (std::memcmp(physBinPath, targetInfo->physBinPath, in pdbgCallbackToGetTgtReqAttrsVal() 120 targetInfo->locationCode); in pdbgCallbackToGetTgtReqAttrsVal() 129 if (DT_GET_PROP(ATTR_PHYS_DEV_PATH, target, targetInfo->physDevPath)) in pdbgCallbackToGetTgtReqAttrsVal() 137 if (DT_GET_PROP(ATTR_MRU_ID, target, targetInfo->mruId)) in pdbgCallbackToGetTgtReqAttrsVal() 209 * @param[in] errInfo - error details 228 strftime(timeBuf, 80, "%Y-%m-%d %H:%M:%S", &myTm); in processLogTraceCallback() [all …]
|
/openbmc/qemu/target/hexagon/idef-parser/ |
H A D | idef-parser.y | 3 * Copyright(c) 2019-2023 rev.ng Labs Srl. All Rights Reserved. 14 #include "idef-parser.h" 15 #include "parser-helpers.h" 16 #include "idef-parser.tab.h" 17 #include "idef-parser.yy.h" 26 %lex-param {void *scanner} 27 %parse-param {void *scanner} 28 %parse-param {Context *c} 89 %left '-' '+' 125 | error /* Recover gracefully after instruction compilation error */ [all …]
|
/openbmc/u-boot/common/spl/ |
H A D | Kconfig | 25 supports MMC, NAND and YMODEM and other methods loading of U-Boot 29 bool "Pass hand-off information from SPL to U-Boot proper" 32 It is useful to be able to pass information from SPL to U-Boot 33 proper to preserve state that is known in SPL and is needed in U-Boot. 34 Enable this to locate the handoff information in U-Boot proper, early 35 in boot. It is available in gd->handoff. The state state is set up 44 This option can minilize the SPL size to compatible with AST2600-A0 48 bool "Pass hand-off information from SPL to U-Boot proper" 53 used to pass information like the size of SDRAM from SPL to U-Boot 59 default "arch/$(ARCH)/cpu/u-boot-spl.lds" [all …]
|
/openbmc/google-ipmi-sys/ |
H A D | README.md | 1 # google-ipmi-sys 7 ### Cablecheck - SubCommand 0x00 18 | -------- | -------------- | --------------------------------------------- | 21 | 0x02 ... | The name | The string, not null-terminated | 26 | ------- | --------- | ----------------------- | 30 ### CpldVersion - SubCommand 0x01 38 | ------- | ------- | --------------------------------------------------------------- | 40 | 0x01 | CPLD ID | A one-byte identifier for the CPLD file to read, unsigned byte. | 45 | ------- | ----- | --------------------- | 55 ### GetEthDevice - SubCommand 0x02 [all …]
|
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | attach.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * UBI attaching sub-system. 11 * This sub-system is responsible for attaching MTD devices and it also 16 * objects which are kept in volume RB-tree with root at the @volumes field. 17 * The RB-tree is indexed by the volume ID. 20 * objects are kept in per-volume RB-trees with the root at the corresponding 21 * &struct ubi_ainf_volume object. To put it differently, we keep an RB-tree of 22 * per-volume objects and each of these objects is the root of RB-tree of 23 * per-LEB objects. 32 * UBI protects EC and VID headers with CRC-32 checksums, so it can detect [all …]
|
/openbmc/qemu/backends/tpm/ |
H A D | tpm_emulator.c | 7 * Copyright (c) 2010 - 2013, 2018 IBM Corporation 30 #include "qemu/error-report.h" 34 #include "io/channel-socket.h" 43 #include "qapi/clone-visitor.h" 44 #include "qapi/qapi-visit-tpm.h" 45 #include "chardev/char-fe.h" 49 #define TYPE_TPM_EMULATOR "tpm-emulator" 52 #define TPM_EMULATOR_IMPLEMENTS_ALL_CAPS(S, cap) (((S)->caps & (cap)) == (cap)) 129 CharBackend *dev = &tpm->ctrl_chr; in tpm_emulator_ctrlcmd() 134 WITH_QEMU_LOCK_GUARD(&tpm->mutex) { in tpm_emulator_ctrlcmd() [all …]
|
/openbmc/qemu/hw/mem/ |
H A D | cxl_type3.c | 7 * COPYING file in the top-level directory. 9 * SPDX-License-Identifier: GPL-v2-only 15 #include "qemu/error-report.h" 16 #include "qapi/qapi-commands-cxl.h" 17 #include "hw/mem/memory-device.h" 18 #include "hw/mem/pc-dimm.h" 20 #include "hw/qdev-properties.h" 21 #include "hw/qdev-properties-system.h" 28 #include "qemu/guest-random.h" 142 * NV: Reserved - the non volatile from DSMAS matters in ct3_build_cdat_entries_for_mr() [all …]
|