/openbmc/qemu/python/qemu/utils/ |
H A D | accel.py | 34 def list_accel(qemu_bin: str) -> List[str]: 42 if not qemu_bin: 45 out = subprocess.check_output([qemu_bin, '-accel', 'help'], 48 LOG.debug("Failed to get the list of accelerators in %s", qemu_bin) 55 qemu_bin: Optional[str] = None) -> bool: 73 if qemu_bin and "kvm" not in list_accel(qemu_bin): 78 def tcg_available(qemu_bin: str) -> bool: 84 return 'tcg' in list_accel(qemu_bin)
|
/openbmc/qemu/tests/functional/qemu_test/ |
H A D | testcase.py | 33 qemu_bin = os.getenv('QEMU_TEST_QEMU_BINARY') variable in QemuBaseTest 41 self.assertIsNotNone(self.qemu_bin, 'QEMU_TEST_QEMU_BINARY must be set') 42 self.arch = self.qemu_bin.split('-')[-1] 103 return subprocess.run([self.qemu_bin] 134 self._machinehelp = run_cmd([self.qemu_bin, '-M', 'help'])[0]; 157 if not checker(qemu_bin=self.qemu_bin): 162 netdevhelp = run_cmd([self.qemu_bin, 168 devhelp = run_cmd([self.qemu_bin, 174 vm = QEMUMachine(self.qemu_bin,
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | check-plugin-output.sh | 24 qemu_bin=$1; shift 30 $qemu_bin $exe ||
|
/openbmc/qemu/tests/avocado/avocado_qemu/ |
H A D | __init__.py | 249 self.qemu_bin = self.params.get('qemu_bin', 251 if self.qemu_bin is None: 300 if not checker(qemu_bin=self.qemu_bin): 305 netdevhelp = run_cmd([self.qemu_bin, 312 vm = QEMUMachine(self.qemu_bin, base_temp_dir=self.workdir,
|
/openbmc/openbmc/poky/scripts/esdk-tools/ |
H A D | runqemu | 1445 …output = subprocess.check_output([self.qemu_bin, "--help"], universal_newlines=True, env=self.qemu… 1518 qemu_bin = os.path.join(self.bindir_native, self.qemu_system) 1522 if not os.path.exists(qemu_bin): 1523 logger.info("QEMU binary not found in %s, trying host's QEMU" % qemu_bin) 1528 qemu_bin = qemu_bin_tmp 1529 if not os.path.isabs(qemu_bin): 1530 qemu_bin = os.path.abspath(qemu_bin) 1531 logger.info("Using host's QEMU: %s" % qemu_bin) 1534 if not os.access(qemu_bin, os.X_OK): 1535 raise OEPathError("No QEMU binary '%s' could be found" % qemu_bin) [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | runqemu | 1445 …output = subprocess.check_output([self.qemu_bin, "--help"], universal_newlines=True, env=self.qemu… 1518 qemu_bin = os.path.join(self.bindir_native, self.qemu_system) 1522 if not os.path.exists(qemu_bin): 1523 logger.info("QEMU binary not found in %s, trying host's QEMU" % qemu_bin) 1528 qemu_bin = qemu_bin_tmp 1529 if not os.path.isabs(qemu_bin): 1530 qemu_bin = os.path.abspath(qemu_bin) 1531 logger.info("Using host's QEMU: %s" % qemu_bin) 1534 if not os.access(qemu_bin, os.X_OK): 1535 raise OEPathError("No QEMU binary '%s' could be found" % qemu_bin) [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | libqtest.c | 343 const char *qemu_bin; in qtest_qemu_binary() local 346 qemu_bin = getenv(var); in qtest_qemu_binary() 347 if (qemu_bin) { in qtest_qemu_binary() 348 return qemu_bin; in qtest_qemu_binary() 352 qemu_bin = getenv("QTEST_QEMU_BINARY"); in qtest_qemu_binary() 353 if (!qemu_bin) { in qtest_qemu_binary() 358 return qemu_bin; in qtest_qemu_binary() 393 static QTestState *G_GNUC_PRINTF(2, 3) qtest_spawn_qemu(const char *qemu_bin, in qtest_spawn_qemu() argument 404 g_string_append_printf(command, CMD_EXEC "%s %s", qemu_bin, tracearg); in qtest_spawn_qemu() 445 static QTestState *qtest_init_internal(const char *qemu_bin, in qtest_init_internal() argument [all …]
|
/openbmc/qemu/docs/devel/testing/ |
H A D | avocado.rst | 286 primarily depend on the value of the ``qemu_bin`` parameter. If it's 294 1) Set ``qemu_bin``, and use the given binary 296 2) Do not set ``qemu_bin``, and use a QEMU binary named like 300 The resulting ``qemu_bin`` value will be preserved in the 317 ``qemu_bin`` parameter. 358 qemu_bin subsection 361 The preserved value of the ``qemu_bin`` parameter or the result of the 411 PARAMS (key=qemu_bin, path=*, default=./qemu-system-x86_64) => './qemu-system-x86_64 441 qemu_bin subsection
|
H A D | functional.rst | 176 primarily depend on the value of the ``qemu_bin`` class attribute. 208 qemu_bin subsection 230 ``qemu_bin`` parameter.
|
/openbmc/qemu/tests/functional/ |
H A D | test_virtio_version.py | 73 with QEMUMachine(self.qemu_bin) as vm:
|
H A D | test_acpi_bits.py | 363 self._vm = QEMUBitsMachine(binary=self.qemu_bin,
|