From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958030; cv=none; d=zohomail.com; s=zohoarc; b=BEtQokC8f2AAA47+j5oDjgvZnGG+rCmvVSc5E32VWC62yTJiZtF/iJCjybCAGzWc42yycMVtlpP8/xHvwwpItPWhvEme7Aa1ySA4n/9WzLB/VAUPAM+0Rudie0hhEjV3STINotoIUkmYUYWDFrJuLMdxSUULSdIwWm2Qlp6duDQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958030; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=LdpFXWEHK5Oua2FJ27EcSYM8sHgdfUcVx7QyFPkX6RQ=; b=GMK9hdJQbv+1DAR0zVndpIdy9QNr8uzzHHThN/xFOWMRft7KGYALWG3DJQHok5Ee66QVvHA8mohZ0sSAhCDTn9hvQl7TV1zU3OlbFvbQg9Gp84Hh5nP+KAC8HAGuqUcLls0ZTWvyxamb20rcGF+IGciJYCEJh/WxF3jsDATYbh8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 178795802971672.30089415322891; Fri, 28 Aug 2026 16:00:29 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05XZ-0008W2-05; Fri, 28 Aug 2026 18:59:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05XX-0008VF-Dn for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:15 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05XU-0005iA-LS for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:15 -0400 Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMT5rB731504 for ; Fri, 28 Aug 2026 22:59:06 GMT Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbhgtrbfm-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:06 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-388b404eaa4so2023704a91.0 for ; Fri, 28 Aug 2026 15:59:06 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=LdpFXWEHK5O ua2FJ27EcSYM8sHgdfUcVx7QyFPkX6RQ=; b=fVZXMDQ74Gy+gqY5g5Acw4znW+B kwzh0Qr8/IJqgQzmBZpmPGUPbHmKjNqQcXd4SMJ/y5X4xNtDmHiEfy/a4U8D43hS 4RruzpO2OfpuDHxRS6IZGzHJqz6Z/IywKGo6j1pkSrKRaQatmJ3shrhMpOk0sVE0 fdkoD6Uanz3g2a/QJNif0jSxCVMkOy1APfOAXLCVBrGtjxejEoSeX3bSAcBiieOb JZNukJnSpVbMdhYoXLXdmFLiUcrInqfTRYmXyQ59IqmqFNIBt7i8AJV33UtJ2rUr xWr6TA76f9JtYRa1sYM+wEofoDNyTnHccJ/Rk7J1LHVBXuKdWZM0vr7X40w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957946; x=1788562746; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=LdpFXWEHK5Oua2FJ27EcSYM8sHgdfUcVx7QyFPkX6RQ=; b=PnKzHKMJpNAXAkFtY6lLDHXhveHc0dESwGadyxXBUetE6HWnjjn/cxDHukCd7KI1Th wX/GBnzDrXAGpk/4+5pwHzIlKi57XOam/gSUoOZDVjAjNJrTQdzGFtY8UqovXKBjW/Dh ik0MbP3uNLGxD13eEEt8EmQiwdzQKeWXMQ6UOk2WJ4KHI9uwsaLWNqjZxVcUGUDk6Qcr u44oZhf+7tQaqG89+20Emj/i4HB/+JlbBSKUhbrvEZgGpepqOEDzdCsZLsq3+pCldcrV xmHFS7x6qAwegfj9P8XnxyHOzjJ+pActEwda7f6/JZkXOZe3nDOA6RgxxfE5D4oLDKG5 gAGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957946; x=1788562746; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=LdpFXWEHK5Oua2FJ27EcSYM8sHgdfUcVx7QyFPkX6RQ=; b=jKgTuGcwPTYRMyKY5tQc9Axo3ndAXEjw7sUVocKEtseWX1joftXnjLzJ5WAghHhgWF sEFHL2d7LBghw1ZoLhZwWkrsjhjnsXL19w9tzQACxtJeCsctXhrk9NSqX6bgAbOiiiJl Lyb71GKrE/3WyyMC84Dw1Rjqqac6rkbFku1ilFfzxNBDp4EdBbKF8Mnvi7Mb+hXiPAfu SFqJ0HlVvSP6poJlQmQLCJcBHtWMlwQoUaUDZq4vfJAb9g+4v6IWnIzQCcWHaZsXXSWm 10qdFlRrvvwemIhdFYVIYwQXm0AxTEGQbLik2Zz/AQ+bVopbo5sZy05T4p+5yovvaK3i 0GJA== X-Gm-Message-State: AFuF++kI833PQEzA0oBXicLu/3zB+Rcn8uebszopYnPgVwYZJFIdpxuH yzoUgrAqSble63VFxSVrHs9i8/Z+SMYiL8g6/BJteJCXyRZXNf4Oq11qoMjO5ug49yndKFIU8rR ZT4z9Yz/n3w5TK3tpM62c30kVrrIcAkA9LVC53N41y4irOZbJTFv4Ug9VdYh45O0RQA== X-Gm-Gg: AYBFou11nWBZS0X4wWmKeiw0QJMA/pVRNNJiNQVFUYNK4PiQHMGM1dxsH4wXdNsDoTl NBeYre8W0dQpMHou49vViKxbECH1bbGI9U2N8jUofy2WbU1NAe0W5YItM2e3cBKB4HzCwpDX3df 6uZ+erA1nG13tUVfBCotV4Kn2evmAwAc2xeUhjbz0mOIGJtHFBpuhjLzOEKoNW7q9zcPzvLWQpv jUaEVcGUw/Wzo6AAFqau34XadYF2JQXiLKYoH47gjhs5wPAaMb5DIFQO0E1SGxt2W7T9L5iE/Et a41E2ncYNSnAJMxnTQdGz4gx1XxbDCq/In8nma6CBmP3XGcLZFZsRjG0WKqUWKASnx6rnvZe0IK goCg2Imy9JDczePETdSwlb7HmtiLc081AauM4wEsKBER1XwcLmEY3wg0avy4= X-Received: by 2002:a17:90b:3c83:b0:398:9bd5:490b with SMTP id 98e67ed59e1d1-3989bd54c84mr4221632a91.18.1787957945848; Fri, 28 Aug 2026 15:59:05 -0700 (PDT) X-Received: by 2002:a17:90b:3c83:b0:398:9bd5:490b with SMTP id 98e67ed59e1d1-3989bd54c84mr4221588a91.18.1787957945296; Fri, 28 Aug 2026 15:59:05 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 01/47] target/arm: Move -cpu max stuff out of cpu32.c Date: Fri, 28 Aug 2026 22:58:15 +0000 Message-ID: <20260828225901.367438-2-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX1cvWMKD93b69 GZtZnhXnGjD4TkM91XDZwsImo9a+Fc+PAEuhC/2s0j6I5Mn65OvFJU1QrZRO3AChePgb+LsUk4g g6X54UAXgKQp92OZPHUzzw1Y+OAbvvY= X-Proofpoint-GUID: cvDMtrOd3NcaIOUxAuZNhuy7vGmPnQzp X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX0Gm1RmonPWvs Loivv44EUOx7jkoZoTLaIZJbRhCA6AQ6oXtxCv3u4BgVQIK/EaY0mBNJyo8k+mhsN47fsa6W0qO B6trEEJHlHNIA56YDYYFKeTXj/Hz0pEedHahyLf/cPut3hh/i0WvQol82wXASZJPYGyZAuGRE+Y IC2edYDMpmxehZYtZ0+2b7t6ZIJafseGGeCBYQSG8+4wwZOT1NnAR0zYjBMT38Ds0iuNdaSj/h/ tltSLALA42jyVy5TJYLnoPO+RjPvIoqkCJYL6yqmwZIsHBA9SCSDEZL3KhHK9p8fMaQ7G5xfN25 IdR0nWFu0LYa9q9fJPUFzx4gSmHXJ+TA710HvDdMLSZcKsdqWUEZ41NCJdZCPGzMPA7D6wxtJFR cVuix8RTjGF7K22KrB7+ygP1Z7Ptqiq2VqdHOiO2NZ5K11zyA1CAY5cQ6vIi+yCNyueWEYndbmP xa0aGV1XaAoMOyMU93w== X-Proofpoint-ORIG-GUID: cvDMtrOd3NcaIOUxAuZNhuy7vGmPnQzp X-Authority-Analysis: v=2.4 cv=e/A2j6p/ c=1 sm=1 tr=0 ts=6a9212ba cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=y0VUJ5lvzVb6jNY-9B8A:9 a=uKXjsCUrEbL0IQVhDsJ9:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 priorityscore=1501 impostorscore=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 phishscore=0 spamscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958031213158500 Content-Type: text/plain; charset="utf-8" From: Richard Henderson Signed-off-by: Richard Henderson Signed-off-by: Pierrick Bouvier --- target/arm/tcg/cpu-max-v8.c | 117 ++++++++++++++++++++++++++++++++++++ target/arm/tcg/cpu32.c | 111 ---------------------------------- target/arm/tcg/meson.build | 1 + 3 files changed, 118 insertions(+), 111 deletions(-) create mode 100644 target/arm/tcg/cpu-max-v8.c diff --git a/target/arm/tcg/cpu-max-v8.c b/target/arm/tcg/cpu-max-v8.c new file mode 100644 index 00000000000..5c0ba28edf8 --- /dev/null +++ b/target/arm/tcg/cpu-max-v8.c @@ -0,0 +1,117 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include "qemu/osdep.h" +#include "cpu.h" +#include "internals.h" + + +/* Share AArch32 -cpu max features with AArch64. */ +void aa32_max_features(ARMCPU *cpu) +{ + uint32_t t; + ARMISARegisters *isar =3D &cpu->isar; + + /* Add additional features supported by QEMU */ + t =3D GET_IDREG(isar, ID_ISAR5); + t =3D FIELD_DP32(t, ID_ISAR5, AES, 2); /* FEAT_PMULL */ + t =3D FIELD_DP32(t, ID_ISAR5, SHA1, 1); /* FEAT_SHA1 */ + t =3D FIELD_DP32(t, ID_ISAR5, SHA2, 1); /* FEAT_SHA256 */ + t =3D FIELD_DP32(t, ID_ISAR5, CRC32, 1); + t =3D FIELD_DP32(t, ID_ISAR5, RDM, 1); /* FEAT_RDM */ + t =3D FIELD_DP32(t, ID_ISAR5, VCMA, 1); /* FEAT_FCMA */ + SET_IDREG(isar, ID_ISAR5, t); + + t =3D GET_IDREG(isar, ID_ISAR6); + t =3D FIELD_DP32(t, ID_ISAR6, JSCVT, 1); /* FEAT_JSCVT */ + t =3D FIELD_DP32(t, ID_ISAR6, DP, 1); /* Feat_DotProd */ + t =3D FIELD_DP32(t, ID_ISAR6, FHM, 1); /* FEAT_FHM */ + t =3D FIELD_DP32(t, ID_ISAR6, SB, 1); /* FEAT_SB */ + t =3D FIELD_DP32(t, ID_ISAR6, SPECRES, 1); /* FEAT_SPECRES */ + t =3D FIELD_DP32(t, ID_ISAR6, BF16, 1); /* FEAT_AA32BF16 */ + t =3D FIELD_DP32(t, ID_ISAR6, I8MM, 1); /* FEAT_AA32I8MM */ + SET_IDREG(isar, ID_ISAR6, t); + + t =3D cpu->isar.mvfr1; + t =3D FIELD_DP32(t, MVFR1, FPHP, 3); /* FEAT_FP16 */ + t =3D FIELD_DP32(t, MVFR1, SIMDHP, 2); /* FEAT_FP16 */ + cpu->isar.mvfr1 =3D t; + + t =3D cpu->isar.mvfr2; + t =3D FIELD_DP32(t, MVFR2, SIMDMISC, 3); /* SIMD MaxNum */ + t =3D FIELD_DP32(t, MVFR2, FPMISC, 4); /* FP MaxNum */ + cpu->isar.mvfr2 =3D t; + + FIELD_DP32_IDREG(isar, ID_MMFR3, PAN, 2); /* FEAT_PAN2 */ + + t =3D GET_IDREG(isar, ID_MMFR4); + t =3D FIELD_DP32(t, ID_MMFR4, HPDS, 2); /* FEAT_HPDS2 */ + t =3D FIELD_DP32(t, ID_MMFR4, AC2, 1); /* ACTLR2, HACTLR2 */ + t =3D FIELD_DP32(t, ID_MMFR4, CNP, 1); /* FEAT_TTCNP */ + t =3D FIELD_DP32(t, ID_MMFR4, XNX, 1); /* FEAT_XNX */ + t =3D FIELD_DP32(t, ID_MMFR4, EVT, 2); /* FEAT_EVT2 */ + SET_IDREG(isar, ID_MMFR4, t); + + FIELD_DP32_IDREG(isar, ID_MMFR5, ETS, 2); /* FEAT_ETS2 */ + + t =3D GET_IDREG(isar, ID_PFR0); + t =3D FIELD_DP32(t, ID_PFR0, CSV2, 2); /* FEAT_CSV2 */ + t =3D FIELD_DP32(t, ID_PFR0, DIT, 1); /* FEAT_DIT */ + t =3D FIELD_DP32(t, ID_PFR0, RAS, 1); /* FEAT_RAS */ + SET_IDREG(isar, ID_PFR0, t); + + t =3D GET_IDREG(isar, ID_PFR2); + t =3D FIELD_DP32(t, ID_PFR2, CSV3, 1); /* FEAT_CSV3 */ + t =3D FIELD_DP32(t, ID_PFR2, SSBS, 1); /* FEAT_SSBS */ + SET_IDREG(isar, ID_PFR2, t); + + t =3D GET_IDREG(isar, ID_DFR0); + t =3D FIELD_DP32(t, ID_DFR0, COPDBG, 10); /* FEAT_Debugv8p8 */ + t =3D FIELD_DP32(t, ID_DFR0, COPSDBG, 10); /* FEAT_Debugv8p8 */ + t =3D FIELD_DP32(t, ID_DFR0, PERFMON, 6); /* FEAT_PMUv3p5 */ + SET_IDREG(isar, ID_DFR0, t); + + /* Debug ID registers. */ + + /* Bit[15] is RES1, Bit[13] and Bits[11:0] are RES0. */ + t =3D 0x00008000; + t =3D FIELD_DP32(t, DBGDIDR, SE_IMP, 1); + t =3D FIELD_DP32(t, DBGDIDR, NSUHD_IMP, 1); + t =3D FIELD_DP32(t, DBGDIDR, VERSION, 10); /* FEAT_Debugv8p8 */ + t =3D FIELD_DP32(t, DBGDIDR, CTX_CMPS, 1); + t =3D FIELD_DP32(t, DBGDIDR, BRPS, 5); + t =3D FIELD_DP32(t, DBGDIDR, WRPS, 3); + cpu->isar.dbgdidr =3D t; + + t =3D 0; + t =3D FIELD_DP32(t, DBGDEVID, PCSAMPLE, 3); + t =3D FIELD_DP32(t, DBGDEVID, WPADDRMASK, 1); + t =3D FIELD_DP32(t, DBGDEVID, BPADDRMASK, 15); + t =3D FIELD_DP32(t, DBGDEVID, VECTORCATCH, 0); + t =3D FIELD_DP32(t, DBGDEVID, VIRTEXTNS, 1); + t =3D FIELD_DP32(t, DBGDEVID, DOUBLELOCK, 1); + t =3D FIELD_DP32(t, DBGDEVID, AUXREGS, 0); + t =3D FIELD_DP32(t, DBGDEVID, CIDMASK, 0); + cpu->isar.dbgdevid =3D t; + + /* Bits[31:4] are RES0. */ + t =3D 0; + t =3D FIELD_DP32(t, DBGDEVID1, PCSROFFSET, 2); + cpu->isar.dbgdevid1 =3D t; + + FIELD_DP32_IDREG(isar, ID_DFR1, HPMN0, 1); /* FEAT_HPMN0 */ +} + +void aarch32_max_tcg_init(ARMCPU *cpu) +{ + aarch64_aa32_a57_init(cpu, false); + aa32_max_features(cpu); +#ifdef CONFIG_USER_ONLY + /* + * Break with true ARMv8 and add back old-style VFP short-vector + * support. Only do this for user-mode, where -cpu max is the default, + * so that older v6 and v7 programs are more likely to work without + * adjustment. + */ + cpu->isar.mvfr0 =3D FIELD_DP32(cpu->isar.mvfr0, MVFR0, FPSHVEC, 1); +#endif +} diff --git a/target/arm/tcg/cpu32.c b/target/arm/tcg/cpu32.c index bc07e33877a..34436ad6ec4 100644 --- a/target/arm/tcg/cpu32.c +++ b/target/arm/tcg/cpu32.c @@ -758,114 +758,3 @@ static void arm_tcg_cpu_register_types(void) type_init(arm_tcg_cpu_register_types) =20 #endif /* !CONFIG_USER_ONLY || !TARGET_AARCH64 */ - -/* Share AArch32 -cpu max features with AArch64. */ -void aa32_max_features(ARMCPU *cpu) -{ - uint32_t t; - ARMISARegisters *isar =3D &cpu->isar; - - /* Add additional features supported by QEMU */ - t =3D GET_IDREG(isar, ID_ISAR5); - t =3D FIELD_DP32(t, ID_ISAR5, AES, 2); /* FEAT_PMULL */ - t =3D FIELD_DP32(t, ID_ISAR5, SHA1, 1); /* FEAT_SHA1 */ - t =3D FIELD_DP32(t, ID_ISAR5, SHA2, 1); /* FEAT_SHA256 */ - t =3D FIELD_DP32(t, ID_ISAR5, CRC32, 1); - t =3D FIELD_DP32(t, ID_ISAR5, RDM, 1); /* FEAT_RDM */ - t =3D FIELD_DP32(t, ID_ISAR5, VCMA, 1); /* FEAT_FCMA */ - SET_IDREG(isar, ID_ISAR5, t); - - t =3D GET_IDREG(isar, ID_ISAR6); - t =3D FIELD_DP32(t, ID_ISAR6, JSCVT, 1); /* FEAT_JSCVT */ - t =3D FIELD_DP32(t, ID_ISAR6, DP, 1); /* Feat_DotProd */ - t =3D FIELD_DP32(t, ID_ISAR6, FHM, 1); /* FEAT_FHM */ - t =3D FIELD_DP32(t, ID_ISAR6, SB, 1); /* FEAT_SB */ - t =3D FIELD_DP32(t, ID_ISAR6, SPECRES, 1); /* FEAT_SPECRES */ - t =3D FIELD_DP32(t, ID_ISAR6, BF16, 1); /* FEAT_AA32BF16 */ - t =3D FIELD_DP32(t, ID_ISAR6, I8MM, 1); /* FEAT_AA32I8MM */ - SET_IDREG(isar, ID_ISAR6, t); - - t =3D cpu->isar.mvfr1; - t =3D FIELD_DP32(t, MVFR1, FPHP, 3); /* FEAT_FP16 */ - t =3D FIELD_DP32(t, MVFR1, SIMDHP, 2); /* FEAT_FP16 */ - cpu->isar.mvfr1 =3D t; - - t =3D cpu->isar.mvfr2; - t =3D FIELD_DP32(t, MVFR2, SIMDMISC, 3); /* SIMD MaxNum */ - t =3D FIELD_DP32(t, MVFR2, FPMISC, 4); /* FP MaxNum */ - cpu->isar.mvfr2 =3D t; - - FIELD_DP32_IDREG(isar, ID_MMFR3, PAN, 2); /* FEAT_PAN2 */ - - t =3D GET_IDREG(isar, ID_MMFR4); - t =3D FIELD_DP32(t, ID_MMFR4, HPDS, 2); /* FEAT_HPDS2 */ - t =3D FIELD_DP32(t, ID_MMFR4, AC2, 1); /* ACTLR2, HACTLR2 */ - t =3D FIELD_DP32(t, ID_MMFR4, CNP, 1); /* FEAT_TTCNP */ - t =3D FIELD_DP32(t, ID_MMFR4, XNX, 1); /* FEAT_XNX */ - t =3D FIELD_DP32(t, ID_MMFR4, EVT, 2); /* FEAT_EVT2 */ - SET_IDREG(isar, ID_MMFR4, t); - - FIELD_DP32_IDREG(isar, ID_MMFR5, ETS, 2); /* FEAT_ETS2 */ - - t =3D GET_IDREG(isar, ID_PFR0); - t =3D FIELD_DP32(t, ID_PFR0, CSV2, 2); /* FEAT_CSV2 */ - t =3D FIELD_DP32(t, ID_PFR0, DIT, 1); /* FEAT_DIT */ - t =3D FIELD_DP32(t, ID_PFR0, RAS, 1); /* FEAT_RAS */ - SET_IDREG(isar, ID_PFR0, t); - - t =3D GET_IDREG(isar, ID_PFR2); - t =3D FIELD_DP32(t, ID_PFR2, CSV3, 1); /* FEAT_CSV3 */ - t =3D FIELD_DP32(t, ID_PFR2, SSBS, 1); /* FEAT_SSBS */ - SET_IDREG(isar, ID_PFR2, t); - - t =3D GET_IDREG(isar, ID_DFR0); - t =3D FIELD_DP32(t, ID_DFR0, COPDBG, 10); /* FEAT_Debugv8p8 */ - t =3D FIELD_DP32(t, ID_DFR0, COPSDBG, 10); /* FEAT_Debugv8p8 */ - t =3D FIELD_DP32(t, ID_DFR0, PERFMON, 6); /* FEAT_PMUv3p5 */ - SET_IDREG(isar, ID_DFR0, t); - - /* Debug ID registers. */ - - /* Bit[15] is RES1, Bit[13] and Bits[11:0] are RES0. */ - t =3D 0x00008000; - t =3D FIELD_DP32(t, DBGDIDR, SE_IMP, 1); - t =3D FIELD_DP32(t, DBGDIDR, NSUHD_IMP, 1); - t =3D FIELD_DP32(t, DBGDIDR, VERSION, 10); /* FEAT_Debugv8p8 */ - t =3D FIELD_DP32(t, DBGDIDR, CTX_CMPS, 1); - t =3D FIELD_DP32(t, DBGDIDR, BRPS, 5); - t =3D FIELD_DP32(t, DBGDIDR, WRPS, 3); - cpu->isar.dbgdidr =3D t; - - t =3D 0; - t =3D FIELD_DP32(t, DBGDEVID, PCSAMPLE, 3); - t =3D FIELD_DP32(t, DBGDEVID, WPADDRMASK, 1); - t =3D FIELD_DP32(t, DBGDEVID, BPADDRMASK, 15); - t =3D FIELD_DP32(t, DBGDEVID, VECTORCATCH, 0); - t =3D FIELD_DP32(t, DBGDEVID, VIRTEXTNS, 1); - t =3D FIELD_DP32(t, DBGDEVID, DOUBLELOCK, 1); - t =3D FIELD_DP32(t, DBGDEVID, AUXREGS, 0); - t =3D FIELD_DP32(t, DBGDEVID, CIDMASK, 0); - cpu->isar.dbgdevid =3D t; - - /* Bits[31:4] are RES0. */ - t =3D 0; - t =3D FIELD_DP32(t, DBGDEVID1, PCSROFFSET, 2); - cpu->isar.dbgdevid1 =3D t; - - FIELD_DP32_IDREG(isar, ID_DFR1, HPMN0, 1); /* FEAT_HPMN0 */ -} - -void aarch32_max_tcg_init(ARMCPU *cpu) -{ - aarch64_aa32_a57_init(cpu, false); - aa32_max_features(cpu); -#ifdef CONFIG_USER_ONLY - /* - * Break with true ARMv8 and add back old-style VFP short-vector - * support. Only do this for user-mode, where -cpu max is the default, - * so that older v6 and v7 programs are more likely to work without - * adjustment. - */ - cpu->isar.mvfr0 =3D FIELD_DP32(cpu->isar.mvfr0, MVFR0, FPSHVEC, 1); -#endif -} diff --git a/target/arm/tcg/meson.build b/target/arm/tcg/meson.build index cbfac0036e7..35e70b004d9 100644 --- a/target/arm/tcg/meson.build +++ b/target/arm/tcg/meson.build @@ -65,6 +65,7 @@ arm_common_user_system_ss.add( translate32_d, vfp_d, files( + 'cpu-max-v8.c', 'debug.c', 'gengvec.c', 'hflags.c', --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958081; cv=none; d=zohomail.com; s=zohoarc; b=VT7Nhc3iZKwxWVm9dZflu6daPWvUW8RXNbsx/9ultLVGBSprXZxC79d47h4XbqKZ9eZ7iJk4aYopjLJKb3lIntk1bwK4ad4vxZE1564BT94Jrx7YIzOa0reaAjtqWZ8f4JUu5i+TubC2I9KYsBGV8oLW9OwpaNkTpNcV6xGkjec= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958081; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=TyE4vdeEp8CJsgUjR0QDbBBdvB4ulAMI0trIdFd8j9s=; b=CsF5b59j/zjC/bjbWss8NCYXsxeKY+pvT3AHZa4lHrfGtIRkB5ANJZSYXeBv8LyZgJXoAdokhTBlzLES5cj9Ht+KXVutZOFhX5XxJ4d+10n56jMN3oD473vQhk3hk6hbA2zWYYs8HTMJUuGzyZNF6pIXpk4u8HBEc4arL/K8vZE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 178795808173811.764208817517897; Fri, 28 Aug 2026 16:01:21 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Xb-00005l-4n; Fri, 28 Aug 2026 18:59:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05XY-0008VW-56 for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:16 -0400 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05XV-0005iI-F0 for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:15 -0400 Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTSqs015055 for ; Fri, 28 Aug 2026 22:59:08 GMT Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbgvfgf3g-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:08 +0000 (GMT) Received: by mail-pg1-f198.google.com with SMTP id 41be03b00d2f7-c89704da8c7so2583173a12.0 for ; Fri, 28 Aug 2026 15:59:07 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=TyE4vdeEp8C JsgUjR0QDbBBdvB4ulAMI0trIdFd8j9s=; b=BAOSoNPvapxe4GKNQp64vT/GZgY Cg9r/A3tnCYPcKFpspSDI74cgQg+lhSQCBP+x4mKUN+NezARXF+sDkTX2o7LzZlo sJXTAZwNrnP+nw0PxzMHJlXMUT/WTkHNjfDE8PaaskzMrKOhytudi08oheylDPEa rI1LiselyId7hHJwSLcgSdN+mPPXlo18KbJdoq/O0zcLhzIKdMYF22PWssf52Gnc VWxIKKC9v3YFGlTodE22koN4/RvKP6TQinY50QfR/OCJC3jcXktBxQlAUGludw8t uieV9g6PEy9YwPn7HmRf4XZ1/TnOMoGiNNOu3JbwUdP7S1V51AYliL7meMQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957947; x=1788562747; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=TyE4vdeEp8CJsgUjR0QDbBBdvB4ulAMI0trIdFd8j9s=; b=hmiQcr3ch7i2TYX3a87CGc8YIYIm40l7llNh/Kh/snsgS6XMtxlLmdjuoI9vwVCmgI QMKigB4d+05vnA2JkxTOvsTryl2Ug0Gog0KpvFN16ulhyEb7CigGTRUnhyouvf6gxWOG 8I9JYdglcNqchotD//P1vPeWmqSNxtNu8uzrG0ynM4320R8y9GUI+vCJYwhfnEL99o9d p/GdcseTAuwaATTi2o6o4oCi9ftg+QxwZWtJIz6mRDvWsbK18gGfUGLEomdemjuztPxj BlyJgHQy9HJgAbdVbEXwZu9Q4Z/qavejj4D69BCN/oETONuPFimA7h2esYg4AKG1ZeDL SAiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957947; x=1788562747; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=TyE4vdeEp8CJsgUjR0QDbBBdvB4ulAMI0trIdFd8j9s=; b=HTIoLe4GckotR/Mqraad2UPbhCaZuQMVp9GeeoQqrhzikaME5t9d/uhWPm+oO/Hh3z dWzDhw4sJFJdY0b16gmgjikO6KuEVbcHRf9nlUcwQmA6Z6r+xnwGq8jD3Tk2U6lpEf1h mIY/cAnzrZUni/dcy4EpWrUwAoJ6WKxSTqzF7eT+KnTKIBt9nUkx2uDNWVvDgo5H2zXe Ev5NrxZRnydW8B78T8Q/QyNvwNdTHPIiXCOaiCMiDt1+cyZnkMYeGCLny1RHkbLHmPI8 NjwKcxiJmXLdhsB7QiSxlxj/0hGGgCGYXOA99dxdtMdIMTsuQIhJnWoX2IJ6csTbfgBr jmGg== X-Gm-Message-State: AFuF++nUNOaB/eO8Q3dK5i/i/HZoCxAxTAs5Vh3fuHncq2RP/ikUrw6M 9aWnMahNIUv9REovgY4GUJCYKbldx3Kdy/5CaiTYdFdF93zP4NDA5KRI9pC45UIshTCt8D3MiST a/wXsA3I6J4DxOoii6gpTwQ/NYy+R3zWcn4Q7ytAKUaJDeB76a+IqPwfn9FMfz8cOcA== X-Gm-Gg: AR+sD116NlpWPRb8k8ug/brZmriE2aqlX2JdvB7OLVeyNj4ZFQJJEVMiN7f5bWs8q0s dN61rPNpKIKzDNaWu/lekxyHtwAPfmWSBnzg5wbJsyOUeOdJRcxglcGqbva5bpMJzGrZXXwz+7i 5LNaWtX9swB5xHPO6v1ASmvAVMI6LUfFtghsyRC97Ssx7msZ3VRI2XJpd9xqXfKArpIHKwBCTse RHGXw8GzPCYZ9JUZi6MahP8fCJTQ7KUiyQLuvsGeew2DYCgP74Xp/ZaeZ4dOhKQ1SE0jmvgGHqF OKh/xXdOhkmXopIUevbbW7RYyBHAQL3S6yhr7l3DuU1uG4MLm+XqucAumsE9IocU8cqPHoz+7Uk /r4wULlCE3Zq6dAxkh2dHfp0YPJ8/EkkFBrN5oxirR/O37mZUb0L05QvzVPY= X-Received: by 2002:a05:6a20:9c98:b0:3cc:8f53:26c0 with SMTP id adf61e73a8af0-3d26920cce2mr21225231637.17.1787957947132; Fri, 28 Aug 2026 15:59:07 -0700 (PDT) X-Received: by 2002:a05:6a20:9c98:b0:3cc:8f53:26c0 with SMTP id adf61e73a8af0-3d26920cce2mr21225191637.17.1787957946738; Fri, 28 Aug 2026 15:59:06 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 02/47] target/arm: Build cpu32.c once in system mode Date: Fri, 28 Aug 2026 22:58:16 +0000 Message-ID: <20260828225901.367438-3-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXwtea0WxhIeuO 982Ijg7XBdTUaLbJUv4TYpncMEau+BmqGvyL5axy2Z0DQ6qWLsFY6lO2YL4+TYZfRwq02USbexu Un0FL270HrXGILQLpz6nvItt45FA34zfjMNoK2v8ytuXZRG9f/BVj6nikyW3vGt3w3esCmiql6T TggKy4nHd9OSO96sh9AxjsYvR1friNdHWos3v6e4k4jrFJQxCA9K+3SGSST7p3H0SPym61ex2Ic yIMNqPl38r3xrV9XtPc6ni85yQaqIbaAVqbHqXq9N8OGpc+3hsJtOxKhW857W/bV3aZ3r53xmW4 jfwz1HOdXOdUAqwjx+2B0gHkieCskptJ62no0c4RPZ2Va+YPehf3XkpsDagdwaaoDfEK150Fq9y BgQr6fi05w44kKSlX9dYhKs0qpiAJxVL37fwcPCbG5u2uB1YHvF6oPgRcfeb6hXfXPuWgQe68uV 9Ll8Mj1sV5XLi86hRRA== X-Proofpoint-ORIG-GUID: g_u8Z8Bc6MEW63Oe3Fp2o2TKcrE7NTf8 X-Authority-Analysis: v=2.4 cv=UcthjqSN c=1 sm=1 tr=0 ts=6a9212bc cx=c_pps a=Qgeoaf8Lrialg5Z894R3/Q==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=I96WErnV7fbJyWXvMysA:9 a=x9snwWr2DeNwDh03kgHS:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX5IC+EpSEaFX0 jjyLFfmUwA8YEYkS0mcqoVKd04SzCCdSJAHVUPAv4Kv0yitsPLyqMBjqFFp+Blh+gDkHKXzv/eq 1V54/cAXbipcCyGAiLxHmQZUkCfdw4s= X-Proofpoint-GUID: g_u8Z8Bc6MEW63Oe3Fp2o2TKcrE7NTf8 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 spamscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.180.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0b-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958084732154100 Content-Type: text/plain; charset="utf-8" From: Richard Henderson "Move" the ifdef to meson.build rules. Signed-off-by: Richard Henderson Reviewed-by: Pierrick Bouvier Signed-off-by: Pierrick Bouvier --- target/arm/tcg/cpu32.c | 5 ----- target/arm/tcg/meson.build | 10 +++++----- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/target/arm/tcg/cpu32.c b/target/arm/tcg/cpu32.c index 34436ad6ec4..2d642ef8787 100644 --- a/target/arm/tcg/cpu32.c +++ b/target/arm/tcg/cpu32.c @@ -19,9 +19,6 @@ #include "cpregs.h" =20 =20 -/* CPU models. These are not needed for the AArch64 linux-user build. */ -#if !defined(CONFIG_USER_ONLY) || !defined(TARGET_AARCH64) - static void arm926_initfn(Object *obj) { ARMCPU *cpu =3D ARM_CPU(obj); @@ -756,5 +753,3 @@ static void arm_tcg_cpu_register_types(void) } =20 type_init(arm_tcg_cpu_register_types) - -#endif /* !CONFIG_USER_ONLY || !TARGET_AARCH64 */ diff --git a/target/arm/tcg/meson.build b/target/arm/tcg/meson.build index 35e70b004d9..a3e9d55e853 100644 --- a/target/arm/tcg/meson.build +++ b/target/arm/tcg/meson.build @@ -30,10 +30,6 @@ translate32_d =3D [ arm_ss.add(when: 'TARGET_AARCH64', if_true: gen_a64) arm_stubs_ss.add(files('stubs32.c')) =20 -arm_ss.add(files( - 'cpu32.c', -)) - arm_ss.add(when: 'TARGET_AARCH64', if_true: files( 'gengvec64.c', 'translate-a64.c', @@ -49,7 +45,10 @@ arm_ss.add(when: 'TARGET_AARCH64', if_true: files( )) =20 arm_common_system_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('cpu-v7m.c= ')) -arm_user_ss.add(when: 'TARGET_AARCH64', if_false: files('cpu-v7m.c')) +arm_user_ss.add(when: 'TARGET_AARCH64', if_false: files( + 'cpu-v7m.c', + 'cpu32.c', +)) =20 arm_common_ss.add(zlib) arm_common_ss.add(files( @@ -86,6 +85,7 @@ arm_common_user_system_ss.add(when: 'TARGET_AARCH64', if_= true: files( )) =20 arm_common_system_ss.add(files( + 'cpu32.c', 'cpregs-at.c', 'gicv5-cpuif.c', 'psci.c', --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958069; cv=none; d=zohomail.com; s=zohoarc; b=fa1oKSE/ii4NaIKF/R9p36KWYf+C6Zs6gqPDfllRTJ6/GgKnByPuKTqI267wFJwex3lbH/Ma3dUUfr9GA4pcBwyU/1M+uVlHkViOzcBS2hy4F5NUrdmR1UA74A2xVxQMJmorGgGYxp6aRvTQJ1ZPHnFXAKJbkNCInD7RjqQCLXY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958069; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=ddmkLQUBU7610s3nOY6qaWJHlMmjo6pQmB3fm52mVWM=; b=NmGVLYbATcMDUq+X1unzV5fXgMXsG9//P5KVLlHGEHoVEsooB0KbYCF9BeL/eeTASFuvDFquu/Ln5v5370nX7ADg4Scuf31NBQYCyHJnIvTr+o+iS9UJUl5iD7X4mOYDpG1EBwf6BmTh2PfbbyI6kl1CsqRfgtsXnr1x1VV660E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958069402477.64583031991367; Fri, 28 Aug 2026 16:01:09 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Xd-00007k-0S; Fri, 28 Aug 2026 18:59:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05XY-0008VS-3G for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:16 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05XU-0005iM-Ms for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:15 -0400 Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMU9Fw3187524 for ; Fri, 28 Aug 2026 22:59:09 GMT Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbag9t2q2-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:09 +0000 (GMT) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-38e7ff7b375so2206757a91.1 for ; Fri, 28 Aug 2026 15:59:08 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= ddmkLQUBU7610s3nOY6qaWJHlMmjo6pQmB3fm52mVWM=; b=bOhpEwI3UGbYwi0P S9U3Ejh4haZYuaRmHR34BvPhGbV8JNTrUtiKqTZIBBte+0fnURlm7pKJJXSuJ6ri wN3oyX06l+SuhQ6+5G9RKyGtXBpFW8nJCE0/wOdi4Y10fnpMiqjsJpo/fg+ZZHX5 OMRydm2fz++cbA+9baixh4S5Vvw8G8nEiZMQ7OKACST1MVuBxytp/pW/pVBzTKUW qgGtf7sZx4uhQgvKC6YqQfriY7IMeCgyD5IwViQUrB8+L9snctYaRB/nP89Pfnnj arfbv1vbSdGn5rbUqWrKvd5INaT8+3V6kHuUbjl1hHTsV3UbyLKKTQIBGjp+ariR uyoPfA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957948; x=1788562748; darn=nongnu.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=ddmkLQUBU7610s3nOY6qaWJHlMmjo6pQmB3fm52mVWM=; b=ZVVYJOHhsMQK763Ri4uLU+0KMZct77AcAJ7e5PAMegnjKkUtBi/gOEa5YULU8TDmKR QBf1OUzJ9XrRADZDfmM386j6TlgHu57SfMsdIblyM5NBWuLtxFQEJAV6dyE2ZuRkRrIT 3PJNsSYvkEwOy04jPIv0Npkcc1Y7DEu8evUEWSrMNk7mryuTonK2uta2QImpghMHbu2d bpLHXYTzaVebVjy+luVGhw1FP95dQLP5JP/8f4UQ4GQi50eMUBZnlxrveEPPJmleOUUd 8MBBqJSYvvej4qqgE1oCoDcP+CX9cja9obJczh1adae3z6OQDRMGOH+8mrjA/0t07Cm7 xbag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957948; x=1788562748; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=ddmkLQUBU7610s3nOY6qaWJHlMmjo6pQmB3fm52mVWM=; b=SK4wgti7jmAtqXHmIGI7YDF1Jra75epuKn7+p70jzfikjq4Ka8+pmhpS7Dir+C3QmV C0QHyyhSJ/G02zTuxH+SMYBXMDuJ9d61A2hqe2Or1QZg4lDYhWWAsWLiNgdlDbxpSHfR EWV9r+/AOcBWRWrDJDjniTmTl6QGcJXtPtPCE4rJ9iwiDvueuWi63uwFLmkI983+7rfH 3TvjUCC2EMmUSjF6bacicbvbR0AUdP6FfEGDzBa/0R+r2FD7fewlbhFq7yo7h+4Bth2o pI3/+bke0/McDhU2INj9Xm+aUCe88CC1EDr9jWay6p8K3NRw46TKekdQWOqMcHhLJkjF G9SQ== X-Gm-Message-State: AFuF++na3aeuC3ptRxM+23LGfkNtD8mQSJYjdwrmF6riMQ7834RqvB3T UhoUufjQ97q7aN0L3kmGydqY4VmtV+2QpDC8QwDFN/OfzXlCoztcNNcdzkpjgNzKFebo0OPI/qJ I5lJnxCC8ysjyfQyANS4ne/1rFjjFRimfmqGYfLshMIqFVAl2m3zLuFw7L6UwlyNImg== X-Gm-Gg: AYBFou0fxgZC/l+K+nwtdkWrz0TUMsBIyQGAgiVW1b11wR6Mhg2jPeBmMieWpt1ZPoa 3HXUuMnz3V3v2X2kwO3mxFYuJfkJNbb96fUFgWpZe6ARAzn08gFWEMWPgkEEeGhEaGQ4DZ5su2v nnFClasu0HS+bGqEJH6cdxkLOL0xrKzxi7oXDxelab7Q9WA3OEWTI20L/fccI2iFAOjKOo7XHHT l8UNNC54qWGMeQKbfsY4MV/XPWlgh5U9oaLLVlRdSZ5A87voLLe9Tc2+5XTuGdgl8CdY9r4xUlT pR6EosSw3yU22MrhYCqGkTIlXpoSxPcNEbVnK3hl13V1gOfFyQXtyZcpPjmeLy0o2FdBuR77bbU KfrO9ZzV0ma2Q4pDVCXufQ7XNNgBVO1ScsCHKJZJkb+xUXPtUSAFtkPeIj5E= X-Received: by 2002:a17:90b:48c5:b0:398:9be9:ab8c with SMTP id 98e67ed59e1d1-3989be9ac97mr4464210a91.17.1787957948386; Fri, 28 Aug 2026 15:59:08 -0700 (PDT) X-Received: by 2002:a17:90b:48c5:b0:398:9be9:ab8c with SMTP id 98e67ed59e1d1-3989be9ac97mr4464168a91.17.1787957947970; Fri, 28 Aug 2026 15:59:07 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 03/47] target/arm: Rename and adjust aarch32_max_v8_tcg_initfn Date: Fri, 28 Aug 2026 22:58:17 +0000 Message-ID: <20260828225901.367438-4-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=UalhjqSN c=1 sm=1 tr=0 ts=6a9212bd cx=c_pps a=RP+M6JBNLl+fLTcSJhASfg==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=IkcTkHD0fZMA:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=rPU-NYjvpPHPYHSWSY0A:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=iS9zxrgQBfv6-_F4QbHw:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXzXqwF1MlHNi1 MVYiko0wdMFgxGaa/WEsxv2Tl2oldGcnXUA215i/u6qLTahTfIiyH+f+v+EYIJk1aQ1Z2GlA2zU c+86aSWWugOYLgn0QIgdSWz5njdLvIU= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX0vR1LSyr6g30 JinV1NtRMZ2zKvjb5seJV9pFjPG+GCKDYxZFu/VP8vaOakpaJ3bRxlpDdsZLfHNe6xJLTlApSgt H5Xbsmi+T1VwR+C7Je9hHGFcN04pyoa+d8XGAnRXc29t8wEKqohC4QmEx2P4VGgZmNUNS6yt7Tt CFnQJ+mGEDRnAV7vMNH9pwzWrka6rhEL64lIsHH/22Diueep4HqphIj0TJyn8Lhg+y44D1rYJ9X LmIvTy2JaNEA+dG1MfWS1ZJgk+GmvxNJlFAp5owI9Bs6RekmmbFvi+1pFJ4ZMuPbHEf8FH/ilTi GoNuAFWvoC3a88sNiOoIy9SEq7OvpxgGmYKNqZBdiKVvdicV4tGWyUpElVdpkWejBWsrcc33F/B oChKK/zqvyZVu9ggTyfGW5NoaCzkwYbNhbx+1yfZ/poOUlPD/8dOf0RCbEiQBuZxnG7npp/BCJl qh/PGi5vu1TDTwBjapw== X-Proofpoint-ORIG-GUID: RcIEA9uSeLNa1puM42DEVjnzVq8NFNjh X-Proofpoint-GUID: RcIEA9uSeLNa1puM42DEVjnzVq8NFNjh X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 bulkscore=0 clxscore=1015 adultscore=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 phishscore=0 impostorscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958071008158500 From: Richard Henderson Rename from aarch32_max_tcg_init and take an Object pointer, in preparation from being used with TypeInit. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Richard Henderson Signed-off-by: Pierrick Bouvier --- target/arm/cpu-max.c | 2 +- target/arm/internals.h | 2 +- target/arm/tcg/cpu-max-v8.c | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/target/arm/cpu-max.c b/target/arm/cpu-max.c index 4df52bcb08e..9ed45c8764f 100644 --- a/target/arm/cpu-max.c +++ b/target/arm/cpu-max.c @@ -108,7 +108,7 @@ static void cpu_max_initfn(Object *obj) =20 if (tcg_enabled()) { if (!aarch64_enabled) { - aarch32_max_tcg_init(cpu); + aarch32_max_v8_tcg_initfn(obj); } else { aarch64_max_tcg_initfn(obj); } diff --git a/target/arm/internals.h b/target/arm/internals.h index f6b4e173a54..fc7d5ad6f2c 100644 --- a/target/arm/internals.h +++ b/target/arm/internals.h @@ -1838,7 +1838,7 @@ uint32_t *arm_v7m_get_sp_ptr(CPUARMState *env, bool s= ecure, bool el_is_in_host(CPUARMState *env, int el); =20 void aa32_max_features(ARMCPU *cpu); -void aarch32_max_tcg_init(ARMCPU *cpu); +void aarch32_max_v8_tcg_initfn(Object *obj); int exception_target_el(CPUARMState *env); bool arm_singlestep_active(CPUARMState *env); bool arm_generate_debug_exceptions(CPUARMState *env); diff --git a/target/arm/tcg/cpu-max-v8.c b/target/arm/tcg/cpu-max-v8.c index 5c0ba28edf8..5a9845d88f3 100644 --- a/target/arm/tcg/cpu-max-v8.c +++ b/target/arm/tcg/cpu-max-v8.c @@ -101,8 +101,10 @@ void aa32_max_features(ARMCPU *cpu) FIELD_DP32_IDREG(isar, ID_DFR1, HPMN0, 1); /* FEAT_HPMN0 */ } =20 -void aarch32_max_tcg_init(ARMCPU *cpu) +void aarch32_max_v8_tcg_initfn(Object *obj) { + ARMCPU *cpu =3D ARM_CPU(obj); + aarch64_aa32_a57_init(cpu, false); aa32_max_features(cpu); #ifdef CONFIG_USER_ONLY --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958100; cv=none; d=zohomail.com; s=zohoarc; b=Ld880C7pLzhzM5pNn2ckix9wbG9lasNF8HE5nyyRaeCe5kwpFfUxecQ+Edvaykuk8imrJn1c1eg880W4GxKygX2yd5qP2vgT5lASoDPlgOK5swmoQevhgCDPLSGtOc/knT+n8P+i8tpHo1Msv20mpOg1HH6i/ioChaXI6Dj/wS8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958100; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=vaAGvJ143aO7TCM9Lp0k6Z3V4XQ3V3keRu2UF83Cp/s=; b=GJI4bPyjAmmqTM4Aax7wcGOZzK+0FEHeVO2fbpI0oCdjNlJfZNLv810fZvQtJpLnpUEbd4ZpRzKktJFunroZMYh69EU7h9251NcLMqW9TEz1argJ2zjH2a2pvoORtjifWZdwzUkCHrV7Bui9sd9afibNWB14DXG2BdaP5jqIfmc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958100845896.6731536496254; Fri, 28 Aug 2026 16:01:40 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Xc-00006m-Ei; Fri, 28 Aug 2026 18:59:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05XY-0008VY-79 for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:16 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05XU-0005iQ-OL for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:15 -0400 Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMUKMb3779356 for ; Fri, 28 Aug 2026 22:59:10 GMT Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbj3er82q-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:10 +0000 (GMT) Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-cc1c18c775eso411515a12.0 for ; Fri, 28 Aug 2026 15:59:10 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=vaAGvJ143aO 7TCM9Lp0k6Z3V4XQ3V3keRu2UF83Cp/s=; b=KmWgTN2jIdbsO3Ec/u2DZJ5RE/x 62WyKT59Js3D9JPc+DjDJv3SDPbrgxqfY6vqhA1mMA1aBDJryPxfdZxq23cyP+lm Rm8+v+D9+eyt6dmoiHjLZwDkIVjhLC/myFqk0f4YujVcWHWvWTJpfklc/GqOZcOv WSl+f85dsFzMmN4QcOAyd5WW5sqw9p8cwWl2fjr7qfQpe2/VMFjT6qYxlSHpCkoR JbAOSS6wJPvHiQPDXpjsHYkvvWUtL/4rOC7Ja4yEZBHJNjNv982yKHcXXiri+DZs 5+TOjpdMudxMF5UgXN6Xa9mUFbXpE81XyWXX2ZOyq/VVpP4te6WMs5Fe/Ww== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957949; x=1788562749; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=vaAGvJ143aO7TCM9Lp0k6Z3V4XQ3V3keRu2UF83Cp/s=; b=VIC+4UbWA0zim0sMD0dgl32so5Ffej/kXtn8TiDao+x3v0TSn34c6RM9Kgol8RwOTs JsfrcDXBjtZGH/aY7pxCrH0g04jcNbhi24gdZq5rEkSpX8eT4xMiGjtdD8fPVBIcN+NX wPhhtkCi7xpF1zzrGJDfhKYvV1ti4oS/uDS2V0KWJP5UpLrjriwkbQ1RqnTyCKW4eBgK bFend0/Tj3zSieA3y/TcA+4OqkUx88PypUglEhp0A4048+VMdV1avaT634rOZnUKd84+ r75paUctR3uIwkTmNUtriXYMPtTBC8b9voCY/jbj8C9AeHmXee7a/0onw+88pCPXX2UP fY4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957949; x=1788562749; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=vaAGvJ143aO7TCM9Lp0k6Z3V4XQ3V3keRu2UF83Cp/s=; b=bl0g7SRCMNTP8l5RFIJVcarAtn+nTk22okurra65+7HPfDC5xRPJRaT6RopoStUfOU VmszFR2LyOexzrOPyp2IUVlV8GUtXxjj7zkLx8DsWvY4Y5MG12BZFiOTtlPo44fNaC5y 0/CoCQr+1LocE6OAZH0gTNnWH84pU16AvG8d0NuetrfsMu+8FHdbZfWQihcRJ5hZVJtu chIvKRrXfP5XpENL8OwaGEFtkituqNPTzdhCNC1CJs6REAohaHx8JZYX1U64eRg31CRt qbuYQoSvpfwvufCTtbSc/Y3aaJ+suvwoOKI4Rhhz/q6y4IMz3c+oQ4F9W/peV2r95x4b UMAA== X-Gm-Message-State: AFuF++mbC0oX+3rTKUJQLSs6BAb3hUtOBoq+Rjqa8ohgH/R8VByQVETy 6HmBGDKrZklltkLpOrBAIzPIzYxZxvEz8UDXjV+T13MVCF94O8xZH7y3+xfrT6A3dws12rer/I4 dMZQnMjgKk62zfgQRmGfo1EFFIpa5L7t6cHfDbJ/wV++p/TH5bErfSB22uvdYhyfszw== X-Gm-Gg: AYBFou0I+LcTnGQi+VpBaIXyItEAv7g4h5ij99BzeZdsnkXgpstVw5UB3XsVhOLcP1T 3BctEXPf5JuORw4EIFojP4rQt6R5zjRt4DFIjRn/GIhhN9wfshdIhvCkL2XsiobFpKmQRB6PObt h2ly7eIt5gddInYsigpqYkIsiH2Nca4eWzRBeCoNkvGf30RElGiAAnlYAVxpaBha67DnZ/34y1C JaxVsEYnc0rcMut874k2YfzM0xID6yp7GhWuvt55UEMsS0BrHH8IG70+s8/cP8jjywIDezp7+mN ZoZndnKTdr6XLVOzs6hG+TzKMy1zXfI9fjCNr4GJJZ6HN5dYZzP67v/oktxx5wcUBRlRS/KyER8 WWPWRWigcdHt2Rn2RNn+oxFvE7OSQlNB//7QbMGQa0pH1qZg6LCAaCcs+hN8= X-Received: by 2002:a17:90b:2243:b0:384:927f:3db9 with SMTP id 98e67ed59e1d1-3989b3097b0mr1849536a91.1.1787957949593; Fri, 28 Aug 2026 15:59:09 -0700 (PDT) X-Received: by 2002:a17:90b:2243:b0:384:927f:3db9 with SMTP id 98e67ed59e1d1-3989b3097b0mr1849513a91.1.1787957949178; Fri, 28 Aug 2026 15:59:09 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 04/47] target/arm: Introduce cpu types max-v8 and max-v9 Date: Fri, 28 Aug 2026 22:58:18 +0000 Message-ID: <20260828225901.367438-5-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: NPnw5jq9PlVJIjHHWry3oTbKdrHyR4uM X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX5kTO+wLZrnS1 dl2D40cOIsGdLcJ5xSXXcwUan3KkE5TITl2Itprzz32uwnXzKXqm/45i+xwxvrBZJxfolZqX8zA 5DRsj32l4Gfg7/r2ZKfMd45SkvoQAppryzgcBrgHhBU4xq0t6kfGDFrGtTB8+BS9MA2g/Vv7qRp YwpcaPXD0PfxQ+vDf/5Dw7EqPn9SmgduBsaj8Ky7j5wScrLCFmUvYKiaRhJzTjc41jsaXMBHiwB cuABGswaSOXk2y88+hz3pueXGqnYcHFNOGqjUh1un5Ry62TkDuwLFP7TjYMMLMfpZ5iK8hqog/z amYHRF314gjMvlFFbnFkLX8KRLcJggDUx8ixeenj4vxHo45iKIFxO1GpDq4BNiiwf3z/enlXI8j r7cxTOmZvRCb2XuqQ3bSNIi2GCdqxIPPSEWlmSkApciCuAWWdkSxiFHlsQ9oQKpS+oOqPEw84nW C8zY0yWIE+BESAtQ7LA== X-Authority-Analysis: v=2.4 cv=QLVYgALL c=1 sm=1 tr=0 ts=6a9212be cx=c_pps a=oF/VQ+ItUULfLr/lQ2/icg==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=E1UKl2T0C9yA9quHhP4A:9 a=3WC7DwWrALyhR5TkjVHa:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-GUID: NPnw5jq9PlVJIjHHWry3oTbKdrHyR4uM X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX1CNGZc9o4grF iHLlxlWdWmQq1NYQFANeoRSxvBJjSIBIPYLOFas2nO9UT1W2NrhdzPTOtAGMlH9cCNuT3atm28f x86ntPdTaF0Wmpulh0kJXtAixd+dJHw= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 spamscore=0 clxscore=1015 malwarescore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958103270158500 Content-Type: text/plain; charset="utf-8" From: Richard Henderson Introduce the names and allow them with the virt and sbsa-ref machine types. So far, the cpu types both exactly match "max". Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell Signed-off-by: Pierrick Bouvier --- hw/arm/sbsa-ref.c | 2 ++ hw/arm/virt.c | 2 ++ target/arm/tcg/cpu-max-v8.c | 11 +++++++++++ target/arm/tcg/cpu64.c | 1 + 4 files changed, 16 insertions(+) diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c index 484b90053e8..56d08f605c8 100644 --- a/hw/arm/sbsa-ref.c +++ b/hw/arm/sbsa-ref.c @@ -913,6 +913,8 @@ static void sbsa_ref_class_init(ObjectClass *oc, const = void *data) ARM_CPU_TYPE_NAME("neoverse-v1"), ARM_CPU_TYPE_NAME("neoverse-n2"), ARM_CPU_TYPE_NAME("max"), + ARM_CPU_TYPE_NAME("max-v8"), + ARM_CPU_TYPE_NAME("max-v9"), NULL, }; =20 diff --git a/hw/arm/virt.c b/hw/arm/virt.c index e7a56e37f73..d738b95c726 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -4132,6 +4132,7 @@ static GPtrArray *virt_get_valid_cpu_types(const Mach= ineState *ms) if (tcg_enabled()) { g_ptr_array_add(vct, g_strdup(ARM_CPU_TYPE_NAME("cortex-a7"))); g_ptr_array_add(vct, g_strdup(ARM_CPU_TYPE_NAME("cortex-a15"))); + g_ptr_array_add(vct, g_strdup(ARM_CPU_TYPE_NAME("max-v8"))); } if (tcg_enabled() && target_aarch64()) { g_ptr_array_add(vct, g_strdup(ARM_CPU_TYPE_NAME("cortex-a35"))); @@ -4143,6 +4144,7 @@ static GPtrArray *virt_get_valid_cpu_types(const Mach= ineState *ms) g_ptr_array_add(vct, g_strdup(ARM_CPU_TYPE_NAME("neoverse-n1"))); g_ptr_array_add(vct, g_strdup(ARM_CPU_TYPE_NAME("neoverse-v1"))); g_ptr_array_add(vct, g_strdup(ARM_CPU_TYPE_NAME("neoverse-n2"))); + g_ptr_array_add(vct, g_strdup(ARM_CPU_TYPE_NAME("max-v9"))); } if (target_aarch64()) { g_ptr_array_add(vct, g_strdup(ARM_CPU_TYPE_NAME("cortex-a53"))); diff --git a/target/arm/tcg/cpu-max-v8.c b/target/arm/tcg/cpu-max-v8.c index 5a9845d88f3..55f8c341423 100644 --- a/target/arm/tcg/cpu-max-v8.c +++ b/target/arm/tcg/cpu-max-v8.c @@ -2,6 +2,7 @@ =20 #include "qemu/osdep.h" #include "cpu.h" +#include "qemu/target-info.h" #include "internals.h" =20 =20 @@ -117,3 +118,13 @@ void aarch32_max_v8_tcg_initfn(Object *obj) cpu->isar.mvfr0 =3D FIELD_DP32(cpu->isar.mvfr0, MVFR0, FPSHVEC, 1); #endif } + +static void cpu_max_v8_register_type(void) +{ + static const ARMCPUInfo max_v8[2] =3D { + { .name =3D "max-v8", .initfn =3D aarch32_max_v8_tcg_initfn }, + { .name =3D "max-v8", .initfn =3D aarch64_max_tcg_initfn } + }; + arm_cpu_register(&max_v8[target_aarch64()]); +} +type_init(cpu_max_v8_register_type) diff --git a/target/arm/tcg/cpu64.c b/target/arm/tcg/cpu64.c index b38c61ba623..d44a8221c8b 100644 --- a/target/arm/tcg/cpu64.c +++ b/target/arm/tcg/cpu64.c @@ -1488,6 +1488,7 @@ static const ARMCPUInfo aarch64_cpus[] =3D { { .name =3D "neoverse-n1", .initfn =3D aarch64_neoverse_n1_init= fn }, { .name =3D "neoverse-v1", .initfn =3D aarch64_neoverse_v1_init= fn }, { .name =3D "neoverse-n2", .initfn =3D aarch64_neoverse_n2_init= fn }, + { .name =3D "max-v9", .initfn =3D aarch64_max_tcg_initfn }, }; =20 static void aarch64_cpu_register_types(void) --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787957988; cv=none; d=zohomail.com; s=zohoarc; b=OhrZBzJAuRmCjTN1do4Ddq5IV/x9TNX83UDx21eYgnPmtaVE/JBH0t2asyzzlYhhjD81FqqndY9iZbSwMr5K0G3V0nLBdsXOzjYWxvkNsyC4fPDCF7vbj17lSDBwiqtfNhgxdI1qST+fzMWsrVEk6oafa5sNreDoe4+YZzQ3G0o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787957988; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=oBcV8PaCRFbb3XaTPgUCF9qM66A9X8ZOEQ/Mf6VcOo0=; b=cQw6KG9A01jPEFlL37Ye+v+W6wgqer7sNPfpAHch2EiOfOehPyh5q+enGad5x5l+P3D1p26tRkcuFm8B7a29wa3aapBbXSw8ObXwN7+Ew18OoLrGFx351UE0i3B4tIu/0KIzHeQFoW2Yy46abBHj5xgZyjaTZHVEWwu49DcXXG8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787957988243755.5622968733617; Fri, 28 Aug 2026 15:59:48 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05XY-0008VZ-CR; Fri, 28 Aug 2026 18:59:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05XW-0008Uz-Jc for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:14 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05XU-0005iY-Va for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:14 -0400 Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTrTE3777095 for ; Fri, 28 Aug 2026 22:59:11 GMT Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbj3er82s-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:11 +0000 (GMT) Received: by mail-pj1-f70.google.com with SMTP id 98e67ed59e1d1-385d2703b64so403103a91.1 for ; Fri, 28 Aug 2026 15:59:11 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= oBcV8PaCRFbb3XaTPgUCF9qM66A9X8ZOEQ/Mf6VcOo0=; b=mv6dwrKXVYov0lN/ QYzx4oJxWOwCdWlU1ejKe5N+NA3rC3dCqKlB1n7mdcwD4tRDlo7bvUiaHhsGbbhC MkIhbGckfmNNEmX03p9BtjO4HOdFtwxkG1WcrtO0aT3n5z0EKRD6eQFGdAKfX2ac sc0qmDYJDfBudx2NjIr28CdD02FshTXMr1Ya1tMGo1UpzCpK4weh6v0it7oUbiKQ lk1O4fp/hPT1mfAGL5o3OZm84zN1znRaRdO4hurxm50DPl0yJEUL31DKLAshGtf6 rhBUl2TacAcfYhI0IpnAcSIWWxLqYvDKEmTRxOlsoxBzJO0Wqu7FHYh1HN15TRod xquMGg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957951; x=1788562751; darn=nongnu.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=oBcV8PaCRFbb3XaTPgUCF9qM66A9X8ZOEQ/Mf6VcOo0=; b=F/yy6oNF6GBK1AN0tY8TTUDXyLsvLiIRBHJ20GO6FfSahAyx9Iy8MAdTulVtltYJz6 iUy2cx2bUDIbycC4tNr/MrQYN1IY5uP8TcHdbdSgNz5P15SCszHw7BdwpmosvgUdoxiX NeHnda+OldJv7GSEr95iBwe3TEMmc3YboAplOs5H3Zgp3hHl7TdF/uxmHVx2DymRa0nz 0En29UAB6ZJSZW5NBFXvzdhXa509YqCCwuaKccvvi26vN/dUfLgyxuqGecsc8SXtaaW4 W+wNVinVLtF5kDh4h5oSkgja5UfkItrrfqKVPpiLXiWGatAIo6Ypo1IOAboxuk/iM5UR bgnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957951; x=1788562751; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=oBcV8PaCRFbb3XaTPgUCF9qM66A9X8ZOEQ/Mf6VcOo0=; b=aTPnTlSvzZ9Fi3j4HMfFXinHOYD5q3su+ZbsXqLflKy2dC3GwY0Xk3hJLLifWvKt2k STTfklWbuduRJbHdSXeoNUt2Y8bdk+/AZdTW3fasVRopPtBM7qO6ekK+KxEOvvh3xWMj KQCDBgtZtX2h66MnVnwQ4KQ+WcMhajHnZY6X2AN0A7IF9E/gxEKv6cJblxEcry0SXI8B uCQqGctflnW4o7b8+FEWa5qBMCWS93bZF9VWEtzziJyvr9ipsQTR/95d2XpR5ui8GAgr eX5BsF1w6f7K0L5Qz+PeDwqthH6Wj+MCRD2bGtqfAdpiSmzm3bJRvUDxIbkQxJ7y+mcf dr4w== X-Gm-Message-State: AFuF++kRWFipiBp/Fv9A4BaOPfJXk74iSV7vr0JQJS5R7kibvBeUEIX9 WsFBizudNdNGtZpMI8SCVvVdBdVD182jp3dLe+TADhZ4XrVccDHDv1t1mb/92Cc0bERQWEIAZK6 dlHWWQKXDhzR+3rBIDR2cqUX/XIhYRLZqq8659woXN2h7NDTGBJ5pZ1VSEkN2puFpFA== X-Gm-Gg: AYBFou312VQ2qGvO1dsJ8orV87BiBuj9hw+ktnnGufLN7rWtZRdwX1NBVOSTYM+L/2V io8YIsgoHiWJTdSDx2ZJuY//Dv9aiCLyolssG6tcKmKPqQmYfkK+wDOe+vo0xLsbp/sAxiO6NIV YYW8Q/Z6FrLSC2dI/pKNsGfXoAta6lWk+QjlxacuSPa5voZYqs5bfafVpCet26UQAMafgzX1cN7 uJebig/r98wKwolwxenkezArlE7H0lCdAmUIF7MVJOywcOp0Ldxf4/NiQygZzWp3jdUbfhiSaqS AVk3/duaEW3GVtQVEjgXNIBh8uUbsEEZhKR7VWvBlT7aFANnvfXqwEkt+lHa0AR4Mk/W+m5EKXt jF7Jx2OtvmXnx3SLdTHkea3JgYBjiTJ1d3fXvzmZWVRvmU2LPXkUqtIEwjxM= X-Received: by 2002:a17:90b:2f4f:b0:395:c3f7:2895 with SMTP id 98e67ed59e1d1-3969babafb3mr23134507a91.7.1787957950777; Fri, 28 Aug 2026 15:59:10 -0700 (PDT) X-Received: by 2002:a17:90b:2f4f:b0:395:c3f7:2895 with SMTP id 98e67ed59e1d1-3969babafb3mr23134478a91.7.1787957950370; Fri, 28 Aug 2026 15:59:10 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 05/47] target/arm: Use -cpu max-v8 with aarch64=off Date: Fri, 28 Aug 2026 22:58:19 +0000 Message-ID: <20260828225901.367438-6-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: MZ0WWPStO5Z8Qcfrxy_s1RT2XV5U9wGf X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX9b3l+zxV18Yh cigQh+8lM6mszv+WLHvOOHl3Y3krAXBmVr4i7ateW767dcenLw6LMPmbJ+MpKOdnzUWZMgquA3Z TbZlQOdW4gD5knEseidqef5N1Uq++1ZMJkmhnn7YWWpZCnddsfXQxqX8QRUzoKfPo5nfeksDs3v GTXOLvthch5GlGjFZY97Og9Dvm28AoFp2nCzRJC5LH14UpAgKtyWw+jPq9QATs0vgcDakbQMEsT FIZ1olEO/8Faw3uGLBq/qXycPS06xibLLouXQDziGg1/Rf1yIyrd23ds81Zn9kwyghoddOuN85r x4QzSaYG4OGPhJS09/P7I28LaSE+rJaoLKuf6SbQFexE9oO28JRHj9m4sZ/4Vllqr6PxXTvq53i kxk15DcrHgDQJsFMHDzWSNnwZpGLE4EoYqX2CKajaMG0sfmsMOpq7FEtdinahhfr+P2m9XRFau1 xqw9hjcwx+vgMWjp10A== X-Authority-Analysis: v=2.4 cv=QLVYgALL c=1 sm=1 tr=0 ts=6a9212bf cx=c_pps a=0uOsjrqzRL749jD1oC5vDA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=IkcTkHD0fZMA:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=QnPuJ91tA4QMyvGEi4oA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=mQ_c8vxmzFEMiUWkPHU9:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-GUID: MZ0WWPStO5Z8Qcfrxy_s1RT2XV5U9wGf X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX7T0R6UKToq/J P4WWZl0JFHTimHRymK0WFNBYVoSquMnOGENmm8eArDvnPpUEnGHs7BQHm77hRVU2cMzvGW+lxTj vHUZ1NBg8nDbLLRHQB0VCTx7tTRvvpk= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 spamscore=0 clxscore=1015 malwarescore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787957991142158500 From: Richard Henderson Armv9 does not support privileged aarch32 execution, so aarch64 cannot be disabled. These tests must use Armv8. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Richard Henderson Signed-off-by: Pierrick Bouvier --- tests/functional/aarch64/test_virt_aarch64_off.py | 4 ++-- tests/qtest/arm-cpu-features.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/functional/aarch64/test_virt_aarch64_off.py b/tests/func= tional/aarch64/test_virt_aarch64_off.py index 13d8b73b0d7..73c9a4109c0 100755 --- a/tests/functional/aarch64/test_virt_aarch64_off.py +++ b/tests/functional/aarch64/test_virt_aarch64_off.py @@ -18,9 +18,9 @@ class ArmVirtMachine(LinuxKernelTest): def test_arm_virt(self): self.set_machine('virt') # KVM aarch64=3Doff requires a host CPU that supports it, so - # restrict the test to TCG only + # restrict the test to TCG ARMv8. self.require_accelerator('tcg') - self.vm.add_args('-cpu', 'max,aarch64=3Doff') + self.vm.add_args('-cpu', 'max-v8,aarch64=3Doff') =20 kernel_path =3D self.ASSET_KERNEL.fetch() =20 diff --git a/tests/qtest/arm-cpu-features.c b/tests/qtest/arm-cpu-features.c index cb4d01fd46a..7348fb8d28b 100644 --- a/tests/qtest/arm-cpu-features.c +++ b/tests/qtest/arm-cpu-features.c @@ -493,8 +493,8 @@ static void test_query_cpu_model_expansion(const void *= data) sve_tests_default(qts, "max"); pauth_tests_default(qts, "max"); =20 - /* TCG allows us to turn off AArch64 on the 'max' CPU type */ - assert_set_feature(qts, "max", "aarch64", false); + /* TCG allows us to turn off AArch64 on the 'max-v8' CPU type */ + assert_set_feature(qts, "max-v8", "aarch64", false); } =20 qtest_quit(qts); --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958174; cv=none; d=zohomail.com; s=zohoarc; b=Efrnm5I4FrNyhb9emPCV/PIqTFSvxwWFLPTzSvXfEe5WFEEcLfp6O1MU1watlI9RbjvxKdFed4+WdA/eVHP+0rIDX6NTUPlM51N2/qBydJpP5cJDoYWaBU7R3sQLQqvwHIAIq1OwC7K36L9V0ox+yaa9i9ovp+qxT9nTl03MIzY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958174; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=6ma+gNaTSB4pWg9q/GGiYK6vMZcSM0SNNgAdUmUnZ3E=; b=XSHkkVXkLni4zYRpOEouThoj6pBywk76f9DIjmxIImqbtMN9AY+UQxydGZj3LFACzs/hg9ynaciGmVqWHH2kci2avB/YVTinWc1thSkjKAez+bV8X9ejKqjgnVJviOzn2Iu9RM0hk1meCHRVEV6tlcXdk0JjnC/c++9yBrFFuNk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958174572514.1701995215683; Fri, 28 Aug 2026 16:02:54 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Xc-00006l-EI; Fri, 28 Aug 2026 18:59:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05XZ-00005B-LM for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:18 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05XW-0005ie-Sl for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:17 -0400 Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTEeS731679 for ; Fri, 28 Aug 2026 22:59:13 GMT Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbhgtrbg0-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:12 +0000 (GMT) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-38e54b6556aso1993542a91.2 for ; Fri, 28 Aug 2026 15:59:12 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=6ma+gNaTSB4 pWg9q/GGiYK6vMZcSM0SNNgAdUmUnZ3E=; b=Mtzk5KyhbOWdn/rbdhlsYAAtLvS bYrS82jTIe5MJqLSB+XAuheU11VhY7asH2QeaYty43lXxNqJYMKyClDGo+rnOr8i /OhXpgvgtDJinBKU0da4BdQvKl3w3EFMmvDk/kU2/p/WlB0UklonGNFFJJEMyC1w BOxLsuEsuUII8Xu0l44iOaSJuOfBkyKhTaGxUh1pcoq84m718/Qdlkcnh/cIHzlJ d/kkKOoKLAny0MzaRd1CI7JUyekLvDKBZb1qI1xWXNFaXyh2Xw7sTJYPc4ZenK5h 1FwQDnYeNjFAyuNv2+qnNxp/MOL8d3dXwL5zRYYXOzGG9XDFrjm571F8C8A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957952; x=1788562752; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=6ma+gNaTSB4pWg9q/GGiYK6vMZcSM0SNNgAdUmUnZ3E=; b=E6pwOhIs5Gccfjj30u8X+cRirx4MWUmT2nGpGhE4RDOYJShrbZ2nmahc4iq4FaYsmW sCOVDJHp9ccP5OF28X6UmThLWI7wkJEl7h1qASjrm/SVsOqmvcnSeswRHC0+yrBvtLBm Mx6830Q/FJsM9wEs1fnGqrZAUmDaC5MamFfZKZ80iQSpAHkgNlxRJjG0VKUn2Qf/rJOL su2j728bxStR1BGVBTl9LLn3dA/JKPkiofi8Vi2E6y/cDMTr06Ir1GmTbdztXls2XK2g hwZkO2xK96JszgAnRu0C6Rtfa+vUBu3L1U5bStz+3IfaZBuL0GPkamqR4iwl23fVdeGg gCog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957952; x=1788562752; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=6ma+gNaTSB4pWg9q/GGiYK6vMZcSM0SNNgAdUmUnZ3E=; b=eRhW+7eR4ZvIM1PbOtAozdXBUbtoYyiCGykORTacusxYaKdcJoeH5F5Y+oncl7JAw8 SnjLj6rNNXfWBdUpaZtVcSjC4BlT9WoGPBzvKvdFgLp4M4Cbh2eKANa5JrRDlNmbZL87 PV/KZoTh3PiaFrJfLzeDcxq8rOWv7mSheWvR+NMMPopSVoYU9cpxVbn4XBA1PmABUbLi ILT5rQJMGYTdXty/33n6gOXIgE5D3CNiV+nkOV/M602dM3tJcUiPqkkraDvt3VCLhs4o INzZOj6Be4x49M3fWtORYPRQvvCMjMAE+h/OKQQUwTW+LgyML8Waj7QVHvn+W7/f9/yD X2qA== X-Gm-Message-State: AFuF++nSKnVwfeH1bQFDZuMTiBOnyXrdPVXCPc7TEjWayrZxAjDgt86Y 7G4KrFK4anBe57S99b0EFH0H5NHZ2l7F4Q7hXyjG2SGhuZXowEx6y9MxcbiR8f43snFaWH0J8gz 1cx17xXmhQYnLVhWW3fn+rUZWTV10dXQ1wuS6H2SQSAb7u6NYZmeNoZ81D/I4E2a8qQ== X-Gm-Gg: AYBFou0zHzKE2JlZ+SNA9Io/SjfvxssEPOCXO5lj0SIeCEfj/rs8E+VGNq/ci9mYp30 CSi2ogSIPpsjkoyW7dWVcPsgMLF2zwS/1iMXWVFoZiq3vlVDdQvO+/03H7GuTd3lBmRuCqeu080 bURfO075sIA4LnhhvhVv14DBg3JF6OTWt7HJf91xBVwK1IYeZcUghp1EkJiZHCr/BK4DL1KAjkI qbdqQVNqJCZVT34g5yRAnNv0PB4QpueSKDI5VO9U+SMz9A+JZFQr45kJLKpNELVJ7C3H9QnoiYR fTwCEtmrg3yNEHL7Z0Gv3QudFGzp5H1m0px/sN2SGqDXMLAQIBScBZMHatWaJDUjdzATBPb2XZc QBm+iFHp5YP89DJjhdfw/IRvADWt9Zg5hWP/XG+jxBa2w9ArSyOMSccaBzZM= X-Received: by 2002:a17:90b:54c5:b0:395:4de4:92c7 with SMTP id 98e67ed59e1d1-396d0e5ccc7mr20398731a91.3.1787957952083; Fri, 28 Aug 2026 15:59:12 -0700 (PDT) X-Received: by 2002:a17:90b:54c5:b0:395:4de4:92c7 with SMTP id 98e67ed59e1d1-396d0e5ccc7mr20398664a91.3.1787957951572; Fri, 28 Aug 2026 15:59:11 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 06/47] target/arm: Separate cpu types max-v8 and max-v9 Date: Fri, 28 Aug 2026 22:58:20 +0000 Message-ID: <20260828225901.367438-7-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX7HW4+e6bCQHd IS24n0YzQ5fp3vbPnwlrSG808VGODiCoJU33hhmGpbHkFEYXopKvEHxfKXqZBCWDVLe9EcmOtuK gNXNDU5tZ4i/gKUu27Y4TaLtXO3TLEA= X-Proofpoint-GUID: 580sPCd8jwOnFFHFUfY4ttuA7Pukbh5D X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXwXt+Ua/KczKz XWzlBbdyX4E07+C77AItGJuxJPIg0t+ciLxqXdUxXVqbCH2xsgpd8DoYIbBN0ZHklVw/jOboas+ vqO7E71Jqheu5iKPD+rOoZiYCqDQmgSBNbnYzK1OV1X9TvTGSP1tgmlZ5wTcpIwkE78VvDOscN1 /eaEC7TTF8Iop2HE22kEf99v07MKHFXIQamEjwXCI8PWYs0sLpQHxhnHNQMWb+sy5/2HC8AVxNb ZAK18sl4lzNg0SLRS0yH/1vL2BCT7i4ktdKizcFMw3xy1RYXo293Gdnqpz/nVAKIT5NriAZ2r97 whmKaEKHV80hQIlkJkbpWA63sXjVchAWtCkdSbSXJTsfMaMZwoZuoCk2rYDbC+jUhIIWkX2QVx6 fbi4onwU7IAaLffpHXIRPew1mf6IE84qa4CvM+KZ6LrtyqNECmd4ZkjWlr/ang5wd+VqP8ImgIv GqjSu+ffJdSQnjOjx6w== X-Proofpoint-ORIG-GUID: 580sPCd8jwOnFFHFUfY4ttuA7Pukbh5D X-Authority-Analysis: v=2.4 cv=e/A2j6p/ c=1 sm=1 tr=0 ts=6a9212c1 cx=c_pps a=RP+M6JBNLl+fLTcSJhASfg==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=oGE0SHR3m1kfZe4Kdw8A:9 a=iS9zxrgQBfv6-_F4QbHw:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 priorityscore=1501 impostorscore=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 phishscore=0 spamscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958176100154100 Content-Type: text/plain; charset="utf-8" From: Richard Henderson Do not include v9-only features in "max-v8". Do not include the prohibited v8 features in "max-v9". In aarch64 tcg mode, define "max" as "max-v9". Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell Signed-off-by: Pierrick Bouvier --- docs/system/arm/emulation.rst | 13 ++- target/arm/cpu-max.c | 2 +- target/arm/internals.h | 3 +- target/arm/tcg/cpu-max-v8.c | 2 +- target/arm/tcg/cpu64.c | 160 ++++++++++++++++++++++------------ target/arm/tcg/stubs32.c | 7 +- 6 files changed, 128 insertions(+), 59 deletions(-) diff --git a/docs/system/arm/emulation.rst b/docs/system/arm/emulation.rst index cc42db9e0b7..ff02435975b 100644 --- a/docs/system/arm/emulation.rst +++ b/docs/system/arm/emulation.rst @@ -230,7 +230,18 @@ to the `Arm Architecture Reference Manual for A-profil= e architecture When a specific named CPU is being emulated, only those features which are present in hardware for that CPU are emulated. (If a feature is not in the list above then it is not supported, even if the real -hardware should have it.) The ``max`` CPU enables all features. +hardware should have it.) + +The ``max-v8`` CPU enables all of the listed Armv8-A architecture +extensions but none of the Armv9-A architecture extensions. + +The ``max-v9`` CPU enables all of the listed extensions except for +those that are prohibited by the Armv9-A architecture: FEAT_AA32EL1, +FEAT_AA32EL2, FEAT_AA32EL3, and FEAT_DoubleLock. + +The ``max`` CPU is an alias for ``max-v9`` under AArch64 TCG emulation, +an alias for ``max-v8`` under AArch32 TCG emulation, or an alias +for ``host`` under hardware virtualization. =20 R-profile CPU architecture support =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D diff --git a/target/arm/cpu-max.c b/target/arm/cpu-max.c index 9ed45c8764f..739500a04fc 100644 --- a/target/arm/cpu-max.c +++ b/target/arm/cpu-max.c @@ -110,7 +110,7 @@ static void cpu_max_initfn(Object *obj) if (!aarch64_enabled) { aarch32_max_v8_tcg_initfn(obj); } else { - aarch64_max_tcg_initfn(obj); + aarch64_max_v9_tcg_initfn(obj); } return; } diff --git a/target/arm/internals.h b/target/arm/internals.h index fc7d5ad6f2c..1775835ad50 100644 --- a/target/arm/internals.h +++ b/target/arm/internals.h @@ -1809,7 +1809,8 @@ void aarch64_cpu_sve_finalize(ARMCPU *cpu, Error **er= rp); void aarch64_cpu_sme_finalize(ARMCPU *cpu, Error **errp); void aarch64_cpu_pauth_finalize(ARMCPU *cpu, Error **errp); void aarch64_cpu_lpa2_finalize(ARMCPU *cpu, Error **errp); -void aarch64_max_tcg_initfn(Object *obj); +void aarch64_max_v8_tcg_initfn(Object *obj); +void aarch64_max_v9_tcg_initfn(Object *obj); void aarch64_add_pauth_properties(Object *obj); void aarch64_add_sve_properties(Object *obj); void aarch64_add_sme_properties(Object *obj); diff --git a/target/arm/tcg/cpu-max-v8.c b/target/arm/tcg/cpu-max-v8.c index 55f8c341423..65f851f2006 100644 --- a/target/arm/tcg/cpu-max-v8.c +++ b/target/arm/tcg/cpu-max-v8.c @@ -123,7 +123,7 @@ static void cpu_max_v8_register_type(void) { static const ARMCPUInfo max_v8[2] =3D { { .name =3D "max-v8", .initfn =3D aarch32_max_v8_tcg_initfn }, - { .name =3D "max-v8", .initfn =3D aarch64_max_tcg_initfn } + { .name =3D "max-v8", .initfn =3D aarch64_max_v8_tcg_initfn }, }; arm_cpu_register(&max_v8[target_aarch64()]); } diff --git a/target/arm/tcg/cpu64.c b/target/arm/tcg/cpu64.c index d44a8221c8b..251c4b3cf60 100644 --- a/target/arm/tcg/cpu64.c +++ b/target/arm/tcg/cpu64.c @@ -1166,11 +1166,10 @@ static void aarch64_neoverse_n2_initfn(Object *obj) } =20 /* - * -cpu max: a CPU with as many features enabled as our emulation supports. - * The version of '-cpu max' for qemu-system-arm is defined in cpu32.c; - * this only needs to handle 64 bits. + * -cpu max-v8: an ARMv8 CPU with as many features enabled as + * our emulation supports. */ -void aarch64_max_tcg_initfn(Object *obj) +void aarch64_max_v8_tcg_initfn(Object *obj) { ARMCPU *cpu =3D ARM_CPU(obj); ARMISARegisters *isar =3D &cpu->isar; @@ -1244,7 +1243,7 @@ void aarch64_max_tcg_initfn(Object *obj) t =3D FIELD_DP64(t, ID_AA64ISAR0, SHA1, 1); /* v8.0: FEAT_SHA1 */ t =3D FIELD_DP64(t, ID_AA64ISAR0, SHA2, 2); /* v8.1: FEAT_SHA512 */ t =3D FIELD_DP64(t, ID_AA64ISAR0, CRC32, 1); /* v8.0: FEAT_CRC32 */ - t =3D FIELD_DP64(t, ID_AA64ISAR0, ATOMIC, 3); /* v9.3: FEAT_LSE128 */ + t =3D FIELD_DP64(t, ID_AA64ISAR0, ATOMIC, 2); /* v8.0: FEAT_LSE */ t =3D FIELD_DP64(t, ID_AA64ISAR0, RDM, 1); /* v8.0: FEAT_RDM */ t =3D FIELD_DP64(t, ID_AA64ISAR0, SHA3, 1); /* v8.1: FEAT_SHA3 */ t =3D FIELD_DP64(t, ID_AA64ISAR0, SM3, 1); /* v8.1: FEAT_SM3 */ @@ -1277,16 +1276,10 @@ void aarch64_max_tcg_initfn(Object *obj) t =3D FIELD_DP64(t, ID_AA64ISAR2, MOPS, 1); /* v8.7: FEAT_MOPS */ t =3D FIELD_DP64(t, ID_AA64ISAR2, BC, 1); /* v8.7: FEAT_HBC */ t =3D FIELD_DP64(t, ID_AA64ISAR2, WFXT, 2); /* v8.6: FEAT_WFxT */ - t =3D FIELD_DP64(t, ID_AA64ISAR2, CSSC, 2); /* v9.3: FEAT_CMPBR */ - t =3D FIELD_DP64(t, ID_AA64ISAR2, LUT, 1); /* v9.2: FEAT_LUT */ + t =3D FIELD_DP64(t, ID_AA64ISAR2, CSSC, 1); /* v8.7: FEAT_CSSC */ t =3D FIELD_DP64(t, ID_AA64ISAR2, ATS1A, 1); /* v8.8: FEAT_ATS1A */ SET_IDREG(isar, ID_AA64ISAR2, t); =20 - t =3D GET_IDREG(isar, ID_AA64ISAR3); - t =3D FIELD_DP64(t, ID_AA64ISAR3, FAMINMAX, 1); /* v9.2: FEAT_FAMINMAX= */ - t =3D FIELD_DP64(t, ID_AA64ISAR3, FPRCVT, 1); /* v9.5: FEAT_FPRCVT */ - SET_IDREG(isar, ID_AA64ISAR3, t); - t =3D GET_IDREG(isar, ID_AA64PFR0); t =3D FIELD_DP64(t, ID_AA64PFR0, FP, 1); /* v8.2: FEAT_FP16 */ t =3D FIELD_DP64(t, ID_AA64PFR0, ADVSIMD, 1); /* v8.2: FEAT_FP16 */ @@ -1308,17 +1301,14 @@ void aarch64_max_tcg_initfn(Object *obj) */ t =3D FIELD_DP64(t, ID_AA64PFR1, MTE, 3); /* v8.5: FEAT_MTE3 */ t =3D FIELD_DP64(t, ID_AA64PFR1, RAS_FRAC, 0); /* v8.3: FEAT_DoubleFa= ult */ - t =3D FIELD_DP64(t, ID_AA64PFR1, SME, 2); /* v9.2: FEAT_SME2 */ t =3D FIELD_DP64(t, ID_AA64PFR1, RNDR_TRAP, 1); /* v8.4: FEAT_RNG_TRAP= */ t =3D FIELD_DP64(t, ID_AA64PFR1, CSV2_FRAC, 0); /* v8.0: FEAT_CSV2_3 */ t =3D FIELD_DP64(t, ID_AA64PFR1, NMI, 1); /* v8.7: FEAT_NMI */ - t =3D FIELD_DP64(t, ID_AA64PFR1, GCS, 1); /* v9.3: FEAT_GCS */ /* v8.7: FEAT_MTE_NO_ADDRESS_TAGS + FEAT_MTE_CANONICAL_TAGS */ t =3D FIELD_DP64(t, ID_AA64PFR1, MTEX, 1); SET_IDREG(isar, ID_AA64PFR1, t); =20 t =3D GET_IDREG(isar, ID_AA64PFR2); - t =3D FIELD_DP64(t, ID_AA64PFR2, FPMR, 1); /* v9.2: FEAT_FPMR */ t =3D FIELD_DP64(t, ID_AA64PFR2, MTEFAR, 1); /* v8.7: FEAT_MTE_TAGG= ED_FAR */ t =3D FIELD_DP64(t, ID_AA64PFR2, MTESTOREONLY, 1); /* v8.7: FEAT_MTE_S= TORE_ONLY */ t =3D FIELD_DP64(t, ID_AA64PFR2, MTEPERM, 1); /* v8.7: FEAT_MTE_PERM= */ @@ -1368,25 +1358,14 @@ void aarch64_max_tcg_initfn(Object *obj) t =3D GET_IDREG(isar, ID_AA64MMFR3); t =3D FIELD_DP64(t, ID_AA64MMFR3, TCRX, 1); /* v8.0: FEAT_TCR2 */ t =3D FIELD_DP64(t, ID_AA64MMFR3, SCTLRX, 1); /* v8.0: FEAT_SCTLR2 */ - t =3D FIELD_DP64(t, ID_AA64MMFR3, MEC, 1); /* v9.2: FEAT_MEC */ t =3D FIELD_DP64(t, ID_AA64MMFR3, SPEC_FPACC, 1); /* v8.2: FEAT_FPACC_= SPEC */ t =3D FIELD_DP64(t, ID_AA64MMFR3, S1PIE, 1); /* v8.8: FEAT_S1PIE */ t =3D FIELD_DP64(t, ID_AA64MMFR3, S2PIE, 1); /* v8.8: FEAT_S2PIE */ t =3D FIELD_DP64(t, ID_AA64MMFR3, AIE, 1); /* v8.8: FEAT_AIE */ SET_IDREG(isar, ID_AA64MMFR3, t); =20 - t =3D GET_IDREG(isar, ID_AA64MMFR4); - t =3D FIELD_DP64(t, ID_AA64MMFR4, ASID2, 1); /* v9.4: FEAT_ASID2 */ - SET_IDREG(isar, ID_AA64MMFR4, t); - t =3D GET_IDREG(isar, ID_AA64ZFR0); - t =3D FIELD_DP64(t, ID_AA64ZFR0, SVEVER, 2); /* v9.2: FEAT_SVE2p1 */ - t =3D FIELD_DP64(t, ID_AA64ZFR0, AES, 2); /* v9.0: FEAT_SVE_PMUL= L128 */ - t =3D FIELD_DP64(t, ID_AA64ZFR0, BITPERM, 1); /* v9.0: FEAT_SVE_BitP= erm */ t =3D FIELD_DP64(t, ID_AA64ZFR0, BFLOAT16, 2); /* v8.2: FEAT_EBF16 */ - t =3D FIELD_DP64(t, ID_AA64ZFR0, B16B16, 1); /* v9.2: FEAT_SVE_B16B= 16 */ - t =3D FIELD_DP64(t, ID_AA64ZFR0, SHA3, 1); /* v9.0: FEAT_SVE_SHA3= */ - t =3D FIELD_DP64(t, ID_AA64ZFR0, SM4, 1); /* v9.0: FEAT_SVE_SM4 = */ t =3D FIELD_DP64(t, ID_AA64ZFR0, I8MM, 1); /* v8.1: FEAT_I8MM */ t =3D FIELD_DP64(t, ID_AA64ZFR0, F32MM, 1); /* v8.2: FEAT_F32MM */ t =3D FIELD_DP64(t, ID_AA64ZFR0, F64MM, 1); /* v8.2: FEAT_F64MM */ @@ -1398,6 +1377,106 @@ void aarch64_max_tcg_initfn(Object *obj) t =3D FIELD_DP64(t, ID_AA64DFR0, HPMN0, 1); /* v8.5: FEAT_HPMN0 */ SET_IDREG(isar, ID_AA64DFR0, t); =20 + /* Replicate the same data to the 32-bit id registers. */ + aa32_max_features(cpu); + +#ifdef CONFIG_USER_ONLY + /* + * For usermode -cpu max we can use a larger and more efficient DCZ + * blocksize since we don't have to follow what the hardware does. + */ + cpu->ctr =3D 0x80038003; /* 32 byte I and D cacheline size, VIPT icach= e */ + set_dczid_bs(cpu, 7); /* 512 bytes */ +#endif + + /* v8.2: FEAT_SVE */ + cpu->sve_vq.supported =3D MAKE_64BIT_MASK(0, ARM_MAX_VQ); + aarch64_add_sve_properties(OBJECT(cpu)); + object_property_add(OBJECT(cpu), "sve-max-vq", "uint32", + cpu_max_get_sve_max_vq, cpu_max_set_sve_max_vq, + NULL, NULL); + + /* v8.2: FEAT_PAuth2 */ + aarch64_add_pauth_properties(OBJECT(cpu)); + + /* v8.4: FEAT_MTE2 */ + cpu->gm_blocksize =3D 6; /* 256 bytes */ + + /* v8.6: FEAT_LPA2 */ + qdev_property_add_static(DEVICE(cpu), &arm_cpu_lpa2_property); +} + +/* + * -cpu max-v9: an ARMv9 CPU with as many features enabled as + * our emulation supports. + */ +void aarch64_max_v9_tcg_initfn(Object *obj) +{ + ARMCPU *cpu =3D ARM_CPU(obj); + ARMISARegisters *isar =3D &cpu->isar; + uint64_t t; + + /* Armv9.0 is based on a minimum of Armv8.5. */ + aarch64_max_v8_tcg_initfn(obj); + + /* + * Armv9.0 does not support AArch32 except at EL0, + * therefore indicate EL1 through EL3 are AArch64-only. + */ + t =3D GET_IDREG(isar, ID_AA64PFR0); + t =3D FIELD_DP64(t, ID_AA64PFR0, EL1, 1); + t =3D FIELD_DP64(t, ID_AA64PFR0, EL2, 1); + t =3D FIELD_DP64(t, ID_AA64PFR0, EL3, 1); + SET_IDREG(isar, ID_AA64PFR0, t); + + /* v9.0 prohibits FEAT_DoubleLock. */ + FIELD_DP64_IDREG(isar, ID_AA64DFR0, DOUBLELOCK, -1); + FIELD_DP64_IDREG(isar, ID_AA64PFR0, RAS, 1); + isar->dbgdevid =3D FIELD_DP32(isar->dbgdevid, DBGDEVID, DOUBLELOCK, 0); + + /* + * Below, note the revision from which the feature is OPTIONAL. + */ + t =3D GET_IDREG(isar, ID_AA64ISAR0); + t =3D FIELD_DP64(t, ID_AA64ISAR0, ATOMIC, 3); /* v9.3: FEAT_LSE128 */ + SET_IDREG(isar, ID_AA64ISAR0, t); + + t =3D GET_IDREG(isar, ID_AA64ISAR2); + t =3D FIELD_DP64(t, ID_AA64ISAR2, CSSC, 2); /* v9.3: FEAT_CMPBR */ + t =3D FIELD_DP64(t, ID_AA64ISAR2, LUT, 1); /* v9.2: FEAT_LUT */ + SET_IDREG(isar, ID_AA64ISAR2, t); + + t =3D GET_IDREG(isar, ID_AA64ISAR3); + t =3D FIELD_DP64(t, ID_AA64ISAR3, FAMINMAX, 1); /* v9.2: FEAT_FAMINMAX= */ + t =3D FIELD_DP64(t, ID_AA64ISAR3, FPRCVT, 1); /* v9.5: FEAT_FPRCVT */ + SET_IDREG(isar, ID_AA64ISAR3, t); + + t =3D GET_IDREG(isar, ID_AA64PFR1); + t =3D FIELD_DP64(t, ID_AA64PFR1, SME, 2); /* v9.2: FEAT_SME2 */ + t =3D FIELD_DP64(t, ID_AA64PFR1, GCS, 1); /* v9.3: FEAT_GCS */ + SET_IDREG(isar, ID_AA64PFR1, t); + + t =3D GET_IDREG(isar, ID_AA64PFR2); + t =3D FIELD_DP64(t, ID_AA64PFR2, FPMR, 1); /* v9.2: FEAT_FPMR */ + SET_IDREG(isar, ID_AA64PFR2, t); + + t =3D GET_IDREG(isar, ID_AA64MMFR3); + t =3D FIELD_DP64(t, ID_AA64MMFR3, MEC, 1); /* v9.2: FEAT_MEC */ + SET_IDREG(isar, ID_AA64MMFR3, t); + + t =3D GET_IDREG(isar, ID_AA64MMFR4); + t =3D FIELD_DP64(t, ID_AA64MMFR4, ASID2, 1); /* v9.4: FEAT_ASID2 */ + SET_IDREG(isar, ID_AA64MMFR4, t); + + t =3D GET_IDREG(isar, ID_AA64ZFR0); + t =3D FIELD_DP64(t, ID_AA64ZFR0, SVEVER, 2); /* v9.2: FEAT_SVE2p1 */ + t =3D FIELD_DP64(t, ID_AA64ZFR0, AES, 2); /* v9.0: FEAT_SVE_PMUL= L128 */ + t =3D FIELD_DP64(t, ID_AA64ZFR0, BITPERM, 1); /* v9.0: FEAT_SVE_BitP= erm */ + t =3D FIELD_DP64(t, ID_AA64ZFR0, B16B16, 1); /* v9.2: FEAT_SVE_B16B= 16 */ + t =3D FIELD_DP64(t, ID_AA64ZFR0, SHA3, 1); /* v9.0: FEAT_SVE_SHA3= */ + t =3D FIELD_DP64(t, ID_AA64ZFR0, SM4, 1); /* v9.0: FEAT_SVE_SM4 = */ + SET_IDREG(isar, ID_AA64ZFR0, t); + t =3D GET_IDREG(isar, ID_AA64SMFR0); t =3D FIELD_DP64(t, ID_AA64SMFR0, SMOP4, 1); /* v9.4: FEAT_SME_MOP4= */ t =3D FIELD_DP64(t, ID_AA64SMFR0, STMOP, 1); /* v9.4: FEAT_SME_TMOP= */ @@ -1434,43 +1513,16 @@ void aarch64_max_tcg_initfn(Object *obj) t =3D FIELD_DP64(t, ID_AA64FPFR0, F8CVT, 1); /* v9.2: FEAT_FP8 */ SET_IDREG(isar, ID_AA64FPFR0, t); =20 - /* Replicate the same data to the 32-bit id registers. */ - aa32_max_features(cpu); - -#ifdef CONFIG_USER_ONLY - /* - * For usermode -cpu max we can use a larger and more efficient DCZ - * blocksize since we don't have to follow what the hardware does. - */ - cpu->ctr =3D 0x80038003; /* 32 byte I and D cacheline size, VIPT icach= e */ - set_dczid_bs(cpu, 7); /* 512 bytes */ -#endif - - /* v8.4: FEAT_MTE2 */ - cpu->gm_blocksize =3D 6; /* 256 bytes */ - - /* v8.2: FEAT_SVE */ - cpu->sve_vq.supported =3D MAKE_64BIT_MASK(0, ARM_MAX_VQ); - aarch64_add_sve_properties(obj); - object_property_add(obj, "sve-max-vq", "uint32", cpu_max_get_sve_max_v= q, - cpu_max_set_sve_max_vq, NULL, NULL); - /* v9.2: FEAT_SME */ cpu->sme_vq.supported =3D SVE_VQ_POW2_MAP; aarch64_add_sme_properties(obj); =20 - /* v8.2: FEAT_PAuth2 */ - aarch64_add_pauth_properties(obj); - /* v9.1: FEAT_RME */ object_property_add_bool(obj, "x-rme", cpu_arm_get_rme, cpu_arm_set_rm= e); =20 /* v9.4: FEAT_RME_GPC2 */ object_property_add(obj, "x-l0gptsz", "uint32", cpu_max_get_l0gptsz, cpu_max_set_l0gptsz, NULL, NULL); - - /* v8.6: FEAT_LPA2 */ - qdev_property_add_static(DEVICE(obj), &arm_cpu_lpa2_property); } =20 static const ARMCPUInfo aarch64_cpus[] =3D { @@ -1488,7 +1540,7 @@ static const ARMCPUInfo aarch64_cpus[] =3D { { .name =3D "neoverse-n1", .initfn =3D aarch64_neoverse_n1_init= fn }, { .name =3D "neoverse-v1", .initfn =3D aarch64_neoverse_v1_init= fn }, { .name =3D "neoverse-n2", .initfn =3D aarch64_neoverse_n2_init= fn }, - { .name =3D "max-v9", .initfn =3D aarch64_max_tcg_initfn }, + { .name =3D "max-v9", .initfn =3D aarch64_max_v9_tcg_initf= n }, }; =20 static void aarch64_cpu_register_types(void) diff --git a/target/arm/tcg/stubs32.c b/target/arm/tcg/stubs32.c index 78f819ef6ff..af0911a24c3 100644 --- a/target/arm/tcg/stubs32.c +++ b/target/arm/tcg/stubs32.c @@ -28,7 +28,12 @@ void aarch64_host_initfn(Object *obj) g_assert_not_reached(); } =20 -void aarch64_max_tcg_initfn(Object *obj) +void aarch64_max_v8_tcg_initfn(Object *obj) +{ + g_assert_not_reached(); +} + +void aarch64_max_v9_tcg_initfn(Object *obj) { g_assert_not_reached(); } --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958058; cv=none; d=zohomail.com; s=zohoarc; b=G1x+nyBv8ACIRSVxs7/+beTeS73wK71bjuHWj1iVtoRFFeU5W/UYC+PQ6niYZKnMjpFpdhyMltLyfgy4LPsZdLS8TmXMiioDcbcKntAKFTGvKg3+9XvTmF5ocfebzfE+j1zYz4H2q/T9YUogzZisSi9Xd/ics+dTkrSjAIJ8yqc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958058; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=WlFiMYFEE09F5aggqhN9tmxQdu2D107CVwPhrwas+90=; b=eoNmQ/2PsiL9Xp197XLFzhmsPewrP4pElK3tguTq9cvGVETljMW822wHv/5zvG3Q1JRzXc3M6fHLxDtYW8EmnQlA1VT1OU1yF+CqrwKBPFQyK314BwS3YjzE3AWKR9rptZypIPDbIDcJKf1AlJOaaoRVFEtjGBxoxSNyuI3DxMA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958058311102.62475690067504; Fri, 28 Aug 2026 16:00:58 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Xb-00005y-Dc; Fri, 28 Aug 2026 18:59:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05XZ-0008WS-5O for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:17 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05XX-0005ih-EU for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:16 -0400 Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTCat3775865 for ; Fri, 28 Aug 2026 22:59:14 GMT Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbj3er82v-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:13 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-3968bb86fb7so2207937a91.2 for ; Fri, 28 Aug 2026 15:59:13 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=WlFiMYFEE09 F5aggqhN9tmxQdu2D107CVwPhrwas+90=; b=CZk30qIb+6tuvvtUQbif+NTYpmA uHrF4y/0RLlRBnHBcZpg4jFowuJ0sykidbAzRMK1QyXHiEefXnVaoDghfTFxgxeU fK22KewEAG5VeIdevam4But2xXmbnBH+cUQ1VqyMDi9DxRFLchpKtJa9S6lOO+rU LSZZ8IwD45n7vrOMaUYfEeDFKUSCZQ/mfags4A8rKT/1Ti4jwr3/8nRSadU+HnHx INxEOj/tIDH74MR2ji7SWH2n8cXbmVPPLrp54A3O78o2/zp6Eg3vtxBddQEy3PNk ylrx1T2oZZYuKg54uYonLdsjGkzi6lXmeqcho2pSe9OWlagU1zaYq4zZotQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957953; x=1788562753; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=WlFiMYFEE09F5aggqhN9tmxQdu2D107CVwPhrwas+90=; b=cw8XVzsBNmLcGoHlFjNm++OBMV1z+Ai8b+TsnCAMayTEcdOfRMuzbfzxyrqlK7TiVm zuNkJmfcEs1KSP5Z5qRuuE1/+8S6mr/5AeFQ/2K6ri1wkkhe/Jo7V0uf50HK7LxWEg4W Wy1MyiFYC+7LigBaOKCl8JTbLk0DLyHJRzlnQPw/x9mW7c2qRIUnNLyRXTQywJTO/coF rHV03A4XU5I6/SSoicE3Cr7l97J1qTfcRZUeJmsZaC3juPv62mZLA6CS2wvXpnWymw/4 vRmkfViMNI0bxfI+/6gJSi5ynZdSd1AcSxZ6Zr3OkmbqppL2TsrUGPDzrEKBU62Fa0Fi 46iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957953; x=1788562753; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=WlFiMYFEE09F5aggqhN9tmxQdu2D107CVwPhrwas+90=; b=kdqB1KnY1Nz2O5pso2Vksry+ZUVCNRHRMW/6TLxMi48kWxZbAg7rhv9rgisZ+JLlOX yOFdIYmucY8bb0mct2TBXZcW3nrULhQnSGa/KIF79gq8Rij8rTvm41Q3Igpb7TvzDHPT VheSu8+v/0fSo1zbJVFkElXlixK33nVBYj2/BkfK2X9T75MX0be+3r9H7KwBg4mHXxJ1 rXl0/2lkJgSPB/PG6vJ9HyqQp9kXooICecR68Y4X+RuFSj6jOs+MVZfxX9/BpcvvtQxe gX7RBRxCK190+gY+P2HSMYmjnoZhYjXSfF0Cw+NQi/cpFiY1auShRkJGF+RuiN1tO0j5 POhg== X-Gm-Message-State: AFuF++m5n/KxCizH4gftpBDZkKNTB7+laek7z8HPp9t+ChIcd1nKH8XR TBndq1Rmww4hbvcVIhKOR+QnHp5hQYRrHmInrDvBkuV0Hm+7NO8lbx6hSOoIeHUE9bnB68mfRJ/ Mz4D1UYnsV5afqpw5Wdu2uwjyrryWMBG2CdbU8c9HTDWU85hetLFtNP3Orfm5Z1J1VQ== X-Gm-Gg: AYBFou2Fzhu991Pm5R8dFVLJRg07me+VwY3kn47xz8E48+D1Ocr+WODG4FFiUm3D8EV conf/Z/FFelWAxPRSVEh5eClwPSs7NUsywuq8JyCj9bWNbYc+4qmzrMw7c/axDhRRHW/YsxAMR9 prX4vHVpUHigGnWvsKUqy1kcWB3u8M+GbR7KkySPEVw1++a6VwTwtpaCngCa2Qt2sWcGoJSjhxg BPAkF4KBnS9MOt2vJDMdbErbKWrkNk2/6WhXFsP9t2G/LIGZxuGjwDia5Gix+b1JAIb0TkR1zbA vj8x8Gh55JLheA/WW8JsaLh11oZJqcqcdeKWM9aUu/KxlBgSDGfWBxWkEzbUdHgIq/4mvM3LS59 whesas6yeq7O8qrN2RVPub4mCPKPqTm1KmQBBjh0u2MOCCZ6XfPODyAHvkFY= X-Received: by 2002:a17:90b:4ac4:b0:37f:e1b6:4c7d with SMTP id 98e67ed59e1d1-396d0e20f0bmr16295742a91.6.1787957953254; Fri, 28 Aug 2026 15:59:13 -0700 (PDT) X-Received: by 2002:a17:90b:4ac4:b0:37f:e1b6:4c7d with SMTP id 98e67ed59e1d1-396d0e20f0bmr16295684a91.6.1787957952797; Fri, 28 Aug 2026 15:59:12 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 07/47] hw/remote/machine: remove unsupported arm target Date: Fri, 28 Aug 2026 22:58:21 +0000 Message-ID: <20260828225901.367438-8-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: BIts8LLW71ZUBSPHhkQAZMWVrEddM0Aa X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX1W3GGvPPs4dN CJbSbqxVDzzJ5WGPJLA7amtgkmRh8aEMQTazNwdXTL5/kj+2VzUAp2RVQOvo6+onm0q0icv/FT3 Q4pny8D9r6VGshyrGje8VcPFgldksFkEW3LUjYjkL/+WgE2a4wc8fUt2aXj+2517WfoNUZ66AiP 8FnKYHpDayXsUJIerQQurVdXaE7pzmnZiVA2Rv/kHcI5uyFx2ycbYJaKCs+rS5sws7ayDd3B/hb aorXi/GggqkqOAUtjaToyffaOjZCXO5B1kOjohIhy0gByII4TmIxM4/eYeQeEZp9rN7QoefApdg kUNeBh2A+fQFeaW7uFBJZEfY5acv7lVSp04fqFWeOJRn6csore9QY7FDOjGLeHd5qI4MwvkRE40 HWnyRi7yD76Zq+2iU0pfXAcXljwVeq8XqmiVNlFLzBvMXQpOcYGv2Ued5KMhscab5ja/qAK9oBp pwtoE3NM9jkM4dbus/Q== X-Authority-Analysis: v=2.4 cv=QLVYgALL c=1 sm=1 tr=0 ts=6a9212c1 cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=ybQNsqCpf-b0oqEQsKEA:9 a=rl5im9kqc5Lf4LNbBjHf:22 X-Proofpoint-GUID: BIts8LLW71ZUBSPHhkQAZMWVrEddM0Aa X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXzh3CfE8y5yKP k0ICxRJvumQE43bOSnflVKbT72JBLopGb6N57UaLdnJCavHX8+abK+ERFVQiKSiknAhEiNVi/ER S/jWwkPG1vio8mUHsRU7ub/Wis1Ov24= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 spamscore=0 clxscore=1015 malwarescore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958059026158501 Content-Type: text/plain; charset="utf-8" With recent target machine changes, this machine was made available for AArch32. However, it depends on CONFIG_KVM (see Kconfig), and since we don't support 32 bit anymore, we don't support it. See main meson.build and 'kvm_targets' for more details. Fixes: 4e8ac6857faab2 "hw/remote/machine.c: Mark x-remote machine as OK for= AArch64 and AArch32" Signed-off-by: Pierrick Bouvier --- hw/remote/machine.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/remote/machine.c b/hw/remote/machine.c index df08f640199..88d38b75d52 100644 --- a/hw/remote/machine.c +++ b/hw/remote/machine.c @@ -150,7 +150,6 @@ static const TypeInfo remote_machine =3D { .interfaces =3D (const InterfaceInfo[]) { { TYPE_HOTPLUG_HANDLER }, { TYPE_TARGET_AARCH64_MACHINE }, - { TYPE_TARGET_ARM_MACHINE }, { } } }; --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958117; cv=none; d=zohomail.com; s=zohoarc; b=eDgwNNrjmyhS7svNAqUu0cDGq1czCqAi5GSm2FI6B5uK9XL+jgcNEU4esnpSoPmxnXdc+NLkh0x62y6vDUKAShcp8l1XnO9rbakDKWBdImeOpBthJXWOoF29ryTdU6Lzh4EqGqt5g7ZUvkay+C8hvj+CO+/82oEAQ+r17HyEj9c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958117; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=bX/arTZ+x4yOL6aG/UoOsNE6rfCIXON6upi8HNH4Htk=; b=RgX+67uPVSpjoiwjmY/fTd0SSmIjoQCZ0JzIydjEhBG3Tfjla9nsk9tpaerQyOUJssY01JBlPIrkxo0wQiQu9Osx+2ctvBlBotQ/+Rjjl6hMbYmoil506xnox0D8jDOlKMEJxhTenRlezqgwiRSiOGke7qs6gY3aFBVd7CS4nrQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958117537405.39918983861355; Fri, 28 Aug 2026 16:01:57 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YE-0000fI-Az; Fri, 28 Aug 2026 18:59:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Y7-0000Xw-9i for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:52 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xv-0005kd-9F for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:51 -0400 Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTuFD3186282 for ; Fri, 28 Aug 2026 22:59:27 GMT Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbag9t2r4-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:23 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-38dc085b0a7so2724259a91.2 for ; Fri, 28 Aug 2026 15:59:23 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=bX/arTZ+x4y OL6aG/UoOsNE6rfCIXON6upi8HNH4Htk=; b=W/0HE+UgbAVw1BPzSB/sLBQ+frE 8oqnxHLCbttArMOXfu33us389Tr9MLasUqBaH79BhFawgpD+toZ/LBVyLDgdvYMi VCiS2ZmrTaxvnvGD5E//IG8Yoy01y1VnAh4XeVd08Njdog7tdUjpyfBk+HF0O8k0 MsFfZFgY4hdxOUY1t5VEVU7IO8WqPKoL1DYITjgk4bfOpUcsKJ/rkQSHph5onpeY tLo3mXxuErcgSSzzVKexz50JxQsN+38u2GC0DGXTlb+oZI7Xmpbb7MGq/Ym30sWh 2oNCjCvpYT/k50hsift5jIV343PatPof2/cV0xAI6iiG5t4hBHABJBAPnFw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957963; x=1788562763; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=bX/arTZ+x4yOL6aG/UoOsNE6rfCIXON6upi8HNH4Htk=; b=FngI6/tfnlnWhlByMYEoMh8uu0nZwmfwajdVAYcjKiMc5vItlPGlkHVfOnL1aZGV3j KyMD80ag3uGoNJxYE0kgXH72ZgOfdKmrDxhSkAKVtBmsiKY8ivlRGNbcpUEoRrvkEETY 7L+DWPexrLMh3hRpUfTuZqvhkWBRjy93YasJtq6J7pwKG9uMqlIW8D/5kUaEhWbaqE98 8OvPtGgb5ZSkCXTMy73NWhMtUXSGxISPjHSo+bV9+WpKCVoCqVXdsilLbF3CYnq4EKGu xH/L9XdyMFzMYEce08KYisdN/XqU+ljJ8kOs1f8AyMnqHKeOoRwIJ2xB4ejW5W1cXXI9 4rPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957963; x=1788562763; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=bX/arTZ+x4yOL6aG/UoOsNE6rfCIXON6upi8HNH4Htk=; b=BzyAahvYUUQRDqY1jpk+qh6LSZuqgXn8uK/6yYpOhDK4Yg0darpeWbudVRSCyojp4N lgEmywRVpbneygiSl98LwUvcnIJnntN8RiGRve2k5GetOJuOEwiLezG/8r/OzkZmDmtY z9I5iE3JMjCVYRvrMLOXE8w5xhK6sxaQYKIDaykZhD2p9I/EIl+4l1yZb69/teoEL1hQ MLNC9//LuWmjUKRogA00XRGZGBgl2GvYLynLSkvqYNJQ6uuNxIQxFkrizqvNwoLHIDXI Gbr2mslDXqA8sFnBHjQfaBqXm4oT7LA1L6SJoojOi7SqbgHCS3isNoUr1yclKlNuKS8t REvg== X-Gm-Message-State: AFuF++m5L5dyAsu0MFf2oqVr/RJBI7GrW/kqzVhIbvywu+f25YGNMdRP WEQeUbPRVcBd+ZpA1r2pV8BN2DBoE9cCyK1S0gDJKhDZyes1/xJplf6JQOA5FLdkTHrEDvFQfOl js2dxFh/tk0WQvTlVg2BEJtzVYPHeYtn5jRmn5X+3AgDaagJOLIzrTgwAhqnTUkq8Kg== X-Gm-Gg: AYBFou0eS0rdgJTaeJUmQaYsTgK94RMdlvUZxFX42IpD/JXHXn3RHj7rsHnRWttQa6x RNKY8SKgn0dke6j3gdXx/AsTUVyg8tevhutKlGeNIJUTr9r3tX9XRlhJ2+CEggVlc1dlE3NjSBe VyW2aY9Mwg+RZEGqouP/nnrqdnt+brNtX6/p517SQCJh9L4UZTc7xsUpevc2DjLnlMEZwcb9ucG WzrEsajSKDwTS6Lt4MjcTDusgm6KVieK6Eb4VXUHCeS5cmw8V+kLDDQ4ftHXYPdN8c53Piji6yA +90uJEFdi7hVN+Drjjgm6tD9643nBMYPuLbpMvyKV/rVRudd88AF2k00QAGvM5SRyXaL0FA06f5 z6U3UFCwU6NtvaQTVA13vdpPsqSNM+IT/7uB0TqE4npIwKM4VOApIvOT0qZs= X-Received: by 2002:a17:90b:4a52:b0:393:288:29e3 with SMTP id 98e67ed59e1d1-396d0eda189mr17480199a91.10.1787957959555; Fri, 28 Aug 2026 15:59:19 -0700 (PDT) X-Received: by 2002:a17:90b:4a52:b0:393:288:29e3 with SMTP id 98e67ed59e1d1-396d0eda189mr17479870a91.10.1787957955075; Fri, 28 Aug 2026 15:59:15 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 08/47] single-binary: command line reference Date: Fri, 28 Aug 2026 22:58:22 +0000 Message-ID: <20260828225901.367438-9-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=UalhjqSN c=1 sm=1 tr=0 ts=6a9212ce cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=ID6ng7r3AAAA:8 a=EUspDBNiAAAA:8 a=OHZAY74vLx4sd-AOrC8A:9 a=j-ISWE_8O2om9PmK:21 a=rl5im9kqc5Lf4LNbBjHf:22 a=AkheI1RvQwOzcTXhi5f4:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXye+YBBvU2r18 fWmmPjtWpWmJM+MRh5MtGyUoicNIglAntHP8ILyCkWfoJBdSyPf0qD+P3eq76P0yP62Q3b2DDSg NSvr4IfxxgRysRfBXfuvOWdr5GgoZPQ= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX1DBnpA19jp2k UWNn7iO5W8FSY/VqY3JNfSuT5sPWupnpO7vbWZ8QhiCUtWOrR6n6aNuYsCU6wqT9OxIlMFFLqvv 966ZPoD78aHEUEX/5LR+/BjzIbCOnFRLij55SMIedHAokpTVk3sBc0d1J7RKKbwt2hwFaSdgyeL ejtoMXFeuYGG7fqQ6brEV+FR2kMfUhKNvGbj6obtMcnBrtNzNxyqYRwmIZTBpoq200mDIaY63AG /76AdHRdohycYs/TUQNoEbvPQK6UyXbhLr6P4ui2kalPefvm6KXydkBNUaRpVN1jfQbaOGp+d3o YzlA2ZrJ4y1UMtEhSBztBNWIP2YwW/ii4VWl4/WnMV0a8NuCrCdybsUL9nkBpCHT/iv/S5oRFy9 EXvNvgcUFlG6OAgHbuwx+SmZNBhR3nSEv3+i+MTT5E8hohvUou3DEnF0yBCsZjZm2f19GmGqm0B XnGfL7sFq+u1XBjimvQ== X-Proofpoint-ORIG-GUID: H75iR1TgwuZdS6EvwGqfautlDN9A0Y6h X-Proofpoint-GUID: H75iR1TgwuZdS6EvwGqfautlDN9A0Y6h X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 bulkscore=0 clxscore=1015 adultscore=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 phishscore=0 impostorscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958119757158500 Content-Type: text/plain; charset="utf-8" This commit is used to make sure we don't regress on existing binaries. Calling it again will show any difference. Current reference was generated on a linux aarch64 host. ./cmdline_update_ref.sh: generate list of cpu/devices/machines for each bin= ary. Signed-off-by: Pierrick Bouvier --- cmdline_ref/qemu-aarch64.cpu_help | 16 + cmdline_ref/qemu-aarch64.help | 50 ++ cmdline_ref/qemu-aarch64_be.cpu_help | 16 + cmdline_ref/qemu-aarch64_be.help | 50 ++ cmdline_ref/qemu-alpha.cpu_help | 8 + cmdline_ref/qemu-alpha.help | 50 ++ cmdline_ref/qemu-arm.cpu_help | 26 + cmdline_ref/qemu-arm.help | 50 ++ cmdline_ref/qemu-armeb.cpu_help | 26 + cmdline_ref/qemu-armeb.help | 50 ++ cmdline_ref/qemu-hexagon.cpu_help | 13 + cmdline_ref/qemu-hexagon.help | 50 ++ cmdline_ref/qemu-hppa.cpu_help | 4 + cmdline_ref/qemu-hppa.help | 50 ++ cmdline_ref/qemu-i386.cpu_help | 259 ++++++++ cmdline_ref/qemu-i386.help | 50 ++ cmdline_ref/qemu-loongarch64.cpu_help | 4 + cmdline_ref/qemu-loongarch64.help | 50 ++ cmdline_ref/qemu-m68k.cpu_help | 11 + cmdline_ref/qemu-m68k.help | 50 ++ cmdline_ref/qemu-microblaze.cpu_help | 2 + cmdline_ref/qemu-microblaze.help | 50 ++ cmdline_ref/qemu-microblazeel.cpu_help | 2 + cmdline_ref/qemu-microblazeel.help | 50 ++ cmdline_ref/qemu-mips.cpu_help | 19 + cmdline_ref/qemu-mips.help | 50 ++ cmdline_ref/qemu-mips64.cpu_help | 35 ++ cmdline_ref/qemu-mips64.help | 50 ++ cmdline_ref/qemu-mips64el.cpu_help | 35 ++ cmdline_ref/qemu-mips64el.help | 50 ++ cmdline_ref/qemu-mipsel.cpu_help | 19 + cmdline_ref/qemu-mipsel.help | 50 ++ cmdline_ref/qemu-mipsn32.cpu_help | 35 ++ cmdline_ref/qemu-mipsn32.help | 50 ++ cmdline_ref/qemu-mipsn32el.cpu_help | 35 ++ cmdline_ref/qemu-mipsn32el.help | 50 ++ cmdline_ref/qemu-or1k.cpu_help | 3 + cmdline_ref/qemu-or1k.help | 50 ++ cmdline_ref/qemu-ppc.cpu_help | 432 +++++++++++++ cmdline_ref/qemu-ppc.help | 50 ++ cmdline_ref/qemu-ppc64.cpu_help | 464 ++++++++++++++ cmdline_ref/qemu-ppc64.help | 50 ++ cmdline_ref/qemu-ppc64le.cpu_help | 464 ++++++++++++++ cmdline_ref/qemu-ppc64le.help | 50 ++ cmdline_ref/qemu-riscv32.cpu_help | 9 + cmdline_ref/qemu-riscv32.help | 50 ++ cmdline_ref/qemu-riscv64.cpu_help | 20 + cmdline_ref/qemu-riscv64.help | 50 ++ cmdline_ref/qemu-s390x.cpu_help | 512 +++++++++++++++ cmdline_ref/qemu-s390x.help | 50 ++ cmdline_ref/qemu-sh4.cpu_help | 4 + cmdline_ref/qemu-sh4.help | 50 ++ cmdline_ref/qemu-sh4eb.cpu_help | 4 + cmdline_ref/qemu-sh4eb.help | 50 ++ cmdline_ref/qemu-sparc.cpu_help | 17 + cmdline_ref/qemu-sparc.help | 50 ++ cmdline_ref/qemu-sparc32plus.cpu_help | 21 + cmdline_ref/qemu-sparc32plus.help | 50 ++ cmdline_ref/qemu-sparc64.cpu_help | 21 + cmdline_ref/qemu-sparc64.help | 50 ++ cmdline_ref/qemu-system-aarch64.cpu_help | 40 ++ cmdline_ref/qemu-system-aarch64.device_help | 446 +++++++++++++ cmdline_ref/qemu-system-aarch64.help | 592 +++++++++++++++++ cmdline_ref/qemu-system-aarch64.machine_help | 114 ++++ cmdline_ref/qemu-system-alpha.cpu_help | 8 + cmdline_ref/qemu-system-alpha.device_help | 243 +++++++ cmdline_ref/qemu-system-alpha.help | 555 ++++++++++++++++ cmdline_ref/qemu-system-alpha.machine_help | 3 + cmdline_ref/qemu-system-arm.cpu_help | 26 + cmdline_ref/qemu-system-arm.device_help | 442 +++++++++++++ cmdline_ref/qemu-system-arm.help | 592 +++++++++++++++++ cmdline_ref/qemu-system-arm.machine_help | 96 +++ cmdline_ref/qemu-system-avr.cpu_help | 4 + cmdline_ref/qemu-system-avr.device_help | 5 + cmdline_ref/qemu-system-avr.help | 555 ++++++++++++++++ cmdline_ref/qemu-system-avr.machine_help | 10 + cmdline_ref/qemu-system-hexagon.cpu_help | 13 + cmdline_ref/qemu-system-hexagon.device_help | 53 ++ cmdline_ref/qemu-system-hexagon.help | 555 ++++++++++++++++ cmdline_ref/qemu-system-hexagon.machine_help | 4 + cmdline_ref/qemu-system-hppa.cpu_help | 4 + cmdline_ref/qemu-system-hppa.device_help | 238 +++++++ cmdline_ref/qemu-system-hppa.help | 555 ++++++++++++++++ cmdline_ref/qemu-system-hppa.machine_help | 6 + cmdline_ref/qemu-system-i386.cpu_help | 259 ++++++++ cmdline_ref/qemu-system-i386.device_help | 492 +++++++++++++++ cmdline_ref/qemu-system-i386.help | 595 ++++++++++++++++++ cmdline_ref/qemu-system-i386.machine_help | 42 ++ cmdline_ref/qemu-system-loongarch64.cpu_help | 4 + .../qemu-system-loongarch64.device_help | 247 ++++++++ cmdline_ref/qemu-system-loongarch64.help | 582 +++++++++++++++++ .../qemu-system-loongarch64.machine_help | 5 + cmdline_ref/qemu-system-m68k.cpu_help | 11 + cmdline_ref/qemu-system-m68k.device_help | 59 ++ cmdline_ref/qemu-system-m68k.help | 559 ++++++++++++++++ cmdline_ref/qemu-system-m68k.machine_help | 25 + cmdline_ref/qemu-system-microblaze.cpu_help | 2 + .../qemu-system-microblaze.device_help | 145 +++++ cmdline_ref/qemu-system-microblaze.help | 555 ++++++++++++++++ .../qemu-system-microblaze.machine_help | 5 + cmdline_ref/qemu-system-mips.cpu_help | 19 + cmdline_ref/qemu-system-mips.device_help | 244 +++++++ cmdline_ref/qemu-system-mips.help | 558 ++++++++++++++++ cmdline_ref/qemu-system-mips.machine_help | 3 + cmdline_ref/qemu-system-mips64.cpu_help | 35 ++ cmdline_ref/qemu-system-mips64.device_help | 244 +++++++ cmdline_ref/qemu-system-mips64.help | 558 ++++++++++++++++ cmdline_ref/qemu-system-mips64.machine_help | 5 + cmdline_ref/qemu-system-mips64el.cpu_help | 35 ++ cmdline_ref/qemu-system-mips64el.device_help | 262 ++++++++ cmdline_ref/qemu-system-mips64el.help | 558 ++++++++++++++++ cmdline_ref/qemu-system-mips64el.machine_help | 8 + cmdline_ref/qemu-system-mipsel.cpu_help | 19 + cmdline_ref/qemu-system-mipsel.device_help | 244 +++++++ cmdline_ref/qemu-system-mipsel.help | 558 ++++++++++++++++ cmdline_ref/qemu-system-mipsel.machine_help | 3 + cmdline_ref/qemu-system-or1k.cpu_help | 3 + cmdline_ref/qemu-system-or1k.device_help | 232 +++++++ cmdline_ref/qemu-system-or1k.help | 555 ++++++++++++++++ cmdline_ref/qemu-system-or1k.machine_help | 4 + cmdline_ref/qemu-system-ppc.cpu_help | 385 ++++++++++++ cmdline_ref/qemu-system-ppc.device_help | 271 ++++++++ cmdline_ref/qemu-system-ppc.help | 559 ++++++++++++++++ cmdline_ref/qemu-system-ppc.machine_help | 14 + cmdline_ref/qemu-system-ppc64.cpu_help | 417 ++++++++++++ cmdline_ref/qemu-system-ppc64.device_help | 447 +++++++++++++ cmdline_ref/qemu-system-ppc64.help | 559 ++++++++++++++++ cmdline_ref/qemu-system-ppc64.machine_help | 39 ++ cmdline_ref/qemu-system-riscv32.cpu_help | 9 + cmdline_ref/qemu-system-riscv32.device_help | 385 ++++++++++++ cmdline_ref/qemu-system-riscv32.help | 586 +++++++++++++++++ cmdline_ref/qemu-system-riscv32.machine_help | 8 + cmdline_ref/qemu-system-riscv64.cpu_help | 29 + cmdline_ref/qemu-system-riscv64.device_help | 388 ++++++++++++ cmdline_ref/qemu-system-riscv64.help | 586 +++++++++++++++++ cmdline_ref/qemu-system-riscv64.machine_help | 13 + cmdline_ref/qemu-system-rx.cpu_help | 2 + cmdline_ref/qemu-system-rx.device_help | 10 + cmdline_ref/qemu-system-rx.help | 555 ++++++++++++++++ cmdline_ref/qemu-system-rx.machine_help | 4 + cmdline_ref/qemu-system-s390x.cpu_help | 512 +++++++++++++++ cmdline_ref/qemu-system-s390x.device_help | 257 ++++++++ cmdline_ref/qemu-system-s390x.help | 556 ++++++++++++++++ cmdline_ref/qemu-system-s390x.machine_help | 21 + cmdline_ref/qemu-system-sh4.cpu_help | 4 + cmdline_ref/qemu-system-sh4.device_help | 240 +++++++ cmdline_ref/qemu-system-sh4.help | 555 ++++++++++++++++ cmdline_ref/qemu-system-sh4.machine_help | 3 + cmdline_ref/qemu-system-sh4eb.cpu_help | 4 + cmdline_ref/qemu-system-sh4eb.device_help | 240 +++++++ cmdline_ref/qemu-system-sh4eb.help | 555 ++++++++++++++++ cmdline_ref/qemu-system-sh4eb.machine_help | 3 + cmdline_ref/qemu-system-sparc.cpu_help | 17 + cmdline_ref/qemu-system-sparc.device_help | 12 + cmdline_ref/qemu-system-sparc.help | 558 ++++++++++++++++ cmdline_ref/qemu-system-sparc.machine_help | 12 + cmdline_ref/qemu-system-sparc64.cpu_help | 21 + cmdline_ref/qemu-system-sparc64.device_help | 244 +++++++ cmdline_ref/qemu-system-sparc64.help | 558 ++++++++++++++++ cmdline_ref/qemu-system-sparc64.machine_help | 5 + cmdline_ref/qemu-system-tricore.cpu_help | 5 + cmdline_ref/qemu-system-tricore.device_help | 5 + cmdline_ref/qemu-system-tricore.help | 555 ++++++++++++++++ cmdline_ref/qemu-system-tricore.machine_help | 4 + cmdline_ref/qemu-system-x86_64.cpu_help | 259 ++++++++ cmdline_ref/qemu-system-x86_64.device_help | 492 +++++++++++++++ cmdline_ref/qemu-system-x86_64.help | 595 ++++++++++++++++++ cmdline_ref/qemu-system-x86_64.machine_help | 42 ++ cmdline_ref/qemu-system-xtensa.cpu_help | 9 + cmdline_ref/qemu-system-xtensa.device_help | 226 +++++++ cmdline_ref/qemu-system-xtensa.help | 558 ++++++++++++++++ cmdline_ref/qemu-system-xtensa.machine_help | 12 + cmdline_ref/qemu-system-xtensaeb.cpu_help | 3 + cmdline_ref/qemu-system-xtensaeb.device_help | 226 +++++++ cmdline_ref/qemu-system-xtensaeb.help | 558 ++++++++++++++++ cmdline_ref/qemu-system-xtensaeb.machine_help | 12 + cmdline_ref/qemu-x86_64.cpu_help | 259 ++++++++ cmdline_ref/qemu-x86_64.help | 50 ++ cmdline_ref/qemu-xtensa.cpu_help | 9 + cmdline_ref/qemu-xtensa.help | 51 ++ cmdline_ref/qemu-xtensaeb.cpu_help | 3 + cmdline_ref/qemu-xtensaeb.help | 51 ++ cmdline_update_ref.sh | 49 ++ 183 files changed, 30605 insertions(+) create mode 100644 cmdline_ref/qemu-aarch64.cpu_help create mode 100644 cmdline_ref/qemu-aarch64.help create mode 100644 cmdline_ref/qemu-aarch64_be.cpu_help create mode 100644 cmdline_ref/qemu-aarch64_be.help create mode 100644 cmdline_ref/qemu-alpha.cpu_help create mode 100644 cmdline_ref/qemu-alpha.help create mode 100644 cmdline_ref/qemu-arm.cpu_help create mode 100644 cmdline_ref/qemu-arm.help create mode 100644 cmdline_ref/qemu-armeb.cpu_help create mode 100644 cmdline_ref/qemu-armeb.help create mode 100644 cmdline_ref/qemu-hexagon.cpu_help create mode 100644 cmdline_ref/qemu-hexagon.help create mode 100644 cmdline_ref/qemu-hppa.cpu_help create mode 100644 cmdline_ref/qemu-hppa.help create mode 100644 cmdline_ref/qemu-i386.cpu_help create mode 100644 cmdline_ref/qemu-i386.help create mode 100644 cmdline_ref/qemu-loongarch64.cpu_help create mode 100644 cmdline_ref/qemu-loongarch64.help create mode 100644 cmdline_ref/qemu-m68k.cpu_help create mode 100644 cmdline_ref/qemu-m68k.help create mode 100644 cmdline_ref/qemu-microblaze.cpu_help create mode 100644 cmdline_ref/qemu-microblaze.help create mode 100644 cmdline_ref/qemu-microblazeel.cpu_help create mode 100644 cmdline_ref/qemu-microblazeel.help create mode 100644 cmdline_ref/qemu-mips.cpu_help create mode 100644 cmdline_ref/qemu-mips.help create mode 100644 cmdline_ref/qemu-mips64.cpu_help create mode 100644 cmdline_ref/qemu-mips64.help create mode 100644 cmdline_ref/qemu-mips64el.cpu_help create mode 100644 cmdline_ref/qemu-mips64el.help create mode 100644 cmdline_ref/qemu-mipsel.cpu_help create mode 100644 cmdline_ref/qemu-mipsel.help create mode 100644 cmdline_ref/qemu-mipsn32.cpu_help create mode 100644 cmdline_ref/qemu-mipsn32.help create mode 100644 cmdline_ref/qemu-mipsn32el.cpu_help create mode 100644 cmdline_ref/qemu-mipsn32el.help create mode 100644 cmdline_ref/qemu-or1k.cpu_help create mode 100644 cmdline_ref/qemu-or1k.help create mode 100644 cmdline_ref/qemu-ppc.cpu_help create mode 100644 cmdline_ref/qemu-ppc.help create mode 100644 cmdline_ref/qemu-ppc64.cpu_help create mode 100644 cmdline_ref/qemu-ppc64.help create mode 100644 cmdline_ref/qemu-ppc64le.cpu_help create mode 100644 cmdline_ref/qemu-ppc64le.help create mode 100644 cmdline_ref/qemu-riscv32.cpu_help create mode 100644 cmdline_ref/qemu-riscv32.help create mode 100644 cmdline_ref/qemu-riscv64.cpu_help create mode 100644 cmdline_ref/qemu-riscv64.help create mode 100644 cmdline_ref/qemu-s390x.cpu_help create mode 100644 cmdline_ref/qemu-s390x.help create mode 100644 cmdline_ref/qemu-sh4.cpu_help create mode 100644 cmdline_ref/qemu-sh4.help create mode 100644 cmdline_ref/qemu-sh4eb.cpu_help create mode 100644 cmdline_ref/qemu-sh4eb.help create mode 100644 cmdline_ref/qemu-sparc.cpu_help create mode 100644 cmdline_ref/qemu-sparc.help create mode 100644 cmdline_ref/qemu-sparc32plus.cpu_help create mode 100644 cmdline_ref/qemu-sparc32plus.help create mode 100644 cmdline_ref/qemu-sparc64.cpu_help create mode 100644 cmdline_ref/qemu-sparc64.help create mode 100644 cmdline_ref/qemu-system-aarch64.cpu_help create mode 100644 cmdline_ref/qemu-system-aarch64.device_help create mode 100644 cmdline_ref/qemu-system-aarch64.help create mode 100644 cmdline_ref/qemu-system-aarch64.machine_help create mode 100644 cmdline_ref/qemu-system-alpha.cpu_help create mode 100644 cmdline_ref/qemu-system-alpha.device_help create mode 100644 cmdline_ref/qemu-system-alpha.help create mode 100644 cmdline_ref/qemu-system-alpha.machine_help create mode 100644 cmdline_ref/qemu-system-arm.cpu_help create mode 100644 cmdline_ref/qemu-system-arm.device_help create mode 100644 cmdline_ref/qemu-system-arm.help create mode 100644 cmdline_ref/qemu-system-arm.machine_help create mode 100644 cmdline_ref/qemu-system-avr.cpu_help create mode 100644 cmdline_ref/qemu-system-avr.device_help create mode 100644 cmdline_ref/qemu-system-avr.help create mode 100644 cmdline_ref/qemu-system-avr.machine_help create mode 100644 cmdline_ref/qemu-system-hexagon.cpu_help create mode 100644 cmdline_ref/qemu-system-hexagon.device_help create mode 100644 cmdline_ref/qemu-system-hexagon.help create mode 100644 cmdline_ref/qemu-system-hexagon.machine_help create mode 100644 cmdline_ref/qemu-system-hppa.cpu_help create mode 100644 cmdline_ref/qemu-system-hppa.device_help create mode 100644 cmdline_ref/qemu-system-hppa.help create mode 100644 cmdline_ref/qemu-system-hppa.machine_help create mode 100644 cmdline_ref/qemu-system-i386.cpu_help create mode 100644 cmdline_ref/qemu-system-i386.device_help create mode 100644 cmdline_ref/qemu-system-i386.help create mode 100644 cmdline_ref/qemu-system-i386.machine_help create mode 100644 cmdline_ref/qemu-system-loongarch64.cpu_help create mode 100644 cmdline_ref/qemu-system-loongarch64.device_help create mode 100644 cmdline_ref/qemu-system-loongarch64.help create mode 100644 cmdline_ref/qemu-system-loongarch64.machine_help create mode 100644 cmdline_ref/qemu-system-m68k.cpu_help create mode 100644 cmdline_ref/qemu-system-m68k.device_help create mode 100644 cmdline_ref/qemu-system-m68k.help create mode 100644 cmdline_ref/qemu-system-m68k.machine_help create mode 100644 cmdline_ref/qemu-system-microblaze.cpu_help create mode 100644 cmdline_ref/qemu-system-microblaze.device_help create mode 100644 cmdline_ref/qemu-system-microblaze.help create mode 100644 cmdline_ref/qemu-system-microblaze.machine_help create mode 100644 cmdline_ref/qemu-system-mips.cpu_help create mode 100644 cmdline_ref/qemu-system-mips.device_help create mode 100644 cmdline_ref/qemu-system-mips.help create mode 100644 cmdline_ref/qemu-system-mips.machine_help create mode 100644 cmdline_ref/qemu-system-mips64.cpu_help create mode 100644 cmdline_ref/qemu-system-mips64.device_help create mode 100644 cmdline_ref/qemu-system-mips64.help create mode 100644 cmdline_ref/qemu-system-mips64.machine_help create mode 100644 cmdline_ref/qemu-system-mips64el.cpu_help create mode 100644 cmdline_ref/qemu-system-mips64el.device_help create mode 100644 cmdline_ref/qemu-system-mips64el.help create mode 100644 cmdline_ref/qemu-system-mips64el.machine_help create mode 100644 cmdline_ref/qemu-system-mipsel.cpu_help create mode 100644 cmdline_ref/qemu-system-mipsel.device_help create mode 100644 cmdline_ref/qemu-system-mipsel.help create mode 100644 cmdline_ref/qemu-system-mipsel.machine_help create mode 100644 cmdline_ref/qemu-system-or1k.cpu_help create mode 100644 cmdline_ref/qemu-system-or1k.device_help create mode 100644 cmdline_ref/qemu-system-or1k.help create mode 100644 cmdline_ref/qemu-system-or1k.machine_help create mode 100644 cmdline_ref/qemu-system-ppc.cpu_help create mode 100644 cmdline_ref/qemu-system-ppc.device_help create mode 100644 cmdline_ref/qemu-system-ppc.help create mode 100644 cmdline_ref/qemu-system-ppc.machine_help create mode 100644 cmdline_ref/qemu-system-ppc64.cpu_help create mode 100644 cmdline_ref/qemu-system-ppc64.device_help create mode 100644 cmdline_ref/qemu-system-ppc64.help create mode 100644 cmdline_ref/qemu-system-ppc64.machine_help create mode 100644 cmdline_ref/qemu-system-riscv32.cpu_help create mode 100644 cmdline_ref/qemu-system-riscv32.device_help create mode 100644 cmdline_ref/qemu-system-riscv32.help create mode 100644 cmdline_ref/qemu-system-riscv32.machine_help create mode 100644 cmdline_ref/qemu-system-riscv64.cpu_help create mode 100644 cmdline_ref/qemu-system-riscv64.device_help create mode 100644 cmdline_ref/qemu-system-riscv64.help create mode 100644 cmdline_ref/qemu-system-riscv64.machine_help create mode 100644 cmdline_ref/qemu-system-rx.cpu_help create mode 100644 cmdline_ref/qemu-system-rx.device_help create mode 100644 cmdline_ref/qemu-system-rx.help create mode 100644 cmdline_ref/qemu-system-rx.machine_help create mode 100644 cmdline_ref/qemu-system-s390x.cpu_help create mode 100644 cmdline_ref/qemu-system-s390x.device_help create mode 100644 cmdline_ref/qemu-system-s390x.help create mode 100644 cmdline_ref/qemu-system-s390x.machine_help create mode 100644 cmdline_ref/qemu-system-sh4.cpu_help create mode 100644 cmdline_ref/qemu-system-sh4.device_help create mode 100644 cmdline_ref/qemu-system-sh4.help create mode 100644 cmdline_ref/qemu-system-sh4.machine_help create mode 100644 cmdline_ref/qemu-system-sh4eb.cpu_help create mode 100644 cmdline_ref/qemu-system-sh4eb.device_help create mode 100644 cmdline_ref/qemu-system-sh4eb.help create mode 100644 cmdline_ref/qemu-system-sh4eb.machine_help create mode 100644 cmdline_ref/qemu-system-sparc.cpu_help create mode 100644 cmdline_ref/qemu-system-sparc.device_help create mode 100644 cmdline_ref/qemu-system-sparc.help create mode 100644 cmdline_ref/qemu-system-sparc.machine_help create mode 100644 cmdline_ref/qemu-system-sparc64.cpu_help create mode 100644 cmdline_ref/qemu-system-sparc64.device_help create mode 100644 cmdline_ref/qemu-system-sparc64.help create mode 100644 cmdline_ref/qemu-system-sparc64.machine_help create mode 100644 cmdline_ref/qemu-system-tricore.cpu_help create mode 100644 cmdline_ref/qemu-system-tricore.device_help create mode 100644 cmdline_ref/qemu-system-tricore.help create mode 100644 cmdline_ref/qemu-system-tricore.machine_help create mode 100644 cmdline_ref/qemu-system-x86_64.cpu_help create mode 100644 cmdline_ref/qemu-system-x86_64.device_help create mode 100644 cmdline_ref/qemu-system-x86_64.help create mode 100644 cmdline_ref/qemu-system-x86_64.machine_help create mode 100644 cmdline_ref/qemu-system-xtensa.cpu_help create mode 100644 cmdline_ref/qemu-system-xtensa.device_help create mode 100644 cmdline_ref/qemu-system-xtensa.help create mode 100644 cmdline_ref/qemu-system-xtensa.machine_help create mode 100644 cmdline_ref/qemu-system-xtensaeb.cpu_help create mode 100644 cmdline_ref/qemu-system-xtensaeb.device_help create mode 100644 cmdline_ref/qemu-system-xtensaeb.help create mode 100644 cmdline_ref/qemu-system-xtensaeb.machine_help create mode 100644 cmdline_ref/qemu-x86_64.cpu_help create mode 100644 cmdline_ref/qemu-x86_64.help create mode 100644 cmdline_ref/qemu-xtensa.cpu_help create mode 100644 cmdline_ref/qemu-xtensa.help create mode 100644 cmdline_ref/qemu-xtensaeb.cpu_help create mode 100644 cmdline_ref/qemu-xtensaeb.help create mode 100755 cmdline_update_ref.sh diff --git a/cmdline_ref/qemu-aarch64.cpu_help b/cmdline_ref/qemu-aarch64.c= pu_help new file mode 100644 index 00000000000..ffc861f9ae0 --- /dev/null +++ b/cmdline_ref/qemu-aarch64.cpu_help @@ -0,0 +1,16 @@ +Available CPUs: + a64fx + cortex-a35 + cortex-a53 + cortex-a55 + cortex-a57 + cortex-a710 + cortex-a72 + cortex-a76 + cortex-a78ae + max + max-v8 + max-v9 + neoverse-n1 + neoverse-n2 + neoverse-v1 diff --git a/cmdline_ref/qemu-aarch64.help b/cmdline_ref/qemu-aarch64.help new file mode 100644 index 00000000000..cda5001ca5f --- /dev/null +++ b/cmdline_ref/qemu-aarch64.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for aarch64 emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-aarch64 +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-aarch64_be.cpu_help b/cmdline_ref/qemu-aarch6= 4_be.cpu_help new file mode 100644 index 00000000000..ffc861f9ae0 --- /dev/null +++ b/cmdline_ref/qemu-aarch64_be.cpu_help @@ -0,0 +1,16 @@ +Available CPUs: + a64fx + cortex-a35 + cortex-a53 + cortex-a55 + cortex-a57 + cortex-a710 + cortex-a72 + cortex-a76 + cortex-a78ae + max + max-v8 + max-v9 + neoverse-n1 + neoverse-n2 + neoverse-v1 diff --git a/cmdline_ref/qemu-aarch64_be.help b/cmdline_ref/qemu-aarch64_be= .help new file mode 100644 index 00000000000..1926d0ebf2f --- /dev/null +++ b/cmdline_ref/qemu-aarch64_be.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for aarch64_be emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-aarch64_be +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-alpha.cpu_help b/cmdline_ref/qemu-alpha.cpu_h= elp new file mode 100644 index 00000000000..f4f52f1dfea --- /dev/null +++ b/cmdline_ref/qemu-alpha.cpu_help @@ -0,0 +1,8 @@ +Available CPUs: + ev4 + ev5 + ev56 + ev6 + ev67 + ev68 + pca56 diff --git a/cmdline_ref/qemu-alpha.help b/cmdline_ref/qemu-alpha.help new file mode 100644 index 00000000000..83c4b59e8d5 --- /dev/null +++ b/cmdline_ref/qemu-alpha.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for alpha emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-alpha +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-arm.cpu_help b/cmdline_ref/qemu-arm.cpu_help new file mode 100644 index 00000000000..cf37d2a218a --- /dev/null +++ b/cmdline_ref/qemu-arm.cpu_help @@ -0,0 +1,26 @@ +Available CPUs: + arm1026 + arm1136 + arm1136-r2 + arm1176 + arm11mpcore + arm926 + arm946 + cortex-a15 + cortex-a7 + cortex-a8 + cortex-a9 + cortex-m0 + cortex-m3 + cortex-m33 + cortex-m4 + cortex-m55 + cortex-m7 + cortex-r5 + cortex-r52 + cortex-r5f + max + max-v8 + sa1100 + sa1110 + ti925t diff --git a/cmdline_ref/qemu-arm.help b/cmdline_ref/qemu-arm.help new file mode 100644 index 00000000000..7112ccd76ce --- /dev/null +++ b/cmdline_ref/qemu-arm.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for arm emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-arm +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-armeb.cpu_help b/cmdline_ref/qemu-armeb.cpu_h= elp new file mode 100644 index 00000000000..cf37d2a218a --- /dev/null +++ b/cmdline_ref/qemu-armeb.cpu_help @@ -0,0 +1,26 @@ +Available CPUs: + arm1026 + arm1136 + arm1136-r2 + arm1176 + arm11mpcore + arm926 + arm946 + cortex-a15 + cortex-a7 + cortex-a8 + cortex-a9 + cortex-m0 + cortex-m3 + cortex-m33 + cortex-m4 + cortex-m55 + cortex-m7 + cortex-r5 + cortex-r52 + cortex-r5f + max + max-v8 + sa1100 + sa1110 + ti925t diff --git a/cmdline_ref/qemu-armeb.help b/cmdline_ref/qemu-armeb.help new file mode 100644 index 00000000000..caaa09d627c --- /dev/null +++ b/cmdline_ref/qemu-armeb.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for armeb emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-armeb +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-hexagon.cpu_help b/cmdline_ref/qemu-hexagon.c= pu_help new file mode 100644 index 00000000000..0a2c9026214 --- /dev/null +++ b/cmdline_ref/qemu-hexagon.cpu_help @@ -0,0 +1,13 @@ +Available CPUs: + v5 + v55 + v60 + v61 + v62 + v65 + v66 + v67 + v68 + v69 + v71 + v73 diff --git a/cmdline_ref/qemu-hexagon.help b/cmdline_ref/qemu-hexagon.help new file mode 100644 index 00000000000..969108ff978 --- /dev/null +++ b/cmdline_ref/qemu-hexagon.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for hexagon emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-hexagon +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-hppa.cpu_help b/cmdline_ref/qemu-hppa.cpu_help new file mode 100644 index 00000000000..0a580804791 --- /dev/null +++ b/cmdline_ref/qemu-hppa.cpu_help @@ -0,0 +1,4 @@ +Available CPUs: + pa-7300lc + pa-8500 + pa-8700 diff --git a/cmdline_ref/qemu-hppa.help b/cmdline_ref/qemu-hppa.help new file mode 100644 index 00000000000..65cfaa03dd3 --- /dev/null +++ b/cmdline_ref/qemu-hppa.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for hppa emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-hppa +QEMU_STACK_SIZE =3D 83886080 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-i386.cpu_help b/cmdline_ref/qemu-i386.cpu_help new file mode 100644 index 00000000000..dec4823ad4c --- /dev/null +++ b/cmdline_ref/qemu-i386.cpu_help @@ -0,0 +1,259 @@ +Available CPUs: + 486 (alias configured by machine type) + 486-v1 + Broadwell (alias configured by machine type) + Broadwell-IBRS (alias of Broadwell-v3) + Broadwell-noTSX (alias of Broadwell-v2) + Broadwell-noTSX-IBRS (alias of Broadwell-v4) + Broadwell-v1 Intel Core Processor (Broadwell) + Broadwell-v2 Intel Core Processor (Broadwell, no TSX) + Broadwell-v3 Intel Core Processor (Broadwell, IBRS) + Broadwell-v4 Intel Core Processor (Broadwell, no TSX, IBRS) + Cascadelake-Server (alias configured by machine type) + Cascadelake-Server-noTSX (alias of Cascadelake-Server-v3) + Cascadelake-Server-v1 Intel Xeon Processor (Cascadelake) + Cascadelake-Server-v2 Intel Xeon Processor (Cascadelake) [ARCH_CAPABILI= TIES] + Cascadelake-Server-v3 Intel Xeon Processor (Cascadelake) [ARCH_CAPABILI= TIES, no TSX] + Cascadelake-Server-v4 Intel Xeon Processor (Cascadelake) [ARCH_CAPABILI= TIES, EPT switching, no TSX] + Cascadelake-Server-v5 Intel Xeon Processor (Cascadelake) [ARCH_CAPABILI= TIES, EPT switching, XSAVES, no TSX] + Cascadelake-Server-v6 Intel Xeon Processor (Cascadelake) [with MMIO/GDS= /RFDS mitigation status] + Cascadelake-Server-v7 Intel Xeon Processor (Cascadelake) [with MBEC ena= bled] + ClearwaterForest (alias configured by machine type) + ClearwaterForest-v1 Intel Xeon Processor (ClearwaterForest) + ClearwaterForest-v2 Intel Xeon Processor (ClearwaterForest) [with cet-= ss and cet-ibt] + ClearwaterForest-v3 Intel Xeon Processor (ClearwaterForest) [with its-= no, cwf-ap cache model and 0x1f leaf] + ClearwaterForest-v4 Intel Xeon Processor (ClearwaterForest) [with MBEC= enabled] + Conroe (alias configured by machine type) + Conroe-v1 Intel Celeron_4x0 (Conroe/Merom Class Core 2) + Cooperlake (alias configured by machine type) + Cooperlake-v1 Intel Xeon Processor (Cooperlake) + Cooperlake-v2 Intel Xeon Processor (Cooperlake) [XSAVES] + Denverton (alias configured by machine type) + Denverton-v1 Intel Atom Processor (Denverton) + Denverton-v2 Intel Atom Processor (Denverton) [no MPX, no MONIT= OR] + Denverton-v3 Intel Atom Processor (Denverton) [XSAVES, no MPX, = no MONITOR] + Dhyana (alias configured by machine type) + Dhyana-v1 Hygon Dhyana Processor + Dhyana-v2 Hygon Dhyana Processor [XSAVES] + DiamondRapids (alias configured by machine type) + DiamondRapids-v1 Intel Xeon Processor (DiamondRapids) + DiamondRapids-v2 Intel Xeon Processor (DiamondRapids) [with MBEC en= abled] + EPYC (alias configured by machine type) + EPYC-Genoa (alias configured by machine type) + EPYC-Genoa-v1 AMD EPYC-Genoa Processor + EPYC-Genoa-v2 AMD EPYC-Genoa-v2 Processor + EPYC-Genoa-v3 AMD EPYC-Genoa-v3 Processor + EPYC-IBPB (alias of EPYC-v2) + EPYC-Milan (alias configured by machine type) + EPYC-Milan-v1 AMD EPYC-Milan Processor + EPYC-Milan-v2 AMD EPYC-Milan-v2 Processor + EPYC-Milan-v3 AMD EPYC-Milan-v3 Processor + EPYC-Milan-v4 AMD EPYC-Milan-v4 Processor + EPYC-Rome (alias configured by machine type) + EPYC-Rome-v1 AMD EPYC-Rome Processor + EPYC-Rome-v2 AMD EPYC-Rome Processor + EPYC-Rome-v3 AMD EPYC-Rome-v3 Processor + EPYC-Rome-v4 AMD EPYC-Rome-v4 Processor (no XSAVES) + EPYC-Rome-v5 AMD EPYC-Rome-v5 Processor + EPYC-Turin (alias configured by machine type) + EPYC-Turin-v1 AMD EPYC-Turin Processor + EPYC-Turin-v2 AMD EPYC-Turin-v2 Processor + EPYC-v1 AMD EPYC Processor + EPYC-v2 AMD EPYC Processor (with IBPB) + EPYC-v3 AMD EPYC Processor + EPYC-v4 AMD EPYC-v4 Processor + EPYC-v5 AMD EPYC-v5 Processor + GraniteRapids (alias configured by machine type) + GraniteRapids-v1 Intel Xeon Processor (GraniteRapids) + GraniteRapids-v2 Intel Xeon Processor (GraniteRapids) + GraniteRapids-v3 Intel Xeon Processor (GraniteRapids) [with gnr-sp = cache model and 0x1f leaf] + GraniteRapids-v4 Intel Xeon Processor (GraniteRapids) [with cet-ss = and cet-ibt] + GraniteRapids-v5 Intel Xeon Processor (GraniteRapids) [with its-no] + GraniteRapids-v6 Intel Xeon Processor (GraniteRapids) [with GDS and= RFDS mitigation status] + GraniteRapids-v7 Intel Xeon Processor (GraniteRapids) [with MBEC en= abled] + Haswell (alias configured by machine type) + Haswell-IBRS (alias of Haswell-v3) + Haswell-noTSX (alias of Haswell-v2) + Haswell-noTSX-IBRS (alias of Haswell-v4) + Haswell-v1 Intel Core Processor (Haswell) + Haswell-v2 Intel Core Processor (Haswell, no TSX) + Haswell-v3 Intel Core Processor (Haswell, IBRS) + Haswell-v4 Intel Core Processor (Haswell, no TSX, IBRS) + Icelake-Server (alias configured by machine type) + Icelake-Server-noTSX (alias of Icelake-Server-v2) + Icelake-Server-v1 Intel Xeon Processor (Icelake) + Icelake-Server-v2 Intel Xeon Processor (Icelake) [no TSX] + Icelake-Server-v3 Intel Xeon Processor (Icelake) + Icelake-Server-v4 Intel Xeon Processor (Icelake) + Icelake-Server-v5 Intel Xeon Processor (Icelake) [XSAVES] + Icelake-Server-v6 Intel Xeon Processor (Icelake) [5-level EPT] + Icelake-Server-v7 Intel Xeon Processor (Icelake) [TSX, taa-no] + Icelake-Server-v8 Intel Xeon Processor (Icelake) [with MMIO/GDS/RFDS= mitigation status] + Icelake-Server-v9 Intel Xeon Processor (Icelake) [with MBEC enabled] + IvyBridge (alias configured by machine type) + IvyBridge-IBRS (alias of IvyBridge-v2) + IvyBridge-v1 Intel Xeon E3-12xx v2 (Ivy Bridge) + IvyBridge-v2 Intel Xeon E3-12xx v2 (Ivy Bridge, IBRS) + KnightsMill (alias configured by machine type) + KnightsMill-v1 Intel Xeon Phi Processor (Knights Mill) + Nehalem (alias configured by machine type) + Nehalem-IBRS (alias of Nehalem-v2) + Nehalem-v1 Intel Core i7 9xx (Nehalem Class Core i7) + Nehalem-v2 Intel Core i7 9xx (Nehalem Core i7, IBRS update) + Opteron_G1 (alias configured by machine type) + Opteron_G1-v1 AMD Opteron 240 (Gen 1 Class Opteron) + Opteron_G2 (alias configured by machine type) + Opteron_G2-v1 AMD Opteron 22xx (Gen 2 Class Opteron) + Opteron_G3 (alias configured by machine type) + Opteron_G3-v1 AMD Opteron 23xx (Gen 3 Class Opteron) + Opteron_G4 (alias configured by machine type) + Opteron_G4-v1 AMD Opteron 62xx class CPU + Opteron_G5 (alias configured by machine type) + Opteron_G5-v1 AMD Opteron 63xx class CPU + Penryn (alias configured by machine type) + Penryn-v1 Intel Core 2 Duo P9xxx (Penryn Class Core 2) + SandyBridge (alias configured by machine type) + SandyBridge-IBRS (alias of SandyBridge-v2) + SandyBridge-v1 Intel Xeon E312xx (Sandy Bridge) + SandyBridge-v2 Intel Xeon E312xx (Sandy Bridge, IBRS update) + SapphireRapids (alias configured by machine type) + SapphireRapids-v1 Intel Xeon Processor (SapphireRapids) + SapphireRapids-v2 Intel Xeon Processor (SapphireRapids) + SapphireRapids-v3 Intel Xeon Processor (SapphireRapids) + SapphireRapids-v4 Intel Xeon Processor (SapphireRapids) [with spr-sp= cache model and 0x1f leaf] + SapphireRapids-v5 Intel Xeon Processor (SapphireRapids) [with cet-ss= and cet-ibt] + SapphireRapids-v6 Intel Xeon Processor (SapphireRapids) [with its-no] + SapphireRapids-v7 Intel Xeon Processor (SapphireRapids) [with GDS an= d RFDS mitigation status] + SapphireRapids-v8 Intel Xeon Processor (SapphireRapids) [with MBEC e= nabled] + SierraForest (alias configured by machine type) + SierraForest-v1 Intel Xeon Processor (SierraForest) + SierraForest-v2 Intel Xeon Processor (SierraForest) + SierraForest-v3 Intel Xeon Processor (SierraForest) [with srf-sp c= ache model and 0x1f leaf] + SierraForest-v4 Intel Xeon Processor (SierraForest) [with cet-ss a= nd cet-ibt] + SierraForest-v5 Intel Xeon Processor (SierraForest) [with its-no] + SierraForest-v6 Intel Xeon Processor (SierraForest) [with MBEC ena= bled] + Skylake-Client (alias configured by machine type) + Skylake-Client-IBRS (alias of Skylake-Client-v2) + Skylake-Client-noTSX-IBRS (alias of Skylake-Client-v3) + Skylake-Client-v1 Intel Core Processor (Skylake) + Skylake-Client-v2 Intel Core Processor (Skylake, IBRS) + Skylake-Client-v3 Intel Core Processor (Skylake, IBRS, no TSX) + Skylake-Client-v4 Intel Core Processor (Skylake, IBRS, no TSX) [IBRS= , XSAVES, no TSX] + Skylake-Server (alias configured by machine type) + Skylake-Server-IBRS (alias of Skylake-Server-v2) + Skylake-Server-noTSX-IBRS (alias of Skylake-Server-v3) + Skylake-Server-v1 Intel Xeon Processor (Skylake) + Skylake-Server-v2 Intel Xeon Processor (Skylake, IBRS) + Skylake-Server-v3 Intel Xeon Processor (Skylake, IBRS, no TSX) + Skylake-Server-v4 Intel Xeon Processor (Skylake, IBRS, no TSX) [IBRS= , EPT switching, no TSX] + Skylake-Server-v5 Intel Xeon Processor (Skylake, IBRS, no TSX) [IBRS= , XSAVES, EPT switching, no TSX] + Skylake-Server-v6 Intel Xeon Processor (Skylake, IBRS, no TSX) [with= MBEC enabled] + Snowridge (alias configured by machine type) + Snowridge-v1 Intel Atom Processor (SnowRidge) + Snowridge-v2 Intel Atom Processor (Snowridge, no MPX) + Snowridge-v3 Intel Atom Processor (Snowridge, no MPX) [XSAVES, = no MPX] + Snowridge-v4 Intel Atom Processor (Snowridge, no MPX) [no split= lock detect, no core-capability] + Westmere (alias configured by machine type) + Westmere-IBRS (alias of Westmere-v2) + Westmere-v1 Westmere E56xx/L56xx/X56xx (Nehalem-C) + Westmere-v2 Westmere E56xx/L56xx/X56xx (IBRS update) + YongFeng (alias configured by machine type) + YongFeng-v1 Zhaoxin YongFeng Processor + YongFeng-v2 Zhaoxin YongFeng Processor [with the correct model= number] + YongFeng-v3 Zhaoxin YongFeng Processor [with the cache model a= nd 0x1f leaf] + athlon (alias configured by machine type) + athlon-v1 QEMU Virtual CPU version 2.5+ + core2duo (alias configured by machine type) + core2duo-v1 Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz + coreduo (alias configured by machine type) + coreduo-v1 Genuine Intel(R) CPU T2600 @ 2.16GHz + kvm32 (alias configured by machine type) + kvm32-v1 Common 32-bit KVM processor + kvm64 (alias configured by machine type) + kvm64-v1 Common KVM processor + n270 (alias configured by machine type) + n270-v1 Intel(R) Atom(TM) CPU N270 @ 1.60GHz + pentium (alias configured by machine type) + pentium-v1 + pentium2 (alias configured by machine type) + pentium2-v1 + pentium3 (alias configured by machine type) + pentium3-v1 + phenom (alias configured by machine type) + phenom-v1 AMD Phenom(tm) 9550 Quad-Core Processor + qemu32 (alias configured by machine type) + qemu32-v1 QEMU Virtual CPU version 2.5+ + qemu64 (alias configured by machine type) + qemu64-v1 QEMU Virtual CPU version 2.5+ + base base CPU model type with no features enabled + max Enables all features supported by the accelerator = in the current host + +Recognized CPUID flags: + 3dnow 3dnowext 3dnowprefetch abm ace2 ace2-en acpi adx aes amd-no-ssb + amd-psfd amd-ssbd amd-stibp amx-avx512 amx-bf16 amx-bf16-alias + amx-complex amx-complex-alias amx-fp16 amx-fp16-alias amx-fp8 amx-int8 + amx-int8-alias amx-movrs amx-tf32 amx-tile apic apx-nci-ndd-nf apxf arat + arch-capabilities arch-lbr auto-ibrs avic avx avx-ifma avx-ne-convert + avx-vnni avx-vnni-int16 avx-vnni-int8 avx10 avx10-128 avx10-256 avx10-512 + avx10-vnni-int avx2 avx512-4fmaps avx512-4vnniw avx512-bf16 avx512-fp16 + avx512-vp2intersect avx512-vpopcntdq avx512bitalg avx512bw avx512cd + avx512dq avx512er avx512f avx512ifma avx512pf avx512vbmi avx512vbmi2 + avx512vl avx512vnni bhi-ctrl bhi-no bmi1 bmi2 bus-lock-detect cet-ibt + cet-ss cid cldemote clflush clflushopt clwb clzero cmov cmp-legacy + cmpccxadd core-capability cr8legacy cx16 cx8 dca ddpd-u de decodeassists + ds ds-cpl dtes64 eraps erms est extapic f16c fb-clear fbsdp-no + fdp-excptn-only flush-l1d flushbyasid fma fma4 fpu fred fs-gs-base-ns + fsgsbase fsrc fsrm fsrs full-width-write fxsr fxsr-opt fzrm gds-no gfni + gmet hle ht hypervisor ia64 ibpb ibpb-brtype ibrs ibrs-all ibs intel-psfd + intel-pt intel-pt-lip invpcid invtsc ipred-ctrl its-no kvm-asyncpf + kvm-asyncpf-int kvm-asyncpf-vmexit kvm-hint-dedicated kvm-mmu + kvm-msi-ext-dest-id kvm-nopiodelay kvm-poll-control kvm-pv-eoi kvm-pv-ipi + kvm-pv-sched-yield kvm-pv-tlb-flush kvm-pv-unhalt kvm-steal-time kvmclock + kvmclock kvmclock-stable-bit la57 lahf-lm lam lbrv + lfence-always-serializing lkgs lm lwp mca mcdt-no mce md-clear mds-no + misalignsse mmx mmxext monitor movbe movdir64b movdiri movrs mpx msr + msr-imm mtrr no-nested-data-bp nodeid-msr npt nrip-save null-sel-clr-base + nx osvw overflow-recov pae pat pause-filter pbe pbrsb-no pcid pclmulqdq + pcommit pdcm pdpe1gb perfctr-core perfctr-nb perfmon-v2 pfthreshold pge + phe phe-en pks pku pmm pmm-en pn pni popcnt prefetchi prefetchiti + pschange-mc-no psdp-no pse pse36 rdctl-no rdpid rdrand rdseed rdtscp + rfds-clear rfds-no rrsba-ctrl rsba rtm sbdr-ssdp-no sbpb sep serialize + sgx sgx-aex-notify sgx-debug sgx-edeccssa sgx-exinfo sgx-kss sgx-mode64 + sgx-provisionkey sgx-tokenkey sgx1 sgx2 sgxlc sha-ni sha512 skinit + skip-l1dfl-vmentry sm3 sm4 smap smep smx spec-ctrl split-lock-detect + srso-no srso-user-kernel-no ss ssb-no ssbd sse sse2 sse4.1 sse4.2 sse4a + ssse3 stibp stibp-always-on succor svm svm-lock svme-addr-chk syscall + taa-no tbm tce tm tm2 topoext tsa-l1-no tsa-sq-no tsc tsc-adjust + tsc-deadline tsc-scale tsx-ctrl tsx-ldtrk umip v-vmsave-vmload vaes + verw-clear vgif virt-ssbd vmcb-clean vme vmx vmx-activity-hlt + vmx-activity-shutdown vmx-activity-wait-sipi vmx-any-errcode + vmx-apicv-register vmx-apicv-vid vmx-apicv-x2apic vmx-apicv-xapic + vmx-cr3-load-noexit vmx-cr3-store-noexit vmx-cr8-load-exit + vmx-cr8-store-exit vmx-desc-exit vmx-enable-user-wait-pause + vmx-encls-exit vmx-entry-ia32e-mode vmx-entry-load-bndcfgs + vmx-entry-load-cet vmx-entry-load-efer vmx-entry-load-fred + vmx-entry-load-pat vmx-entry-load-perf-global-ctrl vmx-entry-load-pkrs + vmx-entry-load-rtit-ctl vmx-entry-noload-debugctl vmx-ept vmx-ept-1gb + vmx-ept-2mb vmx-ept-advanced-exitinfo vmx-ept-execonly vmx-eptad + vmx-eptp-switching vmx-exit-ack-intr vmx-exit-clear-bndcfgs + vmx-exit-clear-rtit-ctl vmx-exit-load-efer vmx-exit-load-pat + vmx-exit-load-perf-global-ctrl vmx-exit-load-pkrs + vmx-exit-nosave-debugctl vmx-exit-save-cet vmx-exit-save-efer + vmx-exit-save-pat vmx-exit-save-preemption-timer vmx-exit-secondary-ctls + vmx-flexpriority vmx-hlt-exit vmx-ins-outs vmx-intr-exit vmx-invept + vmx-invept-all-context vmx-invept-single-context + vmx-invept-single-context vmx-invept-single-context-noglobals + vmx-invlpg-exit vmx-invpcid-exit vmx-invvpid vmx-invvpid-all-context + vmx-invvpid-single-addr vmx-io-bitmap vmx-io-exit vmx-mbec + vmx-monitor-exit vmx-movdr-exit vmx-msr-bitmap vmx-mtf vmx-mwait-exit + vmx-nested-exception vmx-nmi-exit vmx-page-walk-4 vmx-page-walk-5 + vmx-pause-exit vmx-ple vmx-pml vmx-posted-intr vmx-preemption-timer + vmx-rdpmc-exit vmx-rdrand-exit vmx-rdseed-exit vmx-rdtsc-exit + vmx-rdtscp-exit vmx-secondary-ctls vmx-shadow-vmcs vmx-store-lma + vmx-true-ctls vmx-tsc-offset vmx-tsc-scaling vmx-unrestricted-guest + vmx-vintr-pending vmx-vmfunc vmx-vmwrite-vmexit-fields vmx-vnmi + vmx-vnmi-pending vmx-vpid vmx-wbinvd-exit vmx-xsaves vmx-zero-len-inject + vnmi vpclmulqdq waitpkg wbnoinvd wdt wrmsrns x2apic xcrypt xcrypt-en xfd + xgetbv1 xop xsave xsavec xsaveerptr xsaveopt xsaves xstore xstore-en xtpr + zero-fcs-fds + diff --git a/cmdline_ref/qemu-i386.help b/cmdline_ref/qemu-i386.help new file mode 100644 index 00000000000..d75f9d73448 --- /dev/null +++ b/cmdline_ref/qemu-i386.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for i386 emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-i386 +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-loongarch64.cpu_help b/cmdline_ref/qemu-loong= arch64.cpu_help new file mode 100644 index 00000000000..d8add7602e0 --- /dev/null +++ b/cmdline_ref/qemu-loongarch64.cpu_help @@ -0,0 +1,4 @@ +Available CPUs: + la132 + la464 + max diff --git a/cmdline_ref/qemu-loongarch64.help b/cmdline_ref/qemu-loongarch= 64.help new file mode 100644 index 00000000000..8d5a7c2f56f --- /dev/null +++ b/cmdline_ref/qemu-loongarch64.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for loongarch64 emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-loongarch64 +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-m68k.cpu_help b/cmdline_ref/qemu-m68k.cpu_help new file mode 100644 index 00000000000..51090d8e5bb --- /dev/null +++ b/cmdline_ref/qemu-m68k.cpu_help @@ -0,0 +1,11 @@ +Available CPUs: + any + cfv4e + m5206 + m5208 + m68000 + m68010 + m68020 + m68030 + m68040 + m68060 diff --git a/cmdline_ref/qemu-m68k.help b/cmdline_ref/qemu-m68k.help new file mode 100644 index 00000000000..008c83ca9da --- /dev/null +++ b/cmdline_ref/qemu-m68k.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for m68k emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-m68k +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-microblaze.cpu_help b/cmdline_ref/qemu-microb= laze.cpu_help new file mode 100644 index 00000000000..bc5fe7f3b60 --- /dev/null +++ b/cmdline_ref/qemu-microblaze.cpu_help @@ -0,0 +1,2 @@ +Available CPUs: + microblaze-cpu diff --git a/cmdline_ref/qemu-microblaze.help b/cmdline_ref/qemu-microblaze= .help new file mode 100644 index 00000000000..571032189f0 --- /dev/null +++ b/cmdline_ref/qemu-microblaze.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for microblaze emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-microblaze +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-microblazeel.cpu_help b/cmdline_ref/qemu-micr= oblazeel.cpu_help new file mode 100644 index 00000000000..bc5fe7f3b60 --- /dev/null +++ b/cmdline_ref/qemu-microblazeel.cpu_help @@ -0,0 +1,2 @@ +Available CPUs: + microblaze-cpu diff --git a/cmdline_ref/qemu-microblazeel.help b/cmdline_ref/qemu-microbla= zeel.help new file mode 100644 index 00000000000..68dde33c37f --- /dev/null +++ b/cmdline_ref/qemu-microblazeel.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for microblazeel emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-microblazeel +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-mips.cpu_help b/cmdline_ref/qemu-mips.cpu_help new file mode 100644 index 00000000000..f674f83d4c4 --- /dev/null +++ b/cmdline_ref/qemu-mips.cpu_help @@ -0,0 +1,19 @@ +Available CPUs: + 24Kc + 24KEc + 24Kf + 34Kf + 4Kc + 4KEc + 4KEcR1 + 4KEm + 4KEmR1 + 4Km + 74Kf + I7200 + M14K + M14Kc + mips32r6-generic + P5600 + XBurstR1 + XBurstR2 diff --git a/cmdline_ref/qemu-mips.help b/cmdline_ref/qemu-mips.help new file mode 100644 index 00000000000..292b3ed892d --- /dev/null +++ b/cmdline_ref/qemu-mips.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for mips emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-mips +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-mips64.cpu_help b/cmdline_ref/qemu-mips64.cpu= _help new file mode 100644 index 00000000000..fa6f63c740b --- /dev/null +++ b/cmdline_ref/qemu-mips64.cpu_help @@ -0,0 +1,35 @@ +Available CPUs: + 20Kc + 24Kc + 24KEc + 24Kf + 34Kf + 4Kc + 4KEc + 4KEcR1 + 4KEm + 4KEmR1 + 4Km + 5Kc + 5KEc + 5KEf + 5Kf + 74Kf + I6400 + I6500 + I7200 + Loongson-2E + Loongson-2F + Loongson-3A1000 + Loongson-3A4000 + M14K + M14Kc + mips32r6-generic + mips64dspr2 + MIPS64R2-generic + Octeon68XX + P5600 + R4000 + VR5432 + XBurstR1 + XBurstR2 diff --git a/cmdline_ref/qemu-mips64.help b/cmdline_ref/qemu-mips64.help new file mode 100644 index 00000000000..6e88a50f31a --- /dev/null +++ b/cmdline_ref/qemu-mips64.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for mips64 emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-mips64 +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-mips64el.cpu_help b/cmdline_ref/qemu-mips64el= .cpu_help new file mode 100644 index 00000000000..fa6f63c740b --- /dev/null +++ b/cmdline_ref/qemu-mips64el.cpu_help @@ -0,0 +1,35 @@ +Available CPUs: + 20Kc + 24Kc + 24KEc + 24Kf + 34Kf + 4Kc + 4KEc + 4KEcR1 + 4KEm + 4KEmR1 + 4Km + 5Kc + 5KEc + 5KEf + 5Kf + 74Kf + I6400 + I6500 + I7200 + Loongson-2E + Loongson-2F + Loongson-3A1000 + Loongson-3A4000 + M14K + M14Kc + mips32r6-generic + mips64dspr2 + MIPS64R2-generic + Octeon68XX + P5600 + R4000 + VR5432 + XBurstR1 + XBurstR2 diff --git a/cmdline_ref/qemu-mips64el.help b/cmdline_ref/qemu-mips64el.help new file mode 100644 index 00000000000..bed8adaabf4 --- /dev/null +++ b/cmdline_ref/qemu-mips64el.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for mips64el emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-mips64el +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-mipsel.cpu_help b/cmdline_ref/qemu-mipsel.cpu= _help new file mode 100644 index 00000000000..f674f83d4c4 --- /dev/null +++ b/cmdline_ref/qemu-mipsel.cpu_help @@ -0,0 +1,19 @@ +Available CPUs: + 24Kc + 24KEc + 24Kf + 34Kf + 4Kc + 4KEc + 4KEcR1 + 4KEm + 4KEmR1 + 4Km + 74Kf + I7200 + M14K + M14Kc + mips32r6-generic + P5600 + XBurstR1 + XBurstR2 diff --git a/cmdline_ref/qemu-mipsel.help b/cmdline_ref/qemu-mipsel.help new file mode 100644 index 00000000000..cbea72ae48b --- /dev/null +++ b/cmdline_ref/qemu-mipsel.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for mipsel emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-mipsel +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-mipsn32.cpu_help b/cmdline_ref/qemu-mipsn32.c= pu_help new file mode 100644 index 00000000000..fa6f63c740b --- /dev/null +++ b/cmdline_ref/qemu-mipsn32.cpu_help @@ -0,0 +1,35 @@ +Available CPUs: + 20Kc + 24Kc + 24KEc + 24Kf + 34Kf + 4Kc + 4KEc + 4KEcR1 + 4KEm + 4KEmR1 + 4Km + 5Kc + 5KEc + 5KEf + 5Kf + 74Kf + I6400 + I6500 + I7200 + Loongson-2E + Loongson-2F + Loongson-3A1000 + Loongson-3A4000 + M14K + M14Kc + mips32r6-generic + mips64dspr2 + MIPS64R2-generic + Octeon68XX + P5600 + R4000 + VR5432 + XBurstR1 + XBurstR2 diff --git a/cmdline_ref/qemu-mipsn32.help b/cmdline_ref/qemu-mipsn32.help new file mode 100644 index 00000000000..65fed962428 --- /dev/null +++ b/cmdline_ref/qemu-mipsn32.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for mipsn32 emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-mipsn32 +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-mipsn32el.cpu_help b/cmdline_ref/qemu-mipsn32= el.cpu_help new file mode 100644 index 00000000000..fa6f63c740b --- /dev/null +++ b/cmdline_ref/qemu-mipsn32el.cpu_help @@ -0,0 +1,35 @@ +Available CPUs: + 20Kc + 24Kc + 24KEc + 24Kf + 34Kf + 4Kc + 4KEc + 4KEcR1 + 4KEm + 4KEmR1 + 4Km + 5Kc + 5KEc + 5KEf + 5Kf + 74Kf + I6400 + I6500 + I7200 + Loongson-2E + Loongson-2F + Loongson-3A1000 + Loongson-3A4000 + M14K + M14Kc + mips32r6-generic + mips64dspr2 + MIPS64R2-generic + Octeon68XX + P5600 + R4000 + VR5432 + XBurstR1 + XBurstR2 diff --git a/cmdline_ref/qemu-mipsn32el.help b/cmdline_ref/qemu-mipsn32el.h= elp new file mode 100644 index 00000000000..a5fa868865c --- /dev/null +++ b/cmdline_ref/qemu-mipsn32el.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for mipsn32el emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-mipsn32el +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-or1k.cpu_help b/cmdline_ref/qemu-or1k.cpu_help new file mode 100644 index 00000000000..ccbd89b40a5 --- /dev/null +++ b/cmdline_ref/qemu-or1k.cpu_help @@ -0,0 +1,3 @@ +Available CPUs: + any + or1200 diff --git a/cmdline_ref/qemu-or1k.help b/cmdline_ref/qemu-or1k.help new file mode 100644 index 00000000000..1c4fc3ef739 --- /dev/null +++ b/cmdline_ref/qemu-or1k.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for or1k emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-or1k +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-ppc.cpu_help b/cmdline_ref/qemu-ppc.cpu_help new file mode 100644 index 00000000000..83174b9c2da --- /dev/null +++ b/cmdline_ref/qemu-ppc.cpu_help @@ -0,0 +1,432 @@ +Available CPUs: + mpc5xx PVR 00020020 + rcpu (alias for mpc5xx) + mgt560 (alias for mpc5xx) + mpc509 (alias for mpc5xx) + mpc533 (alias for mpc5xx) + mpc534 (alias for mpc5xx) + mpc555 (alias for mpc5xx) + mpc556 (alias for mpc5xx) + mpc560 (alias for mpc5xx) + mpc561 (alias for mpc5xx) + mpc562 (alias for mpc5xx) + mpc563 (alias for mpc5xx) + mpc564 (alias for mpc5xx) + mpc565 (alias for mpc5xx) + mpc566 (alias for mpc5xx) + 603 PVR 00030100 + mpc8240 (alias for 603) + vanilla (alias for 603) + 604 PVR 00040103 + ppc32 (alias for 604) + ppc (alias for 604) + 603e_v1.1 PVR 00060101 + 603e_v1.2 PVR 00060102 + 603e_v1.3 PVR 00060103 + 603e_v1.4 PVR 00060104 + 603e_v2.2 PVR 00060202 + 603e_v3 PVR 00060300 + 603e_v4 PVR 00060400 + 603e_v4.1 PVR 00060401 + 603e (alias for 603e_v4.1) + stretch (alias for 603e_v4.1) + 603p PVR 00070000 + 603e7v PVR 00070100 + vaillant (alias for 603e7v) + 603e7v1 PVR 00070101 + 603e7 PVR 00070200 + 603e7v2 PVR 00070201 + 603e7t PVR 00071201 + 603r (alias for 603e7t) + goldeneye (alias for 603e7t) + 740_v1.0 PVR 00080100 + 740e PVR 00080100 + 750_v1.0 PVR 00080100 + 740_v2.0 PVR 00080200 + 750_v2.0 PVR 00080200 + 750e PVR 00080200 + 740_v2.1 PVR 00080201 + 750_v2.1 PVR 00080201 + 740_v2.2 PVR 00080202 + 750_v2.2 PVR 00080202 + 740_v3.0 PVR 00080300 + 750_v3.0 PVR 00080300 + 740_v3.1 PVR 00080301 + 740 (alias for 740_v3.1) + arthur (alias for 740_v3.1) + 750_v3.1 PVR 00080301 + 750 (alias for 750_v3.1) + typhoon (alias for 750_v3.1) + g3 (alias for 750_v3.1) + 750cx_v1.0 PVR 00082100 + 750cx_v2.0 PVR 00082200 + 750cx_v2.1 PVR 00082201 + 750cx_v2.2 PVR 00082202 + 750cx (alias for 750cx_v2.2) + 750cxe_v2.1 PVR 00082211 + 750cxe_v2.2 PVR 00082212 + 750cxe_v2.3 PVR 00082213 + 750cxe_v2.4 PVR 00082214 + 750cxe_v3.0 PVR 00082310 + 750cxe_v3.1 PVR 00082311 + 745_v1.0 PVR 00083100 + 755_v1.0 PVR 00083100 + 745_v1.1 PVR 00083101 + 755_v1.1 PVR 00083101 + 745_v2.0 PVR 00083200 + 755_v2.0 PVR 00083200 + 745_v2.1 PVR 00083201 + 755_v2.1 PVR 00083201 + 745_v2.2 PVR 00083202 + 755_v2.2 PVR 00083202 + 745_v2.3 PVR 00083203 + 755_v2.3 PVR 00083203 + 745_v2.4 PVR 00083204 + 755_v2.4 PVR 00083204 + 745_v2.5 PVR 00083205 + 755_v2.5 PVR 00083205 + 745_v2.6 PVR 00083206 + 755_v2.6 PVR 00083206 + 745_v2.7 PVR 00083207 + 755_v2.7 PVR 00083207 + 745_v2.8 PVR 00083208 + 745 (alias for 745_v2.8) + 755_v2.8 PVR 00083208 + 755 (alias for 755_v2.8) + goldfinger (alias for 755_v2.8) + 750cxe_v2.4b PVR 00083214 + 750cxe_v3.1b PVR 00083311 + 750cxe (alias for 750cxe_v3.1b) + 750cxr PVR 00083410 + 750cl_v1.0 PVR 00087200 + 750cl_v2.0 PVR 00087210 + 750cl (alias for 750cl_v2.0) + 750l_v2.0 PVR 00088200 + 750l_v2.1 PVR 00088201 + 750l_v2.2 PVR 00088202 + 750l_v3.0 PVR 00088300 + 750l_v3.2 PVR 00088302 + 750l (alias for 750l_v3.2) + lonestar (alias for 750l_v3.2) + 604e_v1.0 PVR 00090100 + 604e_v2.2 PVR 00090202 + 604e_v2.4 PVR 00090204 + 604e (alias for 604e_v2.4) + sirocco (alias for 604e_v2.4) + 604r PVR 000a0101 + mach5 (alias for 604r) + 7400_v1.0 PVR 000c0100 + 7400_v1.1 PVR 000c0101 + 7400_v2.0 PVR 000c0200 + 7400_v2.1 PVR 000c0201 + 7400_v2.2 PVR 000c0202 + 7400_v2.6 PVR 000c0206 + 7400_v2.7 PVR 000c0207 + 7400_v2.8 PVR 000c0208 + 7400_v2.9 PVR 000c0209 + 7400 (alias for 7400_v2.9) + g4 (alias for 7400_v2.9) + mpc8xx PVR 00500000 + powerquicc (alias for mpc8xx) + mgt823 (alias for mpc8xx) + mpc821 (alias for mpc8xx) + mpc823 (alias for mpc8xx) + mpc850 (alias for mpc8xx) + mpc852t (alias for mpc8xx) + mpc855t (alias for mpc8xx) + mpc857 (alias for mpc8xx) + mpc859 (alias for mpc8xx) + mpc860 (alias for mpc8xx) + mpc862 (alias for mpc8xx) + mpc866 (alias for mpc8xx) + mpc870 (alias for mpc8xx) + mpc875 (alias for mpc8xx) + mpc880 (alias for mpc8xx) + mpc885 (alias for mpc8xx) + g2 PVR 00810011 + mpc603 PVR 00810100 + g2hip3 PVR 00810101 + mpc8250_hip3 (alias for g2hip3) + mpc8255_hip3 (alias for g2hip3) + mpc8260_hip3 (alias for g2hip3) + mpc8264_hip3 (alias for g2hip3) + mpc8265_hip3 (alias for g2hip3) + mpc8266_hip3 (alias for g2hip3) + e300c1 PVR 00830010 + mpc8343 PVR 00830010 + mpc8343a PVR 00830010 + mpc8343e PVR 00830010 + mpc8343ea PVR 00830010 + mpc8347ap PVR 00830010 + mpc8347at PVR 00830010 + mpc8347a (alias for mpc8347at) + mpc8347eap PVR 00830010 + mpc8347eat PVR 00830010 + mpc8347ea (alias for mpc8347eat) + mpc8347ep PVR 00830010 + mpc8347et PVR 00830010 + mpc8347e (alias for mpc8347et) + mpc8347p PVR 00830010 + mpc8347t PVR 00830010 + mpc8347 (alias for mpc8347t) + mpc8349 PVR 00830010 + mpc8349a PVR 00830010 + mpc8349e PVR 00830010 + mpc8349ea PVR 00830010 + e300c2 PVR 00840010 + e300c3 PVR 00850010 + e300 (alias for e300c3) + e300c4 PVR 00860010 + mpc8377 PVR 00860010 + mpc8377e PVR 00860010 + mpc8378 PVR 00860010 + mpc8378e PVR 00860010 + mpc8379 PVR 00860010 + mpc8379e PVR 00860010 + 740p PVR 10080000 + 750p PVR 10080000 + conan/doyle (alias for 750p) + 460exb PVR 130218a4 + 460ex (alias for 460exb) + 440epx PVR 200008d0 + 440grx PVR 200008d0 + 405d2 PVR 20010000 + x2vp4 PVR 20010820 + x2vp7 (alias for x2vp4) + x2vp20 PVR 20010860 + x2vp50 (alias for x2vp20) + 405gpa PVR 40110000 + 405gpb PVR 40110040 + 405cra PVR 40110041 + 405gpc PVR 40110082 + 405gpd PVR 401100c4 + 405gp (alias for 405gpd) + 405crb PVR 401100c5 + 405crc PVR 40110145 + 405cr (alias for 405crc) + 405gpe (alias for 405crc) + 440gpb PVR 40120440 + 440gpc PVR 40120481 + 440gp (alias for 440gpc) + stb03 PVR 40310000 + npe4gs3 PVR 40b10000 + npe405h PVR 414100c0 + npe405h2 PVR 41410140 + 405ez PVR 41511460 + npe405l PVR 416100c0 + 405d4 PVR 41810000 + 405 (alias for 405d4) + stb04 PVR 41810000 + 405lp PVR 41f10000 + PPE42 PVR 42000000 + PPE42X PVR 42100000 + PPE42XM PVR 42200000 + 440epa PVR 42221850 + 440epb PVR 422218d3 + 440ep (alias for 440epb) + 440gra PVR 422218d3 + 440gr (alias for 440gra) + 405gpr PVR 50910951 + 405ep PVR 51210950 + stb25 PVR 51510950 + 440gxa PVR 51b21850 + 440gxb PVR 51b21851 + 440gxc PVR 51b21892 + 440 PVR 51b21894 + 440gxf PVR 51b21894 + 440gx (alias for 440gxf) + 440sp PVR 53221850 + 440sp2 PVR 53221891 + 440spe PVR 53421890 + 750fx_v1.0 PVR 70000100 + 750fx_v2.0 PVR 70000200 + 750fx_v2.1 PVR 70000201 + 750fx_v2.2 PVR 70000202 + 750fl PVR 70000203 + 750fx_v2.3 PVR 70000203 + 750fx (alias for 750fx_v2.3) + 750gx_v1.0 PVR 70020100 + 750gx_v1.1 PVR 70020101 + 750gl PVR 70020102 + 750gx_v1.2 PVR 70020102 + 750gx (alias for 750gx_v1.2) + 440-xilinx PVR 7ff21910 + 440-xilinx-w-dfpu PVR 7ff21910 + 7450_v1.0 PVR 80000100 + 7450_v1.1 PVR 80000101 + 7450_v1.2 PVR 80000102 + 7450_v2.0 PVR 80000200 + 7441_v2.1 PVR 80000201 + 7450_v2.1 PVR 80000201 + 7450 (alias for 7450_v2.1) + vger (alias for 7450_v2.1) + 7441_v2.3 PVR 80000203 + 7441 (alias for 7441_v2.3) + 7451_v2.3 PVR 80000203 + 7451 (alias for 7451_v2.3) + 7441_v2.10 PVR 80000210 + 7451_v2.10 PVR 80000210 + 7445_v1.0 PVR 80010100 + 7455_v1.0 PVR 80010100 + 7445_v2.1 PVR 80010201 + 7455_v2.1 PVR 80010201 + 7445_v3.2 PVR 80010302 + 7445 (alias for 7445_v3.2) + 7455_v3.2 PVR 80010302 + 7455 (alias for 7455_v3.2) + apollo6 (alias for 7455_v3.2) + 7445_v3.3 PVR 80010303 + 7455_v3.3 PVR 80010303 + 7445_v3.4 PVR 80010304 + 7455_v3.4 PVR 80010304 + 7447_v1.0 PVR 80020100 + 7457_v1.0 PVR 80020100 + 7447_v1.1 PVR 80020101 + 7447 (alias for 7447_v1.1) + 7457_v1.1 PVR 80020101 + 7457_v1.2 PVR 80020102 + 7457 (alias for 7457_v1.2) + apollo7 (alias for 7457_v1.2) + 7447a_v1.0 PVR 80030100 + 7457a_v1.0 PVR 80030100 + apollo7pm (alias for 7457a_v1.0) + 7447a_v1.1 PVR 80030101 + 7457a_v1.1 PVR 80030101 + 7447a_v1.2 PVR 80030102 + 7447a (alias for 7447a_v1.2) + 7457a_v1.2 PVR 80030102 + 7457a (alias for 7457a_v1.2) + e600 PVR 80040010 + mpc8610 PVR 80040010 + mpc8641 PVR 80040010 + mpc8641d PVR 80040010 + 7448_v1.0 PVR 80040100 + 7448_v1.1 PVR 80040101 + 7448_v2.0 PVR 80040200 + 7448_v2.1 PVR 80040201 + 7448 (alias for 7448_v2.1) + 7410_v1.0 PVR 800c1100 + 7410_v1.1 PVR 800c1101 + 7410_v1.2 PVR 800c1102 + 7410_v1.3 PVR 800c1103 + 7410_v1.4 PVR 800c1104 + 7410 (alias for 7410_v1.4) + nitro (alias for 7410_v1.4) + e500_v10 PVR 80200010 + mpc8540_v10 PVR 80200010 + mpc8560_v10 PVR 80200010 + e500_v20 PVR 80200020 + e500v1 (alias for e500_v20) + mpc8540_v20 PVR 80200020 + mpc8540_v21 PVR 80200020 + mpc8540 (alias for mpc8540_v21) + mpc8541_v10 PVR 80200020 + mpc8541_v11 PVR 80200020 + mpc8541 (alias for mpc8541_v11) + mpc8541e_v10 PVR 80200020 + mpc8541e_v11 PVR 80200020 + mpc8541e (alias for mpc8541e_v11) + mpc8555_v10 PVR 80200020 + mpc8555_v11 PVR 80200020 + mpc8555 (alias for mpc8555_v11) + mpc8555e_v10 PVR 80200020 + mpc8555e_v11 PVR 80200020 + mpc8555e (alias for mpc8555e_v11) + mpc8560_v20 PVR 80200020 + mpc8560_v21 PVR 80200020 + mpc8560 (alias for mpc8560_v21) + e500v2_v10 PVR 80210010 + mpc8543_v10 PVR 80210010 + mpc8543e_v10 PVR 80210010 + mpc8548_v10 PVR 80210010 + mpc8548e_v10 PVR 80210010 + mpc8543_v11 PVR 80210011 + mpc8543e_v11 PVR 80210011 + mpc8548_v11 PVR 80210011 + mpc8548e_v11 PVR 80210011 + e500v2_v20 PVR 80210020 + mpc8543_v20 PVR 80210020 + mpc8543e_v20 PVR 80210020 + mpc8545_v20 PVR 80210020 + mpc8545e_v20 PVR 80210020 + mpc8547e_v20 PVR 80210020 + mpc8548_v20 PVR 80210020 + mpc8548e_v20 PVR 80210020 + e500v2_v21 PVR 80210021 + mpc8533_v10 PVR 80210021 + mpc8533e_v10 PVR 80210021 + mpc8543_v21 PVR 80210021 + mpc8543 (alias for mpc8543_v21) + mpc8543e_v21 PVR 80210021 + mpc8543e (alias for mpc8543e_v21) + mpc8544_v10 PVR 80210021 + mpc8544e_v10 PVR 80210021 + mpc8545_v21 PVR 80210021 + mpc8545 (alias for mpc8545_v21) + mpc8545e_v21 PVR 80210021 + mpc8545e (alias for mpc8545e_v21) + mpc8547e_v21 PVR 80210021 + mpc8547e (alias for mpc8547e_v21) + mpc8548_v21 PVR 80210021 + mpc8548 (alias for mpc8548_v21) + mpc8548e_v21 PVR 80210021 + mpc8548e (alias for mpc8548e_v21) + e500v2_v22 PVR 80210022 + e500 (alias for e500v2_v22) + e500v2 (alias for e500v2_v22) + mpc8533_v11 PVR 80210022 + mpc8533 (alias for mpc8533_v11) + mpc8533e_v11 PVR 80210022 + mpc8533e (alias for mpc8533e_v11) + mpc8544_v11 PVR 80210022 + mpc8544 (alias for mpc8544_v11) + mpc8544e_v11 PVR 80210022 + mpc8544e (alias for mpc8544e_v11) + mpc8567 PVR 80210022 + mpc8567e PVR 80210022 + mpc8568 PVR 80210022 + mpc8568e PVR 80210022 + e500v2_v30 PVR 80210030 + mpc8572 PVR 80210030 + mpc8572e PVR 80210030 + e500mc PVR 80230020 + g2h4 PVR 80811010 + g2hip4 PVR 80811014 + mpc8241 (alias for g2hip4) + mpc8245 (alias for g2hip4) + mpc8250 (alias for g2hip4) + mpc8250_hip4 (alias for g2hip4) + mpc8255 (alias for g2hip4) + mpc8255_hip4 (alias for g2hip4) + mpc8260 (alias for g2hip4) + mpc8260_hip4 (alias for g2hip4) + mpc8264 (alias for g2hip4) + mpc8264_hip4 (alias for g2hip4) + mpc8265 (alias for g2hip4) + mpc8265_hip4 (alias for g2hip4) + mpc8266 (alias for g2hip4) + mpc8266_hip4 (alias for g2hip4) + g2le PVR 80820010 + g2gp PVR 80821010 + g2legp PVR 80822010 + g2legp1 PVR 80822011 + mpc5200_v10 PVR 80822011 + mpc5200_v11 PVR 80822011 + mpc5200_v12 PVR 80822011 + mpc52xx (alias for mpc5200_v12) + mpc5200 (alias for mpc5200_v12) + mpc5200b_v20 PVR 80822011 + mpc5200b_v21 PVR 80822011 + mpc5200b (alias for mpc5200b_v21) + g2legp3 PVR 80822013 + mpc82xx (alias for g2legp3) + powerquicc-ii (alias for g2legp3) + mpc8247 (alias for g2legp3) + mpc8248 (alias for g2legp3) + mpc8270 (alias for g2legp3) + mpc8271 (alias for g2legp3) + mpc8272 (alias for g2legp3) + mpc8275 (alias for g2legp3) + mpc8280 (alias for g2legp3) + g2ls PVR 90810010 + g2lels PVR a0822010 diff --git a/cmdline_ref/qemu-ppc.help b/cmdline_ref/qemu-ppc.help new file mode 100644 index 00000000000..ae9979969cb --- /dev/null +++ b/cmdline_ref/qemu-ppc.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for ppc emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-ppc +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-ppc64.cpu_help b/cmdline_ref/qemu-ppc64.cpu_h= elp new file mode 100644 index 00000000000..5d7ec6601a3 --- /dev/null +++ b/cmdline_ref/qemu-ppc64.cpu_help @@ -0,0 +1,464 @@ +Available CPUs: + mpc5xx PVR 00020020 + rcpu (alias for mpc5xx) + mgt560 (alias for mpc5xx) + mpc509 (alias for mpc5xx) + mpc533 (alias for mpc5xx) + mpc534 (alias for mpc5xx) + mpc555 (alias for mpc5xx) + mpc556 (alias for mpc5xx) + mpc560 (alias for mpc5xx) + mpc561 (alias for mpc5xx) + mpc562 (alias for mpc5xx) + mpc563 (alias for mpc5xx) + mpc564 (alias for mpc5xx) + mpc565 (alias for mpc5xx) + mpc566 (alias for mpc5xx) + 603 PVR 00030100 + mpc8240 (alias for 603) + vanilla (alias for 603) + 604 PVR 00040103 + ppc32 (alias for 604) + ppc (alias for 604) + 603e_v1.1 PVR 00060101 + 603e_v1.2 PVR 00060102 + 603e_v1.3 PVR 00060103 + 603e_v1.4 PVR 00060104 + 603e_v2.2 PVR 00060202 + 603e_v3 PVR 00060300 + 603e_v4 PVR 00060400 + 603e_v4.1 PVR 00060401 + 603e (alias for 603e_v4.1) + stretch (alias for 603e_v4.1) + 603p PVR 00070000 + 603e7v PVR 00070100 + vaillant (alias for 603e7v) + 603e7v1 PVR 00070101 + 603e7 PVR 00070200 + 603e7v2 PVR 00070201 + 603e7t PVR 00071201 + 603r (alias for 603e7t) + goldeneye (alias for 603e7t) + 740_v1.0 PVR 00080100 + 740e PVR 00080100 + 750_v1.0 PVR 00080100 + 740_v2.0 PVR 00080200 + 750_v2.0 PVR 00080200 + 750e PVR 00080200 + 740_v2.1 PVR 00080201 + 750_v2.1 PVR 00080201 + 740_v2.2 PVR 00080202 + 750_v2.2 PVR 00080202 + 740_v3.0 PVR 00080300 + 750_v3.0 PVR 00080300 + 740_v3.1 PVR 00080301 + 740 (alias for 740_v3.1) + arthur (alias for 740_v3.1) + 750_v3.1 PVR 00080301 + 750 (alias for 750_v3.1) + typhoon (alias for 750_v3.1) + g3 (alias for 750_v3.1) + 750cx_v1.0 PVR 00082100 + 750cx_v2.0 PVR 00082200 + 750cx_v2.1 PVR 00082201 + 750cx_v2.2 PVR 00082202 + 750cx (alias for 750cx_v2.2) + 750cxe_v2.1 PVR 00082211 + 750cxe_v2.2 PVR 00082212 + 750cxe_v2.3 PVR 00082213 + 750cxe_v2.4 PVR 00082214 + 750cxe_v3.0 PVR 00082310 + 750cxe_v3.1 PVR 00082311 + 745_v1.0 PVR 00083100 + 755_v1.0 PVR 00083100 + 745_v1.1 PVR 00083101 + 755_v1.1 PVR 00083101 + 745_v2.0 PVR 00083200 + 755_v2.0 PVR 00083200 + 745_v2.1 PVR 00083201 + 755_v2.1 PVR 00083201 + 745_v2.2 PVR 00083202 + 755_v2.2 PVR 00083202 + 745_v2.3 PVR 00083203 + 755_v2.3 PVR 00083203 + 745_v2.4 PVR 00083204 + 755_v2.4 PVR 00083204 + 745_v2.5 PVR 00083205 + 755_v2.5 PVR 00083205 + 745_v2.6 PVR 00083206 + 755_v2.6 PVR 00083206 + 745_v2.7 PVR 00083207 + 755_v2.7 PVR 00083207 + 745_v2.8 PVR 00083208 + 745 (alias for 745_v2.8) + 755_v2.8 PVR 00083208 + 755 (alias for 755_v2.8) + goldfinger (alias for 755_v2.8) + 750cxe_v2.4b PVR 00083214 + 750cxe_v3.1b PVR 00083311 + 750cxe (alias for 750cxe_v3.1b) + 750cxr PVR 00083410 + 750cl_v1.0 PVR 00087200 + 750cl_v2.0 PVR 00087210 + 750cl (alias for 750cl_v2.0) + 750l_v2.0 PVR 00088200 + 750l_v2.1 PVR 00088201 + 750l_v2.2 PVR 00088202 + 750l_v3.0 PVR 00088300 + 750l_v3.2 PVR 00088302 + 750l (alias for 750l_v3.2) + lonestar (alias for 750l_v3.2) + 604e_v1.0 PVR 00090100 + 604e_v2.2 PVR 00090202 + 604e_v2.4 PVR 00090204 + 604e (alias for 604e_v2.4) + sirocco (alias for 604e_v2.4) + 604r PVR 000a0101 + mach5 (alias for 604r) + 7400_v1.0 PVR 000c0100 + 7400_v1.1 PVR 000c0101 + 7400_v2.0 PVR 000c0200 + 7400_v2.1 PVR 000c0201 + 7400_v2.2 PVR 000c0202 + 7400_v2.6 PVR 000c0206 + 7400_v2.7 PVR 000c0207 + 7400_v2.8 PVR 000c0208 + 7400_v2.9 PVR 000c0209 + 7400 (alias for 7400_v2.9) + g4 (alias for 7400_v2.9) + 970_v2.2 PVR 00390202 + 970 (alias for 970_v2.2) + 970fx_v1.0 PVR 00391100 + power5p_v2.1 PVR 003b0201 + power5+ (alias for power5p_v2.1) + power5+_v2.1 (alias for power5p_v2.1) + power5gs (alias for power5p_v2.1) + 970fx_v2.0 PVR 003c0200 + 970fx_v2.1 PVR 003c0201 + 970fx_v3.0 PVR 003c0300 + 970fx_v3.1 PVR 003c0301 + 970fx (alias for 970fx_v3.1) + ppc64 (alias for 970fx_v3.1) + power7_v2.3 PVR 003f0203 + power7 (alias for power7_v2.3) + 970mp_v1.0 PVR 00440100 + 970mp_v1.1 PVR 00440101 + 970mp (alias for 970mp_v1.1) + power7p_v2.1 PVR 004a0201 + power7+ (alias for power7p_v2.1) + power7+_v2.1 (alias for power7p_v2.1) + power8_v2.0 PVR 004d0200 + power8 (alias for power8_v2.0) + power9_v2.0 PVR 004e1200 + power9_v2.2 PVR 004e1202 + power9 (alias for power9_v2.2) + mpc8xx PVR 00500000 + powerquicc (alias for mpc8xx) + mgt823 (alias for mpc8xx) + mpc821 (alias for mpc8xx) + mpc823 (alias for mpc8xx) + mpc850 (alias for mpc8xx) + mpc852t (alias for mpc8xx) + mpc855t (alias for mpc8xx) + mpc857 (alias for mpc8xx) + mpc859 (alias for mpc8xx) + mpc860 (alias for mpc8xx) + mpc862 (alias for mpc8xx) + mpc866 (alias for mpc8xx) + mpc870 (alias for mpc8xx) + mpc875 (alias for mpc8xx) + mpc880 (alias for mpc8xx) + mpc885 (alias for mpc8xx) + power10_v2.0 PVR 00801200 + power10 (alias for power10_v2.0) + g2 PVR 00810011 + mpc603 PVR 00810100 + g2hip3 PVR 00810101 + mpc8250_hip3 (alias for g2hip3) + mpc8255_hip3 (alias for g2hip3) + mpc8260_hip3 (alias for g2hip3) + mpc8264_hip3 (alias for g2hip3) + mpc8265_hip3 (alias for g2hip3) + mpc8266_hip3 (alias for g2hip3) + power11_v2.0 PVR 00821200 + power11 (alias for power11_v2.0) + e300c1 PVR 00830010 + mpc8343 PVR 00830010 + mpc8343a PVR 00830010 + mpc8343e PVR 00830010 + mpc8343ea PVR 00830010 + mpc8347ap PVR 00830010 + mpc8347at PVR 00830010 + mpc8347a (alias for mpc8347at) + mpc8347eap PVR 00830010 + mpc8347eat PVR 00830010 + mpc8347ea (alias for mpc8347eat) + mpc8347ep PVR 00830010 + mpc8347et PVR 00830010 + mpc8347e (alias for mpc8347et) + mpc8347p PVR 00830010 + mpc8347t PVR 00830010 + mpc8347 (alias for mpc8347t) + mpc8349 PVR 00830010 + mpc8349a PVR 00830010 + mpc8349e PVR 00830010 + mpc8349ea PVR 00830010 + e300c2 PVR 00840010 + e300c3 PVR 00850010 + e300 (alias for e300c3) + e300c4 PVR 00860010 + mpc8377 PVR 00860010 + mpc8377e PVR 00860010 + mpc8378 PVR 00860010 + mpc8378e PVR 00860010 + mpc8379 PVR 00860010 + mpc8379e PVR 00860010 + 740p PVR 10080000 + 750p PVR 10080000 + conan/doyle (alias for 750p) + 460exb PVR 130218a4 + 460ex (alias for 460exb) + 440epx PVR 200008d0 + 440grx PVR 200008d0 + 405d2 PVR 20010000 + x2vp4 PVR 20010820 + x2vp7 (alias for x2vp4) + x2vp20 PVR 20010860 + x2vp50 (alias for x2vp20) + 405gpa PVR 40110000 + 405gpb PVR 40110040 + 405cra PVR 40110041 + 405gpc PVR 40110082 + 405gpd PVR 401100c4 + 405gp (alias for 405gpd) + 405crb PVR 401100c5 + 405crc PVR 40110145 + 405cr (alias for 405crc) + 405gpe (alias for 405crc) + 440gpb PVR 40120440 + 440gpc PVR 40120481 + 440gp (alias for 440gpc) + stb03 PVR 40310000 + npe4gs3 PVR 40b10000 + npe405h PVR 414100c0 + npe405h2 PVR 41410140 + 405ez PVR 41511460 + npe405l PVR 416100c0 + 405d4 PVR 41810000 + 405 (alias for 405d4) + stb04 PVR 41810000 + 405lp PVR 41f10000 + PPE42 PVR 42000000 + PPE42X PVR 42100000 + PPE42XM PVR 42200000 + 440epa PVR 42221850 + 440epb PVR 422218d3 + 440ep (alias for 440epb) + 440gra PVR 422218d3 + 440gr (alias for 440gra) + 405gpr PVR 50910951 + 405ep PVR 51210950 + stb25 PVR 51510950 + 440gxa PVR 51b21850 + 440gxb PVR 51b21851 + 440gxc PVR 51b21892 + 440 PVR 51b21894 + 440gxf PVR 51b21894 + 440gx (alias for 440gxf) + 440sp PVR 53221850 + 440sp2 PVR 53221891 + 440spe PVR 53421890 + 750fx_v1.0 PVR 70000100 + 750fx_v2.0 PVR 70000200 + 750fx_v2.1 PVR 70000201 + 750fx_v2.2 PVR 70000202 + 750fl PVR 70000203 + 750fx_v2.3 PVR 70000203 + 750fx (alias for 750fx_v2.3) + 750gx_v1.0 PVR 70020100 + 750gx_v1.1 PVR 70020101 + 750gl PVR 70020102 + 750gx_v1.2 PVR 70020102 + 750gx (alias for 750gx_v1.2) + 440-xilinx PVR 7ff21910 + 440-xilinx-w-dfpu PVR 7ff21910 + 7450_v1.0 PVR 80000100 + 7450_v1.1 PVR 80000101 + 7450_v1.2 PVR 80000102 + 7450_v2.0 PVR 80000200 + 7441_v2.1 PVR 80000201 + 7450_v2.1 PVR 80000201 + 7450 (alias for 7450_v2.1) + vger (alias for 7450_v2.1) + 7441_v2.3 PVR 80000203 + 7441 (alias for 7441_v2.3) + 7451_v2.3 PVR 80000203 + 7451 (alias for 7451_v2.3) + 7441_v2.10 PVR 80000210 + 7451_v2.10 PVR 80000210 + 7445_v1.0 PVR 80010100 + 7455_v1.0 PVR 80010100 + 7445_v2.1 PVR 80010201 + 7455_v2.1 PVR 80010201 + 7445_v3.2 PVR 80010302 + 7445 (alias for 7445_v3.2) + 7455_v3.2 PVR 80010302 + 7455 (alias for 7455_v3.2) + apollo6 (alias for 7455_v3.2) + 7445_v3.3 PVR 80010303 + 7455_v3.3 PVR 80010303 + 7445_v3.4 PVR 80010304 + 7455_v3.4 PVR 80010304 + 7447_v1.0 PVR 80020100 + 7457_v1.0 PVR 80020100 + 7447_v1.1 PVR 80020101 + 7447 (alias for 7447_v1.1) + 7457_v1.1 PVR 80020101 + 7457_v1.2 PVR 80020102 + 7457 (alias for 7457_v1.2) + apollo7 (alias for 7457_v1.2) + 7447a_v1.0 PVR 80030100 + 7457a_v1.0 PVR 80030100 + apollo7pm (alias for 7457a_v1.0) + 7447a_v1.1 PVR 80030101 + 7457a_v1.1 PVR 80030101 + 7447a_v1.2 PVR 80030102 + 7447a (alias for 7447a_v1.2) + 7457a_v1.2 PVR 80030102 + 7457a (alias for 7457a_v1.2) + e600 PVR 80040010 + mpc8610 PVR 80040010 + mpc8641 PVR 80040010 + mpc8641d PVR 80040010 + 7448_v1.0 PVR 80040100 + 7448_v1.1 PVR 80040101 + 7448_v2.0 PVR 80040200 + 7448_v2.1 PVR 80040201 + 7448 (alias for 7448_v2.1) + 7410_v1.0 PVR 800c1100 + 7410_v1.1 PVR 800c1101 + 7410_v1.2 PVR 800c1102 + 7410_v1.3 PVR 800c1103 + 7410_v1.4 PVR 800c1104 + 7410 (alias for 7410_v1.4) + nitro (alias for 7410_v1.4) + e500_v10 PVR 80200010 + mpc8540_v10 PVR 80200010 + mpc8560_v10 PVR 80200010 + e500_v20 PVR 80200020 + e500v1 (alias for e500_v20) + mpc8540_v20 PVR 80200020 + mpc8540_v21 PVR 80200020 + mpc8540 (alias for mpc8540_v21) + mpc8541_v10 PVR 80200020 + mpc8541_v11 PVR 80200020 + mpc8541 (alias for mpc8541_v11) + mpc8541e_v10 PVR 80200020 + mpc8541e_v11 PVR 80200020 + mpc8541e (alias for mpc8541e_v11) + mpc8555_v10 PVR 80200020 + mpc8555_v11 PVR 80200020 + mpc8555 (alias for mpc8555_v11) + mpc8555e_v10 PVR 80200020 + mpc8555e_v11 PVR 80200020 + mpc8555e (alias for mpc8555e_v11) + mpc8560_v20 PVR 80200020 + mpc8560_v21 PVR 80200020 + mpc8560 (alias for mpc8560_v21) + e500v2_v10 PVR 80210010 + mpc8543_v10 PVR 80210010 + mpc8543e_v10 PVR 80210010 + mpc8548_v10 PVR 80210010 + mpc8548e_v10 PVR 80210010 + mpc8543_v11 PVR 80210011 + mpc8543e_v11 PVR 80210011 + mpc8548_v11 PVR 80210011 + mpc8548e_v11 PVR 80210011 + e500v2_v20 PVR 80210020 + mpc8543_v20 PVR 80210020 + mpc8543e_v20 PVR 80210020 + mpc8545_v20 PVR 80210020 + mpc8545e_v20 PVR 80210020 + mpc8547e_v20 PVR 80210020 + mpc8548_v20 PVR 80210020 + mpc8548e_v20 PVR 80210020 + e500v2_v21 PVR 80210021 + mpc8533_v10 PVR 80210021 + mpc8533e_v10 PVR 80210021 + mpc8543_v21 PVR 80210021 + mpc8543 (alias for mpc8543_v21) + mpc8543e_v21 PVR 80210021 + mpc8543e (alias for mpc8543e_v21) + mpc8544_v10 PVR 80210021 + mpc8544e_v10 PVR 80210021 + mpc8545_v21 PVR 80210021 + mpc8545 (alias for mpc8545_v21) + mpc8545e_v21 PVR 80210021 + mpc8545e (alias for mpc8545e_v21) + mpc8547e_v21 PVR 80210021 + mpc8547e (alias for mpc8547e_v21) + mpc8548_v21 PVR 80210021 + mpc8548 (alias for mpc8548_v21) + mpc8548e_v21 PVR 80210021 + mpc8548e (alias for mpc8548e_v21) + e500v2_v22 PVR 80210022 + e500 (alias for e500v2_v22) + e500v2 (alias for e500v2_v22) + mpc8533_v11 PVR 80210022 + mpc8533 (alias for mpc8533_v11) + mpc8533e_v11 PVR 80210022 + mpc8533e (alias for mpc8533e_v11) + mpc8544_v11 PVR 80210022 + mpc8544 (alias for mpc8544_v11) + mpc8544e_v11 PVR 80210022 + mpc8544e (alias for mpc8544e_v11) + mpc8567 PVR 80210022 + mpc8567e PVR 80210022 + mpc8568 PVR 80210022 + mpc8568e PVR 80210022 + e500v2_v30 PVR 80210030 + mpc8572 PVR 80210030 + mpc8572e PVR 80210030 + e500mc PVR 80230020 + e5500 PVR 80240020 + e6500 PVR 80400020 + g2h4 PVR 80811010 + g2hip4 PVR 80811014 + mpc8241 (alias for g2hip4) + mpc8245 (alias for g2hip4) + mpc8250 (alias for g2hip4) + mpc8250_hip4 (alias for g2hip4) + mpc8255 (alias for g2hip4) + mpc8255_hip4 (alias for g2hip4) + mpc8260 (alias for g2hip4) + mpc8260_hip4 (alias for g2hip4) + mpc8264 (alias for g2hip4) + mpc8264_hip4 (alias for g2hip4) + mpc8265 (alias for g2hip4) + mpc8265_hip4 (alias for g2hip4) + mpc8266 (alias for g2hip4) + mpc8266_hip4 (alias for g2hip4) + g2le PVR 80820010 + g2gp PVR 80821010 + g2legp PVR 80822010 + g2legp1 PVR 80822011 + mpc5200_v10 PVR 80822011 + mpc5200_v11 PVR 80822011 + mpc5200_v12 PVR 80822011 + mpc52xx (alias for mpc5200_v12) + mpc5200 (alias for mpc5200_v12) + mpc5200b_v20 PVR 80822011 + mpc5200b_v21 PVR 80822011 + mpc5200b (alias for mpc5200b_v21) + g2legp3 PVR 80822013 + mpc82xx (alias for g2legp3) + powerquicc-ii (alias for g2legp3) + mpc8247 (alias for g2legp3) + mpc8248 (alias for g2legp3) + mpc8270 (alias for g2legp3) + mpc8271 (alias for g2legp3) + mpc8272 (alias for g2legp3) + mpc8275 (alias for g2legp3) + mpc8280 (alias for g2legp3) + g2ls PVR 90810010 + g2lels PVR a0822010 diff --git a/cmdline_ref/qemu-ppc64.help b/cmdline_ref/qemu-ppc64.help new file mode 100644 index 00000000000..f996ad4cae8 --- /dev/null +++ b/cmdline_ref/qemu-ppc64.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for ppc64 emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-ppc64 +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-ppc64le.cpu_help b/cmdline_ref/qemu-ppc64le.c= pu_help new file mode 100644 index 00000000000..5d7ec6601a3 --- /dev/null +++ b/cmdline_ref/qemu-ppc64le.cpu_help @@ -0,0 +1,464 @@ +Available CPUs: + mpc5xx PVR 00020020 + rcpu (alias for mpc5xx) + mgt560 (alias for mpc5xx) + mpc509 (alias for mpc5xx) + mpc533 (alias for mpc5xx) + mpc534 (alias for mpc5xx) + mpc555 (alias for mpc5xx) + mpc556 (alias for mpc5xx) + mpc560 (alias for mpc5xx) + mpc561 (alias for mpc5xx) + mpc562 (alias for mpc5xx) + mpc563 (alias for mpc5xx) + mpc564 (alias for mpc5xx) + mpc565 (alias for mpc5xx) + mpc566 (alias for mpc5xx) + 603 PVR 00030100 + mpc8240 (alias for 603) + vanilla (alias for 603) + 604 PVR 00040103 + ppc32 (alias for 604) + ppc (alias for 604) + 603e_v1.1 PVR 00060101 + 603e_v1.2 PVR 00060102 + 603e_v1.3 PVR 00060103 + 603e_v1.4 PVR 00060104 + 603e_v2.2 PVR 00060202 + 603e_v3 PVR 00060300 + 603e_v4 PVR 00060400 + 603e_v4.1 PVR 00060401 + 603e (alias for 603e_v4.1) + stretch (alias for 603e_v4.1) + 603p PVR 00070000 + 603e7v PVR 00070100 + vaillant (alias for 603e7v) + 603e7v1 PVR 00070101 + 603e7 PVR 00070200 + 603e7v2 PVR 00070201 + 603e7t PVR 00071201 + 603r (alias for 603e7t) + goldeneye (alias for 603e7t) + 740_v1.0 PVR 00080100 + 740e PVR 00080100 + 750_v1.0 PVR 00080100 + 740_v2.0 PVR 00080200 + 750_v2.0 PVR 00080200 + 750e PVR 00080200 + 740_v2.1 PVR 00080201 + 750_v2.1 PVR 00080201 + 740_v2.2 PVR 00080202 + 750_v2.2 PVR 00080202 + 740_v3.0 PVR 00080300 + 750_v3.0 PVR 00080300 + 740_v3.1 PVR 00080301 + 740 (alias for 740_v3.1) + arthur (alias for 740_v3.1) + 750_v3.1 PVR 00080301 + 750 (alias for 750_v3.1) + typhoon (alias for 750_v3.1) + g3 (alias for 750_v3.1) + 750cx_v1.0 PVR 00082100 + 750cx_v2.0 PVR 00082200 + 750cx_v2.1 PVR 00082201 + 750cx_v2.2 PVR 00082202 + 750cx (alias for 750cx_v2.2) + 750cxe_v2.1 PVR 00082211 + 750cxe_v2.2 PVR 00082212 + 750cxe_v2.3 PVR 00082213 + 750cxe_v2.4 PVR 00082214 + 750cxe_v3.0 PVR 00082310 + 750cxe_v3.1 PVR 00082311 + 745_v1.0 PVR 00083100 + 755_v1.0 PVR 00083100 + 745_v1.1 PVR 00083101 + 755_v1.1 PVR 00083101 + 745_v2.0 PVR 00083200 + 755_v2.0 PVR 00083200 + 745_v2.1 PVR 00083201 + 755_v2.1 PVR 00083201 + 745_v2.2 PVR 00083202 + 755_v2.2 PVR 00083202 + 745_v2.3 PVR 00083203 + 755_v2.3 PVR 00083203 + 745_v2.4 PVR 00083204 + 755_v2.4 PVR 00083204 + 745_v2.5 PVR 00083205 + 755_v2.5 PVR 00083205 + 745_v2.6 PVR 00083206 + 755_v2.6 PVR 00083206 + 745_v2.7 PVR 00083207 + 755_v2.7 PVR 00083207 + 745_v2.8 PVR 00083208 + 745 (alias for 745_v2.8) + 755_v2.8 PVR 00083208 + 755 (alias for 755_v2.8) + goldfinger (alias for 755_v2.8) + 750cxe_v2.4b PVR 00083214 + 750cxe_v3.1b PVR 00083311 + 750cxe (alias for 750cxe_v3.1b) + 750cxr PVR 00083410 + 750cl_v1.0 PVR 00087200 + 750cl_v2.0 PVR 00087210 + 750cl (alias for 750cl_v2.0) + 750l_v2.0 PVR 00088200 + 750l_v2.1 PVR 00088201 + 750l_v2.2 PVR 00088202 + 750l_v3.0 PVR 00088300 + 750l_v3.2 PVR 00088302 + 750l (alias for 750l_v3.2) + lonestar (alias for 750l_v3.2) + 604e_v1.0 PVR 00090100 + 604e_v2.2 PVR 00090202 + 604e_v2.4 PVR 00090204 + 604e (alias for 604e_v2.4) + sirocco (alias for 604e_v2.4) + 604r PVR 000a0101 + mach5 (alias for 604r) + 7400_v1.0 PVR 000c0100 + 7400_v1.1 PVR 000c0101 + 7400_v2.0 PVR 000c0200 + 7400_v2.1 PVR 000c0201 + 7400_v2.2 PVR 000c0202 + 7400_v2.6 PVR 000c0206 + 7400_v2.7 PVR 000c0207 + 7400_v2.8 PVR 000c0208 + 7400_v2.9 PVR 000c0209 + 7400 (alias for 7400_v2.9) + g4 (alias for 7400_v2.9) + 970_v2.2 PVR 00390202 + 970 (alias for 970_v2.2) + 970fx_v1.0 PVR 00391100 + power5p_v2.1 PVR 003b0201 + power5+ (alias for power5p_v2.1) + power5+_v2.1 (alias for power5p_v2.1) + power5gs (alias for power5p_v2.1) + 970fx_v2.0 PVR 003c0200 + 970fx_v2.1 PVR 003c0201 + 970fx_v3.0 PVR 003c0300 + 970fx_v3.1 PVR 003c0301 + 970fx (alias for 970fx_v3.1) + ppc64 (alias for 970fx_v3.1) + power7_v2.3 PVR 003f0203 + power7 (alias for power7_v2.3) + 970mp_v1.0 PVR 00440100 + 970mp_v1.1 PVR 00440101 + 970mp (alias for 970mp_v1.1) + power7p_v2.1 PVR 004a0201 + power7+ (alias for power7p_v2.1) + power7+_v2.1 (alias for power7p_v2.1) + power8_v2.0 PVR 004d0200 + power8 (alias for power8_v2.0) + power9_v2.0 PVR 004e1200 + power9_v2.2 PVR 004e1202 + power9 (alias for power9_v2.2) + mpc8xx PVR 00500000 + powerquicc (alias for mpc8xx) + mgt823 (alias for mpc8xx) + mpc821 (alias for mpc8xx) + mpc823 (alias for mpc8xx) + mpc850 (alias for mpc8xx) + mpc852t (alias for mpc8xx) + mpc855t (alias for mpc8xx) + mpc857 (alias for mpc8xx) + mpc859 (alias for mpc8xx) + mpc860 (alias for mpc8xx) + mpc862 (alias for mpc8xx) + mpc866 (alias for mpc8xx) + mpc870 (alias for mpc8xx) + mpc875 (alias for mpc8xx) + mpc880 (alias for mpc8xx) + mpc885 (alias for mpc8xx) + power10_v2.0 PVR 00801200 + power10 (alias for power10_v2.0) + g2 PVR 00810011 + mpc603 PVR 00810100 + g2hip3 PVR 00810101 + mpc8250_hip3 (alias for g2hip3) + mpc8255_hip3 (alias for g2hip3) + mpc8260_hip3 (alias for g2hip3) + mpc8264_hip3 (alias for g2hip3) + mpc8265_hip3 (alias for g2hip3) + mpc8266_hip3 (alias for g2hip3) + power11_v2.0 PVR 00821200 + power11 (alias for power11_v2.0) + e300c1 PVR 00830010 + mpc8343 PVR 00830010 + mpc8343a PVR 00830010 + mpc8343e PVR 00830010 + mpc8343ea PVR 00830010 + mpc8347ap PVR 00830010 + mpc8347at PVR 00830010 + mpc8347a (alias for mpc8347at) + mpc8347eap PVR 00830010 + mpc8347eat PVR 00830010 + mpc8347ea (alias for mpc8347eat) + mpc8347ep PVR 00830010 + mpc8347et PVR 00830010 + mpc8347e (alias for mpc8347et) + mpc8347p PVR 00830010 + mpc8347t PVR 00830010 + mpc8347 (alias for mpc8347t) + mpc8349 PVR 00830010 + mpc8349a PVR 00830010 + mpc8349e PVR 00830010 + mpc8349ea PVR 00830010 + e300c2 PVR 00840010 + e300c3 PVR 00850010 + e300 (alias for e300c3) + e300c4 PVR 00860010 + mpc8377 PVR 00860010 + mpc8377e PVR 00860010 + mpc8378 PVR 00860010 + mpc8378e PVR 00860010 + mpc8379 PVR 00860010 + mpc8379e PVR 00860010 + 740p PVR 10080000 + 750p PVR 10080000 + conan/doyle (alias for 750p) + 460exb PVR 130218a4 + 460ex (alias for 460exb) + 440epx PVR 200008d0 + 440grx PVR 200008d0 + 405d2 PVR 20010000 + x2vp4 PVR 20010820 + x2vp7 (alias for x2vp4) + x2vp20 PVR 20010860 + x2vp50 (alias for x2vp20) + 405gpa PVR 40110000 + 405gpb PVR 40110040 + 405cra PVR 40110041 + 405gpc PVR 40110082 + 405gpd PVR 401100c4 + 405gp (alias for 405gpd) + 405crb PVR 401100c5 + 405crc PVR 40110145 + 405cr (alias for 405crc) + 405gpe (alias for 405crc) + 440gpb PVR 40120440 + 440gpc PVR 40120481 + 440gp (alias for 440gpc) + stb03 PVR 40310000 + npe4gs3 PVR 40b10000 + npe405h PVR 414100c0 + npe405h2 PVR 41410140 + 405ez PVR 41511460 + npe405l PVR 416100c0 + 405d4 PVR 41810000 + 405 (alias for 405d4) + stb04 PVR 41810000 + 405lp PVR 41f10000 + PPE42 PVR 42000000 + PPE42X PVR 42100000 + PPE42XM PVR 42200000 + 440epa PVR 42221850 + 440epb PVR 422218d3 + 440ep (alias for 440epb) + 440gra PVR 422218d3 + 440gr (alias for 440gra) + 405gpr PVR 50910951 + 405ep PVR 51210950 + stb25 PVR 51510950 + 440gxa PVR 51b21850 + 440gxb PVR 51b21851 + 440gxc PVR 51b21892 + 440 PVR 51b21894 + 440gxf PVR 51b21894 + 440gx (alias for 440gxf) + 440sp PVR 53221850 + 440sp2 PVR 53221891 + 440spe PVR 53421890 + 750fx_v1.0 PVR 70000100 + 750fx_v2.0 PVR 70000200 + 750fx_v2.1 PVR 70000201 + 750fx_v2.2 PVR 70000202 + 750fl PVR 70000203 + 750fx_v2.3 PVR 70000203 + 750fx (alias for 750fx_v2.3) + 750gx_v1.0 PVR 70020100 + 750gx_v1.1 PVR 70020101 + 750gl PVR 70020102 + 750gx_v1.2 PVR 70020102 + 750gx (alias for 750gx_v1.2) + 440-xilinx PVR 7ff21910 + 440-xilinx-w-dfpu PVR 7ff21910 + 7450_v1.0 PVR 80000100 + 7450_v1.1 PVR 80000101 + 7450_v1.2 PVR 80000102 + 7450_v2.0 PVR 80000200 + 7441_v2.1 PVR 80000201 + 7450_v2.1 PVR 80000201 + 7450 (alias for 7450_v2.1) + vger (alias for 7450_v2.1) + 7441_v2.3 PVR 80000203 + 7441 (alias for 7441_v2.3) + 7451_v2.3 PVR 80000203 + 7451 (alias for 7451_v2.3) + 7441_v2.10 PVR 80000210 + 7451_v2.10 PVR 80000210 + 7445_v1.0 PVR 80010100 + 7455_v1.0 PVR 80010100 + 7445_v2.1 PVR 80010201 + 7455_v2.1 PVR 80010201 + 7445_v3.2 PVR 80010302 + 7445 (alias for 7445_v3.2) + 7455_v3.2 PVR 80010302 + 7455 (alias for 7455_v3.2) + apollo6 (alias for 7455_v3.2) + 7445_v3.3 PVR 80010303 + 7455_v3.3 PVR 80010303 + 7445_v3.4 PVR 80010304 + 7455_v3.4 PVR 80010304 + 7447_v1.0 PVR 80020100 + 7457_v1.0 PVR 80020100 + 7447_v1.1 PVR 80020101 + 7447 (alias for 7447_v1.1) + 7457_v1.1 PVR 80020101 + 7457_v1.2 PVR 80020102 + 7457 (alias for 7457_v1.2) + apollo7 (alias for 7457_v1.2) + 7447a_v1.0 PVR 80030100 + 7457a_v1.0 PVR 80030100 + apollo7pm (alias for 7457a_v1.0) + 7447a_v1.1 PVR 80030101 + 7457a_v1.1 PVR 80030101 + 7447a_v1.2 PVR 80030102 + 7447a (alias for 7447a_v1.2) + 7457a_v1.2 PVR 80030102 + 7457a (alias for 7457a_v1.2) + e600 PVR 80040010 + mpc8610 PVR 80040010 + mpc8641 PVR 80040010 + mpc8641d PVR 80040010 + 7448_v1.0 PVR 80040100 + 7448_v1.1 PVR 80040101 + 7448_v2.0 PVR 80040200 + 7448_v2.1 PVR 80040201 + 7448 (alias for 7448_v2.1) + 7410_v1.0 PVR 800c1100 + 7410_v1.1 PVR 800c1101 + 7410_v1.2 PVR 800c1102 + 7410_v1.3 PVR 800c1103 + 7410_v1.4 PVR 800c1104 + 7410 (alias for 7410_v1.4) + nitro (alias for 7410_v1.4) + e500_v10 PVR 80200010 + mpc8540_v10 PVR 80200010 + mpc8560_v10 PVR 80200010 + e500_v20 PVR 80200020 + e500v1 (alias for e500_v20) + mpc8540_v20 PVR 80200020 + mpc8540_v21 PVR 80200020 + mpc8540 (alias for mpc8540_v21) + mpc8541_v10 PVR 80200020 + mpc8541_v11 PVR 80200020 + mpc8541 (alias for mpc8541_v11) + mpc8541e_v10 PVR 80200020 + mpc8541e_v11 PVR 80200020 + mpc8541e (alias for mpc8541e_v11) + mpc8555_v10 PVR 80200020 + mpc8555_v11 PVR 80200020 + mpc8555 (alias for mpc8555_v11) + mpc8555e_v10 PVR 80200020 + mpc8555e_v11 PVR 80200020 + mpc8555e (alias for mpc8555e_v11) + mpc8560_v20 PVR 80200020 + mpc8560_v21 PVR 80200020 + mpc8560 (alias for mpc8560_v21) + e500v2_v10 PVR 80210010 + mpc8543_v10 PVR 80210010 + mpc8543e_v10 PVR 80210010 + mpc8548_v10 PVR 80210010 + mpc8548e_v10 PVR 80210010 + mpc8543_v11 PVR 80210011 + mpc8543e_v11 PVR 80210011 + mpc8548_v11 PVR 80210011 + mpc8548e_v11 PVR 80210011 + e500v2_v20 PVR 80210020 + mpc8543_v20 PVR 80210020 + mpc8543e_v20 PVR 80210020 + mpc8545_v20 PVR 80210020 + mpc8545e_v20 PVR 80210020 + mpc8547e_v20 PVR 80210020 + mpc8548_v20 PVR 80210020 + mpc8548e_v20 PVR 80210020 + e500v2_v21 PVR 80210021 + mpc8533_v10 PVR 80210021 + mpc8533e_v10 PVR 80210021 + mpc8543_v21 PVR 80210021 + mpc8543 (alias for mpc8543_v21) + mpc8543e_v21 PVR 80210021 + mpc8543e (alias for mpc8543e_v21) + mpc8544_v10 PVR 80210021 + mpc8544e_v10 PVR 80210021 + mpc8545_v21 PVR 80210021 + mpc8545 (alias for mpc8545_v21) + mpc8545e_v21 PVR 80210021 + mpc8545e (alias for mpc8545e_v21) + mpc8547e_v21 PVR 80210021 + mpc8547e (alias for mpc8547e_v21) + mpc8548_v21 PVR 80210021 + mpc8548 (alias for mpc8548_v21) + mpc8548e_v21 PVR 80210021 + mpc8548e (alias for mpc8548e_v21) + e500v2_v22 PVR 80210022 + e500 (alias for e500v2_v22) + e500v2 (alias for e500v2_v22) + mpc8533_v11 PVR 80210022 + mpc8533 (alias for mpc8533_v11) + mpc8533e_v11 PVR 80210022 + mpc8533e (alias for mpc8533e_v11) + mpc8544_v11 PVR 80210022 + mpc8544 (alias for mpc8544_v11) + mpc8544e_v11 PVR 80210022 + mpc8544e (alias for mpc8544e_v11) + mpc8567 PVR 80210022 + mpc8567e PVR 80210022 + mpc8568 PVR 80210022 + mpc8568e PVR 80210022 + e500v2_v30 PVR 80210030 + mpc8572 PVR 80210030 + mpc8572e PVR 80210030 + e500mc PVR 80230020 + e5500 PVR 80240020 + e6500 PVR 80400020 + g2h4 PVR 80811010 + g2hip4 PVR 80811014 + mpc8241 (alias for g2hip4) + mpc8245 (alias for g2hip4) + mpc8250 (alias for g2hip4) + mpc8250_hip4 (alias for g2hip4) + mpc8255 (alias for g2hip4) + mpc8255_hip4 (alias for g2hip4) + mpc8260 (alias for g2hip4) + mpc8260_hip4 (alias for g2hip4) + mpc8264 (alias for g2hip4) + mpc8264_hip4 (alias for g2hip4) + mpc8265 (alias for g2hip4) + mpc8265_hip4 (alias for g2hip4) + mpc8266 (alias for g2hip4) + mpc8266_hip4 (alias for g2hip4) + g2le PVR 80820010 + g2gp PVR 80821010 + g2legp PVR 80822010 + g2legp1 PVR 80822011 + mpc5200_v10 PVR 80822011 + mpc5200_v11 PVR 80822011 + mpc5200_v12 PVR 80822011 + mpc52xx (alias for mpc5200_v12) + mpc5200 (alias for mpc5200_v12) + mpc5200b_v20 PVR 80822011 + mpc5200b_v21 PVR 80822011 + mpc5200b (alias for mpc5200b_v21) + g2legp3 PVR 80822013 + mpc82xx (alias for g2legp3) + powerquicc-ii (alias for g2legp3) + mpc8247 (alias for g2legp3) + mpc8248 (alias for g2legp3) + mpc8270 (alias for g2legp3) + mpc8271 (alias for g2legp3) + mpc8272 (alias for g2legp3) + mpc8275 (alias for g2legp3) + mpc8280 (alias for g2legp3) + g2ls PVR 90810010 + g2lels PVR a0822010 diff --git a/cmdline_ref/qemu-ppc64le.help b/cmdline_ref/qemu-ppc64le.help new file mode 100644 index 00000000000..1125c498ede --- /dev/null +++ b/cmdline_ref/qemu-ppc64le.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for ppc64le emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-ppc64le +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-riscv32.cpu_help b/cmdline_ref/qemu-riscv32.c= pu_help new file mode 100644 index 00000000000..34163adba41 --- /dev/null +++ b/cmdline_ref/qemu-riscv32.cpu_help @@ -0,0 +1,9 @@ +Available CPUs: + lowrisc-ibex + max + rv32 + rv32e + rv32i + sifive-e31 + sifive-e34 + sifive-u34 diff --git a/cmdline_ref/qemu-riscv32.help b/cmdline_ref/qemu-riscv32.help new file mode 100644 index 00000000000..c0e23b891ce --- /dev/null +++ b/cmdline_ref/qemu-riscv32.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for riscv32 emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-riscv32 +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-riscv64.cpu_help b/cmdline_ref/qemu-riscv64.c= pu_help new file mode 100644 index 00000000000..b105c83665a --- /dev/null +++ b/cmdline_ref/qemu-riscv64.cpu_help @@ -0,0 +1,20 @@ +Available CPUs: + max + mips-p8700 + rv64 + rv64e + rv64i + rva22s64 + rva22u64 + rva23s64 + rva23u64 + shakti-c + sifive-e51 + sifive-u54 + thead-c906 + thead-c908 + thead-c908v + tt-ascalon + veyron-v1 + xiangshan-kunminghu + xiangshan-nanhu diff --git a/cmdline_ref/qemu-riscv64.help b/cmdline_ref/qemu-riscv64.help new file mode 100644 index 00000000000..f5c96953cb0 --- /dev/null +++ b/cmdline_ref/qemu-riscv64.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for riscv64 emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-riscv64 +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-s390x.cpu_help b/cmdline_ref/qemu-s390x.cpu_h= elp new file mode 100644 index 00000000000..844b9418a9a --- /dev/null +++ b/cmdline_ref/qemu-s390x.cpu_help @@ -0,0 +1,512 @@ +Available CPUs: + qemu QEMU Virtual CPU version 2.5+ (migration-safe) + max Enables all features supported by the accelerator in the= current host + z900-base IBM zSeries 900 GA1 (static, migration-s= afe) + z900 IBM zSeries 900 GA1 (migration-safe) + z900.2-base IBM zSeries 900 GA2 (static, migration-s= afe) + z900.2 IBM zSeries 900 GA2 (migration-safe) + z900.3-base IBM zSeries 900 GA3 (static, migration-s= afe) + z900.3 IBM zSeries 900 GA3 (migration-safe) + z800-base IBM zSeries 800 GA1 (static, migration-s= afe) + z800 IBM zSeries 800 GA1 (migration-safe) + z990-base IBM zSeries 990 GA1 (static, migration-s= afe) + z990 IBM zSeries 990 GA1 (migration-safe) + z990.2-base IBM zSeries 990 GA2 (static, migration-s= afe) + z990.2 IBM zSeries 990 GA2 (migration-safe) + z990.3-base IBM zSeries 990 GA3 (static, migration-s= afe) + z990.3 IBM zSeries 990 GA3 (migration-safe) + z890-base IBM zSeries 880 GA1 (static, migration-s= afe) + z890 IBM zSeries 880 GA1 (migration-safe) + z990.4-base IBM zSeries 990 GA4 (static, migration-s= afe) + z990.4 IBM zSeries 990 GA4 (migration-safe) + z890.2-base IBM zSeries 880 GA2 (static, migration-s= afe) + z890.2 IBM zSeries 880 GA2 (migration-safe) + z990.5-base IBM zSeries 990 GA5 (static, migration-s= afe) + z990.5 IBM zSeries 990 GA5 (migration-safe) + z890.3-base IBM zSeries 880 GA3 (static, migration-s= afe) + z890.3 IBM zSeries 880 GA3 (migration-safe) + z9EC-base IBM System z9 EC GA1 (static, migration-s= afe) + z9EC IBM System z9 EC GA1 (migration-safe) + z9EC.2-base IBM System z9 EC GA2 (static, migration-s= afe) + z9EC.2 IBM System z9 EC GA2 (migration-safe) + z9BC-base IBM System z9 BC GA1 (static, migration-s= afe) + z9BC IBM System z9 BC GA1 (migration-safe) + z9EC.3-base IBM System z9 EC GA3 (static, migration-s= afe) + z9EC.3 IBM System z9 EC GA3 (migration-safe) + z9BC.2-base IBM System z9 BC GA2 (static, migration-s= afe) + z9BC.2 IBM System z9 BC GA2 (migration-safe) + z10EC-base IBM System z10 EC GA1 (static, migration-s= afe) + z10EC IBM System z10 EC GA1 (migration-safe) + z10EC.2-base IBM System z10 EC GA2 (static, migration-s= afe) + z10EC.2 IBM System z10 EC GA2 (migration-safe) + z10BC-base IBM System z10 BC GA1 (static, migration-s= afe) + z10BC IBM System z10 BC GA1 (migration-safe) + z10EC.3-base IBM System z10 EC GA3 (static, migration-s= afe) + z10EC.3 IBM System z10 EC GA3 (migration-safe) + z10BC.2-base IBM System z10 BC GA2 (static, migration-s= afe) + z10BC.2 IBM System z10 BC GA2 (migration-safe) + z196-base IBM zEnterprise 196 GA1 (static, migration-s= afe) + z196 IBM zEnterprise 196 GA1 (migration-safe) + z196.2-base IBM zEnterprise 196 GA2 (static, migration-s= afe) + z196.2 IBM zEnterprise 196 GA2 (migration-safe) + z114-base IBM zEnterprise 114 GA1 (static, migration-s= afe) + z114 IBM zEnterprise 114 GA1 (migration-safe) + zEC12-base IBM zEnterprise EC12 GA1 (static, migration-s= afe) + zEC12 IBM zEnterprise EC12 GA1 (migration-safe) + zEC12.2-base IBM zEnterprise EC12 GA2 (static, migration-s= afe) + zEC12.2 IBM zEnterprise EC12 GA2 (migration-safe) + zBC12-base IBM zEnterprise BC12 GA1 (static, migration-s= afe) + zBC12 IBM zEnterprise BC12 GA1 (migration-safe) + z13-base IBM z13 GA1 (static, migration-s= afe) + z13 IBM z13 GA1 (migration-safe) + z13.2-base IBM z13 GA2 (static, migration-s= afe) + z13.2 IBM z13 GA2 (migration-safe) + z13s-base IBM z13s GA1 (static, migration-s= afe) + z13s IBM z13s GA1 (migration-safe) + z14-base IBM z14 GA1 (static, migration-s= afe) + z14 IBM z14 GA1 (migration-safe) + z14.2-base IBM z14 GA2 (static, migration-s= afe) + z14.2 IBM z14 GA2 (migration-safe) + z14ZR1-base IBM z14 Model ZR1 GA1 (static, migration-s= afe) + z14ZR1 IBM z14 Model ZR1 GA1 (migration-safe) + gen15a-base IBM z15 T01 GA1 (static, migration-s= afe) + gen15a IBM z15 T01 GA1 (migration-safe) + gen15b-base IBM z15 T02 GA1 (static, migration-s= afe) + gen15b IBM z15 T02 GA1 (migration-safe) + gen16a-base IBM 3931 GA1 (static, migration-s= afe) + gen16a IBM 3931 GA1 (migration-safe) + gen16b-base IBM 3932 GA1 (static, migration-s= afe) + gen16b IBM 3932 GA1 (migration-safe) + gen17a-base IBM 9175 GA1 (static, migration-s= afe) + gen17a IBM 9175 GA1 (migration-safe) + gen17b-base IBM 9176 GA1 (static, migration-s= afe) + gen17b IBM 9176 GA1 (migration-safe) + +Recognized feature flags: + esan3 Instructions marked as n3 + zarch z/Architecture architectural mode + dateh DAT-enhancement facility + idtes IDTE selective TLB segment-table clearing + idter IDTE selective TLB region-table clearing + asnlxr ASN-and-LX reuse facility + stfle Store-facility-list-extended facility + edat Enhanced-DAT facility + srs Sense-running-status facility + csske Conditional-SSKE facility + ctop Configuration-topology facility + apqci Query AP Configuration Information facility + ipter IPTE-range facility + nonqks Nonquiescing key-setting facility + apft AP Facilities Test facility + etf2 Extended-translation facility 2 + msa-base Message-security-assist facility (excluding subfunc= tions) + ldisp Long-displacement facility + ldisphp Long-displacement facility has high performance + hfpm HFP-multiply-add/subtract facility + eimm Extended-immediate facility + etf3 Extended-translation facility 3 + hfpue HFP-unnormalized-extension facility + etf2eh ETF2-enhancement facility + stckf Store-clock-fast facility + parseh Parsing-enhancement facility + mvcos Move-with-optional-specification facility + tods-base TOD-clock-steering facility (excluding subfunctions) + etf3eh ETF3-enhancement facility + ectg Extract-CPU-time facility + csst Compare-and-swap-and-store facility + csst2 Compare-and-swap-and-store facility 2 + ginste General-instructions-extension facility + exrl Execute-extensions facility + emon Enhanced-monitor facility + fpe Floating-point extension facility + opc Order Preserving Compression facility + sprogp Set-program-parameters facility + fpseh Floating-point-support-enhancement facilities + dfp DFP (decimal-floating-point) facility + dfphp DFP (decimal-floating-point) facility has high perf= ormance + pfpo PFPO instruction + stfle45 Various facilities introduced with z196 + cmpsceh CMPSC-enhancement facility + dfpzc Decimal-floating-point zoned-conversion facility + stfle49 Various facilities introduced with zEC12 + cte Constrained transactional-execution facility + ltlbc Local-TLB-clearing facility + iacc2 Interlocked-access facility 2 + stfle53 Various facilities introduced with z13 + eec Entropy encoding compression facility + msa5-base Message-security-assist-extension-5 facility (exclu= ding subfunctions) + minste2 Miscellaneous-instruction-extensions facility 2 + sema Semaphore-assist facility + tsi Time-slice Instrumentation facility + minste3 Miscellaneous-Instruction-Extensions Facility 3 + ri CPU runtime-instrumentation facility + apqi AP-Queue interruption facility + zpci z/PCI facility + aen General-purpose-adapter-event-notification facility + ais General-purpose-adapter-interruption-suppression fa= cility + te Transactional-execution facility + sthyi Store-hypervisor-information facility + aefsi Access-exception-fetch/store-indication facility + msa3-base Message-security-assist-extension-3 facility (exclu= ding subfunctions) + msa4-base Message-security-assist-extension-4 facility (exclu= ding subfunctions) + edat2 Enhanced-DAT facility 2 + dfppc Decimal-floating-point packed-conversion facility + ppa15 PPA15 is installed + bpb Branch prediction blocking + minste4 Miscellaneous-Instruction-Extensions Facility 4 + sif Sequential-instruction-fetching facility + msa12-base Message-security-assist-extension-12 facility (excl= uding subfunctions) + plo-ext PLO-extension facility + vx Vector facility + iep Instruction-execution-protection facility + sea_esop2 Side-effect-access facility and Enhanced-suppressio= n-on-protection facility 2 + gs Guarded-storage facility + vxpd Vector packed decimal facility + vxeh Vector enhancements facility + mepoch Multiple-epoch facility + els Extended-length SCCB facility + tpei Test-pending-external-interruption facility + irbm Insert-reference-bits-multiple facility + msa8-base Message-security-assist-extension-8 facility (exclu= ding subfunctions) + cmmnt CMM: ESSA-enhancement (no translate) facility + vxeh2 Vector Enhancements facility 2 + esort-base Enhanced-sort facility (excluding subfunctions) + deflate-base Deflate-conversion facility (excluding subfunctions) + vxpdeh Vector-Packed-Decimal-Enhancement Facility + msa9-base Message-security-assist-extension-9 facility (exclu= ding subfunctions) + etoken Etoken facility + unpack Unpack facility + nnpa NNPA facility + ineff_nc_tx Ineffective-nonconstrained-transaction facility + vxpdeh2 Vector-Packed-Decimal-Enhancement facility 2 + beareh BEAR-enhancement facility + rdp Reset-DAT-protection facility + pai Processor-Activity-Instrumentation facility + paie Processor-Activity-Instrumentation extension-1 + vxeh3 Vector Enhancements facility 3 + vxpdeh3 Vector-Packed-Decimal-Enhancement facility 3 + ccf-base Concurrent-Functions facility + gsls SIE: Guest-storage-limit-suppression facility + esop Enhanced-suppression-on-protection facility + hpma2 Host page management assist 2 Facility + kss SIE: Keyless-subset facility + 64bscao SIE: 64-bit-SCAO facility + cmma SIE: Collaborative-memory-management assist + pfmfi SIE: PFMF interpretation facility + ibs SIE: Interlock-and-broadcast-suppression facility + diag318 Control program name and version codes + cstore Certificate Store functions + sipl Secure-IPL facility + sclaf Secure-IPL-code-loading-attributes facility + astfleie2 SIE: ASTFLE interpretation execution facility 2 + sief2 SIE: interception format 2 (Virtual SIE) + skey SIE: Storage-key facility + gpereh SIE: Guest-PER enhancement facility + siif SIE: Shared IPTE-interlock facility + sigpif SIE: SIGP interpretation facility + ib SIE: Intervention bypass facility + cei SIE: Conditional-external-interception facility + dateh2 DAT-enhancement facility 2 + cmm Collaborative-memory-management facility + ap AP instructions installed + plo-cl PLO Compare and load (32 bit in general registers) + plo-clg PLO Compare and load (64 bit in parameter list) + plo-clgr PLO Compare and load (64 bit in general registers) + plo-clx PLO Compare and load (128 bit in parameter list) + plo-cs PLO Compare and swap (32 bit in general registers) + plo-csg PLO Compare and swap (64 bit in parameter list) + plo-csgr PLO Compare and swap (64 bit in general registers) + plo-csx PLO Compare and swap (128 bit in parameter list) + plo-dcs PLO Double compare and swap (32 bit in general regi= sters) + plo-dcsg PLO Double compare and swap (64 bit in parameter li= st) + plo-dcsgr PLO Double compare and swap (64 bit in general regi= sters) + plo-dcsx PLO Double compare and swap (128 bit in parameter l= ist) + plo-csst PLO Compare and swap and store (32 bit in general r= egisters) + plo-csstg PLO Compare and swap and store (64 bit in parameter= list) + plo-csstgr PLO Compare and swap and store (64 bit in general r= egisters) + plo-csstx PLO Compare and swap and store (128 bit in paramete= r list) + plo-csdst PLO Compare and swap and double store (32 bit in ge= neral registers) + plo-csdstg PLO Compare and swap and double store (64 bit in pa= rameter list) + plo-csdstgr PLO Compare and swap and double store (64 bit in ge= neral registers) + plo-csdstx PLO Compare and swap and double store (128 bit in p= arameter list) + plo-cstst PLO Compare and swap and triple store (32 bit in ge= neral registers) + plo-cststg PLO Compare and swap and triple store (64 bit in pa= rameter list) + plo-cststgr PLO Compare and swap and triple store (64 bit in ge= neral registers) + plo-cststx PLO Compare and swap and triple store (128 bit in p= arameter list) + plo-clo PLO Compare and load (256 bit in parameter list) + plo-cso PLO Compare and swap (256 bit in parameter list) + plo-dcso PLO Double compare and swap (256 bit in parameter l= ist) + plo-cssto PLO Compare and swap and store (256 bit in paramete= r list) + plo-csdsto PLO Compare and swap and double store (256 bit in p= arameter list) + plo-cststo PLO Compare and swap and triple store (256 bit in p= arameter list) + plo-tcs Triple compare and swap (32 bit in parameter list) + plo-tcsg Triple compare and swap (64 bit in parameter list) + plo-tcsx Triple compare and swap (128 bit in parameter list) + plo-tcso Triple compare and swap (256 bit in parameter list) + plo-qcs Quadruple compare and swap (32 bit in parameter lis= t) + plo-qcsg Quadruple compare and swap (64 bit in parameter lis= t) + plo-qcsx Quadruple compare and swap (128 bit in parameter li= st) + plo-qcso Quadruple compare and swap (256 bit in parameter li= st) + plo-lo Load (256 bit in parameter list) + plo-dlx Double load (128 bit in parameter list) + plo-dlo Double load (256 bit in parameter list) + plo-tl Triple load (32 bit in parameter list) + plo-tlg Triple load (64 bit in parameter list) + plo-tlx Triple load (128 bit in parameter list) + plo-tlo Triple load (256 bit in parameter list) + plo-ql Quadruple load (32 bit in parameter list) + plo-qlg Quadruple load (64 bit in parameter list) + plo-qlx Quadruple load (128 bit in parameter list) + plo-qlo Quadruple load (256 bit in parameter list) + plo-sto Store (256 bit in parameter list) + plo-dst Double store (32 bit in parameter list) + plo-dstg Double store (64 bit in parameter list) + plo-dstx Double store (128 bit in parameter list) + plo-dsto Double store (256 bit in parameter list) + plo-tst Triple store (32 bit in parameter list) + plo-tstg Triple store (64 bit in parameter list) + plo-tstx Triple store (128 bit in parameter list) + plo-tsto Triple store (256 bit in parameter list) + plo-qst Quadruple store (32 bit in parameter list) + plo-qstg Quadruple store (64 bit in parameter list) + plo-qstx Quadruple store (128 bit in parameter list) + plo-qsto Quadruple store (256 bit in parameter list) + ptff-qto PTFF Query TOD Offset + ptff-qsi PTFF Query Steering Information + ptff-qpc PTFF Query Physical Clock + ptff-qui PTFF Query UTC Information + ptff-qtou PTFF Query TOD Offset User + ptff-qtse PTFF Query Time-Stamp Event + ptff-qsie PTFF Query Steering Information Extended + ptff-qtoue PTFF Query TOD Offset User Extended + ptff-sto PTFF Set TOD Offset + ptff-stou PTFF Set TOD Offset User + ptff-stoe PTFF Set TOD Offset Extended + ptff-stoue PTFF Set TOD Offset User Extended + kmac-dea KMAC DEA + kmac-tdea-128 KMAC TDEA-128 + kmac-tdea-192 KMAC TDEA-192 + kmac-edea KMAC Encrypted-DEA + kmac-etdea-128 KMAC Encrypted-TDEA-128 + kmac-etdea-192 KMAC Encrypted-TDEA-192 + kmac-aes-128 KMAC AES-128 + kmac-aes-192 KMAC AES-192 + kmac-aes-256 KMAC AES-256 + kmac-eaes-128 KMAC Encrypted-AES-128 + kmac-eaes-192 KMAC Encrypted-AES-192 + kmac-eaes-256 KMAC Encrypted-AES-256 + kmac-hmac-sha-224 KMAC HMAC-SHA-224 + kmac-hmac-sha-246 KMAC HMAC-SHA-256 + kmac-hmac-sha-384 KMAC HMAC-SHA-384 + kmac-hmac-sha-512 KMAC HMAC-SHA-512 + kmac-hmac-esha-224 KMAC HMAC-Encrypted-SHA-224 + kmac-hmac-esha-246 KMAC HMAC-Encrypted-SHA-256 + kmac-hmac-esha-384 KMAC HMAC-Encrypted-SHA-384 + kmac-hmac-esha-512 KMAC HMAC-Encrypted-SHA-512 + kmac-qai KMAC Query-Authentication-Information + kmc-dea KMC DEA + kmc-tdea-128 KMC TDEA-128 + kmc-tdea-192 KMC TDEA-192 + kmc-edea KMC Encrypted-DEA + kmc-etdea-128 KMC Encrypted-TDEA-128 + kmc-etdea-192 KMC Encrypted-TDEA-192 + kmc-aes-128 KMC AES-128 + kmc-aes-192 KMC AES-192 + kmc-aes-256 KMC AES-256 + kmc-eaes-128 KMC Encrypted-AES-128 + kmc-eaes-192 KMC Encrypted-AES-192 + kmc-eaes-256 KMC Encrypted-AES-256 + kmc-prng KMC PRNG + km-dea KM DEA + km-tdea-128 KM TDEA-128 + km-tdea-192 KM TDEA-192 + km-edea KM Encrypted-DEA + km-etdea-128 KM Encrypted-TDEA-128 + km-etdea-192 KM Encrypted-TDEA-192 + km-aes-128 KM AES-128 + km-aes-192 KM AES-192 + km-aes-256 KM AES-256 + km-eaes-128 KM Encrypted-AES-128 + km-eaes-192 KM Encrypted-AES-192 + km-eaes-256 KM Encrypted-AES-256 + km-xts-aes-128 KM XTS-AES-128 + km-xts-aes-256 KM XTS-AES-256 + km-xts-eaes-128 KM XTS-Encrypted-AES-128 + km-xts-eaes-256 KM XTS-Encrypted-AES-256 + km-full-xts-aes-128 KM Full-XTS-AES-128 + km-full-xts-aes-256 KM Full-XTS-AES-256 + km-full-xts-eaes-128 KM Full-XTS-Encrypted-AES-128 + km-full-xts-eaes-256 KM Full-XTS-Encrypted-AES-256 + km-qai KM Query-Authentication-Information + kimd-sha-1 KIMD SHA-1 + kimd-sha-256 KIMD SHA-256 + kimd-sha-512 KIMD SHA-512 + kimd-sha3-224 KIMD SHA3-224 + kimd-sha3-256 KIMD SHA3-256 + kimd-sha3-384 KIMD SHA3-384 + kimd-sha3-512 KIMD SHA3-512 + kimd-shake-128 KIMD SHAKE-128 + kimd-shake-256 KIMD SHAKE-256 + kimd-ghash KIMD GHASH + kimd-qai KIMD Query-Authentication-Information + klmd-sha-1 KLMD SHA-1 + klmd-sha-256 KLMD SHA-256 + klmd-sha-512 KLMD SHA-512 + klmd-sha3-224 KLMD SHA3-224 + klmd-sha3-256 KLMD SHA3-256 + klmd-sha3-384 KLMD SHA3-384 + klmd-sha3-512 KLMD SHA3-512 + klmd-shake-128 KLMD SHAKE-128 + klmd-shake-256 KLMD SHAKE-256 + klmd-qai KLMD Query-Authentication-Information + pckmo-edea PCKMO Encrypted-DEA-Key + pckmo-etdea-128 PCKMO Encrypted-TDEA-128-Key + pckmo-etdea-192 PCKMO Encrypted-TDEA-192-Key + pckmo-aes-128 PCKMO Encrypted-AES-128-Key + pckmo-aes-192 PCKMO Encrypted-AES-192-Key + pckmo-aes-256 PCKMO Encrypted-AES-256-Key + pckmo-aes-xts-128-dk PCKMO Encrypt-AES-XTS-128-Double-Key + pckmo-aes-xts-256-dk PCKMO Encrypt-AES-XTS-256-Double-Key + pckmo-ecc-p256 PCKMO Encrypt-ECC-P256-Key + pckmo-ecc-p384 PCKMO Encrypt-ECC-P384-Key + pckmo-ecc-p521 PCKMO Encrypt-ECC-P521-Key + pckmo-ecc-ed25519 PCKMO Encrypt-ECC-Ed25519-Key + pckmo-ecc-ed448 PCKMO Encrypt-ECC-Ed448-Key + pckmo-hmac-512 PCKMO Encrypt-HMAC-512-Key + pckmo-hmac-1024 PCKMO Encrypt-HMAC-1024-Key + pckmo-qai PCKMO Query-Authentication-Information + kmctr-dea KMCTR DEA + kmctr-tdea-128 KMCTR TDEA-128 + kmctr-tdea-192 KMCTR TDEA-192 + kmctr-edea KMCTR Encrypted-DEA + kmctr-etdea-128 KMCTR Encrypted-TDEA-128 + kmctr-etdea-192 KMCTR Encrypted-TDEA-192 + kmctr-aes-128 KMCTR AES-128 + kmctr-aes-192 KMCTR AES-192 + kmctr-aes-256 KMCTR AES-256 + kmctr-eaes-128 KMCTR Encrypted-AES-128 + kmctr-eaes-192 KMCTR Encrypted-AES-192 + kmctr-eaes-256 KMCTR Encrypted-AES-256 + kmctr-qai KMCTR Query-Authentication-Information + kmf-dea KMF DEA + kmf-tdea-128 KMF TDEA-128 + kmf-tdea-192 KMF TDEA-192 + kmf-edea KMF Encrypted-DEA + kmf-etdea-128 KMF Encrypted-TDEA-128 + kmf-etdea-192 KMF Encrypted-TDEA-192 + kmf-aes-128 KMF AES-128 + kmf-aes-192 KMF AES-192 + kmf-aes-256 KMF AES-256 + kmf-eaes-128 KMF Encrypted-AES-128 + kmf-eaes-192 KMF Encrypted-AES-192 + kmf-eaes-256 KMF Encrypted-AES-256 + kmf-qai KMF Query-Authentication-Information + kmo-dea KMO DEA + kmo-tdea-128 KMO TDEA-128 + kmo-tdea-192 KMO TDEA-192 + kmo-edea KMO Encrypted-DEA + kmo-etdea-128 KMO Encrypted-TDEA-128 + kmo-etdea-192 KMO Encrypted-TDEA-192 + kmo-aes-128 KMO AES-128 + kmo-aes-192 KMO AES-192 + kmo-aes-256 KMO AES-256 + kmo-eaes-128 KMO Encrypted-AES-128 + kmo-eaes-192 KMO Encrypted-AES-192 + kmo-eaes-256 KMO Encrypted-AES-256 + kmo-qai KMO Query-Authentication-Information + pcc-cmac-dea PCC Compute-Last-Block-CMAC-Using-DEA + pcc-cmac-tdea-128 PCC Compute-Last-Block-CMAC-Using-TDEA-128 + pcc-cmac-tdea-192 PCC Compute-Last-Block-CMAC-Using-TDEA-192 + pcc-cmac-edea PCC Compute-Last-Block-CMAC-Using-Encrypted-DEA + pcc-cmac-etdea-128 PCC Compute-Last-Block-CMAC-Using-Encrypted-TDEA-128 + pcc-cmac-etdea-192 PCC Compute-Last-Block-CMAC-Using-EncryptedTDEA-192 + pcc-cmac-aes-128 PCC Compute-Last-Block-CMAC-Using-AES-128 + pcc-cmac-aes-192 PCC Compute-Last-Block-CMAC-Using-AES-192 + pcc-cmac-aes-256 PCC Compute-Last-Block-CMAC-Using-AES-256 + pcc-cmac-eaes-128 PCC Compute-Last-Block-CMAC-Using-Encrypted-AES-128 + pcc-cmac-eaes-192 PCC Compute-Last-Block-CMAC-Using-Encrypted-AES-192 + pcc-cmac-eaes-256 PCC Compute-Last-Block-CMAC-Using-Encrypted-AES-256 + pcc-xts-aes-128 PCC Compute-XTS-Parameter-Using-AES-128 + pcc-xts-aes-256 PCC Compute-XTS-Parameter-Using-AES-256 + pcc-xts-eaes-128 PCC Compute-XTS-Parameter-Using-Encrypted-AES-128 + pcc-xts-eaes-256 PCC Compute-XTS-Parameter-Using-Encrypted-AES-256 + pcc-scalar-mult-p256 PCC Scalar-Multiply-P256 + pcc-scalar-mult-p384 PCC Scalar-Multiply-P384 + pcc-scalar-mult-p521 PCC Scalar-Multiply-P521 + pcc-scalar-mult-ed25519 PCC Scalar-Multiply-Ed25519 + pcc-scalar-mult-ed448 PCC Scalar-Multiply-Ed448 + pcc-scalar-mult-x25519 PCC Scalar-Multiply-X25519 + pcc-scalar-mult-x448 PCC Scalar-Multiply-X448 + pcc-qai PCC Query-Authentication-Information + ppno-sha-512-drng PPNO SHA-512-DRNG + prno-trng-qrtcr PRNO TRNG-Query-Raw-to-Conditioned-Ratio + prno-trng PRNO TRNG + prno-qai PRNO Query-Authentication-Information + kma-gcm-aes-128 KMA GCM-AES-128 + kma-gcm-aes-192 KMA GCM-AES-192 + kma-gcm-aes-256 KMA GCM-AES-256 + kma-gcm-eaes-128 KMA GCM-Encrypted-AES-128 + kma-gcm-eaes-192 KMA GCM-Encrypted-AES-192 + kma-gcm-eaes-256 KMA GCM-Encrypted-AES-256 + kma-qai KMA Query-Authentication-Information + kdsa-ecdsa-verify-p256 KDSA ECDSA-Verify-P256 + kdsa-ecdsa-verify-p384 KDSA ECDSA-Verify-P384 + kdsa-ecdsa-verify-p521 KDSA ECDSA-Verify-P521 + kdsa-ecdsa-sign-p256 KDSA ECDSA-Sign-P256 + kdsa-ecdsa-sign-p384 KDSA ECDSA-Sign-P384 + kdsa-ecdsa-sign-p521 KDSA ECDSA-Sign-P521 + kdsa-eecdsa-sign-p256 KDSA Encrypted-ECDSA-Sign-P256 + kdsa-eecdsa-sign-p384 KDSA Encrypted-ECDSA-Sign-P384 + kdsa-eecdsa-sign-p521 KDSA Encrypted-ECDSA-Sign-P521 + kdsa-eddsa-verify-ed25519 KDSA EdDSA-Verify-Ed25519 + kdsa-eddsa-verify-ed448 KDSA EdDSA-Verify-Ed448 + kdsa-eddsa-sign-ed25519 KDSA EdDSA-Sign-Ed25519 + kdsa-eddsa-sign-ed448 KDSA EdDSA-Sign-Ed448 + kdsa-eeddsa-sign-ed25519 KDSA Encrypted-EdDSA-Sign-Ed25519 + kdsa-eeddsa-sign-ed448 KDSA Encrypted-EdDSA-Sign-Ed448 + kdsa-qai KDSA Query-Authentication-Information + sortl-sflr SORTL SFLR + sortl-svlr SORTL SVLR + sortl-32 SORTL 32 input lists + sortl-128 SORTL 128 input lists + sortl-f0 SORTL format 0 parameter-block + dfltcc-gdht DFLTCC GDHT + dfltcc-cmpr DFLTCC CMPR + dfltcc-xpnd DFLTCC XPND + dfltcc-f0 DFLTCC format 0 parameter-block + appv AP instructions installed for secure guests + appvi AP instructions interruption support for secure gue= sts + pfcr-qaf PFCR Query-Available-Functions + pfcr-csdst PFCR Compare-and-Swap-and-Double-Store (32) + pfcr-csdstg PFCR Compare-and-Swap-and-Double-Store (64) + pfcr-cstst PFCR Compare-and-Swap-and-Triple-Store (32) + pfcr-cststg PFCR Compare-and-Swap-and-Triple-Store (64) + +Recognized feature groups: + plo Perform-locked-operation facility + plo_ext PLO-extension facility + tods Tod-clock-steering facility + gen13ptff PTFF enhancements introduced with z13 + gen17ptff PTFF enhancements introduced with gen17 + msa Message-security-assist facility + msa1 Message-security-assist-extension 1 facility + msa2 Message-security-assist-extension 2 facility + msa3 Message-security-assist-extension 3 facility + msa4 Message-security-assist-extension 4 facility + msa5 Message-security-assist-extension 5 facility + msa6 Message-security-assist-extension 6 facility + msa7 Message-security-assist-extension 7 facility + msa8 Message-security-assist-extension 8 facility + msa9 Message-security-assist-extension 9 facility + msa9_pckmo Message-security-assist-extension 9 PCKMO subfuncti= ons + msa10 Message-security-assist-extension 10 facility + msa10_pckmo Message-security-assist-extension 10 PCKMO subfunct= ions + msa11 Message-security-assist-extension 11 facility + msa11_pckmo Message-security-assist-extension 11 PCKMO subfunct= ions + msa12 Message-security-assist-extension 12 facility + msa13 Message-security-assist-extension 13 facility + msa13_pckmo Message-security-assist-extension 13 PCKMO subfunct= ions + mepochptff PTFF enhancements introduced with Multiple-epoch fa= cility + esort Enhanced-sort facility + deflate Deflate-conversion facility + ccf Concurrent-functions facility diff --git a/cmdline_ref/qemu-s390x.help b/cmdline_ref/qemu-s390x.help new file mode 100644 index 00000000000..a2e6e8ada1f --- /dev/null +++ b/cmdline_ref/qemu-s390x.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for s390x emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-s390x +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-sh4.cpu_help b/cmdline_ref/qemu-sh4.cpu_help new file mode 100644 index 00000000000..723cc692fba --- /dev/null +++ b/cmdline_ref/qemu-sh4.cpu_help @@ -0,0 +1,4 @@ +Available CPUs: + sh7750r + sh7751r + sh7785 diff --git a/cmdline_ref/qemu-sh4.help b/cmdline_ref/qemu-sh4.help new file mode 100644 index 00000000000..46e8df60093 --- /dev/null +++ b/cmdline_ref/qemu-sh4.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for sh4 emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-sh4 +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-sh4eb.cpu_help b/cmdline_ref/qemu-sh4eb.cpu_h= elp new file mode 100644 index 00000000000..723cc692fba --- /dev/null +++ b/cmdline_ref/qemu-sh4eb.cpu_help @@ -0,0 +1,4 @@ +Available CPUs: + sh7750r + sh7751r + sh7785 diff --git a/cmdline_ref/qemu-sh4eb.help b/cmdline_ref/qemu-sh4eb.help new file mode 100644 index 00000000000..f3650d31402 --- /dev/null +++ b/cmdline_ref/qemu-sh4eb.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for sh4eb emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-sh4eb +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-sparc.cpu_help b/cmdline_ref/qemu-sparc.cpu_h= elp new file mode 100644 index 00000000000..fac5d95210b --- /dev/null +++ b/cmdline_ref/qemu-sparc.cpu_help @@ -0,0 +1,17 @@ +Available CPU types: + Fujitsu-MB86904 (IU 04000000 FPU 00080000 MMU 04000000 NWINS 8) + Fujitsu-MB86907 (IU 05000000 FPU 00080000 MMU 05000000 NWINS 8) + TI-MicroSparc-I (IU 41000000 FPU 00080000 MMU 41000000 NWINS 7) -fsm= uld + TI-MicroSparc-II (IU 42000000 FPU 00080000 MMU 02000000 NWINS 8) + TI-MicroSparc-IIep (IU 42000000 FPU 00080000 MMU 04000000 NWINS 8) + TI-SuperSparc-40 (IU 41000000 FPU 00000000 MMU 00000800 NWINS 8) + TI-SuperSparc-50 (IU 40000000 FPU 00000000 MMU 01000800 NWINS 8) + TI-SuperSparc-51 (IU 40000000 FPU 00000000 MMU 01000000 NWINS 8) + TI-SuperSparc-60 (IU 40000000 FPU 00000000 MMU 01000800 NWINS 8) + TI-SuperSparc-61 (IU 44000000 FPU 00000000 MMU 01000000 NWINS 8) + TI-SuperSparc-II (IU 40000000 FPU 00000000 MMU 08000000 NWINS 8) + LEON2 (IU f2000000 FPU 00080000 MMU f2000000 NWINS 8) + LEON3 (IU f3000000 FPU 00080000 MMU f3000000 NWINS 8) +Default CPU feature flags (use '-' to remove): mul div fsmuld +Available CPU feature flags (use '+' to add): float128 +Numerical features (use '=3D' to set): iu_version fpu_version mmu_version = nwindows diff --git a/cmdline_ref/qemu-sparc.help b/cmdline_ref/qemu-sparc.help new file mode 100644 index 00000000000..82de0855ea6 --- /dev/null +++ b/cmdline_ref/qemu-sparc.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for sparc emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-sparc +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-sparc32plus.cpu_help b/cmdline_ref/qemu-sparc= 32plus.cpu_help new file mode 100644 index 00000000000..fa3179dbcd1 --- /dev/null +++ b/cmdline_ref/qemu-sparc32plus.cpu_help @@ -0,0 +1,21 @@ +Available CPU types: + Fujitsu-Sparc64 (IU 0004000200000000 FPU 00000000 MMU 00000000 NWINS= 4) + Fujitsu-Sparc64-III (IU 0004000300000000 FPU 00000000 MMU 00000000 NWINS= 5) + Fujitsu-Sparc64-IV (IU 0004000400000000 FPU 00000000 MMU 00000000 NWINS= 8) + Fujitsu-Sparc64-V (IU 0004000551000000 FPU 00000000 MMU 00000000 NWINS= 8) + TI-UltraSparc-I (IU 0017001040000000 FPU 00000000 MMU 00000000 NWINS= 8) + TI-UltraSparc-II (IU 0017001120000000 FPU 00000000 MMU 00000000 NWINS= 8) + TI-UltraSparc-IIi (IU 0017001291000000 FPU 00000000 MMU 00000000 NWINS= 8) + TI-UltraSparc-IIe (IU 0017001314000000 FPU 00000000 MMU 00000000 NWINS= 8) + Sun-UltraSparc-III (IU 003e001434000000 FPU 00000000 MMU 00000000 NWINS= 8) + Sun-UltraSparc-III-Cu (IU 003e001541000000 FPU 00000000 MMU 00000001 NWIN= S 8) + Sun-UltraSparc-IIIi (IU 003e001634000000 FPU 00000000 MMU 00000000 NWINS= 8) + Sun-UltraSparc-IV (IU 003e001831000000 FPU 00000000 MMU 00000002 NWINS= 8) + Sun-UltraSparc-IV-plus (IU 003e001922000000 FPU 00000000 MMU 00000000 NWI= NS 8) +cmt + Sun-UltraSparc-IIIi-plus (IU 003e002200000000 FPU 00000000 MMU 00000001 N= WINS 8) + Sun-UltraSparc-T1 (IU 003e002302000000 FPU 00000000 MMU 00000003 NWINS= 8) +hypv +cmt +gl + Sun-UltraSparc-T2 (IU 003e002402000000 FPU 00000000 MMU 00000003 NWINS= 8) +hypv +cmt +gl + NEC-UltraSparc-I (IU 0022001040000000 FPU 00000000 MMU 00000000 NWINS= 8) +Default CPU feature flags (use '-' to remove): vis1 vis2 +Available CPU feature flags (use '+' to add): float128 hypv cmt gl fmaf vi= s3 ima vis4 +Numerical features (use '=3D' to set): iu_version fpu_version mmu_version = nwindows diff --git a/cmdline_ref/qemu-sparc32plus.help b/cmdline_ref/qemu-sparc32pl= us.help new file mode 100644 index 00000000000..9dd298b2b9a --- /dev/null +++ b/cmdline_ref/qemu-sparc32plus.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for sparc32plus emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-sparc32plus +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-sparc64.cpu_help b/cmdline_ref/qemu-sparc64.c= pu_help new file mode 100644 index 00000000000..fa3179dbcd1 --- /dev/null +++ b/cmdline_ref/qemu-sparc64.cpu_help @@ -0,0 +1,21 @@ +Available CPU types: + Fujitsu-Sparc64 (IU 0004000200000000 FPU 00000000 MMU 00000000 NWINS= 4) + Fujitsu-Sparc64-III (IU 0004000300000000 FPU 00000000 MMU 00000000 NWINS= 5) + Fujitsu-Sparc64-IV (IU 0004000400000000 FPU 00000000 MMU 00000000 NWINS= 8) + Fujitsu-Sparc64-V (IU 0004000551000000 FPU 00000000 MMU 00000000 NWINS= 8) + TI-UltraSparc-I (IU 0017001040000000 FPU 00000000 MMU 00000000 NWINS= 8) + TI-UltraSparc-II (IU 0017001120000000 FPU 00000000 MMU 00000000 NWINS= 8) + TI-UltraSparc-IIi (IU 0017001291000000 FPU 00000000 MMU 00000000 NWINS= 8) + TI-UltraSparc-IIe (IU 0017001314000000 FPU 00000000 MMU 00000000 NWINS= 8) + Sun-UltraSparc-III (IU 003e001434000000 FPU 00000000 MMU 00000000 NWINS= 8) + Sun-UltraSparc-III-Cu (IU 003e001541000000 FPU 00000000 MMU 00000001 NWIN= S 8) + Sun-UltraSparc-IIIi (IU 003e001634000000 FPU 00000000 MMU 00000000 NWINS= 8) + Sun-UltraSparc-IV (IU 003e001831000000 FPU 00000000 MMU 00000002 NWINS= 8) + Sun-UltraSparc-IV-plus (IU 003e001922000000 FPU 00000000 MMU 00000000 NWI= NS 8) +cmt + Sun-UltraSparc-IIIi-plus (IU 003e002200000000 FPU 00000000 MMU 00000001 N= WINS 8) + Sun-UltraSparc-T1 (IU 003e002302000000 FPU 00000000 MMU 00000003 NWINS= 8) +hypv +cmt +gl + Sun-UltraSparc-T2 (IU 003e002402000000 FPU 00000000 MMU 00000003 NWINS= 8) +hypv +cmt +gl + NEC-UltraSparc-I (IU 0022001040000000 FPU 00000000 MMU 00000000 NWINS= 8) +Default CPU feature flags (use '-' to remove): vis1 vis2 +Available CPU feature flags (use '+' to add): float128 hypv cmt gl fmaf vi= s3 ima vis4 +Numerical features (use '=3D' to set): iu_version fpu_version mmu_version = nwindows diff --git a/cmdline_ref/qemu-sparc64.help b/cmdline_ref/qemu-sparc64.help new file mode 100644 index 00000000000..c7e39430fe0 --- /dev/null +++ b/cmdline_ref/qemu-sparc64.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for sparc64 emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-sparc64 +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-aarch64.cpu_help b/cmdline_ref/qemu-sy= stem-aarch64.cpu_help new file mode 100644 index 00000000000..06e66ede2a4 --- /dev/null +++ b/cmdline_ref/qemu-system-aarch64.cpu_help @@ -0,0 +1,40 @@ +Available CPUs: + a64fx + arm1026 + arm1136 + arm1136-r2 + arm1176 + arm11mpcore + arm926 + arm946 + cortex-a15 + cortex-a35 + cortex-a53 + cortex-a55 + cortex-a57 + cortex-a7 + cortex-a710 + cortex-a72 + cortex-a76 + cortex-a78ae + cortex-a8 + cortex-a9 + cortex-m0 + cortex-m3 + cortex-m33 + cortex-m4 + cortex-m55 + cortex-m7 + cortex-r5 + cortex-r52 + cortex-r5f + host + max + max-v8 + max-v9 + neoverse-n1 + neoverse-n2 + neoverse-v1 + sa1100 + sa1110 + ti925t diff --git a/cmdline_ref/qemu-system-aarch64.device_help b/cmdline_ref/qemu= -system-aarch64.device_help new file mode 100644 index 00000000000..4a498e5f5cc --- /dev/null +++ b/cmdline_ref/qemu-system-aarch64.device_help @@ -0,0 +1,446 @@ +Controller/Bridge/Hub devices: +name "aspeed.pcie-root-port", bus PCI, desc "ASPEED PCIe Root Port" +name "cxl-downstream", bus PCI, desc "CXL Switch Downstream Port" +name "cxl-rp", bus PCI, desc "CXL Root Port" +name "cxl-upstream", bus PCI, desc "CXL Switch Upstream Port" +name "i82801b11-bridge", bus PCI +name "ioh3420", bus PCI, desc "Intel IOH device id 3420 PCIE Root Port" +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "pcie-pci-bridge", bus PCI +name "pcie-root-port", bus PCI, desc "PCI Express Root Port" +name "pxb", bus PCI, desc "PCI Expander Bridge" +name "pxb-cxl", bus PCI, desc "CXL Host Bridge" +name "pxb-pcie", bus PCI, desc "PCI Express Expander Bridge" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus +name "x3130-upstream", bus PCI, desc "TI X3130 Upstream Port of PCI Expres= s Switch" +name "xio3130-downstream", bus PCI, desc "TI X3130 Downstream Port of PCI = Express Switch" + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "160s33b", bus SSI, desc "Serial Flash" +name "25csm04", bus SSI, desc "Serial Flash" +name "320s33b", bus SSI, desc "Serial Flash" +name "640s33b", bus SSI, desc "Serial Flash" +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "at25128a-nonjedec", bus SSI, desc "Serial Flash" +name "at25256a-nonjedec", bus SSI, desc "Serial Flash" +name "at25df041a", bus SSI, desc "Serial Flash" +name "at25df321a", bus SSI, desc "Serial Flash" +name "at25df641", bus SSI, desc "Serial Flash" +name "at25fs010", bus SSI, desc "Serial Flash" +name "at25fs040", bus SSI, desc "Serial Flash" +name "at26df081a", bus SSI, desc "Serial Flash" +name "at26df161a", bus SSI, desc "Serial Flash" +name "at26df321", bus SSI, desc "Serial Flash" +name "at26f004", bus SSI, desc "Serial Flash" +name "at45db081d", bus SSI, desc "Serial Flash" +name "cxl-type3", bus PCI, desc "CXL Memory Device (Type 3)" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "en25f32", bus SSI, desc "Serial Flash" +name "en25p32", bus SSI, desc "Serial Flash" +name "en25p64", bus SSI, desc "Serial Flash" +name "en25q32b", bus SSI, desc "Serial Flash" +name "en25q64", bus SSI, desc "Serial Flash" +name "gd25q32", bus SSI, desc "Serial Flash" +name "gd25q64", bus SSI, desc "Serial Flash" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "is25lp016d", bus SSI, desc "Serial Flash" +name "is25lp032", bus SSI, desc "Serial Flash" +name "is25lp064", bus SSI, desc "Serial Flash" +name "is25lp080d", bus SSI, desc "Serial Flash" +name "is25lp128", bus SSI, desc "Serial Flash" +name "is25lp256", bus SSI, desc "Serial Flash" +name "is25lq040b", bus SSI, desc "Serial Flash" +name "is25wp032", bus SSI, desc "Serial Flash" +name "is25wp064", bus SSI, desc "Serial Flash" +name "is25wp128", bus SSI, desc "Serial Flash" +name "is25wp256", bus SSI, desc "Serial Flash" +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "m25p05", bus SSI, desc "Serial Flash" +name "m25p10", bus SSI, desc "Serial Flash" +name "m25p128", bus SSI, desc "Serial Flash" +name "m25p16", bus SSI, desc "Serial Flash" +name "m25p20", bus SSI, desc "Serial Flash" +name "m25p32", bus SSI, desc "Serial Flash" +name "m25p40", bus SSI, desc "Serial Flash" +name "m25p64", bus SSI, desc "Serial Flash" +name "m25p80", bus SSI, desc "Serial Flash" +name "m25pe16", bus SSI, desc "Serial Flash" +name "m25pe20", bus SSI, desc "Serial Flash" +name "m25pe80", bus SSI, desc "Serial Flash" +name "m25px32", bus SSI, desc "Serial Flash" +name "m25px32-s0", bus SSI, desc "Serial Flash" +name "m25px32-s1", bus SSI, desc "Serial Flash" +name "m25px64", bus SSI, desc "Serial Flash" +name "m45pe10", bus SSI, desc "Serial Flash" +name "m45pe16", bus SSI, desc "Serial Flash" +name "m45pe80", bus SSI, desc "Serial Flash" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "mt25ql01g", bus SSI, desc "Serial Flash" +name "mt25ql02g", bus SSI, desc "Serial Flash" +name "mt25ql512ab", bus SSI, desc "Serial Flash" +name "mt25qu01g", bus SSI, desc "Serial Flash" +name "mt25qu02g", bus SSI, desc "Serial Flash" +name "mt35xu01g", bus SSI, desc "Serial Flash" +name "mt35xu02gbba", bus SSI, desc "Serial Flash" +name "mx25l12805d", bus SSI, desc "Serial Flash" +name "mx25l12855e", bus SSI, desc "Serial Flash" +name "mx25l1606e", bus SSI, desc "Serial Flash" +name "mx25l2005a", bus SSI, desc "Serial Flash" +name "mx25l25635e", bus SSI, desc "Serial Flash" +name "mx25l25635f", bus SSI, desc "Serial Flash" +name "mx25l25655e", bus SSI, desc "Serial Flash" +name "mx25l3205d", bus SSI, desc "Serial Flash" +name "mx25l4005a", bus SSI, desc "Serial Flash" +name "mx25l6405d", bus SSI, desc "Serial Flash" +name "mx25l8005", bus SSI, desc "Serial Flash" +name "mx66l1g45g", bus SSI, desc "Serial Flash" +name "mx66l51235f", bus SSI, desc "Serial Flash" +name "mx66u1g45g", bus SSI, desc "Serial Flash" +name "mx66u51235f", bus SSI, desc "Serial Flash" +name "n25q00", bus SSI, desc "Serial Flash" +name "n25q00a", bus SSI, desc "Serial Flash" +name "n25q032", bus SSI, desc "Serial Flash" +name "n25q032a11", bus SSI, desc "Serial Flash" +name "n25q032a13", bus SSI, desc "Serial Flash" +name "n25q064", bus SSI, desc "Serial Flash" +name "n25q064a11", bus SSI, desc "Serial Flash" +name "n25q064a13", bus SSI, desc "Serial Flash" +name "n25q128", bus SSI, desc "Serial Flash" +name "n25q128a11", bus SSI, desc "Serial Flash" +name "n25q128a13", bus SSI, desc "Serial Flash" +name "n25q256a", bus SSI, desc "Serial Flash" +name "n25q256a11", bus SSI, desc "Serial Flash" +name "n25q256a13", bus SSI, desc "Serial Flash" +name "n25q512a", bus SSI, desc "Serial Flash" +name "n25q512a11", bus SSI, desc "Serial Flash" +name "n25q512a13", bus SSI, desc "Serial Flash" +name "n25q512ax3", bus SSI, desc "Serial Flash" +name "nvdimm", desc "DIMM memory module" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "pvscsi", bus PCI +name "s25fl016k", bus SSI, desc "Serial Flash" +name "s25fl064k", bus SSI, desc "Serial Flash" +name "s25fl129p0", bus SSI, desc "Serial Flash" +name "s25fl129p1", bus SSI, desc "Serial Flash" +name "s25fl256s0", bus SSI, desc "Serial Flash" +name "s25fl256s1", bus SSI, desc "Serial Flash" +name "s25fl512s", bus SSI, desc "Serial Flash" +name "s25fs512s", bus SSI, desc "Serial Flash" +name "s25sl004a", bus SSI, desc "Serial Flash" +name "s25sl008a", bus SSI, desc "Serial Flash" +name "s25sl016a", bus SSI, desc "Serial Flash" +name "s25sl032a", bus SSI, desc "Serial Flash" +name "s25sl032p", bus SSI, desc "Serial Flash" +name "s25sl064a", bus SSI, desc "Serial Flash" +name "s25sl064p", bus SSI, desc "Serial Flash" +name "s25sl12800", bus SSI, desc "Serial Flash" +name "s25sl12801", bus SSI, desc "Serial Flash" +name "s70fl01gs", bus SSI, desc "Serial Flash" +name "s70fs01gs", bus SSI, desc "Serial Flash" +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "sst25vf016b", bus SSI, desc "Serial Flash" +name "sst25vf032b", bus SSI, desc "Serial Flash" +name "sst25vf040b", bus SSI, desc "Serial Flash" +name "sst25vf080b", bus SSI, desc "Serial Flash" +name "sst25wf010", bus SSI, desc "Serial Flash" +name "sst25wf020", bus SSI, desc "Serial Flash" +name "sst25wf040", bus SSI, desc "Serial Flash" +name "sst25wf080", bus SSI, desc "Serial Flash" +name "sst25wf512", bus SSI, desc "Serial Flash" +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI +name "w25q01jvq", bus SSI, desc "Serial Flash" +name "w25q02jvm", bus SSI, desc "Serial Flash" +name "w25q256", bus SSI, desc "Serial Flash" +name "w25q32", bus SSI, desc "Serial Flash" +name "w25q32dw", bus SSI, desc "Serial Flash" +name "w25q512jv", bus SSI, desc "Serial Flash" +name "w25q64", bus SSI, desc "Serial Flash" +name "w25q80", bus SSI, desc "Serial Flash" +name "w25q80bl", bus SSI, desc "Serial Flash" +name "w25x10", bus SSI, desc "Serial Flash" +name "w25x16", bus SSI, desc "Serial Flash" +name "w25x20", bus SSI, desc "Serial Flash" +name "w25x32", bus SSI, desc "Serial Flash" +name "w25x40", bus SSI, desc "Serial Flash" +name "w25x64", bus SSI, desc "Serial Flash" +name "w25x80", bus SSI, desc "Serial Flash" + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000e", bus PCI, desc "Intel 82574L GbE Controller" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "igb", bus PCI, desc "Intel 82576 Gigabit Ethernet Controller" +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rocker", bus PCI, desc "Rocker Switch" +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-scmi", bus virtio-bus +name "vhost-user-scmi-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "dm163", desc "DM163 8x3-channel constant current LED driver" +name "led", desc "LED" +name "ramfb", bus System, desc "ram framebuffer standalone device" +name "secondary-vga", bus PCI +name "ssd0323", bus SSI +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "acpi-erst", bus PCI, desc "ACPI Error Record Serialization Table (ER= ST) device" +name "adc128d818", bus i2c-bus +name "adm1266", bus i2c-bus, desc "Analog Devices ADM1266 Hot Swap control= ler" +name "adm1272", bus i2c-bus, desc "Analog Devices ADM1272 Hot Swap control= ler" +name "aspeed.i2c.slave", bus i2c-bus, desc "Aspeed I2C Bus Slave" +name "at24c-eeprom", bus i2c-bus +name "axp209_pmu", bus i2c-bus +name "axp221_pmu", bus i2c-bus +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "dpcd", bus aux-bus +name "dps310", bus i2c-bus +name "ds1338", bus i2c-bus +name "edu", bus PCI +name "emc1413", bus i2c-bus +name "emc1414", bus i2c-bus +name "guest-loader", desc "Guest Loader" +name "i2c-ddc", bus i2c-bus +name "i2c-echo", bus i2c-bus +name "iommu-testdev", bus PCI, desc "A test device for IOMMU" +name "isl69259", bus i2c-bus, desc "Renesas ISL69259 Digital Multiphase Vo= ltage Regulator" +name "isl69260", bus i2c-bus, desc "Renesas ISL69260 Digital Multiphase Vo= ltage Regulator" +name "ivshmem-doorbell", bus PCI, desc "Inter-VM shared memory" +name "ivshmem-plain", bus PCI, desc "Inter-VM shared memory" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "lsm303dlhc_mag", bus i2c-bus +name "m41t80", bus i2c-bus +name "max31785", bus i2c-bus, desc "Maxim MAX31785 6-Channel Fan Controlle= r" +name "max34451", bus i2c-bus, desc "Maxim MAX34451 16-Channel V/I monitor" +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "mock-i3c-target", bus i3c-bus +name "pca9535", bus i2c-bus +name "pca9536", bus i2c-bus +name "pca9546", bus i2c-bus, desc "Pca954x i2c-mux" +name "pca9548", bus i2c-bus, desc "Pca954x i2c-mux" +name "pca9552", bus i2c-bus +name "pca9554", bus i2c-bus +name "pca9555", bus i2c-bus +name "pci-testdev", bus PCI, desc "PCI Test Device" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "raa228000", bus i2c-bus, desc "Renesas 228000 Digital Multiphase Vol= tage Regulator" +name "raa229004", bus i2c-bus, desc "Renesas 229004 Digital Multiphase Vol= tage Regulator" +name "rs5c372", bus i2c-bus +name "sii9022", bus i2c-bus +name "ssd0303", bus i2c-bus +name "tmp105", bus i2c-bus +name "tmp421", bus i2c-bus +name "tmp422", bus i2c-bus +name "tmp423", bus i2c-bus +name "tpm-tis-device", bus System +name "tpm-tis-i2c", bus i2c-bus +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-mem", bus virtio-bus +name "virtio-mem-pci", bus PCI +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI +name "vmcoreinfo" +name "wm8750", bus i2c-bus + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" +name "sbsa-gwdt", bus System, desc "SBSA-compliant generic watchdog device" + +Uncategorized devices: +name "arm-smmuv3", bus System +name "aspeed-otp" +name "cfam", bus fsi.bus, desc "FSI Slave" +name "cxl-switch-mailbox-cci", bus PCI, desc "CXL Switch Mailbox CCI" +name "fsi.master", bus opb, desc "FSI Master" +name "fsi.scratchpad", bus fsi.lbus +name "fsi.slave", bus fsi.bus, desc "FSI Slave" +name "nitro-heartbeat", bus nitro-vsock-bus +name "nitro-serial-vsock", bus nitro-vsock-bus +name "pc-dimm", desc "DIMM memory module" +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" +name "x-pci-proxy-dev", bus PCI diff --git a/cmdline_ref/qemu-system-aarch64.help b/cmdline_ref/qemu-system= -aarch64.help new file mode 100644 index 00000000000..31a516cd924 --- /dev/null +++ b/cmdline_ref/qemu-system-aarch64.help @@ -0,0 +1,592 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D +-smbios file=3Dbinary + load SMBIOS entry from binary file +-smbios type=3D0[,vendor=3Dstr][,version=3Dstr][,date=3Dstr][,release=3D%d= .%d] + [,uefi=3Don|off][,vm=3Don|off] + specify SMBIOS type 0 fields +-smbios type=3D1[,manufacturer=3Dstr][,product=3Dstr][,version=3Dstr][,ser= ial=3Dstr] + [,uuid=3Duuid][,sku=3Dstr][,family=3Dstr] + specify SMBIOS type 1 fields +-smbios type=3D2[,manufacturer=3Dstr][,product=3Dstr][,version=3Dstr][,ser= ial=3Dstr] + [,asset=3Dstr][,location=3Dstr] + specify SMBIOS type 2 fields +-smbios type=3D3[,manufacturer=3Dstr][,version=3Dstr][,serial=3Dstr][,asse= t=3Dstr] + [,sku=3Dstr] + specify SMBIOS type 3 fields +-smbios type=3D4[,sock_pfx=3Dstr][,manufacturer=3Dstr][,version=3Dstr][,se= rial=3Dstr] + [,asset=3Dstr][,part=3Dstr][,max-speed=3D%d][,current-speed= =3D%d] + [,processor-family=3D%d][,processor-id=3D%d] + specify SMBIOS type 4 fields +-smbios type=3D8[,external_reference=3Dstr][,internal_reference=3Dstr][,co= nnector_type=3D%d][,port_type=3D%d] + specify SMBIOS type 8 fields +-smbios type=3D11[,value=3Dstr][,path=3Dfilename] + specify SMBIOS type 11 fields +-smbios type=3D17[,loc_pfx=3Dstr][,bank=3Dstr][,manufacturer=3Dstr][,seria= l=3Dstr] + [,asset=3Dstr][,part=3Dstr][,speed=3D%d] + specify SMBIOS type 17 fields +-smbios type=3D41[,designation=3Dstr][,kind=3Dstr][,instance=3D%d][,pcidev= =3Dstr] + specify SMBIOS type 41 fields + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-enable-kvm enable KVM full virtualization support +-xen-domid id specify xen guest domain id +-xen-attach attach to existing xen domain + libxl will use this when starting QEMU +-xen-domid-restrict restrict set of available xen operations + to specified domain id. (Does not affect + xenpv machine type). +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-semihosting semihosting mode +-semihosting-config [enable=3Don|off][,target=3Dnative|gdb|auto][,chardev= =3Did][,userspace=3Don|off][,arg=3Dstr[,...]] + semihosting configuration +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-aarch64.machine_help b/cmdline_ref/qem= u-system-aarch64.machine_help new file mode 100644 index 00000000000..6ccd465a225 --- /dev/null +++ b/cmdline_ref/qemu-system-aarch64.machine_help @@ -0,0 +1,114 @@ +Supported machines are: +xlnx-versal-virt AMD Versal Virtual development board (alias of amd-ve= rsal-virt) +amd-versal-virt AMD Versal Virtual development board +amd-versal2-virt AMD Versal Gen 2 Virtual development board +anacapa-bmc Facebook Anacapa BMC (Cortex-A7) +ast1030-evb Aspeed AST1030 MiniBMC (Cortex-M4) +ast1040-evb Aspeed AST1040 BIC EVB (Cortex-M4F) +ast1060-evb Aspeed AST1060 Platform Root of Trust (Cortex-M4) +ast2500-evb Aspeed AST2500 EVB (ARM1176) +ast2600-evb Aspeed AST2600 EVB (Cortex-A7) +ast2700a1-evb Aspeed AST2700 A1 EVB (Cortex-A35) +ast2700-evb Aspeed AST2700 A2 EVB (Cortex-A35) (alias of ast2700a= 2-evb) +ast2700a2-evb Aspeed AST2700 A2 EVB (Cortex-A35) +ast2700fc ast2700 full core support +axiado-scm3003 Axiado SCM3003 EVK Board +b-l475e-iot01a B-L475E-IOT01A Discovery Kit (Cortex-M4) +bletchley-bmc Facebook Bletchley BMC (Cortex-A7) +bpim2u Bananapi M2U (Cortex-A7) +canon-a1100 Canon PowerShot A1100 IS (ARM946) +catalina-bmc Facebook Catalina BMC (Cortex-A7) +collie Sharp SL-5500 (Collie) PDA (SA-1110) +cubieboard cubietech cubieboard (Cortex-A8) +emcraft-sf2 SmartFusion2 SOM kit from Emcraft (M2S010) +fby35-bmc Facebook fby35 BMC (Cortex-A7) +fuji-bmc Facebook Fuji BMC (Cortex-A7) +g220a-bmc Bytedance G220A BMC (ARM1176) +gb200nvl-bmc Nvidia GB200NVL BMC (Cortex-A7) +imx25-pdk ARM i.MX25 PDK board (ARM926) +imx8mm-evk NXP i.MX 8MM EVK Board +imx8mp-evk NXP i.MX 8M Plus EVK Board +integratorcp ARM Integrator/CP (ARM926EJ-S) +kudo-bmc Kudo BMC (Cortex-A9) +kzm ARM KZM Emulation Baseboard (ARM1136) +lm3s6965evb Stellaris LM3S6965EVB (Cortex-M3) +lm3s811evb Stellaris LM3S811EVB (Cortex-M3) +max78000fthr MAX78000FTHR Board (Cortex-M4 / (Unimplemented) RISC-= V) +mcimx6ul-evk Freescale i.MX6UL Evaluation Kit (Cortex-A7) +mcimx7d-sabre Freescale i.MX7 DUAL SABRE (Cortex-A7) +microbit BBC micro:bit (Cortex-M0) +mori-bmc Mori BMC (Cortex-A9) +mps2-an385 ARM MPS2 with AN385 FPGA image for Cortex-M3 +mps2-an386 ARM MPS2 with AN386 FPGA image for Cortex-M4 +mps2-an500 ARM MPS2 with AN500 FPGA image for Cortex-M7 +mps2-an505 ARM MPS2 with AN505 FPGA image for Cortex-M33 +mps2-an511 ARM MPS2 with AN511 DesignStart FPGA image for Cortex= -M3 +mps2-an521 ARM MPS2 with AN521 FPGA image for dual Cortex-M33 +mps3-an524 ARM MPS3 with AN524 FPGA image for dual Cortex-M33 +mps3-an536 ARM MPS3 with AN536 FPGA image for Cortex-R52 +mps3-an547 ARM MPS3 with AN547 FPGA image for Cortex-M55 +musca-a ARM Musca-A board (dual Cortex-M33) +musca-b1 ARM Musca-B1 board (dual Cortex-M33) +musicpal Marvell 88w8618 / MusicPal (ARM926EJ-S) +netduino2 Netduino 2 Machine (Cortex-M3) +netduinoplus2 Netduino Plus 2 Machine (Cortex-M4) +nitro Nitro Enclave +none empty machine +npcm750-evb Nuvoton NPCM750 Evaluation Board (Cortex-A9) +npcm845-evb Nuvoton NPCM845 Evaluation Board (Cortex-A35) +nuri Samsung NURI board (Exynos4210) +olimex-stm32-h405 Olimex STM32-H405 (Cortex-M4) +orangepi-pc Orange Pi PC (Cortex-A7) +palmetto-bmc OpenPOWER Palmetto BMC (ARM926EJ-S) +quanta-gbs-bmc Quanta GBS (Cortex-A9) +quanta-gsj Quanta GSJ (Cortex-A9) +quanta-q71l-bmc Quanta-Q71l BMC (ARM926EJ-S) +rainier-bmc IBM Rainier BMC (Cortex-A7) +raspi0 Raspberry Pi Zero (revision 1.2) +raspi1ap Raspberry Pi A+ (revision 1.1) +raspi2b Raspberry Pi 2B (revision 1.1) +raspi3ap Raspberry Pi 3A+ (revision 1.0) +raspi3b Raspberry Pi 3B (revision 1.2) +raspi4b Raspberry Pi 4B (revision 1.5) +realview-eb ARM RealView Emulation Baseboard (ARM926EJ-S) +realview-eb-mpcore ARM RealView Emulation Baseboard (ARM11MPCore) +realview-pb-a8 ARM RealView Platform Baseboard for Cortex-A8 +realview-pbx-a9 ARM RealView Platform Baseboard Explore for Cortex-A9 +romulus-bmc OpenPOWER Romulus BMC (ARM1176) +sabrelite Freescale i.MX6 Quad SABRE Lite Board (Cortex-A9) +sbsa-ref QEMU 'SBSA Reference' ARM Virtual Machine +smdkc210 Samsung SMDKC210 board (Exynos4210) +stm32vldiscovery ST STM32VLDISCOVERY (Cortex-M3) +supermicro-x11spi-bmc Supermicro X11 SPI BMC (ARM1176) +supermicrox11-bmc Supermicro X11 BMC (ARM926EJ-S) +sx1 Siemens SX1 (OMAP310) V2 +sx1-v1 Siemens SX1 (OMAP310) V1 +tiogapass-bmc Facebook Tiogapass BMC (ARM1176) +versatileab ARM Versatile/AB (ARM926EJ-S) +versatilepb ARM Versatile/PB (ARM926EJ-S) +vexpress-a15 ARM Versatile Express for Cortex-A15 +vexpress-a9 ARM Versatile Express for Cortex-A9 +virt-10.0 QEMU 10.0 ARM Virtual Machine +virt-10.1 QEMU 10.1 ARM Virtual Machine +virt-10.2 QEMU 10.2 ARM Virtual Machine +virt-11.0 QEMU 11.0 ARM Virtual Machine +virt-11.1 QEMU 11.1 ARM Virtual Machine +virt QEMU 11.2 ARM Virtual Machine (alias of virt-11.2) +virt-11.2 QEMU 11.2 ARM Virtual Machine +virt-6.0 QEMU 6.0 ARM Virtual Machine (deprecated) +virt-6.1 QEMU 6.1 ARM Virtual Machine (deprecated) +virt-6.2 QEMU 6.2 ARM Virtual Machine (deprecated) +virt-7.0 QEMU 7.0 ARM Virtual Machine (deprecated) +virt-7.1 QEMU 7.1 ARM Virtual Machine (deprecated) +virt-7.2 QEMU 7.2 ARM Virtual Machine (deprecated) +virt-8.0 QEMU 8.0 ARM Virtual Machine (deprecated) +virt-8.1 QEMU 8.1 ARM Virtual Machine (deprecated) +virt-8.2 QEMU 8.2 ARM Virtual Machine (deprecated) +virt-9.0 QEMU 9.0 ARM Virtual Machine +virt-9.1 QEMU 9.1 ARM Virtual Machine +virt-9.2 QEMU 9.2 ARM Virtual Machine +witherspoon-bmc OpenPOWER Witherspoon BMC (ARM1176) +x-remote Experimental remote machine +xilinx-zynq-a9 Xilinx Zynq 7000 Platform Baseboard for Cortex-A9 +xlnx-zcu102 Xilinx ZynqMP ZCU102 board with 4xA53s and 2xR5Fs bas= ed on the value of smp +yosemitev2-bmc Facebook YosemiteV2 BMC (ARM1176) diff --git a/cmdline_ref/qemu-system-alpha.cpu_help b/cmdline_ref/qemu-syst= em-alpha.cpu_help new file mode 100644 index 00000000000..f4f52f1dfea --- /dev/null +++ b/cmdline_ref/qemu-system-alpha.cpu_help @@ -0,0 +1,8 @@ +Available CPUs: + ev4 + ev5 + ev56 + ev6 + ev67 + ev68 + pca56 diff --git a/cmdline_ref/qemu-system-alpha.device_help b/cmdline_ref/qemu-s= ystem-alpha.device_help new file mode 100644 index 00000000000..fb86cfce9c3 --- /dev/null +++ b/cmdline_ref/qemu-system-alpha.device_help @@ -0,0 +1,243 @@ +Controller/Bridge/Hub devices: +name "i82378", bus PCI +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "cmd646-ide", bus PCI +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "floppy", bus floppy-bus, desc "virtual floppy drive" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "isa-fdc", bus ISA, desc "virtual floppy controller" +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "pvscsi", bus PCI +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "ne2k_isa", bus ISA +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "i8042", bus ISA +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "isa-parallel", bus ISA +name "isa-serial", bus ISA +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "secondary-vga", bus PCI +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "adlib", bus ISA, desc "Yamaha YM3812 (OPL2)" +name "cs4231a", bus ISA, desc "Crystal Semiconductor CS4231A" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "gus", bus ISA, desc "Gravis Ultrasound GF1" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "sb16", bus ISA, desc "Creative Sound Blaster 16" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "i2c-ddc", bus i2c-bus +name "i2c-echo", bus i2c-bus +name "i82374", bus ISA, desc "Intel 82374 DMA controller" +name "iommu-testdev", bus PCI, desc "A test device for IOMMU" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "mc146818rtc", bus ISA +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pc-testdev", bus ISA +name "pci-testdev", bus PCI, desc "PCI Test Device" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" +name "ib700", bus ISA, desc "iBASE 700" + +Uncategorized devices: +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-alpha.help b/cmdline_ref/qemu-system-a= lpha.help new file mode 100644 index 00000000000..e3736b1680c --- /dev/null +++ b/cmdline_ref/qemu-system-alpha.help @@ -0,0 +1,555 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-alpha.machine_help b/cmdline_ref/qemu-= system-alpha.machine_help new file mode 100644 index 00000000000..a9688869b33 --- /dev/null +++ b/cmdline_ref/qemu-system-alpha.machine_help @@ -0,0 +1,3 @@ +Supported machines are: +clipper Alpha DP264/CLIPPER (default) +none empty machine diff --git a/cmdline_ref/qemu-system-arm.cpu_help b/cmdline_ref/qemu-system= -arm.cpu_help new file mode 100644 index 00000000000..cf37d2a218a --- /dev/null +++ b/cmdline_ref/qemu-system-arm.cpu_help @@ -0,0 +1,26 @@ +Available CPUs: + arm1026 + arm1136 + arm1136-r2 + arm1176 + arm11mpcore + arm926 + arm946 + cortex-a15 + cortex-a7 + cortex-a8 + cortex-a9 + cortex-m0 + cortex-m3 + cortex-m33 + cortex-m4 + cortex-m55 + cortex-m7 + cortex-r5 + cortex-r52 + cortex-r5f + max + max-v8 + sa1100 + sa1110 + ti925t diff --git a/cmdline_ref/qemu-system-arm.device_help b/cmdline_ref/qemu-sys= tem-arm.device_help new file mode 100644 index 00000000000..27f5c5c1715 --- /dev/null +++ b/cmdline_ref/qemu-system-arm.device_help @@ -0,0 +1,442 @@ +Controller/Bridge/Hub devices: +name "aspeed.pcie-root-port", bus PCI, desc "ASPEED PCIe Root Port" +name "cxl-downstream", bus PCI, desc "CXL Switch Downstream Port" +name "cxl-rp", bus PCI, desc "CXL Root Port" +name "cxl-upstream", bus PCI, desc "CXL Switch Upstream Port" +name "i82801b11-bridge", bus PCI +name "ioh3420", bus PCI, desc "Intel IOH device id 3420 PCIE Root Port" +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "pcie-pci-bridge", bus PCI +name "pcie-root-port", bus PCI, desc "PCI Express Root Port" +name "pxb", bus PCI, desc "PCI Expander Bridge" +name "pxb-cxl", bus PCI, desc "CXL Host Bridge" +name "pxb-pcie", bus PCI, desc "PCI Express Expander Bridge" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus +name "x3130-upstream", bus PCI, desc "TI X3130 Upstream Port of PCI Expres= s Switch" +name "xio3130-downstream", bus PCI, desc "TI X3130 Downstream Port of PCI = Express Switch" + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "160s33b", bus SSI, desc "Serial Flash" +name "25csm04", bus SSI, desc "Serial Flash" +name "320s33b", bus SSI, desc "Serial Flash" +name "640s33b", bus SSI, desc "Serial Flash" +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "at25128a-nonjedec", bus SSI, desc "Serial Flash" +name "at25256a-nonjedec", bus SSI, desc "Serial Flash" +name "at25df041a", bus SSI, desc "Serial Flash" +name "at25df321a", bus SSI, desc "Serial Flash" +name "at25df641", bus SSI, desc "Serial Flash" +name "at25fs010", bus SSI, desc "Serial Flash" +name "at25fs040", bus SSI, desc "Serial Flash" +name "at26df081a", bus SSI, desc "Serial Flash" +name "at26df161a", bus SSI, desc "Serial Flash" +name "at26df321", bus SSI, desc "Serial Flash" +name "at26f004", bus SSI, desc "Serial Flash" +name "at45db081d", bus SSI, desc "Serial Flash" +name "cxl-type3", bus PCI, desc "CXL Memory Device (Type 3)" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "en25f32", bus SSI, desc "Serial Flash" +name "en25p32", bus SSI, desc "Serial Flash" +name "en25p64", bus SSI, desc "Serial Flash" +name "en25q32b", bus SSI, desc "Serial Flash" +name "en25q64", bus SSI, desc "Serial Flash" +name "gd25q32", bus SSI, desc "Serial Flash" +name "gd25q64", bus SSI, desc "Serial Flash" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "is25lp016d", bus SSI, desc "Serial Flash" +name "is25lp032", bus SSI, desc "Serial Flash" +name "is25lp064", bus SSI, desc "Serial Flash" +name "is25lp080d", bus SSI, desc "Serial Flash" +name "is25lp128", bus SSI, desc "Serial Flash" +name "is25lp256", bus SSI, desc "Serial Flash" +name "is25lq040b", bus SSI, desc "Serial Flash" +name "is25wp032", bus SSI, desc "Serial Flash" +name "is25wp064", bus SSI, desc "Serial Flash" +name "is25wp128", bus SSI, desc "Serial Flash" +name "is25wp256", bus SSI, desc "Serial Flash" +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "m25p05", bus SSI, desc "Serial Flash" +name "m25p10", bus SSI, desc "Serial Flash" +name "m25p128", bus SSI, desc "Serial Flash" +name "m25p16", bus SSI, desc "Serial Flash" +name "m25p20", bus SSI, desc "Serial Flash" +name "m25p32", bus SSI, desc "Serial Flash" +name "m25p40", bus SSI, desc "Serial Flash" +name "m25p64", bus SSI, desc "Serial Flash" +name "m25p80", bus SSI, desc "Serial Flash" +name "m25pe16", bus SSI, desc "Serial Flash" +name "m25pe20", bus SSI, desc "Serial Flash" +name "m25pe80", bus SSI, desc "Serial Flash" +name "m25px32", bus SSI, desc "Serial Flash" +name "m25px32-s0", bus SSI, desc "Serial Flash" +name "m25px32-s1", bus SSI, desc "Serial Flash" +name "m25px64", bus SSI, desc "Serial Flash" +name "m45pe10", bus SSI, desc "Serial Flash" +name "m45pe16", bus SSI, desc "Serial Flash" +name "m45pe80", bus SSI, desc "Serial Flash" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "mt25ql01g", bus SSI, desc "Serial Flash" +name "mt25ql02g", bus SSI, desc "Serial Flash" +name "mt25ql512ab", bus SSI, desc "Serial Flash" +name "mt25qu01g", bus SSI, desc "Serial Flash" +name "mt25qu02g", bus SSI, desc "Serial Flash" +name "mt35xu01g", bus SSI, desc "Serial Flash" +name "mt35xu02gbba", bus SSI, desc "Serial Flash" +name "mx25l12805d", bus SSI, desc "Serial Flash" +name "mx25l12855e", bus SSI, desc "Serial Flash" +name "mx25l1606e", bus SSI, desc "Serial Flash" +name "mx25l2005a", bus SSI, desc "Serial Flash" +name "mx25l25635e", bus SSI, desc "Serial Flash" +name "mx25l25635f", bus SSI, desc "Serial Flash" +name "mx25l25655e", bus SSI, desc "Serial Flash" +name "mx25l3205d", bus SSI, desc "Serial Flash" +name "mx25l4005a", bus SSI, desc "Serial Flash" +name "mx25l6405d", bus SSI, desc "Serial Flash" +name "mx25l8005", bus SSI, desc "Serial Flash" +name "mx66l1g45g", bus SSI, desc "Serial Flash" +name "mx66l51235f", bus SSI, desc "Serial Flash" +name "mx66u1g45g", bus SSI, desc "Serial Flash" +name "mx66u51235f", bus SSI, desc "Serial Flash" +name "n25q00", bus SSI, desc "Serial Flash" +name "n25q00a", bus SSI, desc "Serial Flash" +name "n25q032", bus SSI, desc "Serial Flash" +name "n25q032a11", bus SSI, desc "Serial Flash" +name "n25q032a13", bus SSI, desc "Serial Flash" +name "n25q064", bus SSI, desc "Serial Flash" +name "n25q064a11", bus SSI, desc "Serial Flash" +name "n25q064a13", bus SSI, desc "Serial Flash" +name "n25q128", bus SSI, desc "Serial Flash" +name "n25q128a11", bus SSI, desc "Serial Flash" +name "n25q128a13", bus SSI, desc "Serial Flash" +name "n25q256a", bus SSI, desc "Serial Flash" +name "n25q256a11", bus SSI, desc "Serial Flash" +name "n25q256a13", bus SSI, desc "Serial Flash" +name "n25q512a", bus SSI, desc "Serial Flash" +name "n25q512a11", bus SSI, desc "Serial Flash" +name "n25q512a13", bus SSI, desc "Serial Flash" +name "n25q512ax3", bus SSI, desc "Serial Flash" +name "nvdimm", desc "DIMM memory module" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "pvscsi", bus PCI +name "s25fl016k", bus SSI, desc "Serial Flash" +name "s25fl064k", bus SSI, desc "Serial Flash" +name "s25fl129p0", bus SSI, desc "Serial Flash" +name "s25fl129p1", bus SSI, desc "Serial Flash" +name "s25fl256s0", bus SSI, desc "Serial Flash" +name "s25fl256s1", bus SSI, desc "Serial Flash" +name "s25fl512s", bus SSI, desc "Serial Flash" +name "s25fs512s", bus SSI, desc "Serial Flash" +name "s25sl004a", bus SSI, desc "Serial Flash" +name "s25sl008a", bus SSI, desc "Serial Flash" +name "s25sl016a", bus SSI, desc "Serial Flash" +name "s25sl032a", bus SSI, desc "Serial Flash" +name "s25sl032p", bus SSI, desc "Serial Flash" +name "s25sl064a", bus SSI, desc "Serial Flash" +name "s25sl064p", bus SSI, desc "Serial Flash" +name "s25sl12800", bus SSI, desc "Serial Flash" +name "s25sl12801", bus SSI, desc "Serial Flash" +name "s70fl01gs", bus SSI, desc "Serial Flash" +name "s70fs01gs", bus SSI, desc "Serial Flash" +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "sst25vf016b", bus SSI, desc "Serial Flash" +name "sst25vf032b", bus SSI, desc "Serial Flash" +name "sst25vf040b", bus SSI, desc "Serial Flash" +name "sst25vf080b", bus SSI, desc "Serial Flash" +name "sst25wf010", bus SSI, desc "Serial Flash" +name "sst25wf020", bus SSI, desc "Serial Flash" +name "sst25wf040", bus SSI, desc "Serial Flash" +name "sst25wf080", bus SSI, desc "Serial Flash" +name "sst25wf512", bus SSI, desc "Serial Flash" +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI +name "w25q01jvq", bus SSI, desc "Serial Flash" +name "w25q02jvm", bus SSI, desc "Serial Flash" +name "w25q256", bus SSI, desc "Serial Flash" +name "w25q32", bus SSI, desc "Serial Flash" +name "w25q32dw", bus SSI, desc "Serial Flash" +name "w25q512jv", bus SSI, desc "Serial Flash" +name "w25q64", bus SSI, desc "Serial Flash" +name "w25q80", bus SSI, desc "Serial Flash" +name "w25q80bl", bus SSI, desc "Serial Flash" +name "w25x10", bus SSI, desc "Serial Flash" +name "w25x16", bus SSI, desc "Serial Flash" +name "w25x20", bus SSI, desc "Serial Flash" +name "w25x32", bus SSI, desc "Serial Flash" +name "w25x40", bus SSI, desc "Serial Flash" +name "w25x64", bus SSI, desc "Serial Flash" +name "w25x80", bus SSI, desc "Serial Flash" + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000e", bus PCI, desc "Intel 82574L GbE Controller" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "igb", bus PCI, desc "Intel 82576 Gigabit Ethernet Controller" +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rocker", bus PCI, desc "Rocker Switch" +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-scmi", bus virtio-bus +name "vhost-user-scmi-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "dm163", desc "DM163 8x3-channel constant current LED driver" +name "led", desc "LED" +name "ramfb", bus System, desc "ram framebuffer standalone device" +name "secondary-vga", bus PCI +name "ssd0323", bus SSI +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "acpi-erst", bus PCI, desc "ACPI Error Record Serialization Table (ER= ST) device" +name "adc128d818", bus i2c-bus +name "adm1266", bus i2c-bus, desc "Analog Devices ADM1266 Hot Swap control= ler" +name "adm1272", bus i2c-bus, desc "Analog Devices ADM1272 Hot Swap control= ler" +name "aspeed.i2c.slave", bus i2c-bus, desc "Aspeed I2C Bus Slave" +name "at24c-eeprom", bus i2c-bus +name "axp209_pmu", bus i2c-bus +name "axp221_pmu", bus i2c-bus +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "dps310", bus i2c-bus +name "ds1338", bus i2c-bus +name "edu", bus PCI +name "emc1413", bus i2c-bus +name "emc1414", bus i2c-bus +name "guest-loader", desc "Guest Loader" +name "i2c-ddc", bus i2c-bus +name "i2c-echo", bus i2c-bus +name "iommu-testdev", bus PCI, desc "A test device for IOMMU" +name "isl69259", bus i2c-bus, desc "Renesas ISL69259 Digital Multiphase Vo= ltage Regulator" +name "isl69260", bus i2c-bus, desc "Renesas ISL69260 Digital Multiphase Vo= ltage Regulator" +name "ivshmem-doorbell", bus PCI, desc "Inter-VM shared memory" +name "ivshmem-plain", bus PCI, desc "Inter-VM shared memory" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "lsm303dlhc_mag", bus i2c-bus +name "m41t80", bus i2c-bus +name "max31785", bus i2c-bus, desc "Maxim MAX31785 6-Channel Fan Controlle= r" +name "max34451", bus i2c-bus, desc "Maxim MAX34451 16-Channel V/I monitor" +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "mock-i3c-target", bus i3c-bus +name "pca9535", bus i2c-bus +name "pca9536", bus i2c-bus +name "pca9546", bus i2c-bus, desc "Pca954x i2c-mux" +name "pca9548", bus i2c-bus, desc "Pca954x i2c-mux" +name "pca9552", bus i2c-bus +name "pca9554", bus i2c-bus +name "pca9555", bus i2c-bus +name "pci-testdev", bus PCI, desc "PCI Test Device" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "raa228000", bus i2c-bus, desc "Renesas 228000 Digital Multiphase Vol= tage Regulator" +name "raa229004", bus i2c-bus, desc "Renesas 229004 Digital Multiphase Vol= tage Regulator" +name "rs5c372", bus i2c-bus +name "sii9022", bus i2c-bus +name "ssd0303", bus i2c-bus +name "tmp105", bus i2c-bus +name "tmp421", bus i2c-bus +name "tmp422", bus i2c-bus +name "tmp423", bus i2c-bus +name "tpm-tis-device", bus System +name "tpm-tis-i2c", bus i2c-bus +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-mem", bus virtio-bus +name "virtio-mem-pci", bus PCI +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI +name "vmcoreinfo" +name "wm8750", bus i2c-bus + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" +name "sbsa-gwdt", bus System, desc "SBSA-compliant generic watchdog device" + +Uncategorized devices: +name "arm-smmuv3", bus System +name "aspeed-otp" +name "cfam", bus fsi.bus, desc "FSI Slave" +name "cxl-switch-mailbox-cci", bus PCI, desc "CXL Switch Mailbox CCI" +name "fsi.master", bus opb, desc "FSI Master" +name "fsi.scratchpad", bus fsi.lbus +name "fsi.slave", bus fsi.bus, desc "FSI Slave" +name "pc-dimm", desc "DIMM memory module" +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-arm.help b/cmdline_ref/qemu-system-arm= .help new file mode 100644 index 00000000000..31a516cd924 --- /dev/null +++ b/cmdline_ref/qemu-system-arm.help @@ -0,0 +1,592 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D +-smbios file=3Dbinary + load SMBIOS entry from binary file +-smbios type=3D0[,vendor=3Dstr][,version=3Dstr][,date=3Dstr][,release=3D%d= .%d] + [,uefi=3Don|off][,vm=3Don|off] + specify SMBIOS type 0 fields +-smbios type=3D1[,manufacturer=3Dstr][,product=3Dstr][,version=3Dstr][,ser= ial=3Dstr] + [,uuid=3Duuid][,sku=3Dstr][,family=3Dstr] + specify SMBIOS type 1 fields +-smbios type=3D2[,manufacturer=3Dstr][,product=3Dstr][,version=3Dstr][,ser= ial=3Dstr] + [,asset=3Dstr][,location=3Dstr] + specify SMBIOS type 2 fields +-smbios type=3D3[,manufacturer=3Dstr][,version=3Dstr][,serial=3Dstr][,asse= t=3Dstr] + [,sku=3Dstr] + specify SMBIOS type 3 fields +-smbios type=3D4[,sock_pfx=3Dstr][,manufacturer=3Dstr][,version=3Dstr][,se= rial=3Dstr] + [,asset=3Dstr][,part=3Dstr][,max-speed=3D%d][,current-speed= =3D%d] + [,processor-family=3D%d][,processor-id=3D%d] + specify SMBIOS type 4 fields +-smbios type=3D8[,external_reference=3Dstr][,internal_reference=3Dstr][,co= nnector_type=3D%d][,port_type=3D%d] + specify SMBIOS type 8 fields +-smbios type=3D11[,value=3Dstr][,path=3Dfilename] + specify SMBIOS type 11 fields +-smbios type=3D17[,loc_pfx=3Dstr][,bank=3Dstr][,manufacturer=3Dstr][,seria= l=3Dstr] + [,asset=3Dstr][,part=3Dstr][,speed=3D%d] + specify SMBIOS type 17 fields +-smbios type=3D41[,designation=3Dstr][,kind=3Dstr][,instance=3D%d][,pcidev= =3Dstr] + specify SMBIOS type 41 fields + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-enable-kvm enable KVM full virtualization support +-xen-domid id specify xen guest domain id +-xen-attach attach to existing xen domain + libxl will use this when starting QEMU +-xen-domid-restrict restrict set of available xen operations + to specified domain id. (Does not affect + xenpv machine type). +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-semihosting semihosting mode +-semihosting-config [enable=3Don|off][,target=3Dnative|gdb|auto][,chardev= =3Did][,userspace=3Don|off][,arg=3Dstr[,...]] + semihosting configuration +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-arm.machine_help b/cmdline_ref/qemu-sy= stem-arm.machine_help new file mode 100644 index 00000000000..4530adbb813 --- /dev/null +++ b/cmdline_ref/qemu-system-arm.machine_help @@ -0,0 +1,96 @@ +Supported machines are: +anacapa-bmc Facebook Anacapa BMC (Cortex-A7) +ast1030-evb Aspeed AST1030 MiniBMC (Cortex-M4) +ast1040-evb Aspeed AST1040 BIC EVB (Cortex-M4F) +ast1060-evb Aspeed AST1060 Platform Root of Trust (Cortex-M4) +ast2500-evb Aspeed AST2500 EVB (ARM1176) +ast2600-evb Aspeed AST2600 EVB (Cortex-A7) +b-l475e-iot01a B-L475E-IOT01A Discovery Kit (Cortex-M4) +bletchley-bmc Facebook Bletchley BMC (Cortex-A7) +bpim2u Bananapi M2U (Cortex-A7) +canon-a1100 Canon PowerShot A1100 IS (ARM946) +catalina-bmc Facebook Catalina BMC (Cortex-A7) +collie Sharp SL-5500 (Collie) PDA (SA-1110) +cubieboard cubietech cubieboard (Cortex-A8) +emcraft-sf2 SmartFusion2 SOM kit from Emcraft (M2S010) +fby35-bmc Facebook fby35 BMC (Cortex-A7) +fuji-bmc Facebook Fuji BMC (Cortex-A7) +g220a-bmc Bytedance G220A BMC (ARM1176) +gb200nvl-bmc Nvidia GB200NVL BMC (Cortex-A7) +imx25-pdk ARM i.MX25 PDK board (ARM926) +integratorcp ARM Integrator/CP (ARM926EJ-S) +kudo-bmc Kudo BMC (Cortex-A9) +kzm ARM KZM Emulation Baseboard (ARM1136) +lm3s6965evb Stellaris LM3S6965EVB (Cortex-M3) +lm3s811evb Stellaris LM3S811EVB (Cortex-M3) +max78000fthr MAX78000FTHR Board (Cortex-M4 / (Unimplemented) RISC-= V) +mcimx6ul-evk Freescale i.MX6UL Evaluation Kit (Cortex-A7) +mcimx7d-sabre Freescale i.MX7 DUAL SABRE (Cortex-A7) +microbit BBC micro:bit (Cortex-M0) +mori-bmc Mori BMC (Cortex-A9) +mps2-an385 ARM MPS2 with AN385 FPGA image for Cortex-M3 +mps2-an386 ARM MPS2 with AN386 FPGA image for Cortex-M4 +mps2-an500 ARM MPS2 with AN500 FPGA image for Cortex-M7 +mps2-an505 ARM MPS2 with AN505 FPGA image for Cortex-M33 +mps2-an511 ARM MPS2 with AN511 DesignStart FPGA image for Cortex= -M3 +mps2-an521 ARM MPS2 with AN521 FPGA image for dual Cortex-M33 +mps3-an524 ARM MPS3 with AN524 FPGA image for dual Cortex-M33 +mps3-an536 ARM MPS3 with AN536 FPGA image for Cortex-R52 +mps3-an547 ARM MPS3 with AN547 FPGA image for Cortex-M55 +musca-a ARM Musca-A board (dual Cortex-M33) +musca-b1 ARM Musca-B1 board (dual Cortex-M33) +musicpal Marvell 88w8618 / MusicPal (ARM926EJ-S) +netduino2 Netduino 2 Machine (Cortex-M3) +netduinoplus2 Netduino Plus 2 Machine (Cortex-M4) +none empty machine +npcm750-evb Nuvoton NPCM750 Evaluation Board (Cortex-A9) +nuri Samsung NURI board (Exynos4210) +olimex-stm32-h405 Olimex STM32-H405 (Cortex-M4) +orangepi-pc Orange Pi PC (Cortex-A7) +palmetto-bmc OpenPOWER Palmetto BMC (ARM926EJ-S) +quanta-gbs-bmc Quanta GBS (Cortex-A9) +quanta-gsj Quanta GSJ (Cortex-A9) +quanta-q71l-bmc Quanta-Q71l BMC (ARM926EJ-S) +rainier-bmc IBM Rainier BMC (Cortex-A7) +raspi0 Raspberry Pi Zero (revision 1.2) +raspi1ap Raspberry Pi A+ (revision 1.1) +raspi2b Raspberry Pi 2B (revision 1.1) +realview-eb ARM RealView Emulation Baseboard (ARM926EJ-S) +realview-eb-mpcore ARM RealView Emulation Baseboard (ARM11MPCore) +realview-pb-a8 ARM RealView Platform Baseboard for Cortex-A8 +realview-pbx-a9 ARM RealView Platform Baseboard Explore for Cortex-A9 +romulus-bmc OpenPOWER Romulus BMC (ARM1176) +sabrelite Freescale i.MX6 Quad SABRE Lite Board (Cortex-A9) +smdkc210 Samsung SMDKC210 board (Exynos4210) +stm32vldiscovery ST STM32VLDISCOVERY (Cortex-M3) +supermicro-x11spi-bmc Supermicro X11 SPI BMC (ARM1176) +supermicrox11-bmc Supermicro X11 BMC (ARM926EJ-S) +sx1 Siemens SX1 (OMAP310) V2 +sx1-v1 Siemens SX1 (OMAP310) V1 +tiogapass-bmc Facebook Tiogapass BMC (ARM1176) +versatileab ARM Versatile/AB (ARM926EJ-S) +versatilepb ARM Versatile/PB (ARM926EJ-S) +vexpress-a15 ARM Versatile Express for Cortex-A15 +vexpress-a9 ARM Versatile Express for Cortex-A9 +virt-10.0 QEMU 10.0 ARM Virtual Machine +virt-10.1 QEMU 10.1 ARM Virtual Machine +virt-10.2 QEMU 10.2 ARM Virtual Machine +virt-11.0 QEMU 11.0 ARM Virtual Machine +virt-11.1 QEMU 11.1 ARM Virtual Machine +virt QEMU 11.2 ARM Virtual Machine (alias of virt-11.2) +virt-11.2 QEMU 11.2 ARM Virtual Machine +virt-6.0 QEMU 6.0 ARM Virtual Machine (deprecated) +virt-6.1 QEMU 6.1 ARM Virtual Machine (deprecated) +virt-6.2 QEMU 6.2 ARM Virtual Machine (deprecated) +virt-7.0 QEMU 7.0 ARM Virtual Machine (deprecated) +virt-7.1 QEMU 7.1 ARM Virtual Machine (deprecated) +virt-7.2 QEMU 7.2 ARM Virtual Machine (deprecated) +virt-8.0 QEMU 8.0 ARM Virtual Machine (deprecated) +virt-8.1 QEMU 8.1 ARM Virtual Machine (deprecated) +virt-8.2 QEMU 8.2 ARM Virtual Machine (deprecated) +virt-9.0 QEMU 9.0 ARM Virtual Machine +virt-9.1 QEMU 9.1 ARM Virtual Machine +virt-9.2 QEMU 9.2 ARM Virtual Machine +witherspoon-bmc OpenPOWER Witherspoon BMC (ARM1176) +xilinx-zynq-a9 Xilinx Zynq 7000 Platform Baseboard for Cortex-A9 +yosemitev2-bmc Facebook YosemiteV2 BMC (ARM1176) diff --git a/cmdline_ref/qemu-system-avr.cpu_help b/cmdline_ref/qemu-system= -avr.cpu_help new file mode 100644 index 00000000000..c22c9b77daa --- /dev/null +++ b/cmdline_ref/qemu-system-avr.cpu_help @@ -0,0 +1,4 @@ +Available CPUs: + avr5 + avr51 + avr6 diff --git a/cmdline_ref/qemu-system-avr.device_help b/cmdline_ref/qemu-sys= tem-avr.device_help new file mode 100644 index 00000000000..1d872820a73 --- /dev/null +++ b/cmdline_ref/qemu-system-avr.device_help @@ -0,0 +1,5 @@ + +Misc devices: +name "loader", desc "Generic Loader" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System diff --git a/cmdline_ref/qemu-system-avr.help b/cmdline_ref/qemu-system-avr= .help new file mode 100644 index 00000000000..e3736b1680c --- /dev/null +++ b/cmdline_ref/qemu-system-avr.help @@ -0,0 +1,555 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-avr.machine_help b/cmdline_ref/qemu-sy= stem-avr.machine_help new file mode 100644 index 00000000000..619d865cbb1 --- /dev/null +++ b/cmdline_ref/qemu-system-avr.machine_help @@ -0,0 +1,10 @@ +Supported machines are: +2009 Arduino Duemilanove (ATmega168) (alias of arduino-due= milanove) +arduino-duemilanove Arduino Duemilanove (ATmega168) +mega2560 Arduino Mega 2560 (ATmega2560) (alias of arduino-mega= -2560-v3) +arduino-mega-2560-v3 Arduino Mega 2560 (ATmega2560) +mega Arduino Mega (ATmega1280) (alias of arduino-mega) +arduino-mega Arduino Mega (ATmega1280) +uno Arduino UNO (ATmega328P) (alias of arduino-uno) +arduino-uno Arduino UNO (ATmega328P) +none empty machine diff --git a/cmdline_ref/qemu-system-hexagon.cpu_help b/cmdline_ref/qemu-sy= stem-hexagon.cpu_help new file mode 100644 index 00000000000..0a2c9026214 --- /dev/null +++ b/cmdline_ref/qemu-system-hexagon.cpu_help @@ -0,0 +1,13 @@ +Available CPUs: + v5 + v55 + v60 + v61 + v62 + v65 + v66 + v67 + v68 + v69 + v71 + v73 diff --git a/cmdline_ref/qemu-system-hexagon.device_help b/cmdline_ref/qemu= -system-hexagon.device_help new file mode 100644 index 00000000000..57f3a6013ec --- /dev/null +++ b/cmdline_ref/qemu-system-hexagon.device_help @@ -0,0 +1,53 @@ + +Storage devices: +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "vhost-scsi", bus virtio-bus +name "vhost-user-fs-device", bus virtio-bus +name "virtio-9p-device", bus virtio-bus, alias "virtio-9p" +name "virtio-blk-device", bus virtio-bus, alias "virtio-blk" +name "virtio-scsi-device", bus virtio-bus, alias "virtio-scsi" + +Network devices: +name "virtio-net-device", bus virtio-bus, alias "virtio-net" + +Input devices: +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-input", bus virtio-bus +name "vhost-user-rng", bus virtio-bus +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-test-device", bus virtio-bus +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-serial-device", bus virtio-bus, alias "virtio-serial" +name "virtio-tablet-device", bus virtio-bus, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "vhost-user-gpu", bus virtio-bus +name "virtio-gpu-device", bus virtio-bus, alias "virtio-gpu" +name "virtio-gpu-gl-device", bus virtio-bus, alias "virtio-gpu-gl" + +Sound devices: +name "vhost-user-snd", bus virtio-bus +name "virtio-sound-device", bus virtio-bus, alias "virtio-sound" + +Misc devices: +name "guest-loader", desc "Guest Loader" +name "loader", desc "Generic Loader" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vsock-device", bus virtio-bus +name "virtio-balloon-device", bus virtio-bus, alias "virtio-balloon" +name "virtio-crypto-device", bus virtio-bus +name "virtio-rng-device", bus virtio-bus, alias "virtio-rng" +name "virtio-rtc-device", bus virtio-bus diff --git a/cmdline_ref/qemu-system-hexagon.help b/cmdline_ref/qemu-system= -hexagon.help new file mode 100644 index 00000000000..e3736b1680c --- /dev/null +++ b/cmdline_ref/qemu-system-hexagon.help @@ -0,0 +1,555 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-hexagon.machine_help b/cmdline_ref/qem= u-system-hexagon.machine_help new file mode 100644 index 00000000000..c7e52d6322d --- /dev/null +++ b/cmdline_ref/qemu-system-hexagon.machine_help @@ -0,0 +1,4 @@ +Supported machines are: +V66G_1024 Hexagon V66G_1024 (default) +none empty machine +virt Hexagon Virtual Machine diff --git a/cmdline_ref/qemu-system-hppa.cpu_help b/cmdline_ref/qemu-syste= m-hppa.cpu_help new file mode 100644 index 00000000000..0a580804791 --- /dev/null +++ b/cmdline_ref/qemu-system-hppa.cpu_help @@ -0,0 +1,4 @@ +Available CPUs: + pa-7300lc + pa-8500 + pa-8700 diff --git a/cmdline_ref/qemu-system-hppa.device_help b/cmdline_ref/qemu-sy= stem-hppa.device_help new file mode 100644 index 00000000000..f64557394c5 --- /dev/null +++ b/cmdline_ref/qemu-system-hppa.device_help @@ -0,0 +1,238 @@ +Controller/Bridge/Hub devices: +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "cmd646-ide", bus PCI +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "pvscsi", bus PCI +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "ne2k_isa", bus ISA +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "diva-gsp", bus PCI +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "isa-parallel", bus ISA +name "isa-serial", bus ISA +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "secondary-vga", bus PCI +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "vhost-user-vga", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" +name "virtio-vga", bus PCI +name "virtio-vga-gl", bus PCI + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "adlib", bus ISA, desc "Yamaha YM3812 (OPL2)" +name "cs4231a", bus ISA, desc "Crystal Semiconductor CS4231A" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "gus", bus ISA, desc "Gravis Ultrasound GF1" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "sb16", bus ISA, desc "Creative Sound Blaster 16" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "i2c-ddc", bus i2c-bus +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "mc146818rtc", bus ISA +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" +name "ib700", bus ISA, desc "iBASE 700" + +Uncategorized devices: +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-hppa.help b/cmdline_ref/qemu-system-hp= pa.help new file mode 100644 index 00000000000..e3736b1680c --- /dev/null +++ b/cmdline_ref/qemu-system-hppa.help @@ -0,0 +1,555 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-hppa.machine_help b/cmdline_ref/qemu-s= ystem-hppa.machine_help new file mode 100644 index 00000000000..eaf77e218d8 --- /dev/null +++ b/cmdline_ref/qemu-system-hppa.machine_help @@ -0,0 +1,6 @@ +Supported machines are: +715 HP 715/64 workstation +A400 HP A400-44 server +B160L HP B160L workstation (default) +C3700 HP C3700 workstation +none empty machine diff --git a/cmdline_ref/qemu-system-i386.cpu_help b/cmdline_ref/qemu-syste= m-i386.cpu_help new file mode 100644 index 00000000000..dec4823ad4c --- /dev/null +++ b/cmdline_ref/qemu-system-i386.cpu_help @@ -0,0 +1,259 @@ +Available CPUs: + 486 (alias configured by machine type) + 486-v1 + Broadwell (alias configured by machine type) + Broadwell-IBRS (alias of Broadwell-v3) + Broadwell-noTSX (alias of Broadwell-v2) + Broadwell-noTSX-IBRS (alias of Broadwell-v4) + Broadwell-v1 Intel Core Processor (Broadwell) + Broadwell-v2 Intel Core Processor (Broadwell, no TSX) + Broadwell-v3 Intel Core Processor (Broadwell, IBRS) + Broadwell-v4 Intel Core Processor (Broadwell, no TSX, IBRS) + Cascadelake-Server (alias configured by machine type) + Cascadelake-Server-noTSX (alias of Cascadelake-Server-v3) + Cascadelake-Server-v1 Intel Xeon Processor (Cascadelake) + Cascadelake-Server-v2 Intel Xeon Processor (Cascadelake) [ARCH_CAPABILI= TIES] + Cascadelake-Server-v3 Intel Xeon Processor (Cascadelake) [ARCH_CAPABILI= TIES, no TSX] + Cascadelake-Server-v4 Intel Xeon Processor (Cascadelake) [ARCH_CAPABILI= TIES, EPT switching, no TSX] + Cascadelake-Server-v5 Intel Xeon Processor (Cascadelake) [ARCH_CAPABILI= TIES, EPT switching, XSAVES, no TSX] + Cascadelake-Server-v6 Intel Xeon Processor (Cascadelake) [with MMIO/GDS= /RFDS mitigation status] + Cascadelake-Server-v7 Intel Xeon Processor (Cascadelake) [with MBEC ena= bled] + ClearwaterForest (alias configured by machine type) + ClearwaterForest-v1 Intel Xeon Processor (ClearwaterForest) + ClearwaterForest-v2 Intel Xeon Processor (ClearwaterForest) [with cet-= ss and cet-ibt] + ClearwaterForest-v3 Intel Xeon Processor (ClearwaterForest) [with its-= no, cwf-ap cache model and 0x1f leaf] + ClearwaterForest-v4 Intel Xeon Processor (ClearwaterForest) [with MBEC= enabled] + Conroe (alias configured by machine type) + Conroe-v1 Intel Celeron_4x0 (Conroe/Merom Class Core 2) + Cooperlake (alias configured by machine type) + Cooperlake-v1 Intel Xeon Processor (Cooperlake) + Cooperlake-v2 Intel Xeon Processor (Cooperlake) [XSAVES] + Denverton (alias configured by machine type) + Denverton-v1 Intel Atom Processor (Denverton) + Denverton-v2 Intel Atom Processor (Denverton) [no MPX, no MONIT= OR] + Denverton-v3 Intel Atom Processor (Denverton) [XSAVES, no MPX, = no MONITOR] + Dhyana (alias configured by machine type) + Dhyana-v1 Hygon Dhyana Processor + Dhyana-v2 Hygon Dhyana Processor [XSAVES] + DiamondRapids (alias configured by machine type) + DiamondRapids-v1 Intel Xeon Processor (DiamondRapids) + DiamondRapids-v2 Intel Xeon Processor (DiamondRapids) [with MBEC en= abled] + EPYC (alias configured by machine type) + EPYC-Genoa (alias configured by machine type) + EPYC-Genoa-v1 AMD EPYC-Genoa Processor + EPYC-Genoa-v2 AMD EPYC-Genoa-v2 Processor + EPYC-Genoa-v3 AMD EPYC-Genoa-v3 Processor + EPYC-IBPB (alias of EPYC-v2) + EPYC-Milan (alias configured by machine type) + EPYC-Milan-v1 AMD EPYC-Milan Processor + EPYC-Milan-v2 AMD EPYC-Milan-v2 Processor + EPYC-Milan-v3 AMD EPYC-Milan-v3 Processor + EPYC-Milan-v4 AMD EPYC-Milan-v4 Processor + EPYC-Rome (alias configured by machine type) + EPYC-Rome-v1 AMD EPYC-Rome Processor + EPYC-Rome-v2 AMD EPYC-Rome Processor + EPYC-Rome-v3 AMD EPYC-Rome-v3 Processor + EPYC-Rome-v4 AMD EPYC-Rome-v4 Processor (no XSAVES) + EPYC-Rome-v5 AMD EPYC-Rome-v5 Processor + EPYC-Turin (alias configured by machine type) + EPYC-Turin-v1 AMD EPYC-Turin Processor + EPYC-Turin-v2 AMD EPYC-Turin-v2 Processor + EPYC-v1 AMD EPYC Processor + EPYC-v2 AMD EPYC Processor (with IBPB) + EPYC-v3 AMD EPYC Processor + EPYC-v4 AMD EPYC-v4 Processor + EPYC-v5 AMD EPYC-v5 Processor + GraniteRapids (alias configured by machine type) + GraniteRapids-v1 Intel Xeon Processor (GraniteRapids) + GraniteRapids-v2 Intel Xeon Processor (GraniteRapids) + GraniteRapids-v3 Intel Xeon Processor (GraniteRapids) [with gnr-sp = cache model and 0x1f leaf] + GraniteRapids-v4 Intel Xeon Processor (GraniteRapids) [with cet-ss = and cet-ibt] + GraniteRapids-v5 Intel Xeon Processor (GraniteRapids) [with its-no] + GraniteRapids-v6 Intel Xeon Processor (GraniteRapids) [with GDS and= RFDS mitigation status] + GraniteRapids-v7 Intel Xeon Processor (GraniteRapids) [with MBEC en= abled] + Haswell (alias configured by machine type) + Haswell-IBRS (alias of Haswell-v3) + Haswell-noTSX (alias of Haswell-v2) + Haswell-noTSX-IBRS (alias of Haswell-v4) + Haswell-v1 Intel Core Processor (Haswell) + Haswell-v2 Intel Core Processor (Haswell, no TSX) + Haswell-v3 Intel Core Processor (Haswell, IBRS) + Haswell-v4 Intel Core Processor (Haswell, no TSX, IBRS) + Icelake-Server (alias configured by machine type) + Icelake-Server-noTSX (alias of Icelake-Server-v2) + Icelake-Server-v1 Intel Xeon Processor (Icelake) + Icelake-Server-v2 Intel Xeon Processor (Icelake) [no TSX] + Icelake-Server-v3 Intel Xeon Processor (Icelake) + Icelake-Server-v4 Intel Xeon Processor (Icelake) + Icelake-Server-v5 Intel Xeon Processor (Icelake) [XSAVES] + Icelake-Server-v6 Intel Xeon Processor (Icelake) [5-level EPT] + Icelake-Server-v7 Intel Xeon Processor (Icelake) [TSX, taa-no] + Icelake-Server-v8 Intel Xeon Processor (Icelake) [with MMIO/GDS/RFDS= mitigation status] + Icelake-Server-v9 Intel Xeon Processor (Icelake) [with MBEC enabled] + IvyBridge (alias configured by machine type) + IvyBridge-IBRS (alias of IvyBridge-v2) + IvyBridge-v1 Intel Xeon E3-12xx v2 (Ivy Bridge) + IvyBridge-v2 Intel Xeon E3-12xx v2 (Ivy Bridge, IBRS) + KnightsMill (alias configured by machine type) + KnightsMill-v1 Intel Xeon Phi Processor (Knights Mill) + Nehalem (alias configured by machine type) + Nehalem-IBRS (alias of Nehalem-v2) + Nehalem-v1 Intel Core i7 9xx (Nehalem Class Core i7) + Nehalem-v2 Intel Core i7 9xx (Nehalem Core i7, IBRS update) + Opteron_G1 (alias configured by machine type) + Opteron_G1-v1 AMD Opteron 240 (Gen 1 Class Opteron) + Opteron_G2 (alias configured by machine type) + Opteron_G2-v1 AMD Opteron 22xx (Gen 2 Class Opteron) + Opteron_G3 (alias configured by machine type) + Opteron_G3-v1 AMD Opteron 23xx (Gen 3 Class Opteron) + Opteron_G4 (alias configured by machine type) + Opteron_G4-v1 AMD Opteron 62xx class CPU + Opteron_G5 (alias configured by machine type) + Opteron_G5-v1 AMD Opteron 63xx class CPU + Penryn (alias configured by machine type) + Penryn-v1 Intel Core 2 Duo P9xxx (Penryn Class Core 2) + SandyBridge (alias configured by machine type) + SandyBridge-IBRS (alias of SandyBridge-v2) + SandyBridge-v1 Intel Xeon E312xx (Sandy Bridge) + SandyBridge-v2 Intel Xeon E312xx (Sandy Bridge, IBRS update) + SapphireRapids (alias configured by machine type) + SapphireRapids-v1 Intel Xeon Processor (SapphireRapids) + SapphireRapids-v2 Intel Xeon Processor (SapphireRapids) + SapphireRapids-v3 Intel Xeon Processor (SapphireRapids) + SapphireRapids-v4 Intel Xeon Processor (SapphireRapids) [with spr-sp= cache model and 0x1f leaf] + SapphireRapids-v5 Intel Xeon Processor (SapphireRapids) [with cet-ss= and cet-ibt] + SapphireRapids-v6 Intel Xeon Processor (SapphireRapids) [with its-no] + SapphireRapids-v7 Intel Xeon Processor (SapphireRapids) [with GDS an= d RFDS mitigation status] + SapphireRapids-v8 Intel Xeon Processor (SapphireRapids) [with MBEC e= nabled] + SierraForest (alias configured by machine type) + SierraForest-v1 Intel Xeon Processor (SierraForest) + SierraForest-v2 Intel Xeon Processor (SierraForest) + SierraForest-v3 Intel Xeon Processor (SierraForest) [with srf-sp c= ache model and 0x1f leaf] + SierraForest-v4 Intel Xeon Processor (SierraForest) [with cet-ss a= nd cet-ibt] + SierraForest-v5 Intel Xeon Processor (SierraForest) [with its-no] + SierraForest-v6 Intel Xeon Processor (SierraForest) [with MBEC ena= bled] + Skylake-Client (alias configured by machine type) + Skylake-Client-IBRS (alias of Skylake-Client-v2) + Skylake-Client-noTSX-IBRS (alias of Skylake-Client-v3) + Skylake-Client-v1 Intel Core Processor (Skylake) + Skylake-Client-v2 Intel Core Processor (Skylake, IBRS) + Skylake-Client-v3 Intel Core Processor (Skylake, IBRS, no TSX) + Skylake-Client-v4 Intel Core Processor (Skylake, IBRS, no TSX) [IBRS= , XSAVES, no TSX] + Skylake-Server (alias configured by machine type) + Skylake-Server-IBRS (alias of Skylake-Server-v2) + Skylake-Server-noTSX-IBRS (alias of Skylake-Server-v3) + Skylake-Server-v1 Intel Xeon Processor (Skylake) + Skylake-Server-v2 Intel Xeon Processor (Skylake, IBRS) + Skylake-Server-v3 Intel Xeon Processor (Skylake, IBRS, no TSX) + Skylake-Server-v4 Intel Xeon Processor (Skylake, IBRS, no TSX) [IBRS= , EPT switching, no TSX] + Skylake-Server-v5 Intel Xeon Processor (Skylake, IBRS, no TSX) [IBRS= , XSAVES, EPT switching, no TSX] + Skylake-Server-v6 Intel Xeon Processor (Skylake, IBRS, no TSX) [with= MBEC enabled] + Snowridge (alias configured by machine type) + Snowridge-v1 Intel Atom Processor (SnowRidge) + Snowridge-v2 Intel Atom Processor (Snowridge, no MPX) + Snowridge-v3 Intel Atom Processor (Snowridge, no MPX) [XSAVES, = no MPX] + Snowridge-v4 Intel Atom Processor (Snowridge, no MPX) [no split= lock detect, no core-capability] + Westmere (alias configured by machine type) + Westmere-IBRS (alias of Westmere-v2) + Westmere-v1 Westmere E56xx/L56xx/X56xx (Nehalem-C) + Westmere-v2 Westmere E56xx/L56xx/X56xx (IBRS update) + YongFeng (alias configured by machine type) + YongFeng-v1 Zhaoxin YongFeng Processor + YongFeng-v2 Zhaoxin YongFeng Processor [with the correct model= number] + YongFeng-v3 Zhaoxin YongFeng Processor [with the cache model a= nd 0x1f leaf] + athlon (alias configured by machine type) + athlon-v1 QEMU Virtual CPU version 2.5+ + core2duo (alias configured by machine type) + core2duo-v1 Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz + coreduo (alias configured by machine type) + coreduo-v1 Genuine Intel(R) CPU T2600 @ 2.16GHz + kvm32 (alias configured by machine type) + kvm32-v1 Common 32-bit KVM processor + kvm64 (alias configured by machine type) + kvm64-v1 Common KVM processor + n270 (alias configured by machine type) + n270-v1 Intel(R) Atom(TM) CPU N270 @ 1.60GHz + pentium (alias configured by machine type) + pentium-v1 + pentium2 (alias configured by machine type) + pentium2-v1 + pentium3 (alias configured by machine type) + pentium3-v1 + phenom (alias configured by machine type) + phenom-v1 AMD Phenom(tm) 9550 Quad-Core Processor + qemu32 (alias configured by machine type) + qemu32-v1 QEMU Virtual CPU version 2.5+ + qemu64 (alias configured by machine type) + qemu64-v1 QEMU Virtual CPU version 2.5+ + base base CPU model type with no features enabled + max Enables all features supported by the accelerator = in the current host + +Recognized CPUID flags: + 3dnow 3dnowext 3dnowprefetch abm ace2 ace2-en acpi adx aes amd-no-ssb + amd-psfd amd-ssbd amd-stibp amx-avx512 amx-bf16 amx-bf16-alias + amx-complex amx-complex-alias amx-fp16 amx-fp16-alias amx-fp8 amx-int8 + amx-int8-alias amx-movrs amx-tf32 amx-tile apic apx-nci-ndd-nf apxf arat + arch-capabilities arch-lbr auto-ibrs avic avx avx-ifma avx-ne-convert + avx-vnni avx-vnni-int16 avx-vnni-int8 avx10 avx10-128 avx10-256 avx10-512 + avx10-vnni-int avx2 avx512-4fmaps avx512-4vnniw avx512-bf16 avx512-fp16 + avx512-vp2intersect avx512-vpopcntdq avx512bitalg avx512bw avx512cd + avx512dq avx512er avx512f avx512ifma avx512pf avx512vbmi avx512vbmi2 + avx512vl avx512vnni bhi-ctrl bhi-no bmi1 bmi2 bus-lock-detect cet-ibt + cet-ss cid cldemote clflush clflushopt clwb clzero cmov cmp-legacy + cmpccxadd core-capability cr8legacy cx16 cx8 dca ddpd-u de decodeassists + ds ds-cpl dtes64 eraps erms est extapic f16c fb-clear fbsdp-no + fdp-excptn-only flush-l1d flushbyasid fma fma4 fpu fred fs-gs-base-ns + fsgsbase fsrc fsrm fsrs full-width-write fxsr fxsr-opt fzrm gds-no gfni + gmet hle ht hypervisor ia64 ibpb ibpb-brtype ibrs ibrs-all ibs intel-psfd + intel-pt intel-pt-lip invpcid invtsc ipred-ctrl its-no kvm-asyncpf + kvm-asyncpf-int kvm-asyncpf-vmexit kvm-hint-dedicated kvm-mmu + kvm-msi-ext-dest-id kvm-nopiodelay kvm-poll-control kvm-pv-eoi kvm-pv-ipi + kvm-pv-sched-yield kvm-pv-tlb-flush kvm-pv-unhalt kvm-steal-time kvmclock + kvmclock kvmclock-stable-bit la57 lahf-lm lam lbrv + lfence-always-serializing lkgs lm lwp mca mcdt-no mce md-clear mds-no + misalignsse mmx mmxext monitor movbe movdir64b movdiri movrs mpx msr + msr-imm mtrr no-nested-data-bp nodeid-msr npt nrip-save null-sel-clr-base + nx osvw overflow-recov pae pat pause-filter pbe pbrsb-no pcid pclmulqdq + pcommit pdcm pdpe1gb perfctr-core perfctr-nb perfmon-v2 pfthreshold pge + phe phe-en pks pku pmm pmm-en pn pni popcnt prefetchi prefetchiti + pschange-mc-no psdp-no pse pse36 rdctl-no rdpid rdrand rdseed rdtscp + rfds-clear rfds-no rrsba-ctrl rsba rtm sbdr-ssdp-no sbpb sep serialize + sgx sgx-aex-notify sgx-debug sgx-edeccssa sgx-exinfo sgx-kss sgx-mode64 + sgx-provisionkey sgx-tokenkey sgx1 sgx2 sgxlc sha-ni sha512 skinit + skip-l1dfl-vmentry sm3 sm4 smap smep smx spec-ctrl split-lock-detect + srso-no srso-user-kernel-no ss ssb-no ssbd sse sse2 sse4.1 sse4.2 sse4a + ssse3 stibp stibp-always-on succor svm svm-lock svme-addr-chk syscall + taa-no tbm tce tm tm2 topoext tsa-l1-no tsa-sq-no tsc tsc-adjust + tsc-deadline tsc-scale tsx-ctrl tsx-ldtrk umip v-vmsave-vmload vaes + verw-clear vgif virt-ssbd vmcb-clean vme vmx vmx-activity-hlt + vmx-activity-shutdown vmx-activity-wait-sipi vmx-any-errcode + vmx-apicv-register vmx-apicv-vid vmx-apicv-x2apic vmx-apicv-xapic + vmx-cr3-load-noexit vmx-cr3-store-noexit vmx-cr8-load-exit + vmx-cr8-store-exit vmx-desc-exit vmx-enable-user-wait-pause + vmx-encls-exit vmx-entry-ia32e-mode vmx-entry-load-bndcfgs + vmx-entry-load-cet vmx-entry-load-efer vmx-entry-load-fred + vmx-entry-load-pat vmx-entry-load-perf-global-ctrl vmx-entry-load-pkrs + vmx-entry-load-rtit-ctl vmx-entry-noload-debugctl vmx-ept vmx-ept-1gb + vmx-ept-2mb vmx-ept-advanced-exitinfo vmx-ept-execonly vmx-eptad + vmx-eptp-switching vmx-exit-ack-intr vmx-exit-clear-bndcfgs + vmx-exit-clear-rtit-ctl vmx-exit-load-efer vmx-exit-load-pat + vmx-exit-load-perf-global-ctrl vmx-exit-load-pkrs + vmx-exit-nosave-debugctl vmx-exit-save-cet vmx-exit-save-efer + vmx-exit-save-pat vmx-exit-save-preemption-timer vmx-exit-secondary-ctls + vmx-flexpriority vmx-hlt-exit vmx-ins-outs vmx-intr-exit vmx-invept + vmx-invept-all-context vmx-invept-single-context + vmx-invept-single-context vmx-invept-single-context-noglobals + vmx-invlpg-exit vmx-invpcid-exit vmx-invvpid vmx-invvpid-all-context + vmx-invvpid-single-addr vmx-io-bitmap vmx-io-exit vmx-mbec + vmx-monitor-exit vmx-movdr-exit vmx-msr-bitmap vmx-mtf vmx-mwait-exit + vmx-nested-exception vmx-nmi-exit vmx-page-walk-4 vmx-page-walk-5 + vmx-pause-exit vmx-ple vmx-pml vmx-posted-intr vmx-preemption-timer + vmx-rdpmc-exit vmx-rdrand-exit vmx-rdseed-exit vmx-rdtsc-exit + vmx-rdtscp-exit vmx-secondary-ctls vmx-shadow-vmcs vmx-store-lma + vmx-true-ctls vmx-tsc-offset vmx-tsc-scaling vmx-unrestricted-guest + vmx-vintr-pending vmx-vmfunc vmx-vmwrite-vmexit-fields vmx-vnmi + vmx-vnmi-pending vmx-vpid vmx-wbinvd-exit vmx-xsaves vmx-zero-len-inject + vnmi vpclmulqdq waitpkg wbnoinvd wdt wrmsrns x2apic xcrypt xcrypt-en xfd + xgetbv1 xop xsave xsavec xsaveerptr xsaveopt xsaves xstore xstore-en xtpr + zero-fcs-fds + diff --git a/cmdline_ref/qemu-system-i386.device_help b/cmdline_ref/qemu-sy= stem-i386.device_help new file mode 100644 index 00000000000..61698297749 --- /dev/null +++ b/cmdline_ref/qemu-system-i386.device_help @@ -0,0 +1,492 @@ +Controller/Bridge/Hub devices: +name "cxl-downstream", bus PCI, desc "CXL Switch Downstream Port" +name "cxl-rp", bus PCI, desc "CXL Root Port" +name "cxl-upstream", bus PCI, desc "CXL Switch Upstream Port" +name "i82801b11-bridge", bus PCI +name "ioh3420", bus PCI, desc "Intel IOH device id 3420 PCIE Root Port" +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "pcie-pci-bridge", bus PCI +name "pcie-root-port", bus PCI, desc "PCI Express Root Port" +name "pxb", bus PCI, desc "PCI Expander Bridge" +name "pxb-cxl", bus PCI, desc "CXL Host Bridge" +name "pxb-pcie", bus PCI, desc "PCI Express Expander Bridge" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus +name "vfio-pci-igd-lpc-bridge", bus PCI, desc "VFIO dummy ISA/LPC bridge f= or IGD assignment" +name "x3130-upstream", bus PCI, desc "TI X3130 Upstream Port of PCI Expres= s Switch" +name "xio3130-downstream", bus PCI, desc "TI X3130 Downstream Port of PCI = Express Switch" + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "cxl-type3", bus PCI, desc "CXL Memory Device (Type 3)" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "floppy", bus floppy-bus, desc "virtual floppy drive" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "isa-fdc", bus ISA, desc "virtual floppy controller" +name "isa-ide", bus ISA +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "nvdimm", desc "DIMM memory module" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "piix3-ide", bus PCI +name "piix4-ide", bus PCI +name "pvscsi", bus PCI +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-pmem", bus virtio-bus +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000e", bus PCI, desc "Intel 82574L GbE Controller" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "igb", bus PCI, desc "Intel 82576 Gigabit Ethernet Controller" +name "ne2k_isa", bus ISA +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rocker", bus PCI, desc "Rocker Switch" +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "i8042", bus ISA +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "isa-parallel", bus ISA +name "isa-serial", bus ISA +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus +name "vmmouse", bus ISA + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "isa-cirrus-vga", bus ISA +name "isa-vga", bus ISA +name "qxl", bus PCI, desc "Spice QXL GPU (secondary)" +name "qxl-vga", bus PCI, desc "Spice QXL GPU (primary, vga compatible)" +name "ramfb", bus System, desc "ram framebuffer standalone device" +name "secondary-vga", bus PCI +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "vhost-user-vga", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" +name "virtio-vga", bus PCI +name "virtio-vga-gl", bus PCI +name "vmware-svga", bus PCI + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "adlib", bus ISA, desc "Yamaha YM3812 (OPL2)" +name "cs4231a", bus ISA, desc "Crystal Semiconductor CS4231A" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "gus", bus ISA, desc "Gravis Ultrasound GF1" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "sb16", bus ISA, desc "Creative Sound Blaster 16" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "acpi-erst", bus PCI, desc "ACPI Error Record Serialization Table (ER= ST) device" +name "amd-iommu", bus System, desc "AMD IOMMU (AMD-Vi) DMA Remapping devic= e" +name "AMDVI-PCI", bus PCI, desc "AMD IOMMU (AMD-Vi) DMA Remapping device" +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "edu", bus PCI +name "guest-loader", desc "Guest Loader" +name "i2c-ddc", bus i2c-bus +name "i2c-echo", bus i2c-bus +name "intel-iommu", bus System, desc "Intel IOMMU (VT-d) DMA Remapping dev= ice" +name "iommu-testdev", bus PCI, desc "A test device for IOMMU" +name "isa-applesmc", bus ISA +name "isa-debug-exit", bus ISA +name "isa-debugcon", bus ISA +name "ivshmem-doorbell", bus PCI, desc "Inter-VM shared memory" +name "ivshmem-plain", bus PCI, desc "Inter-VM shared memory" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "mc146818rtc", bus ISA +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pc-testdev", bus ISA +name "pci-testdev", bus PCI, desc "PCI Test Device" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic", bus ISA +name "pvpanic-pci", bus PCI +name "smbus-ipmi", bus i2c-bus +name "tpm-crb" +name "tpm-tis", bus ISA +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-mem", bus virtio-bus +name "virtio-mem-pci", bus PCI +name "virtio-pmem-pci", bus PCI +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI +name "vmclock" +name "vmcoreinfo" +name "vmgenid" + +CPU devices: +name "486-i386-cpu" +name "486-v1-i386-cpu" +name "athlon-i386-cpu" +name "athlon-v1-i386-cpu" +name "base-i386-cpu" +name "Broadwell-i386-cpu" +name "Broadwell-IBRS-i386-cpu" +name "Broadwell-noTSX-i386-cpu" +name "Broadwell-noTSX-IBRS-i386-cpu" +name "Broadwell-v1-i386-cpu" +name "Broadwell-v2-i386-cpu" +name "Broadwell-v3-i386-cpu" +name "Broadwell-v4-i386-cpu" +name "Cascadelake-Server-i386-cpu" +name "Cascadelake-Server-noTSX-i386-cpu" +name "Cascadelake-Server-v1-i386-cpu" +name "Cascadelake-Server-v2-i386-cpu" +name "Cascadelake-Server-v3-i386-cpu" +name "Cascadelake-Server-v4-i386-cpu" +name "Cascadelake-Server-v5-i386-cpu" +name "Cascadelake-Server-v6-i386-cpu" +name "Cascadelake-Server-v7-i386-cpu" +name "ClearwaterForest-i386-cpu" +name "ClearwaterForest-v1-i386-cpu" +name "ClearwaterForest-v2-i386-cpu" +name "ClearwaterForest-v3-i386-cpu" +name "ClearwaterForest-v4-i386-cpu" +name "Conroe-i386-cpu" +name "Conroe-v1-i386-cpu" +name "Cooperlake-i386-cpu" +name "Cooperlake-v1-i386-cpu" +name "Cooperlake-v2-i386-cpu" +name "core2duo-i386-cpu" +name "core2duo-v1-i386-cpu" +name "coreduo-i386-cpu" +name "coreduo-v1-i386-cpu" +name "Denverton-i386-cpu" +name "Denverton-v1-i386-cpu" +name "Denverton-v2-i386-cpu" +name "Denverton-v3-i386-cpu" +name "Dhyana-i386-cpu" +name "Dhyana-v1-i386-cpu" +name "Dhyana-v2-i386-cpu" +name "DiamondRapids-i386-cpu" +name "DiamondRapids-v1-i386-cpu" +name "DiamondRapids-v2-i386-cpu" +name "EPYC-Genoa-i386-cpu" +name "EPYC-Genoa-v1-i386-cpu" +name "EPYC-Genoa-v2-i386-cpu" +name "EPYC-Genoa-v3-i386-cpu" +name "EPYC-i386-cpu" +name "EPYC-IBPB-i386-cpu" +name "EPYC-Milan-i386-cpu" +name "EPYC-Milan-v1-i386-cpu" +name "EPYC-Milan-v2-i386-cpu" +name "EPYC-Milan-v3-i386-cpu" +name "EPYC-Milan-v4-i386-cpu" +name "EPYC-Rome-i386-cpu" +name "EPYC-Rome-v1-i386-cpu" +name "EPYC-Rome-v2-i386-cpu" +name "EPYC-Rome-v3-i386-cpu" +name "EPYC-Rome-v4-i386-cpu" +name "EPYC-Rome-v5-i386-cpu" +name "EPYC-Turin-i386-cpu" +name "EPYC-Turin-v1-i386-cpu" +name "EPYC-Turin-v2-i386-cpu" +name "EPYC-v1-i386-cpu" +name "EPYC-v2-i386-cpu" +name "EPYC-v3-i386-cpu" +name "EPYC-v4-i386-cpu" +name "EPYC-v5-i386-cpu" +name "GraniteRapids-i386-cpu" +name "GraniteRapids-v1-i386-cpu" +name "GraniteRapids-v2-i386-cpu" +name "GraniteRapids-v3-i386-cpu" +name "GraniteRapids-v4-i386-cpu" +name "GraniteRapids-v5-i386-cpu" +name "GraniteRapids-v6-i386-cpu" +name "GraniteRapids-v7-i386-cpu" +name "Haswell-i386-cpu" +name "Haswell-IBRS-i386-cpu" +name "Haswell-noTSX-i386-cpu" +name "Haswell-noTSX-IBRS-i386-cpu" +name "Haswell-v1-i386-cpu" +name "Haswell-v2-i386-cpu" +name "Haswell-v3-i386-cpu" +name "Haswell-v4-i386-cpu" +name "Icelake-Server-i386-cpu" +name "Icelake-Server-noTSX-i386-cpu" +name "Icelake-Server-v1-i386-cpu" +name "Icelake-Server-v2-i386-cpu" +name "Icelake-Server-v3-i386-cpu" +name "Icelake-Server-v4-i386-cpu" +name "Icelake-Server-v5-i386-cpu" +name "Icelake-Server-v6-i386-cpu" +name "Icelake-Server-v7-i386-cpu" +name "Icelake-Server-v8-i386-cpu" +name "Icelake-Server-v9-i386-cpu" +name "IvyBridge-i386-cpu" +name "IvyBridge-IBRS-i386-cpu" +name "IvyBridge-v1-i386-cpu" +name "IvyBridge-v2-i386-cpu" +name "KnightsMill-i386-cpu" +name "KnightsMill-v1-i386-cpu" +name "kvm32-i386-cpu" +name "kvm32-v1-i386-cpu" +name "kvm64-i386-cpu" +name "kvm64-v1-i386-cpu" +name "max-i386-cpu" +name "n270-i386-cpu" +name "n270-v1-i386-cpu" +name "Nehalem-i386-cpu" +name "Nehalem-IBRS-i386-cpu" +name "Nehalem-v1-i386-cpu" +name "Nehalem-v2-i386-cpu" +name "Opteron_G1-i386-cpu" +name "Opteron_G1-v1-i386-cpu" +name "Opteron_G2-i386-cpu" +name "Opteron_G2-v1-i386-cpu" +name "Opteron_G3-i386-cpu" +name "Opteron_G3-v1-i386-cpu" +name "Opteron_G4-i386-cpu" +name "Opteron_G4-v1-i386-cpu" +name "Opteron_G5-i386-cpu" +name "Opteron_G5-v1-i386-cpu" +name "Penryn-i386-cpu" +name "Penryn-v1-i386-cpu" +name "pentium-i386-cpu" +name "pentium-v1-i386-cpu" +name "pentium2-i386-cpu" +name "pentium2-v1-i386-cpu" +name "pentium3-i386-cpu" +name "pentium3-v1-i386-cpu" +name "phenom-i386-cpu" +name "phenom-v1-i386-cpu" +name "qemu32-i386-cpu" +name "qemu32-v1-i386-cpu" +name "qemu64-i386-cpu" +name "qemu64-v1-i386-cpu" +name "SandyBridge-i386-cpu" +name "SandyBridge-IBRS-i386-cpu" +name "SandyBridge-v1-i386-cpu" +name "SandyBridge-v2-i386-cpu" +name "SapphireRapids-i386-cpu" +name "SapphireRapids-v1-i386-cpu" +name "SapphireRapids-v2-i386-cpu" +name "SapphireRapids-v3-i386-cpu" +name "SapphireRapids-v4-i386-cpu" +name "SapphireRapids-v5-i386-cpu" +name "SapphireRapids-v6-i386-cpu" +name "SapphireRapids-v7-i386-cpu" +name "SapphireRapids-v8-i386-cpu" +name "SierraForest-i386-cpu" +name "SierraForest-v1-i386-cpu" +name "SierraForest-v2-i386-cpu" +name "SierraForest-v3-i386-cpu" +name "SierraForest-v4-i386-cpu" +name "SierraForest-v5-i386-cpu" +name "SierraForest-v6-i386-cpu" +name "Skylake-Client-i386-cpu" +name "Skylake-Client-IBRS-i386-cpu" +name "Skylake-Client-noTSX-IBRS-i386-cpu" +name "Skylake-Client-v1-i386-cpu" +name "Skylake-Client-v2-i386-cpu" +name "Skylake-Client-v3-i386-cpu" +name "Skylake-Client-v4-i386-cpu" +name "Skylake-Server-i386-cpu" +name "Skylake-Server-IBRS-i386-cpu" +name "Skylake-Server-noTSX-IBRS-i386-cpu" +name "Skylake-Server-v1-i386-cpu" +name "Skylake-Server-v2-i386-cpu" +name "Skylake-Server-v3-i386-cpu" +name "Skylake-Server-v4-i386-cpu" +name "Skylake-Server-v5-i386-cpu" +name "Skylake-Server-v6-i386-cpu" +name "Snowridge-i386-cpu" +name "Snowridge-v1-i386-cpu" +name "Snowridge-v2-i386-cpu" +name "Snowridge-v3-i386-cpu" +name "Snowridge-v4-i386-cpu" +name "Westmere-i386-cpu" +name "Westmere-IBRS-i386-cpu" +name "Westmere-v1-i386-cpu" +name "Westmere-v2-i386-cpu" +name "YongFeng-i386-cpu" +name "YongFeng-v1-i386-cpu" +name "YongFeng-v2-i386-cpu" +name "YongFeng-v3-i386-cpu" + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" +name "ib700", bus ISA, desc "iBASE 700" + +Uncategorized devices: +name "cxl-switch-mailbox-cci", bus PCI, desc "CXL Switch Mailbox CCI" +name "ipmi-bmc-extern" +name "ipmi-bmc-sim" +name "isa-ipmi-bt", bus ISA +name "isa-ipmi-kcs", bus ISA +name "pc-dimm", desc "DIMM memory module" +name "pci-ipmi-bt", bus PCI, desc "PCI IPMI BT" +name "pci-ipmi-kcs", bus PCI, desc "PCI IPMI KCS" +name "sp-mem", desc "SPM (Specific Purpose Memory) device" +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-i386.help b/cmdline_ref/qemu-system-i3= 86.help new file mode 100644 index 00000000000..a7b55a0df3a --- /dev/null +++ b/cmdline_ref/qemu-system-i386.help @@ -0,0 +1,595 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +i386 target only: +-win2k-hack use it when installing Windows 2000 to avoid a disk full b= ug +-no-fd-bootchk disable boot signature checking for floppy disks +-acpitable [sig=3Dstr][,rev=3Dn][,oem_id=3Dstr][,oem_table_id=3Dstr][,oem_= rev=3Dn][,asl_compiler_id=3Dstr][,asl_compiler_rev=3Dn][,{data|file}=3Dfile= 1[:file2]...] + ACPI table description +-smbios file=3Dbinary + load SMBIOS entry from binary file +-smbios type=3D0[,vendor=3Dstr][,version=3Dstr][,date=3Dstr][,release=3D%d= .%d] + [,uefi=3Don|off][,vm=3Don|off] + specify SMBIOS type 0 fields +-smbios type=3D1[,manufacturer=3Dstr][,product=3Dstr][,version=3Dstr][,ser= ial=3Dstr] + [,uuid=3Duuid][,sku=3Dstr][,family=3Dstr] + specify SMBIOS type 1 fields +-smbios type=3D2[,manufacturer=3Dstr][,product=3Dstr][,version=3Dstr][,ser= ial=3Dstr] + [,asset=3Dstr][,location=3Dstr] + specify SMBIOS type 2 fields +-smbios type=3D3[,manufacturer=3Dstr][,version=3Dstr][,serial=3Dstr][,asse= t=3Dstr] + [,sku=3Dstr] + specify SMBIOS type 3 fields +-smbios type=3D4[,sock_pfx=3Dstr][,manufacturer=3Dstr][,version=3Dstr][,se= rial=3Dstr] + [,asset=3Dstr][,part=3Dstr][,max-speed=3D%d][,current-speed= =3D%d] + [,processor-family=3D%d][,processor-id=3D%d] + specify SMBIOS type 4 fields +-smbios type=3D8[,external_reference=3Dstr][,internal_reference=3Dstr][,co= nnector_type=3D%d][,port_type=3D%d] + specify SMBIOS type 8 fields +-smbios type=3D11[,value=3Dstr][,path=3Dfilename] + specify SMBIOS type 11 fields +-smbios type=3D17[,loc_pfx=3Dstr][,bank=3Dstr][,manufacturer=3Dstr][,seria= l=3Dstr] + [,asset=3Dstr][,part=3Dstr][,speed=3D%d] + specify SMBIOS type 17 fields +-smbios type=3D41[,designation=3Dstr][,kind=3Dstr][,instance=3D%d][,pcidev= =3Dstr] + specify SMBIOS type 41 fields + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-enable-kvm enable KVM full virtualization support +-xen-domid id specify xen guest domain id +-xen-attach attach to existing xen domain + libxl will use this when starting QEMU +-xen-domid-restrict restrict set of available xen operations + to specified domain id. (Does not affect + xenpv machine type). +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-i386.machine_help b/cmdline_ref/qemu-s= ystem-i386.machine_help new file mode 100644 index 00000000000..3e81a9def00 --- /dev/null +++ b/cmdline_ref/qemu-system-i386.machine_help @@ -0,0 +1,42 @@ +Supported machines are: +microvm microvm (i386) +pc-i440fx-9.2 Standard PC (i440FX + PIIX, 1996) +pc-i440fx-9.1 Standard PC (i440FX + PIIX, 1996) +pc-i440fx-9.0 Standard PC (i440FX + PIIX, 1996) +pc-i440fx-8.2 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc-i440fx-8.1 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc-i440fx-8.0 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc-i440fx-7.2 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc-i440fx-7.1 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc-i440fx-7.0 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc-i440fx-6.2 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc-i440fx-6.1 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc-i440fx-6.0 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc Standard PC (i440FX + PIIX, 1996) (alias of pc-i440fx= -11.2) +pc-i440fx-11.2 Standard PC (i440FX + PIIX, 1996) (default) +pc-i440fx-11.1 Standard PC (i440FX + PIIX, 1996) +pc-i440fx-11.0 Standard PC (i440FX + PIIX, 1996) +pc-i440fx-10.2 Standard PC (i440FX + PIIX, 1996) +pc-i440fx-10.1 Standard PC (i440FX + PIIX, 1996) +pc-i440fx-10.0 Standard PC (i440FX + PIIX, 1996) +pc-q35-9.2 Standard PC (Q35 + ICH9, 2009) +pc-q35-9.1 Standard PC (Q35 + ICH9, 2009) +pc-q35-9.0 Standard PC (Q35 + ICH9, 2009) +pc-q35-8.2 Standard PC (Q35 + ICH9, 2009) (deprecated) +pc-q35-8.1 Standard PC (Q35 + ICH9, 2009) (deprecated) +pc-q35-8.0 Standard PC (Q35 + ICH9, 2009) (deprecated) +pc-q35-7.2 Standard PC (Q35 + ICH9, 2009) (deprecated) +pc-q35-7.1 Standard PC (Q35 + ICH9, 2009) (deprecated) +pc-q35-7.0 Standard PC (Q35 + ICH9, 2009) (deprecated) +pc-q35-6.2 Standard PC (Q35 + ICH9, 2009) (deprecated) +pc-q35-6.1 Standard PC (Q35 + ICH9, 2009) (deprecated) +pc-q35-6.0 Standard PC (Q35 + ICH9, 2009) (deprecated) +q35 Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-11.2) +pc-q35-11.2 Standard PC (Q35 + ICH9, 2009) +pc-q35-11.1 Standard PC (Q35 + ICH9, 2009) +pc-q35-11.0 Standard PC (Q35 + ICH9, 2009) +pc-q35-10.2 Standard PC (Q35 + ICH9, 2009) +pc-q35-10.1 Standard PC (Q35 + ICH9, 2009) +pc-q35-10.0 Standard PC (Q35 + ICH9, 2009) +isapc ISA-only PC +none empty machine diff --git a/cmdline_ref/qemu-system-loongarch64.cpu_help b/cmdline_ref/qem= u-system-loongarch64.cpu_help new file mode 100644 index 00000000000..d8add7602e0 --- /dev/null +++ b/cmdline_ref/qemu-system-loongarch64.cpu_help @@ -0,0 +1,4 @@ +Available CPUs: + la132 + la464 + max diff --git a/cmdline_ref/qemu-system-loongarch64.device_help b/cmdline_ref/= qemu-system-loongarch64.device_help new file mode 100644 index 00000000000..4986f003260 --- /dev/null +++ b/cmdline_ref/qemu-system-loongarch64.device_help @@ -0,0 +1,247 @@ +Controller/Bridge/Hub devices: +name "i82801b11-bridge", bus PCI +name "ioh3420", bus PCI, desc "Intel IOH device id 3420 PCIE Root Port" +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "pcie-pci-bridge", bus PCI +name "pcie-root-port", bus PCI, desc "PCI Express Root Port" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus +name "x3130-upstream", bus PCI, desc "TI X3130 Upstream Port of PCI Expres= s Switch" +name "xio3130-downstream", bus PCI, desc "TI X3130 Downstream Port of PCI = Express Switch" + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "nvdimm", desc "DIMM memory module" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "pvscsi", bus PCI +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000e", bus PCI, desc "Intel 82574L GbE Controller" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "igb", bus PCI, desc "Intel 82576 Gigabit Ethernet Controller" +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rocker", bus PCI, desc "Rocker Switch" +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "ramfb", bus System, desc "ram framebuffer standalone device" +name "secondary-vga", bus PCI +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "acpi-erst", bus PCI, desc "ACPI Error Record Serialization Table (ER= ST) device" +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "guest-loader", desc "Guest Loader" +name "i2c-ddc", bus i2c-bus +name "ivshmem-doorbell", bus PCI, desc "Inter-VM shared memory" +name "ivshmem-plain", bus PCI, desc "Inter-VM shared memory" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "tpm-tis-device", bus System +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI +name "vmcoreinfo" + +CPU devices: +name "la132-loongarch-cpu" +name "la464-loongarch-cpu" +name "max-loongarch-cpu" + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" + +Uncategorized devices: +name "pc-dimm", desc "DIMM memory module" +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-loongarch64.help b/cmdline_ref/qemu-sy= stem-loongarch64.help new file mode 100644 index 00000000000..cc68a108b6e --- /dev/null +++ b/cmdline_ref/qemu-system-loongarch64.help @@ -0,0 +1,582 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D +-smbios file=3Dbinary + load SMBIOS entry from binary file +-smbios type=3D0[,vendor=3Dstr][,version=3Dstr][,date=3Dstr][,release=3D%d= .%d] + [,uefi=3Don|off][,vm=3Don|off] + specify SMBIOS type 0 fields +-smbios type=3D1[,manufacturer=3Dstr][,product=3Dstr][,version=3Dstr][,ser= ial=3Dstr] + [,uuid=3Duuid][,sku=3Dstr][,family=3Dstr] + specify SMBIOS type 1 fields +-smbios type=3D2[,manufacturer=3Dstr][,product=3Dstr][,version=3Dstr][,ser= ial=3Dstr] + [,asset=3Dstr][,location=3Dstr] + specify SMBIOS type 2 fields +-smbios type=3D3[,manufacturer=3Dstr][,version=3Dstr][,serial=3Dstr][,asse= t=3Dstr] + [,sku=3Dstr] + specify SMBIOS type 3 fields +-smbios type=3D4[,sock_pfx=3Dstr][,manufacturer=3Dstr][,version=3Dstr][,se= rial=3Dstr] + [,asset=3Dstr][,part=3Dstr][,max-speed=3D%d][,current-speed= =3D%d] + [,processor-family=3D%d][,processor-id=3D%d] + specify SMBIOS type 4 fields +-smbios type=3D8[,external_reference=3Dstr][,internal_reference=3Dstr][,co= nnector_type=3D%d][,port_type=3D%d] + specify SMBIOS type 8 fields +-smbios type=3D11[,value=3Dstr][,path=3Dfilename] + specify SMBIOS type 11 fields +-smbios type=3D17[,loc_pfx=3Dstr][,bank=3Dstr][,manufacturer=3Dstr][,seria= l=3Dstr] + [,asset=3Dstr][,part=3Dstr][,speed=3D%d] + specify SMBIOS type 17 fields +-smbios type=3D41[,designation=3Dstr][,kind=3Dstr][,instance=3D%d][,pcidev= =3Dstr] + specify SMBIOS type 41 fields + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-loongarch64.machine_help b/cmdline_ref= /qemu-system-loongarch64.machine_help new file mode 100644 index 00000000000..926213dd9d0 --- /dev/null +++ b/cmdline_ref/qemu-system-loongarch64.machine_help @@ -0,0 +1,5 @@ +Supported machines are: +none empty machine +virt-11.1 QEMU 11.1 LoongArch Virtual Machine +virt QEMU 11.2 LoongArch Virtual Machine (alias of virt-11= .2) +virt-11.2 QEMU 11.2 LoongArch Virtual Machine (default) diff --git a/cmdline_ref/qemu-system-m68k.cpu_help b/cmdline_ref/qemu-syste= m-m68k.cpu_help new file mode 100644 index 00000000000..51090d8e5bb --- /dev/null +++ b/cmdline_ref/qemu-system-m68k.cpu_help @@ -0,0 +1,11 @@ +Available CPUs: + any + cfv4e + m5206 + m5208 + m68000 + m68010 + m68020 + m68030 + m68040 + m68060 diff --git a/cmdline_ref/qemu-system-m68k.device_help b/cmdline_ref/qemu-sy= stem-m68k.device_help new file mode 100644 index 00000000000..58389eb890e --- /dev/null +++ b/cmdline_ref/qemu-system-m68k.device_help @@ -0,0 +1,59 @@ + +Storage devices: +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "swim-drive", bus swim-bus, desc "virtual SWIM drive" +name "vhost-scsi", bus virtio-bus +name "vhost-user-fs-device", bus virtio-bus +name "virtio-9p-device", bus virtio-bus, alias "virtio-9p" +name "virtio-blk-device", bus virtio-bus, alias "virtio-blk" +name "virtio-scsi-device", bus virtio-bus, alias "virtio-scsi" + +Network devices: +name "virtio-net-device", bus virtio-bus, alias "virtio-net" + +Input devices: +name "adb-keyboard", bus apple-desktop-bus +name "adb-mouse", bus apple-desktop-bus +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-input", bus virtio-bus +name "vhost-user-rng", bus virtio-bus +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-test-device", bus virtio-bus +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-serial-device", bus virtio-bus, alias "virtio-serial" +name "virtio-tablet-device", bus virtio-bus, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "nubus-macfb", bus nubus-bus, desc "Nubus Macintosh framebuffer" +name "vhost-user-gpu", bus virtio-bus +name "virtio-gpu-device", bus virtio-bus, alias "virtio-gpu" +name "virtio-gpu-gl-device", bus virtio-bus, alias "virtio-gpu-gl" + +Sound devices: +name "vhost-user-snd", bus virtio-bus +name "virtio-sound-device", bus virtio-bus, alias "virtio-sound" + +Misc devices: +name "loader", desc "Generic Loader" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vsock-device", bus virtio-bus +name "virtio-balloon-device", bus virtio-bus, alias "virtio-balloon" +name "virtio-crypto-device", bus virtio-bus +name "virtio-rng-device", bus virtio-bus, alias "virtio-rng" +name "virtio-rtc-device", bus virtio-bus + +Uncategorized devices: +name "nubus-virtio-mmio", bus nubus-bus diff --git a/cmdline_ref/qemu-system-m68k.help b/cmdline_ref/qemu-system-m6= 8k.help new file mode 100644 index 00000000000..56b75488e4d --- /dev/null +++ b/cmdline_ref/qemu-system-m68k.help @@ -0,0 +1,559 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-g WxH[xDEPTH] Set the initial graphical resolution and depth +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-semihosting semihosting mode +-semihosting-config [enable=3Don|off][,target=3Dnative|gdb|auto][,chardev= =3Did][,userspace=3Don|off][,arg=3Dstr[,...]] + semihosting configuration +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-m68k.machine_help b/cmdline_ref/qemu-s= ystem-m68k.machine_help new file mode 100644 index 00000000000..825c74ae9de --- /dev/null +++ b/cmdline_ref/qemu-system-m68k.machine_help @@ -0,0 +1,25 @@ +Supported machines are: +an5206 Arnewsh 5206 +mcf5208evb MCF5208EVB (default) +next-cube NeXT Cube +none empty machine +q800 Macintosh Quadra 800 +virt-10.0 QEMU 10.0 M68K Virtual Machine +virt-10.1 QEMU 10.1 M68K Virtual Machine +virt-10.2 QEMU 10.2 M68K Virtual Machine +virt-11.0 QEMU 11.0 M68K Virtual Machine +virt-11.1 QEMU 11.1 M68K Virtual Machine +virt QEMU 11.2 M68K Virtual Machine (alias of virt-11.2) +virt-11.2 QEMU 11.2 M68K Virtual Machine +virt-6.0 QEMU 6.0 M68K Virtual Machine (deprecated) +virt-6.1 QEMU 6.1 M68K Virtual Machine (deprecated) +virt-6.2 QEMU 6.2 M68K Virtual Machine (deprecated) +virt-7.0 QEMU 7.0 M68K Virtual Machine (deprecated) +virt-7.1 QEMU 7.1 M68K Virtual Machine (deprecated) +virt-7.2 QEMU 7.2 M68K Virtual Machine (deprecated) +virt-8.0 QEMU 8.0 M68K Virtual Machine (deprecated) +virt-8.1 QEMU 8.1 M68K Virtual Machine (deprecated) +virt-8.2 QEMU 8.2 M68K Virtual Machine (deprecated) +virt-9.0 QEMU 9.0 M68K Virtual Machine +virt-9.1 QEMU 9.1 M68K Virtual Machine +virt-9.2 QEMU 9.2 M68K Virtual Machine diff --git a/cmdline_ref/qemu-system-microblaze.cpu_help b/cmdline_ref/qemu= -system-microblaze.cpu_help new file mode 100644 index 00000000000..bc5fe7f3b60 --- /dev/null +++ b/cmdline_ref/qemu-system-microblaze.cpu_help @@ -0,0 +1,2 @@ +Available CPUs: + microblaze-cpu diff --git a/cmdline_ref/qemu-system-microblaze.device_help b/cmdline_ref/q= emu-system-microblaze.device_help new file mode 100644 index 00000000000..55fbcc66262 --- /dev/null +++ b/cmdline_ref/qemu-system-microblaze.device_help @@ -0,0 +1,145 @@ + +Storage devices: +name "160s33b", bus SSI, desc "Serial Flash" +name "25csm04", bus SSI, desc "Serial Flash" +name "320s33b", bus SSI, desc "Serial Flash" +name "640s33b", bus SSI, desc "Serial Flash" +name "at25128a-nonjedec", bus SSI, desc "Serial Flash" +name "at25256a-nonjedec", bus SSI, desc "Serial Flash" +name "at25df041a", bus SSI, desc "Serial Flash" +name "at25df321a", bus SSI, desc "Serial Flash" +name "at25df641", bus SSI, desc "Serial Flash" +name "at25fs010", bus SSI, desc "Serial Flash" +name "at25fs040", bus SSI, desc "Serial Flash" +name "at26df081a", bus SSI, desc "Serial Flash" +name "at26df161a", bus SSI, desc "Serial Flash" +name "at26df321", bus SSI, desc "Serial Flash" +name "at26f004", bus SSI, desc "Serial Flash" +name "at45db081d", bus SSI, desc "Serial Flash" +name "en25f32", bus SSI, desc "Serial Flash" +name "en25p32", bus SSI, desc "Serial Flash" +name "en25p64", bus SSI, desc "Serial Flash" +name "en25q32b", bus SSI, desc "Serial Flash" +name "en25q64", bus SSI, desc "Serial Flash" +name "gd25q32", bus SSI, desc "Serial Flash" +name "gd25q64", bus SSI, desc "Serial Flash" +name "is25lp016d", bus SSI, desc "Serial Flash" +name "is25lp032", bus SSI, desc "Serial Flash" +name "is25lp064", bus SSI, desc "Serial Flash" +name "is25lp080d", bus SSI, desc "Serial Flash" +name "is25lp128", bus SSI, desc "Serial Flash" +name "is25lp256", bus SSI, desc "Serial Flash" +name "is25lq040b", bus SSI, desc "Serial Flash" +name "is25wp032", bus SSI, desc "Serial Flash" +name "is25wp064", bus SSI, desc "Serial Flash" +name "is25wp128", bus SSI, desc "Serial Flash" +name "is25wp256", bus SSI, desc "Serial Flash" +name "m25p05", bus SSI, desc "Serial Flash" +name "m25p10", bus SSI, desc "Serial Flash" +name "m25p128", bus SSI, desc "Serial Flash" +name "m25p16", bus SSI, desc "Serial Flash" +name "m25p20", bus SSI, desc "Serial Flash" +name "m25p32", bus SSI, desc "Serial Flash" +name "m25p40", bus SSI, desc "Serial Flash" +name "m25p64", bus SSI, desc "Serial Flash" +name "m25p80", bus SSI, desc "Serial Flash" +name "m25pe16", bus SSI, desc "Serial Flash" +name "m25pe20", bus SSI, desc "Serial Flash" +name "m25pe80", bus SSI, desc "Serial Flash" +name "m25px32", bus SSI, desc "Serial Flash" +name "m25px32-s0", bus SSI, desc "Serial Flash" +name "m25px32-s1", bus SSI, desc "Serial Flash" +name "m25px64", bus SSI, desc "Serial Flash" +name "m45pe10", bus SSI, desc "Serial Flash" +name "m45pe16", bus SSI, desc "Serial Flash" +name "m45pe80", bus SSI, desc "Serial Flash" +name "mt25ql01g", bus SSI, desc "Serial Flash" +name "mt25ql02g", bus SSI, desc "Serial Flash" +name "mt25ql512ab", bus SSI, desc "Serial Flash" +name "mt25qu01g", bus SSI, desc "Serial Flash" +name "mt25qu02g", bus SSI, desc "Serial Flash" +name "mt35xu01g", bus SSI, desc "Serial Flash" +name "mt35xu02gbba", bus SSI, desc "Serial Flash" +name "mx25l12805d", bus SSI, desc "Serial Flash" +name "mx25l12855e", bus SSI, desc "Serial Flash" +name "mx25l1606e", bus SSI, desc "Serial Flash" +name "mx25l2005a", bus SSI, desc "Serial Flash" +name "mx25l25635e", bus SSI, desc "Serial Flash" +name "mx25l25635f", bus SSI, desc "Serial Flash" +name "mx25l25655e", bus SSI, desc "Serial Flash" +name "mx25l3205d", bus SSI, desc "Serial Flash" +name "mx25l4005a", bus SSI, desc "Serial Flash" +name "mx25l6405d", bus SSI, desc "Serial Flash" +name "mx25l8005", bus SSI, desc "Serial Flash" +name "mx66l1g45g", bus SSI, desc "Serial Flash" +name "mx66l51235f", bus SSI, desc "Serial Flash" +name "mx66u1g45g", bus SSI, desc "Serial Flash" +name "mx66u51235f", bus SSI, desc "Serial Flash" +name "n25q00", bus SSI, desc "Serial Flash" +name "n25q00a", bus SSI, desc "Serial Flash" +name "n25q032", bus SSI, desc "Serial Flash" +name "n25q032a11", bus SSI, desc "Serial Flash" +name "n25q032a13", bus SSI, desc "Serial Flash" +name "n25q064", bus SSI, desc "Serial Flash" +name "n25q064a11", bus SSI, desc "Serial Flash" +name "n25q064a13", bus SSI, desc "Serial Flash" +name "n25q128", bus SSI, desc "Serial Flash" +name "n25q128a11", bus SSI, desc "Serial Flash" +name "n25q128a13", bus SSI, desc "Serial Flash" +name "n25q256a", bus SSI, desc "Serial Flash" +name "n25q256a11", bus SSI, desc "Serial Flash" +name "n25q256a13", bus SSI, desc "Serial Flash" +name "n25q512a", bus SSI, desc "Serial Flash" +name "n25q512a11", bus SSI, desc "Serial Flash" +name "n25q512a13", bus SSI, desc "Serial Flash" +name "n25q512ax3", bus SSI, desc "Serial Flash" +name "s25fl016k", bus SSI, desc "Serial Flash" +name "s25fl064k", bus SSI, desc "Serial Flash" +name "s25fl129p0", bus SSI, desc "Serial Flash" +name "s25fl129p1", bus SSI, desc "Serial Flash" +name "s25fl256s0", bus SSI, desc "Serial Flash" +name "s25fl256s1", bus SSI, desc "Serial Flash" +name "s25fl512s", bus SSI, desc "Serial Flash" +name "s25fs512s", bus SSI, desc "Serial Flash" +name "s25sl004a", bus SSI, desc "Serial Flash" +name "s25sl008a", bus SSI, desc "Serial Flash" +name "s25sl016a", bus SSI, desc "Serial Flash" +name "s25sl032a", bus SSI, desc "Serial Flash" +name "s25sl032p", bus SSI, desc "Serial Flash" +name "s25sl064a", bus SSI, desc "Serial Flash" +name "s25sl064p", bus SSI, desc "Serial Flash" +name "s25sl12800", bus SSI, desc "Serial Flash" +name "s25sl12801", bus SSI, desc "Serial Flash" +name "s70fl01gs", bus SSI, desc "Serial Flash" +name "s70fs01gs", bus SSI, desc "Serial Flash" +name "sst25vf016b", bus SSI, desc "Serial Flash" +name "sst25vf032b", bus SSI, desc "Serial Flash" +name "sst25vf040b", bus SSI, desc "Serial Flash" +name "sst25vf080b", bus SSI, desc "Serial Flash" +name "sst25wf010", bus SSI, desc "Serial Flash" +name "sst25wf020", bus SSI, desc "Serial Flash" +name "sst25wf040", bus SSI, desc "Serial Flash" +name "sst25wf080", bus SSI, desc "Serial Flash" +name "sst25wf512", bus SSI, desc "Serial Flash" +name "w25q01jvq", bus SSI, desc "Serial Flash" +name "w25q02jvm", bus SSI, desc "Serial Flash" +name "w25q256", bus SSI, desc "Serial Flash" +name "w25q32", bus SSI, desc "Serial Flash" +name "w25q32dw", bus SSI, desc "Serial Flash" +name "w25q512jv", bus SSI, desc "Serial Flash" +name "w25q64", bus SSI, desc "Serial Flash" +name "w25q80", bus SSI, desc "Serial Flash" +name "w25q80bl", bus SSI, desc "Serial Flash" +name "w25x10", bus SSI, desc "Serial Flash" +name "w25x16", bus SSI, desc "Serial Flash" +name "w25x20", bus SSI, desc "Serial Flash" +name "w25x32", bus SSI, desc "Serial Flash" +name "w25x40", bus SSI, desc "Serial Flash" +name "w25x64", bus SSI, desc "Serial Flash" +name "w25x80", bus SSI, desc "Serial Flash" + +Misc devices: +name "guest-loader", desc "Guest Loader" +name "loader", desc "Generic Loader" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System diff --git a/cmdline_ref/qemu-system-microblaze.help b/cmdline_ref/qemu-sys= tem-microblaze.help new file mode 100644 index 00000000000..e3736b1680c --- /dev/null +++ b/cmdline_ref/qemu-system-microblaze.help @@ -0,0 +1,555 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-microblaze.machine_help b/cmdline_ref/= qemu-system-microblaze.machine_help new file mode 100644 index 00000000000..2e1def2195a --- /dev/null +++ b/cmdline_ref/qemu-system-microblaze.machine_help @@ -0,0 +1,5 @@ +Supported machines are: +none empty machine +petalogix-ml605 PetaLogix linux refdesign for xilinx ml605 (little en= dian) +petalogix-s3adsp1800 PetaLogix linux refdesign for xilinx Spartan 3ADSP180= 0 (default) +xlnx-zynqmp-pmu Xilinx ZynqMP PMU machine (little endian) diff --git a/cmdline_ref/qemu-system-mips.cpu_help b/cmdline_ref/qemu-syste= m-mips.cpu_help new file mode 100644 index 00000000000..f674f83d4c4 --- /dev/null +++ b/cmdline_ref/qemu-system-mips.cpu_help @@ -0,0 +1,19 @@ +Available CPUs: + 24Kc + 24KEc + 24Kf + 34Kf + 4Kc + 4KEc + 4KEcR1 + 4KEm + 4KEmR1 + 4Km + 74Kf + I7200 + M14K + M14Kc + mips32r6-generic + P5600 + XBurstR1 + XBurstR2 diff --git a/cmdline_ref/qemu-system-mips.device_help b/cmdline_ref/qemu-sy= stem-mips.device_help new file mode 100644 index 00000000000..cdbc85f8648 --- /dev/null +++ b/cmdline_ref/qemu-system-mips.device_help @@ -0,0 +1,244 @@ +Controller/Bridge/Hub devices: +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "floppy", bus floppy-bus, desc "virtual floppy drive" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "isa-fdc", bus ISA, desc "virtual floppy controller" +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "piix3-ide", bus PCI +name "piix4-ide", bus PCI +name "pvscsi", bus PCI +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "ne2k_isa", bus ISA +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "i8042", bus ISA +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "isa-parallel", bus ISA +name "isa-serial", bus ISA +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "secondary-vga", bus PCI +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" +name "vmware-svga", bus PCI + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "adlib", bus ISA, desc "Yamaha YM3812 (OPL2)" +name "cs4231a", bus ISA, desc "Crystal Semiconductor CS4231A" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "gus", bus ISA, desc "Gravis Ultrasound GF1" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "sb16", bus ISA, desc "Creative Sound Blaster 16" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "acpi-erst", bus PCI, desc "ACPI Error Record Serialization Table (ER= ST) device" +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "i2c-ddc", bus i2c-bus +name "i2c-echo", bus i2c-bus +name "iommu-testdev", bus PCI, desc "A test device for IOMMU" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "mc146818rtc", bus ISA +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pc-testdev", bus ISA +name "pci-testdev", bus PCI, desc "PCI Test Device" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" +name "ib700", bus ISA, desc "iBASE 700" + +Uncategorized devices: +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-mips.help b/cmdline_ref/qemu-system-mi= ps.help new file mode 100644 index 00000000000..476536d6aa4 --- /dev/null +++ b/cmdline_ref/qemu-system-mips.help @@ -0,0 +1,558 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-semihosting semihosting mode +-semihosting-config [enable=3Don|off][,target=3Dnative|gdb|auto][,chardev= =3Did][,userspace=3Don|off][,arg=3Dstr[,...]] + semihosting configuration +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-mips.machine_help b/cmdline_ref/qemu-s= ystem-mips.machine_help new file mode 100644 index 00000000000..9fd7cbbbdb6 --- /dev/null +++ b/cmdline_ref/qemu-system-mips.machine_help @@ -0,0 +1,3 @@ +Supported machines are: +malta MIPS Malta Core LV (default) +none empty machine diff --git a/cmdline_ref/qemu-system-mips64.cpu_help b/cmdline_ref/qemu-sys= tem-mips64.cpu_help new file mode 100644 index 00000000000..fa6f63c740b --- /dev/null +++ b/cmdline_ref/qemu-system-mips64.cpu_help @@ -0,0 +1,35 @@ +Available CPUs: + 20Kc + 24Kc + 24KEc + 24Kf + 34Kf + 4Kc + 4KEc + 4KEcR1 + 4KEm + 4KEmR1 + 4Km + 5Kc + 5KEc + 5KEf + 5Kf + 74Kf + I6400 + I6500 + I7200 + Loongson-2E + Loongson-2F + Loongson-3A1000 + Loongson-3A4000 + M14K + M14Kc + mips32r6-generic + mips64dspr2 + MIPS64R2-generic + Octeon68XX + P5600 + R4000 + VR5432 + XBurstR1 + XBurstR2 diff --git a/cmdline_ref/qemu-system-mips64.device_help b/cmdline_ref/qemu-= system-mips64.device_help new file mode 100644 index 00000000000..cdbc85f8648 --- /dev/null +++ b/cmdline_ref/qemu-system-mips64.device_help @@ -0,0 +1,244 @@ +Controller/Bridge/Hub devices: +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "floppy", bus floppy-bus, desc "virtual floppy drive" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "isa-fdc", bus ISA, desc "virtual floppy controller" +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "piix3-ide", bus PCI +name "piix4-ide", bus PCI +name "pvscsi", bus PCI +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "ne2k_isa", bus ISA +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "i8042", bus ISA +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "isa-parallel", bus ISA +name "isa-serial", bus ISA +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "secondary-vga", bus PCI +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" +name "vmware-svga", bus PCI + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "adlib", bus ISA, desc "Yamaha YM3812 (OPL2)" +name "cs4231a", bus ISA, desc "Crystal Semiconductor CS4231A" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "gus", bus ISA, desc "Gravis Ultrasound GF1" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "sb16", bus ISA, desc "Creative Sound Blaster 16" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "acpi-erst", bus PCI, desc "ACPI Error Record Serialization Table (ER= ST) device" +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "i2c-ddc", bus i2c-bus +name "i2c-echo", bus i2c-bus +name "iommu-testdev", bus PCI, desc "A test device for IOMMU" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "mc146818rtc", bus ISA +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pc-testdev", bus ISA +name "pci-testdev", bus PCI, desc "PCI Test Device" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" +name "ib700", bus ISA, desc "iBASE 700" + +Uncategorized devices: +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-mips64.help b/cmdline_ref/qemu-system-= mips64.help new file mode 100644 index 00000000000..476536d6aa4 --- /dev/null +++ b/cmdline_ref/qemu-system-mips64.help @@ -0,0 +1,558 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-semihosting semihosting mode +-semihosting-config [enable=3Don|off][,target=3Dnative|gdb|auto][,chardev= =3Did][,userspace=3Don|off][,arg=3Dstr[,...]] + semihosting configuration +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-mips64.machine_help b/cmdline_ref/qemu= -system-mips64.machine_help new file mode 100644 index 00000000000..00354cfd251 --- /dev/null +++ b/cmdline_ref/qemu-system-mips64.machine_help @@ -0,0 +1,5 @@ +Supported machines are: +magnum MIPS Magnum +malta MIPS Malta Core LV (default) +none empty machine +pica61 Acer Pica 61 diff --git a/cmdline_ref/qemu-system-mips64el.cpu_help b/cmdline_ref/qemu-s= ystem-mips64el.cpu_help new file mode 100644 index 00000000000..fa6f63c740b --- /dev/null +++ b/cmdline_ref/qemu-system-mips64el.cpu_help @@ -0,0 +1,35 @@ +Available CPUs: + 20Kc + 24Kc + 24KEc + 24Kf + 34Kf + 4Kc + 4KEc + 4KEcR1 + 4KEm + 4KEmR1 + 4Km + 5Kc + 5KEc + 5KEf + 5Kf + 74Kf + I6400 + I6500 + I7200 + Loongson-2E + Loongson-2F + Loongson-3A1000 + Loongson-3A4000 + M14K + M14Kc + mips32r6-generic + mips64dspr2 + MIPS64R2-generic + Octeon68XX + P5600 + R4000 + VR5432 + XBurstR1 + XBurstR2 diff --git a/cmdline_ref/qemu-system-mips64el.device_help b/cmdline_ref/qem= u-system-mips64el.device_help new file mode 100644 index 00000000000..f89ae79fad3 --- /dev/null +++ b/cmdline_ref/qemu-system-mips64el.device_help @@ -0,0 +1,262 @@ +Controller/Bridge/Hub devices: +name "i82801b11-bridge", bus PCI +name "ioh3420", bus PCI, desc "Intel IOH device id 3420 PCIE Root Port" +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "pcie-pci-bridge", bus PCI +name "pcie-root-port", bus PCI, desc "PCI Express Root Port" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus +name "x3130-upstream", bus PCI, desc "TI X3130 Upstream Port of PCI Expres= s Switch" +name "xio3130-downstream", bus PCI, desc "TI X3130 Downstream Port of PCI = Express Switch" + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "floppy", bus floppy-bus, desc "virtual floppy drive" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "isa-fdc", bus ISA, desc "virtual floppy controller" +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "piix3-ide", bus PCI +name "piix4-ide", bus PCI +name "pvscsi", bus PCI +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000e", bus PCI, desc "Intel 82574L GbE Controller" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "igb", bus PCI, desc "Intel 82576 Gigabit Ethernet Controller" +name "ne2k_isa", bus ISA +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rocker", bus PCI, desc "Rocker Switch" +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "i8042", bus ISA +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "isa-parallel", bus ISA +name "isa-serial", bus ISA +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "qxl", bus PCI, desc "Spice QXL GPU (secondary)" +name "qxl-vga", bus PCI, desc "Spice QXL GPU (primary, vga compatible)" +name "secondary-vga", bus PCI +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "vhost-user-vga", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" +name "virtio-vga", bus PCI +name "virtio-vga-gl", bus PCI +name "vmware-svga", bus PCI + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "adlib", bus ISA, desc "Yamaha YM3812 (OPL2)" +name "cs4231a", bus ISA, desc "Crystal Semiconductor CS4231A" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "gus", bus ISA, desc "Gravis Ultrasound GF1" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "sb16", bus ISA, desc "Creative Sound Blaster 16" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "acpi-erst", bus PCI, desc "ACPI Error Record Serialization Table (ER= ST) device" +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "edu", bus PCI +name "guest-loader", desc "Guest Loader" +name "i2c-ddc", bus i2c-bus +name "i2c-echo", bus i2c-bus +name "iommu-testdev", bus PCI, desc "A test device for IOMMU" +name "ivshmem-doorbell", bus PCI, desc "Inter-VM shared memory" +name "ivshmem-plain", bus PCI, desc "Inter-VM shared memory" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "mc146818rtc", bus ISA +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pc-testdev", bus ISA +name "pci-testdev", bus PCI, desc "PCI Test Device" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" +name "ib700", bus ISA, desc "iBASE 700" + +Uncategorized devices: +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-mips64el.help b/cmdline_ref/qemu-syste= m-mips64el.help new file mode 100644 index 00000000000..476536d6aa4 --- /dev/null +++ b/cmdline_ref/qemu-system-mips64el.help @@ -0,0 +1,558 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-semihosting semihosting mode +-semihosting-config [enable=3Don|off][,target=3Dnative|gdb|auto][,chardev= =3Did][,userspace=3Don|off][,arg=3Dstr[,...]] + semihosting configuration +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-mips64el.machine_help b/cmdline_ref/qe= mu-system-mips64el.machine_help new file mode 100644 index 00000000000..b0b7306f0ce --- /dev/null +++ b/cmdline_ref/qemu-system-mips64el.machine_help @@ -0,0 +1,8 @@ +Supported machines are: +boston MIPS Boston +fuloong2e Fuloong 2e mini pc +loongson3-virt Loongson-3 Virtualization Platform +magnum MIPS Magnum +malta MIPS Malta Core LV (default) +none empty machine +pica61 Acer Pica 61 diff --git a/cmdline_ref/qemu-system-mipsel.cpu_help b/cmdline_ref/qemu-sys= tem-mipsel.cpu_help new file mode 100644 index 00000000000..f674f83d4c4 --- /dev/null +++ b/cmdline_ref/qemu-system-mipsel.cpu_help @@ -0,0 +1,19 @@ +Available CPUs: + 24Kc + 24KEc + 24Kf + 34Kf + 4Kc + 4KEc + 4KEcR1 + 4KEm + 4KEmR1 + 4Km + 74Kf + I7200 + M14K + M14Kc + mips32r6-generic + P5600 + XBurstR1 + XBurstR2 diff --git a/cmdline_ref/qemu-system-mipsel.device_help b/cmdline_ref/qemu-= system-mipsel.device_help new file mode 100644 index 00000000000..cdbc85f8648 --- /dev/null +++ b/cmdline_ref/qemu-system-mipsel.device_help @@ -0,0 +1,244 @@ +Controller/Bridge/Hub devices: +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "floppy", bus floppy-bus, desc "virtual floppy drive" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "isa-fdc", bus ISA, desc "virtual floppy controller" +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "piix3-ide", bus PCI +name "piix4-ide", bus PCI +name "pvscsi", bus PCI +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "ne2k_isa", bus ISA +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "i8042", bus ISA +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "isa-parallel", bus ISA +name "isa-serial", bus ISA +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "secondary-vga", bus PCI +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" +name "vmware-svga", bus PCI + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "adlib", bus ISA, desc "Yamaha YM3812 (OPL2)" +name "cs4231a", bus ISA, desc "Crystal Semiconductor CS4231A" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "gus", bus ISA, desc "Gravis Ultrasound GF1" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "sb16", bus ISA, desc "Creative Sound Blaster 16" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "acpi-erst", bus PCI, desc "ACPI Error Record Serialization Table (ER= ST) device" +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "i2c-ddc", bus i2c-bus +name "i2c-echo", bus i2c-bus +name "iommu-testdev", bus PCI, desc "A test device for IOMMU" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "mc146818rtc", bus ISA +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pc-testdev", bus ISA +name "pci-testdev", bus PCI, desc "PCI Test Device" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" +name "ib700", bus ISA, desc "iBASE 700" + +Uncategorized devices: +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-mipsel.help b/cmdline_ref/qemu-system-= mipsel.help new file mode 100644 index 00000000000..476536d6aa4 --- /dev/null +++ b/cmdline_ref/qemu-system-mipsel.help @@ -0,0 +1,558 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-semihosting semihosting mode +-semihosting-config [enable=3Don|off][,target=3Dnative|gdb|auto][,chardev= =3Did][,userspace=3Don|off][,arg=3Dstr[,...]] + semihosting configuration +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-mipsel.machine_help b/cmdline_ref/qemu= -system-mipsel.machine_help new file mode 100644 index 00000000000..9fd7cbbbdb6 --- /dev/null +++ b/cmdline_ref/qemu-system-mipsel.machine_help @@ -0,0 +1,3 @@ +Supported machines are: +malta MIPS Malta Core LV (default) +none empty machine diff --git a/cmdline_ref/qemu-system-or1k.cpu_help b/cmdline_ref/qemu-syste= m-or1k.cpu_help new file mode 100644 index 00000000000..ccbd89b40a5 --- /dev/null +++ b/cmdline_ref/qemu-system-or1k.cpu_help @@ -0,0 +1,3 @@ +Available CPUs: + any + or1200 diff --git a/cmdline_ref/qemu-system-or1k.device_help b/cmdline_ref/qemu-sy= stem-or1k.device_help new file mode 100644 index 00000000000..6875f50f9e4 --- /dev/null +++ b/cmdline_ref/qemu-system-or1k.device_help @@ -0,0 +1,232 @@ +Controller/Bridge/Hub devices: +name "i82801b11-bridge", bus PCI +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "pvscsi", bus PCI +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "secondary-vga", bus PCI +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "vhost-user-vga", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" +name "virtio-vga", bus PCI +name "virtio-vga-gl", bus PCI + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "guest-loader", desc "Guest Loader" +name "i2c-ddc", bus i2c-bus +name "i2c-echo", bus i2c-bus +name "iommu-testdev", bus PCI, desc "A test device for IOMMU" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pci-testdev", bus PCI, desc "PCI Test Device" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" + +Uncategorized devices: +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-or1k.help b/cmdline_ref/qemu-system-or= 1k.help new file mode 100644 index 00000000000..e3736b1680c --- /dev/null +++ b/cmdline_ref/qemu-system-or1k.help @@ -0,0 +1,555 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-or1k.machine_help b/cmdline_ref/qemu-s= ystem-or1k.machine_help new file mode 100644 index 00000000000..e885eaff0c2 --- /dev/null +++ b/cmdline_ref/qemu-system-or1k.machine_help @@ -0,0 +1,4 @@ +Supported machines are: +none empty machine +or1k-sim or1k simulation (default) +virt or1k virtual machine diff --git a/cmdline_ref/qemu-system-ppc.cpu_help b/cmdline_ref/qemu-system= -ppc.cpu_help new file mode 100644 index 00000000000..31b35dfe356 --- /dev/null +++ b/cmdline_ref/qemu-system-ppc.cpu_help @@ -0,0 +1,385 @@ +Available CPUs: + 603 PVR 00030100 + mpc8240 (alias for 603) + vanilla (alias for 603) + 604 PVR 00040103 + ppc32 (alias for 604) + ppc (alias for 604) + 603e_v1.1 PVR 00060101 + 603e_v1.2 PVR 00060102 + 603e_v1.3 PVR 00060103 + 603e_v1.4 PVR 00060104 + 603e_v2.2 PVR 00060202 + 603e_v3 PVR 00060300 + 603e_v4 PVR 00060400 + 603e_v4.1 PVR 00060401 + 603e (alias for 603e_v4.1) + stretch (alias for 603e_v4.1) + 603p PVR 00070000 + 603e7v PVR 00070100 + vaillant (alias for 603e7v) + 603e7v1 PVR 00070101 + 603e7 PVR 00070200 + 603e7v2 PVR 00070201 + 603e7t PVR 00071201 + 603r (alias for 603e7t) + goldeneye (alias for 603e7t) + 740_v1.0 PVR 00080100 + 740e PVR 00080100 + 750_v1.0 PVR 00080100 + 740_v2.0 PVR 00080200 + 750_v2.0 PVR 00080200 + 750e PVR 00080200 + 740_v2.1 PVR 00080201 + 750_v2.1 PVR 00080201 + 740_v2.2 PVR 00080202 + 750_v2.2 PVR 00080202 + 740_v3.0 PVR 00080300 + 750_v3.0 PVR 00080300 + 740_v3.1 PVR 00080301 + 740 (alias for 740_v3.1) + arthur (alias for 740_v3.1) + 750_v3.1 PVR 00080301 + 750 (alias for 750_v3.1) + typhoon (alias for 750_v3.1) + g3 (alias for 750_v3.1) + 750cx_v1.0 PVR 00082100 + 750cx_v2.0 PVR 00082200 + 750cx_v2.1 PVR 00082201 + 750cx_v2.2 PVR 00082202 + 750cx (alias for 750cx_v2.2) + 750cxe_v2.1 PVR 00082211 + 750cxe_v2.2 PVR 00082212 + 750cxe_v2.3 PVR 00082213 + 750cxe_v2.4 PVR 00082214 + 750cxe_v3.0 PVR 00082310 + 750cxe_v3.1 PVR 00082311 + 745_v1.0 PVR 00083100 + 755_v1.0 PVR 00083100 + 745_v1.1 PVR 00083101 + 755_v1.1 PVR 00083101 + 745_v2.0 PVR 00083200 + 755_v2.0 PVR 00083200 + 745_v2.1 PVR 00083201 + 755_v2.1 PVR 00083201 + 745_v2.2 PVR 00083202 + 755_v2.2 PVR 00083202 + 745_v2.3 PVR 00083203 + 755_v2.3 PVR 00083203 + 745_v2.4 PVR 00083204 + 755_v2.4 PVR 00083204 + 745_v2.5 PVR 00083205 + 755_v2.5 PVR 00083205 + 745_v2.6 PVR 00083206 + 755_v2.6 PVR 00083206 + 745_v2.7 PVR 00083207 + 755_v2.7 PVR 00083207 + 745_v2.8 PVR 00083208 + 745 (alias for 745_v2.8) + 755_v2.8 PVR 00083208 + 755 (alias for 755_v2.8) + goldfinger (alias for 755_v2.8) + 750cxe_v2.4b PVR 00083214 + 750cxe_v3.1b PVR 00083311 + 750cxe (alias for 750cxe_v3.1b) + 750cxr PVR 00083410 + 750cl_v1.0 PVR 00087200 + 750cl_v2.0 PVR 00087210 + 750cl (alias for 750cl_v2.0) + 750l_v2.0 PVR 00088200 + 750l_v2.1 PVR 00088201 + 750l_v2.2 PVR 00088202 + 750l_v3.0 PVR 00088300 + 750l_v3.2 PVR 00088302 + 750l (alias for 750l_v3.2) + lonestar (alias for 750l_v3.2) + 604e_v1.0 PVR 00090100 + 604e_v2.2 PVR 00090202 + 604e_v2.4 PVR 00090204 + 604e (alias for 604e_v2.4) + sirocco (alias for 604e_v2.4) + 604r PVR 000a0101 + mach5 (alias for 604r) + 7400_v1.0 PVR 000c0100 + 7400_v1.1 PVR 000c0101 + 7400_v2.0 PVR 000c0200 + 7400_v2.1 PVR 000c0201 + 7400_v2.2 PVR 000c0202 + 7400_v2.6 PVR 000c0206 + 7400_v2.7 PVR 000c0207 + 7400_v2.8 PVR 000c0208 + 7400_v2.9 PVR 000c0209 + 7400 (alias for 7400_v2.9) + g4 (alias for 7400_v2.9) + g2 PVR 00810011 + mpc603 PVR 00810100 + g2hip3 PVR 00810101 + mpc8250_hip3 (alias for g2hip3) + mpc8255_hip3 (alias for g2hip3) + mpc8260_hip3 (alias for g2hip3) + mpc8264_hip3 (alias for g2hip3) + mpc8265_hip3 (alias for g2hip3) + mpc8266_hip3 (alias for g2hip3) + e300c1 PVR 00830010 + mpc8343 PVR 00830010 + mpc8343a PVR 00830010 + mpc8343e PVR 00830010 + mpc8343ea PVR 00830010 + mpc8347ap PVR 00830010 + mpc8347at PVR 00830010 + mpc8347a (alias for mpc8347at) + mpc8347eap PVR 00830010 + mpc8347eat PVR 00830010 + mpc8347ea (alias for mpc8347eat) + mpc8347ep PVR 00830010 + mpc8347et PVR 00830010 + mpc8347e (alias for mpc8347et) + mpc8347p PVR 00830010 + mpc8347t PVR 00830010 + mpc8347 (alias for mpc8347t) + mpc8349 PVR 00830010 + mpc8349a PVR 00830010 + mpc8349e PVR 00830010 + mpc8349ea PVR 00830010 + e300c2 PVR 00840010 + e300c3 PVR 00850010 + e300 (alias for e300c3) + e300c4 PVR 00860010 + mpc8377 PVR 00860010 + mpc8377e PVR 00860010 + mpc8378 PVR 00860010 + mpc8378e PVR 00860010 + mpc8379 PVR 00860010 + mpc8379e PVR 00860010 + 740p PVR 10080000 + 750p PVR 10080000 + conan/doyle (alias for 750p) + 460exb PVR 130218a4 + 460ex (alias for 460exb) + 440epx PVR 200008d0 + 405d2 PVR 20010000 + x2vp4 PVR 20010820 + x2vp7 (alias for x2vp4) + x2vp20 PVR 20010860 + x2vp50 (alias for x2vp20) + 405gpa PVR 40110000 + 405gpb PVR 40110040 + 405cra PVR 40110041 + 405gpc PVR 40110082 + 405gpd PVR 401100c4 + 405gp (alias for 405gpd) + 405crb PVR 401100c5 + 405crc PVR 40110145 + 405cr (alias for 405crc) + 405gpe (alias for 405crc) + stb03 PVR 40310000 + npe4gs3 PVR 40b10000 + npe405h PVR 414100c0 + npe405h2 PVR 41410140 + 405ez PVR 41511460 + npe405l PVR 416100c0 + 405d4 PVR 41810000 + 405 (alias for 405d4) + stb04 PVR 41810000 + 405lp PVR 41f10000 + PPE42 PVR 42000000 + PPE42X PVR 42100000 + PPE42XM PVR 42200000 + 440epa PVR 42221850 + 440epb PVR 422218d3 + 440ep (alias for 440epb) + 405gpr PVR 50910951 + 405ep PVR 51210950 + stb25 PVR 51510950 + 750fx_v1.0 PVR 70000100 + 750fx_v2.0 PVR 70000200 + 750fx_v2.1 PVR 70000201 + 750fx_v2.2 PVR 70000202 + 750fl PVR 70000203 + 750fx_v2.3 PVR 70000203 + 750fx (alias for 750fx_v2.3) + 750gx_v1.0 PVR 70020100 + 750gx_v1.1 PVR 70020101 + 750gl PVR 70020102 + 750gx_v1.2 PVR 70020102 + 750gx (alias for 750gx_v1.2) + 440-xilinx PVR 7ff21910 + 440-xilinx-w-dfpu PVR 7ff21910 + 7450_v1.0 PVR 80000100 + 7450_v1.1 PVR 80000101 + 7450_v1.2 PVR 80000102 + 7450_v2.0 PVR 80000200 + 7441_v2.1 PVR 80000201 + 7450_v2.1 PVR 80000201 + 7450 (alias for 7450_v2.1) + vger (alias for 7450_v2.1) + 7441_v2.3 PVR 80000203 + 7441 (alias for 7441_v2.3) + 7451_v2.3 PVR 80000203 + 7451 (alias for 7451_v2.3) + 7441_v2.10 PVR 80000210 + 7451_v2.10 PVR 80000210 + 7445_v1.0 PVR 80010100 + 7455_v1.0 PVR 80010100 + 7445_v2.1 PVR 80010201 + 7455_v2.1 PVR 80010201 + 7445_v3.2 PVR 80010302 + 7445 (alias for 7445_v3.2) + 7455_v3.2 PVR 80010302 + 7455 (alias for 7455_v3.2) + apollo6 (alias for 7455_v3.2) + 7445_v3.3 PVR 80010303 + 7455_v3.3 PVR 80010303 + 7445_v3.4 PVR 80010304 + 7455_v3.4 PVR 80010304 + 7447_v1.0 PVR 80020100 + 7457_v1.0 PVR 80020100 + 7447_v1.1 PVR 80020101 + 7447 (alias for 7447_v1.1) + 7457_v1.1 PVR 80020101 + 7457_v1.2 PVR 80020102 + 7457 (alias for 7457_v1.2) + apollo7 (alias for 7457_v1.2) + 7447a_v1.0 PVR 80030100 + 7457a_v1.0 PVR 80030100 + apollo7pm (alias for 7457a_v1.0) + 7447a_v1.1 PVR 80030101 + 7457a_v1.1 PVR 80030101 + 7447a_v1.2 PVR 80030102 + 7447a (alias for 7447a_v1.2) + 7457a_v1.2 PVR 80030102 + 7457a (alias for 7457a_v1.2) + e600 PVR 80040010 + mpc8610 PVR 80040010 + mpc8641 PVR 80040010 + mpc8641d PVR 80040010 + 7448_v1.0 PVR 80040100 + 7448_v1.1 PVR 80040101 + 7448_v2.0 PVR 80040200 + 7448_v2.1 PVR 80040201 + 7448 (alias for 7448_v2.1) + 7410_v1.0 PVR 800c1100 + 7410_v1.1 PVR 800c1101 + 7410_v1.2 PVR 800c1102 + 7410_v1.3 PVR 800c1103 + 7410_v1.4 PVR 800c1104 + 7410 (alias for 7410_v1.4) + nitro (alias for 7410_v1.4) + e500_v10 PVR 80200010 + mpc8540_v10 PVR 80200010 + mpc8560_v10 PVR 80200010 + e500_v20 PVR 80200020 + e500v1 (alias for e500_v20) + mpc8540_v20 PVR 80200020 + mpc8540_v21 PVR 80200020 + mpc8540 (alias for mpc8540_v21) + mpc8541_v10 PVR 80200020 + mpc8541_v11 PVR 80200020 + mpc8541 (alias for mpc8541_v11) + mpc8541e_v10 PVR 80200020 + mpc8541e_v11 PVR 80200020 + mpc8541e (alias for mpc8541e_v11) + mpc8555_v10 PVR 80200020 + mpc8555_v11 PVR 80200020 + mpc8555 (alias for mpc8555_v11) + mpc8555e_v10 PVR 80200020 + mpc8555e_v11 PVR 80200020 + mpc8555e (alias for mpc8555e_v11) + mpc8560_v20 PVR 80200020 + mpc8560_v21 PVR 80200020 + mpc8560 (alias for mpc8560_v21) + e500v2_v10 PVR 80210010 + mpc8543_v10 PVR 80210010 + mpc8543e_v10 PVR 80210010 + mpc8548_v10 PVR 80210010 + mpc8548e_v10 PVR 80210010 + mpc8543_v11 PVR 80210011 + mpc8543e_v11 PVR 80210011 + mpc8548_v11 PVR 80210011 + mpc8548e_v11 PVR 80210011 + e500v2_v20 PVR 80210020 + mpc8543_v20 PVR 80210020 + mpc8543e_v20 PVR 80210020 + mpc8545_v20 PVR 80210020 + mpc8545e_v20 PVR 80210020 + mpc8547e_v20 PVR 80210020 + mpc8548_v20 PVR 80210020 + mpc8548e_v20 PVR 80210020 + e500v2_v21 PVR 80210021 + mpc8533_v10 PVR 80210021 + mpc8533e_v10 PVR 80210021 + mpc8543_v21 PVR 80210021 + mpc8543 (alias for mpc8543_v21) + mpc8543e_v21 PVR 80210021 + mpc8543e (alias for mpc8543e_v21) + mpc8544_v10 PVR 80210021 + mpc8544e_v10 PVR 80210021 + mpc8545_v21 PVR 80210021 + mpc8545 (alias for mpc8545_v21) + mpc8545e_v21 PVR 80210021 + mpc8545e (alias for mpc8545e_v21) + mpc8547e_v21 PVR 80210021 + mpc8547e (alias for mpc8547e_v21) + mpc8548_v21 PVR 80210021 + mpc8548 (alias for mpc8548_v21) + mpc8548e_v21 PVR 80210021 + mpc8548e (alias for mpc8548e_v21) + e500v2_v22 PVR 80210022 + e500 (alias for e500v2_v22) + e500v2 (alias for e500v2_v22) + mpc8533_v11 PVR 80210022 + mpc8533 (alias for mpc8533_v11) + mpc8533e_v11 PVR 80210022 + mpc8533e (alias for mpc8533e_v11) + mpc8544_v11 PVR 80210022 + mpc8544 (alias for mpc8544_v11) + mpc8544e_v11 PVR 80210022 + mpc8544e (alias for mpc8544e_v11) + mpc8567 PVR 80210022 + mpc8567e PVR 80210022 + mpc8568 PVR 80210022 + mpc8568e PVR 80210022 + e500v2_v30 PVR 80210030 + mpc8572 PVR 80210030 + mpc8572e PVR 80210030 + e500mc PVR 80230020 + g2h4 PVR 80811010 + g2hip4 PVR 80811014 + mpc8241 (alias for g2hip4) + mpc8245 (alias for g2hip4) + mpc8250 (alias for g2hip4) + mpc8250_hip4 (alias for g2hip4) + mpc8255 (alias for g2hip4) + mpc8255_hip4 (alias for g2hip4) + mpc8260 (alias for g2hip4) + mpc8260_hip4 (alias for g2hip4) + mpc8264 (alias for g2hip4) + mpc8264_hip4 (alias for g2hip4) + mpc8265 (alias for g2hip4) + mpc8265_hip4 (alias for g2hip4) + mpc8266 (alias for g2hip4) + mpc8266_hip4 (alias for g2hip4) + g2le PVR 80820010 + g2gp PVR 80821010 + g2legp PVR 80822010 + g2legp1 PVR 80822011 + mpc5200_v10 PVR 80822011 + mpc5200_v11 PVR 80822011 + mpc5200_v12 PVR 80822011 + mpc52xx (alias for mpc5200_v12) + mpc5200 (alias for mpc5200_v12) + mpc5200b_v20 PVR 80822011 + mpc5200b_v21 PVR 80822011 + mpc5200b (alias for mpc5200b_v21) + g2legp3 PVR 80822013 + mpc82xx (alias for g2legp3) + powerquicc-ii (alias for g2legp3) + mpc8247 (alias for g2legp3) + mpc8248 (alias for g2legp3) + mpc8270 (alias for g2legp3) + mpc8271 (alias for g2legp3) + mpc8272 (alias for g2legp3) + mpc8275 (alias for g2legp3) + mpc8280 (alias for g2legp3) + g2ls PVR 90810010 + g2lels PVR a0822010 diff --git a/cmdline_ref/qemu-system-ppc.device_help b/cmdline_ref/qemu-sys= tem-ppc.device_help new file mode 100644 index 00000000000..b7e5baef85f --- /dev/null +++ b/cmdline_ref/qemu-system-ppc.device_help @@ -0,0 +1,271 @@ +Controller/Bridge/Hub devices: +name "i82378", bus PCI +name "i82801b11-bridge", bus PCI +name "ioh3420", bus PCI, desc "Intel IOH device id 3420 PCIE Root Port" +name "macio-newworld", bus PCI +name "macio-oldworld", bus PCI +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "pcie-pci-bridge", bus PCI +name "pcie-root-port", bus PCI, desc "PCI Express Root Port" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus +name "x3130-upstream", bus PCI, desc "TI X3130 Upstream Port of PCI Expres= s Switch" +name "xio3130-downstream", bus PCI, desc "TI X3130 Downstream Port of PCI = Express Switch" + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "floppy", bus floppy-bus, desc "virtual floppy drive" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "isa-fdc", bus ISA, desc "virtual floppy controller" +name "isa-ide", bus ISA +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "pvscsi", bus PCI +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "sii3112", bus PCI, desc "SiI3112A SATA controller" +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000e", bus PCI, desc "Intel 82574L GbE Controller" +name "eTSEC", bus System, desc "Freescale Enhanced Three-Speed Ethernet Co= ntroller" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "igb", bus PCI, desc "Intel 82576 Gigabit Ethernet Controller" +name "ne2k_isa", bus ISA +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rocker", bus PCI, desc "Rocker Switch" +name "rtl8139", bus PCI +name "sungem", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "adb-keyboard", bus apple-desktop-bus +name "adb-mouse", bus apple-desktop-bus +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "i8042", bus ISA +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "isa-parallel", bus ISA +name "isa-serial", bus ISA +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "secondary-vga", bus PCI +name "sm501", bus PCI, desc "SM501 Display Controller" +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "adlib", bus ISA, desc "Yamaha YM3812 (OPL2)" +name "cs4231a", bus ISA, desc "Crystal Semiconductor CS4231A" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "gus", bus ISA, desc "Gravis Ultrasound GF1" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "sb16", bus ISA, desc "Creative Sound Blaster 16" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "acpi-erst", bus PCI, desc "ACPI Error Record Serialization Table (ER= ST) device" +name "at24c-eeprom", bus i2c-bus +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "ds1338", bus i2c-bus +name "edu", bus PCI +name "guest-loader", desc "Guest Loader" +name "i2c-ddc", bus i2c-bus +name "i2c-echo", bus i2c-bus +name "i82374", bus ISA, desc "Intel 82374 DMA controller" +name "iommu-testdev", bus PCI, desc "A test device for IOMMU" +name "ivshmem-doorbell", bus PCI, desc "Inter-VM shared memory" +name "ivshmem-plain", bus PCI, desc "Inter-VM shared memory" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "m41t80", bus i2c-bus +name "mc146818rtc", bus ISA +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pc-testdev", bus ISA +name "pci-testdev", bus PCI, desc "PCI Test Device" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" +name "ib700", bus ISA, desc "iBASE 700" + +Uncategorized devices: +name "isa-m48t59", bus ISA +name "prep-systemio", bus ISA +name "rs6000-mc", bus ISA +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-ppc.help b/cmdline_ref/qemu-system-ppc= .help new file mode 100644 index 00000000000..f074465ebe5 --- /dev/null +++ b/cmdline_ref/qemu-system-ppc.help @@ -0,0 +1,559 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-g WxH[xDEPTH] Set the initial graphical resolution and depth +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-enable-kvm enable KVM full virtualization support +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-prom-env variable=3Dvalue + set OpenBIOS nvram variables +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-ppc.machine_help b/cmdline_ref/qemu-sy= stem-ppc.machine_help new file mode 100644 index 00000000000..270958908d6 --- /dev/null +++ b/cmdline_ref/qemu-system-ppc.machine_help @@ -0,0 +1,14 @@ +Supported machines are: +40p IBM RS/6000 7020 (40p) +amigaone Eyetech AmigaOne/Mai Logic Teron +bamboo bamboo +g3beige Heathrow based PowerMac (default) +mac99 Mac99 based PowerMac +mpc8544ds mpc8544ds +none empty machine +pegasos1 Genesi/bPlan Pegasos I +pegasos2 Genesi/bPlan Pegasos II +ppce500 generic paravirt e500 platform +ppe42_machine PPE42 Test Machine +sam460ex aCube Sam460ex +virtex-ml507 Xilinx Virtex ML507 reference design diff --git a/cmdline_ref/qemu-system-ppc64.cpu_help b/cmdline_ref/qemu-syst= em-ppc64.cpu_help new file mode 100644 index 00000000000..aae58274644 --- /dev/null +++ b/cmdline_ref/qemu-system-ppc64.cpu_help @@ -0,0 +1,417 @@ +Available CPUs: + 603 PVR 00030100 + mpc8240 (alias for 603) + vanilla (alias for 603) + 604 PVR 00040103 + ppc32 (alias for 604) + ppc (alias for 604) + 603e_v1.1 PVR 00060101 + 603e_v1.2 PVR 00060102 + 603e_v1.3 PVR 00060103 + 603e_v1.4 PVR 00060104 + 603e_v2.2 PVR 00060202 + 603e_v3 PVR 00060300 + 603e_v4 PVR 00060400 + 603e_v4.1 PVR 00060401 + 603e (alias for 603e_v4.1) + stretch (alias for 603e_v4.1) + 603p PVR 00070000 + 603e7v PVR 00070100 + vaillant (alias for 603e7v) + 603e7v1 PVR 00070101 + 603e7 PVR 00070200 + 603e7v2 PVR 00070201 + 603e7t PVR 00071201 + 603r (alias for 603e7t) + goldeneye (alias for 603e7t) + 740_v1.0 PVR 00080100 + 740e PVR 00080100 + 750_v1.0 PVR 00080100 + 740_v2.0 PVR 00080200 + 750_v2.0 PVR 00080200 + 750e PVR 00080200 + 740_v2.1 PVR 00080201 + 750_v2.1 PVR 00080201 + 740_v2.2 PVR 00080202 + 750_v2.2 PVR 00080202 + 740_v3.0 PVR 00080300 + 750_v3.0 PVR 00080300 + 740_v3.1 PVR 00080301 + 740 (alias for 740_v3.1) + arthur (alias for 740_v3.1) + 750_v3.1 PVR 00080301 + 750 (alias for 750_v3.1) + typhoon (alias for 750_v3.1) + g3 (alias for 750_v3.1) + 750cx_v1.0 PVR 00082100 + 750cx_v2.0 PVR 00082200 + 750cx_v2.1 PVR 00082201 + 750cx_v2.2 PVR 00082202 + 750cx (alias for 750cx_v2.2) + 750cxe_v2.1 PVR 00082211 + 750cxe_v2.2 PVR 00082212 + 750cxe_v2.3 PVR 00082213 + 750cxe_v2.4 PVR 00082214 + 750cxe_v3.0 PVR 00082310 + 750cxe_v3.1 PVR 00082311 + 745_v1.0 PVR 00083100 + 755_v1.0 PVR 00083100 + 745_v1.1 PVR 00083101 + 755_v1.1 PVR 00083101 + 745_v2.0 PVR 00083200 + 755_v2.0 PVR 00083200 + 745_v2.1 PVR 00083201 + 755_v2.1 PVR 00083201 + 745_v2.2 PVR 00083202 + 755_v2.2 PVR 00083202 + 745_v2.3 PVR 00083203 + 755_v2.3 PVR 00083203 + 745_v2.4 PVR 00083204 + 755_v2.4 PVR 00083204 + 745_v2.5 PVR 00083205 + 755_v2.5 PVR 00083205 + 745_v2.6 PVR 00083206 + 755_v2.6 PVR 00083206 + 745_v2.7 PVR 00083207 + 755_v2.7 PVR 00083207 + 745_v2.8 PVR 00083208 + 745 (alias for 745_v2.8) + 755_v2.8 PVR 00083208 + 755 (alias for 755_v2.8) + goldfinger (alias for 755_v2.8) + 750cxe_v2.4b PVR 00083214 + 750cxe_v3.1b PVR 00083311 + 750cxe (alias for 750cxe_v3.1b) + 750cxr PVR 00083410 + 750cl_v1.0 PVR 00087200 + 750cl_v2.0 PVR 00087210 + 750cl (alias for 750cl_v2.0) + 750l_v2.0 PVR 00088200 + 750l_v2.1 PVR 00088201 + 750l_v2.2 PVR 00088202 + 750l_v3.0 PVR 00088300 + 750l_v3.2 PVR 00088302 + 750l (alias for 750l_v3.2) + lonestar (alias for 750l_v3.2) + 604e_v1.0 PVR 00090100 + 604e_v2.2 PVR 00090202 + 604e_v2.4 PVR 00090204 + 604e (alias for 604e_v2.4) + sirocco (alias for 604e_v2.4) + 604r PVR 000a0101 + mach5 (alias for 604r) + 7400_v1.0 PVR 000c0100 + 7400_v1.1 PVR 000c0101 + 7400_v2.0 PVR 000c0200 + 7400_v2.1 PVR 000c0201 + 7400_v2.2 PVR 000c0202 + 7400_v2.6 PVR 000c0206 + 7400_v2.7 PVR 000c0207 + 7400_v2.8 PVR 000c0208 + 7400_v2.9 PVR 000c0209 + 7400 (alias for 7400_v2.9) + g4 (alias for 7400_v2.9) + 970_v2.2 PVR 00390202 + 970 (alias for 970_v2.2) + 970fx_v1.0 PVR 00391100 + power5p_v2.1 PVR 003b0201 + power5+ (alias for power5p_v2.1) + power5+_v2.1 (alias for power5p_v2.1) + power5gs (alias for power5p_v2.1) + 970fx_v2.0 PVR 003c0200 + 970fx_v2.1 PVR 003c0201 + 970fx_v3.0 PVR 003c0300 + 970fx_v3.1 PVR 003c0301 + 970fx (alias for 970fx_v3.1) + ppc64 (alias for 970fx_v3.1) + power7_v2.3 PVR 003f0203 + power7 (alias for power7_v2.3) + 970mp_v1.0 PVR 00440100 + 970mp_v1.1 PVR 00440101 + 970mp (alias for 970mp_v1.1) + power7p_v2.1 PVR 004a0201 + power7+ (alias for power7p_v2.1) + power7+_v2.1 (alias for power7p_v2.1) + power8_v2.0 PVR 004d0200 + power8 (alias for power8_v2.0) + power9_v2.0 PVR 004e1200 + power9_v2.2 PVR 004e1202 + power9 (alias for power9_v2.2) + power10_v2.0 PVR 00801200 + power10 (alias for power10_v2.0) + g2 PVR 00810011 + mpc603 PVR 00810100 + g2hip3 PVR 00810101 + mpc8250_hip3 (alias for g2hip3) + mpc8255_hip3 (alias for g2hip3) + mpc8260_hip3 (alias for g2hip3) + mpc8264_hip3 (alias for g2hip3) + mpc8265_hip3 (alias for g2hip3) + mpc8266_hip3 (alias for g2hip3) + power11_v2.0 PVR 00821200 + power11 (alias for power11_v2.0) + e300c1 PVR 00830010 + mpc8343 PVR 00830010 + mpc8343a PVR 00830010 + mpc8343e PVR 00830010 + mpc8343ea PVR 00830010 + mpc8347ap PVR 00830010 + mpc8347at PVR 00830010 + mpc8347a (alias for mpc8347at) + mpc8347eap PVR 00830010 + mpc8347eat PVR 00830010 + mpc8347ea (alias for mpc8347eat) + mpc8347ep PVR 00830010 + mpc8347et PVR 00830010 + mpc8347e (alias for mpc8347et) + mpc8347p PVR 00830010 + mpc8347t PVR 00830010 + mpc8347 (alias for mpc8347t) + mpc8349 PVR 00830010 + mpc8349a PVR 00830010 + mpc8349e PVR 00830010 + mpc8349ea PVR 00830010 + e300c2 PVR 00840010 + e300c3 PVR 00850010 + e300 (alias for e300c3) + e300c4 PVR 00860010 + mpc8377 PVR 00860010 + mpc8377e PVR 00860010 + mpc8378 PVR 00860010 + mpc8378e PVR 00860010 + mpc8379 PVR 00860010 + mpc8379e PVR 00860010 + 740p PVR 10080000 + 750p PVR 10080000 + conan/doyle (alias for 750p) + 460exb PVR 130218a4 + 460ex (alias for 460exb) + 440epx PVR 200008d0 + 405d2 PVR 20010000 + x2vp4 PVR 20010820 + x2vp7 (alias for x2vp4) + x2vp20 PVR 20010860 + x2vp50 (alias for x2vp20) + 405gpa PVR 40110000 + 405gpb PVR 40110040 + 405cra PVR 40110041 + 405gpc PVR 40110082 + 405gpd PVR 401100c4 + 405gp (alias for 405gpd) + 405crb PVR 401100c5 + 405crc PVR 40110145 + 405cr (alias for 405crc) + 405gpe (alias for 405crc) + stb03 PVR 40310000 + npe4gs3 PVR 40b10000 + npe405h PVR 414100c0 + npe405h2 PVR 41410140 + 405ez PVR 41511460 + npe405l PVR 416100c0 + 405d4 PVR 41810000 + 405 (alias for 405d4) + stb04 PVR 41810000 + 405lp PVR 41f10000 + PPE42 PVR 42000000 + PPE42X PVR 42100000 + PPE42XM PVR 42200000 + 440epa PVR 42221850 + 440epb PVR 422218d3 + 440ep (alias for 440epb) + 405gpr PVR 50910951 + 405ep PVR 51210950 + stb25 PVR 51510950 + 750fx_v1.0 PVR 70000100 + 750fx_v2.0 PVR 70000200 + 750fx_v2.1 PVR 70000201 + 750fx_v2.2 PVR 70000202 + 750fl PVR 70000203 + 750fx_v2.3 PVR 70000203 + 750fx (alias for 750fx_v2.3) + 750gx_v1.0 PVR 70020100 + 750gx_v1.1 PVR 70020101 + 750gl PVR 70020102 + 750gx_v1.2 PVR 70020102 + 750gx (alias for 750gx_v1.2) + 440-xilinx PVR 7ff21910 + 440-xilinx-w-dfpu PVR 7ff21910 + 7450_v1.0 PVR 80000100 + 7450_v1.1 PVR 80000101 + 7450_v1.2 PVR 80000102 + 7450_v2.0 PVR 80000200 + 7441_v2.1 PVR 80000201 + 7450_v2.1 PVR 80000201 + 7450 (alias for 7450_v2.1) + vger (alias for 7450_v2.1) + 7441_v2.3 PVR 80000203 + 7441 (alias for 7441_v2.3) + 7451_v2.3 PVR 80000203 + 7451 (alias for 7451_v2.3) + 7441_v2.10 PVR 80000210 + 7451_v2.10 PVR 80000210 + 7445_v1.0 PVR 80010100 + 7455_v1.0 PVR 80010100 + 7445_v2.1 PVR 80010201 + 7455_v2.1 PVR 80010201 + 7445_v3.2 PVR 80010302 + 7445 (alias for 7445_v3.2) + 7455_v3.2 PVR 80010302 + 7455 (alias for 7455_v3.2) + apollo6 (alias for 7455_v3.2) + 7445_v3.3 PVR 80010303 + 7455_v3.3 PVR 80010303 + 7445_v3.4 PVR 80010304 + 7455_v3.4 PVR 80010304 + 7447_v1.0 PVR 80020100 + 7457_v1.0 PVR 80020100 + 7447_v1.1 PVR 80020101 + 7447 (alias for 7447_v1.1) + 7457_v1.1 PVR 80020101 + 7457_v1.2 PVR 80020102 + 7457 (alias for 7457_v1.2) + apollo7 (alias for 7457_v1.2) + 7447a_v1.0 PVR 80030100 + 7457a_v1.0 PVR 80030100 + apollo7pm (alias for 7457a_v1.0) + 7447a_v1.1 PVR 80030101 + 7457a_v1.1 PVR 80030101 + 7447a_v1.2 PVR 80030102 + 7447a (alias for 7447a_v1.2) + 7457a_v1.2 PVR 80030102 + 7457a (alias for 7457a_v1.2) + e600 PVR 80040010 + mpc8610 PVR 80040010 + mpc8641 PVR 80040010 + mpc8641d PVR 80040010 + 7448_v1.0 PVR 80040100 + 7448_v1.1 PVR 80040101 + 7448_v2.0 PVR 80040200 + 7448_v2.1 PVR 80040201 + 7448 (alias for 7448_v2.1) + 7410_v1.0 PVR 800c1100 + 7410_v1.1 PVR 800c1101 + 7410_v1.2 PVR 800c1102 + 7410_v1.3 PVR 800c1103 + 7410_v1.4 PVR 800c1104 + 7410 (alias for 7410_v1.4) + nitro (alias for 7410_v1.4) + e500_v10 PVR 80200010 + mpc8540_v10 PVR 80200010 + mpc8560_v10 PVR 80200010 + e500_v20 PVR 80200020 + e500v1 (alias for e500_v20) + mpc8540_v20 PVR 80200020 + mpc8540_v21 PVR 80200020 + mpc8540 (alias for mpc8540_v21) + mpc8541_v10 PVR 80200020 + mpc8541_v11 PVR 80200020 + mpc8541 (alias for mpc8541_v11) + mpc8541e_v10 PVR 80200020 + mpc8541e_v11 PVR 80200020 + mpc8541e (alias for mpc8541e_v11) + mpc8555_v10 PVR 80200020 + mpc8555_v11 PVR 80200020 + mpc8555 (alias for mpc8555_v11) + mpc8555e_v10 PVR 80200020 + mpc8555e_v11 PVR 80200020 + mpc8555e (alias for mpc8555e_v11) + mpc8560_v20 PVR 80200020 + mpc8560_v21 PVR 80200020 + mpc8560 (alias for mpc8560_v21) + e500v2_v10 PVR 80210010 + mpc8543_v10 PVR 80210010 + mpc8543e_v10 PVR 80210010 + mpc8548_v10 PVR 80210010 + mpc8548e_v10 PVR 80210010 + mpc8543_v11 PVR 80210011 + mpc8543e_v11 PVR 80210011 + mpc8548_v11 PVR 80210011 + mpc8548e_v11 PVR 80210011 + e500v2_v20 PVR 80210020 + mpc8543_v20 PVR 80210020 + mpc8543e_v20 PVR 80210020 + mpc8545_v20 PVR 80210020 + mpc8545e_v20 PVR 80210020 + mpc8547e_v20 PVR 80210020 + mpc8548_v20 PVR 80210020 + mpc8548e_v20 PVR 80210020 + e500v2_v21 PVR 80210021 + mpc8533_v10 PVR 80210021 + mpc8533e_v10 PVR 80210021 + mpc8543_v21 PVR 80210021 + mpc8543 (alias for mpc8543_v21) + mpc8543e_v21 PVR 80210021 + mpc8543e (alias for mpc8543e_v21) + mpc8544_v10 PVR 80210021 + mpc8544e_v10 PVR 80210021 + mpc8545_v21 PVR 80210021 + mpc8545 (alias for mpc8545_v21) + mpc8545e_v21 PVR 80210021 + mpc8545e (alias for mpc8545e_v21) + mpc8547e_v21 PVR 80210021 + mpc8547e (alias for mpc8547e_v21) + mpc8548_v21 PVR 80210021 + mpc8548 (alias for mpc8548_v21) + mpc8548e_v21 PVR 80210021 + mpc8548e (alias for mpc8548e_v21) + e500v2_v22 PVR 80210022 + e500 (alias for e500v2_v22) + e500v2 (alias for e500v2_v22) + mpc8533_v11 PVR 80210022 + mpc8533 (alias for mpc8533_v11) + mpc8533e_v11 PVR 80210022 + mpc8533e (alias for mpc8533e_v11) + mpc8544_v11 PVR 80210022 + mpc8544 (alias for mpc8544_v11) + mpc8544e_v11 PVR 80210022 + mpc8544e (alias for mpc8544e_v11) + mpc8567 PVR 80210022 + mpc8567e PVR 80210022 + mpc8568 PVR 80210022 + mpc8568e PVR 80210022 + e500v2_v30 PVR 80210030 + mpc8572 PVR 80210030 + mpc8572e PVR 80210030 + e500mc PVR 80230020 + e5500 PVR 80240020 + e6500 PVR 80400020 + g2h4 PVR 80811010 + g2hip4 PVR 80811014 + mpc8241 (alias for g2hip4) + mpc8245 (alias for g2hip4) + mpc8250 (alias for g2hip4) + mpc8250_hip4 (alias for g2hip4) + mpc8255 (alias for g2hip4) + mpc8255_hip4 (alias for g2hip4) + mpc8260 (alias for g2hip4) + mpc8260_hip4 (alias for g2hip4) + mpc8264 (alias for g2hip4) + mpc8264_hip4 (alias for g2hip4) + mpc8265 (alias for g2hip4) + mpc8265_hip4 (alias for g2hip4) + mpc8266 (alias for g2hip4) + mpc8266_hip4 (alias for g2hip4) + g2le PVR 80820010 + g2gp PVR 80821010 + g2legp PVR 80822010 + g2legp1 PVR 80822011 + mpc5200_v10 PVR 80822011 + mpc5200_v11 PVR 80822011 + mpc5200_v12 PVR 80822011 + mpc52xx (alias for mpc5200_v12) + mpc5200 (alias for mpc5200_v12) + mpc5200b_v20 PVR 80822011 + mpc5200b_v21 PVR 80822011 + mpc5200b (alias for mpc5200b_v21) + g2legp3 PVR 80822013 + mpc82xx (alias for g2legp3) + powerquicc-ii (alias for g2legp3) + mpc8247 (alias for g2legp3) + mpc8248 (alias for g2legp3) + mpc8270 (alias for g2legp3) + mpc8271 (alias for g2legp3) + mpc8272 (alias for g2legp3) + mpc8275 (alias for g2legp3) + mpc8280 (alias for g2legp3) + g2ls PVR 90810010 + g2lels PVR a0822010 diff --git a/cmdline_ref/qemu-system-ppc64.device_help b/cmdline_ref/qemu-s= ystem-ppc64.device_help new file mode 100644 index 00000000000..a93299cdd9c --- /dev/null +++ b/cmdline_ref/qemu-system-ppc64.device_help @@ -0,0 +1,447 @@ +Controller/Bridge/Hub devices: +name "i82378", bus PCI +name "i82801b11-bridge", bus PCI +name "ioh3420", bus PCI, desc "Intel IOH device id 3420 PCIE Root Port" +name "macio-newworld", bus PCI +name "macio-oldworld", bus PCI +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "pcie-pci-bridge", bus PCI +name "pcie-root-port", bus PCI, desc "PCI Express Root Port" +name "pnv-phb", bus System +name "pnv-phb-root-port", bus PCI, desc "IBM PHB PCIE Root Port" +name "spapr-pci-host-bridge", bus System +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus +name "x3130-upstream", bus PCI, desc "TI X3130 Upstream Port of PCI Expres= s Switch" +name "xio3130-downstream", bus PCI, desc "TI X3130 Downstream Port of PCI = Express Switch" + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "160s33b", bus SSI, desc "Serial Flash" +name "25csm04", bus SSI, desc "Serial Flash" +name "320s33b", bus SSI, desc "Serial Flash" +name "640s33b", bus SSI, desc "Serial Flash" +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "at25128a-nonjedec", bus SSI, desc "Serial Flash" +name "at25256a-nonjedec", bus SSI, desc "Serial Flash" +name "at25df041a", bus SSI, desc "Serial Flash" +name "at25df321a", bus SSI, desc "Serial Flash" +name "at25df641", bus SSI, desc "Serial Flash" +name "at25fs010", bus SSI, desc "Serial Flash" +name "at25fs040", bus SSI, desc "Serial Flash" +name "at26df081a", bus SSI, desc "Serial Flash" +name "at26df161a", bus SSI, desc "Serial Flash" +name "at26df321", bus SSI, desc "Serial Flash" +name "at26f004", bus SSI, desc "Serial Flash" +name "at45db081d", bus SSI, desc "Serial Flash" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "en25f32", bus SSI, desc "Serial Flash" +name "en25p32", bus SSI, desc "Serial Flash" +name "en25p64", bus SSI, desc "Serial Flash" +name "en25q32b", bus SSI, desc "Serial Flash" +name "en25q64", bus SSI, desc "Serial Flash" +name "floppy", bus floppy-bus, desc "virtual floppy drive" +name "gd25q32", bus SSI, desc "Serial Flash" +name "gd25q64", bus SSI, desc "Serial Flash" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "is25lp016d", bus SSI, desc "Serial Flash" +name "is25lp032", bus SSI, desc "Serial Flash" +name "is25lp064", bus SSI, desc "Serial Flash" +name "is25lp080d", bus SSI, desc "Serial Flash" +name "is25lp128", bus SSI, desc "Serial Flash" +name "is25lp256", bus SSI, desc "Serial Flash" +name "is25lq040b", bus SSI, desc "Serial Flash" +name "is25wp032", bus SSI, desc "Serial Flash" +name "is25wp064", bus SSI, desc "Serial Flash" +name "is25wp128", bus SSI, desc "Serial Flash" +name "is25wp256", bus SSI, desc "Serial Flash" +name "isa-fdc", bus ISA, desc "virtual floppy controller" +name "isa-ide", bus ISA +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "m25p05", bus SSI, desc "Serial Flash" +name "m25p10", bus SSI, desc "Serial Flash" +name "m25p128", bus SSI, desc "Serial Flash" +name "m25p16", bus SSI, desc "Serial Flash" +name "m25p20", bus SSI, desc "Serial Flash" +name "m25p32", bus SSI, desc "Serial Flash" +name "m25p40", bus SSI, desc "Serial Flash" +name "m25p64", bus SSI, desc "Serial Flash" +name "m25p80", bus SSI, desc "Serial Flash" +name "m25pe16", bus SSI, desc "Serial Flash" +name "m25pe20", bus SSI, desc "Serial Flash" +name "m25pe80", bus SSI, desc "Serial Flash" +name "m25px32", bus SSI, desc "Serial Flash" +name "m25px32-s0", bus SSI, desc "Serial Flash" +name "m25px32-s1", bus SSI, desc "Serial Flash" +name "m25px64", bus SSI, desc "Serial Flash" +name "m45pe10", bus SSI, desc "Serial Flash" +name "m45pe16", bus SSI, desc "Serial Flash" +name "m45pe80", bus SSI, desc "Serial Flash" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "mt25ql01g", bus SSI, desc "Serial Flash" +name "mt25ql02g", bus SSI, desc "Serial Flash" +name "mt25ql512ab", bus SSI, desc "Serial Flash" +name "mt25qu01g", bus SSI, desc "Serial Flash" +name "mt25qu02g", bus SSI, desc "Serial Flash" +name "mt35xu01g", bus SSI, desc "Serial Flash" +name "mt35xu02gbba", bus SSI, desc "Serial Flash" +name "mx25l12805d", bus SSI, desc "Serial Flash" +name "mx25l12855e", bus SSI, desc "Serial Flash" +name "mx25l1606e", bus SSI, desc "Serial Flash" +name "mx25l2005a", bus SSI, desc "Serial Flash" +name "mx25l25635e", bus SSI, desc "Serial Flash" +name "mx25l25635f", bus SSI, desc "Serial Flash" +name "mx25l25655e", bus SSI, desc "Serial Flash" +name "mx25l3205d", bus SSI, desc "Serial Flash" +name "mx25l4005a", bus SSI, desc "Serial Flash" +name "mx25l6405d", bus SSI, desc "Serial Flash" +name "mx25l8005", bus SSI, desc "Serial Flash" +name "mx66l1g45g", bus SSI, desc "Serial Flash" +name "mx66l51235f", bus SSI, desc "Serial Flash" +name "mx66u1g45g", bus SSI, desc "Serial Flash" +name "mx66u51235f", bus SSI, desc "Serial Flash" +name "n25q00", bus SSI, desc "Serial Flash" +name "n25q00a", bus SSI, desc "Serial Flash" +name "n25q032", bus SSI, desc "Serial Flash" +name "n25q032a11", bus SSI, desc "Serial Flash" +name "n25q032a13", bus SSI, desc "Serial Flash" +name "n25q064", bus SSI, desc "Serial Flash" +name "n25q064a11", bus SSI, desc "Serial Flash" +name "n25q064a13", bus SSI, desc "Serial Flash" +name "n25q128", bus SSI, desc "Serial Flash" +name "n25q128a11", bus SSI, desc "Serial Flash" +name "n25q128a13", bus SSI, desc "Serial Flash" +name "n25q256a", bus SSI, desc "Serial Flash" +name "n25q256a11", bus SSI, desc "Serial Flash" +name "n25q256a13", bus SSI, desc "Serial Flash" +name "n25q512a", bus SSI, desc "Serial Flash" +name "n25q512a11", bus SSI, desc "Serial Flash" +name "n25q512a13", bus SSI, desc "Serial Flash" +name "n25q512ax3", bus SSI, desc "Serial Flash" +name "nvdimm", desc "DIMM memory module" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "pvscsi", bus PCI +name "s25fl016k", bus SSI, desc "Serial Flash" +name "s25fl064k", bus SSI, desc "Serial Flash" +name "s25fl129p0", bus SSI, desc "Serial Flash" +name "s25fl129p1", bus SSI, desc "Serial Flash" +name "s25fl256s0", bus SSI, desc "Serial Flash" +name "s25fl256s1", bus SSI, desc "Serial Flash" +name "s25fl512s", bus SSI, desc "Serial Flash" +name "s25fs512s", bus SSI, desc "Serial Flash" +name "s25sl004a", bus SSI, desc "Serial Flash" +name "s25sl008a", bus SSI, desc "Serial Flash" +name "s25sl016a", bus SSI, desc "Serial Flash" +name "s25sl032a", bus SSI, desc "Serial Flash" +name "s25sl032p", bus SSI, desc "Serial Flash" +name "s25sl064a", bus SSI, desc "Serial Flash" +name "s25sl064p", bus SSI, desc "Serial Flash" +name "s25sl12800", bus SSI, desc "Serial Flash" +name "s25sl12801", bus SSI, desc "Serial Flash" +name "s70fl01gs", bus SSI, desc "Serial Flash" +name "s70fs01gs", bus SSI, desc "Serial Flash" +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "sii3112", bus PCI, desc "SiI3112A SATA controller" +name "spapr-nvdimm", desc "DIMM memory module" +name "spapr-vscsi", bus spapr-vio-bus +name "sst25vf016b", bus SSI, desc "Serial Flash" +name "sst25vf032b", bus SSI, desc "Serial Flash" +name "sst25vf040b", bus SSI, desc "Serial Flash" +name "sst25vf080b", bus SSI, desc "Serial Flash" +name "sst25wf010", bus SSI, desc "Serial Flash" +name "sst25wf020", bus SSI, desc "Serial Flash" +name "sst25wf040", bus SSI, desc "Serial Flash" +name "sst25wf080", bus SSI, desc "Serial Flash" +name "sst25wf512", bus SSI, desc "Serial Flash" +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI +name "w25q01jvq", bus SSI, desc "Serial Flash" +name "w25q02jvm", bus SSI, desc "Serial Flash" +name "w25q256", bus SSI, desc "Serial Flash" +name "w25q32", bus SSI, desc "Serial Flash" +name "w25q32dw", bus SSI, desc "Serial Flash" +name "w25q512jv", bus SSI, desc "Serial Flash" +name "w25q64", bus SSI, desc "Serial Flash" +name "w25q80", bus SSI, desc "Serial Flash" +name "w25q80bl", bus SSI, desc "Serial Flash" +name "w25x10", bus SSI, desc "Serial Flash" +name "w25x16", bus SSI, desc "Serial Flash" +name "w25x20", bus SSI, desc "Serial Flash" +name "w25x32", bus SSI, desc "Serial Flash" +name "w25x40", bus SSI, desc "Serial Flash" +name "w25x64", bus SSI, desc "Serial Flash" +name "w25x80", bus SSI, desc "Serial Flash" + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000e", bus PCI, desc "Intel 82574L GbE Controller" +name "eTSEC", bus System, desc "Freescale Enhanced Three-Speed Ethernet Co= ntroller" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "igb", bus PCI, desc "Intel 82576 Gigabit Ethernet Controller" +name "ne2k_isa", bus ISA +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rocker", bus PCI, desc "Rocker Switch" +name "rtl8139", bus PCI +name "spapr-vlan", bus spapr-vio-bus +name "sungem", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "adb-keyboard", bus apple-desktop-bus +name "adb-mouse", bus apple-desktop-bus +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "i8042", bus ISA +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "isa-parallel", bus ISA +name "isa-serial", bus ISA +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "spapr-vty", bus spapr-vio-bus +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "secondary-vga", bus PCI +name "sm501", bus PCI, desc "SM501 Display Controller" +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "vhost-user-vga", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" +name "virtio-vga", bus PCI +name "virtio-vga-gl", bus PCI + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "adlib", bus ISA, desc "Yamaha YM3812 (OPL2)" +name "cs4231a", bus ISA, desc "Crystal Semiconductor CS4231A" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "gus", bus ISA, desc "Gravis Ultrasound GF1" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "sb16", bus ISA, desc "Creative Sound Blaster 16" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "acpi-erst", bus PCI, desc "ACPI Error Record Serialization Table (ER= ST) device" +name "at24c-eeprom", bus i2c-bus +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "ds1338", bus i2c-bus +name "edu", bus PCI +name "guest-loader", desc "Guest Loader" +name "i2c-ddc", bus i2c-bus +name "i2c-echo", bus i2c-bus +name "i82374", bus ISA, desc "Intel 82374 DMA controller" +name "iommu-testdev", bus PCI, desc "A test device for IOMMU" +name "ivshmem-doorbell", bus PCI, desc "Inter-VM shared memory" +name "ivshmem-plain", bus PCI, desc "Inter-VM shared memory" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "m41t80", bus i2c-bus +name "mc146818rtc", bus ISA +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pc-testdev", bus ISA +name "pca9535", bus i2c-bus +name "pca9536", bus i2c-bus +name "pca9552", bus i2c-bus +name "pca9554", bus i2c-bus +name "pca9555", bus i2c-bus +name "pci-testdev", bus PCI, desc "PCI Test Device" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "spapr-rng" +name "tpm-spapr", bus spapr-vio-bus +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI + +CPU devices: +name "970_v2.2-spapr-cpu-core" +name "970mp_v1.0-spapr-cpu-core" +name "970mp_v1.1-spapr-cpu-core" +name "power10_v2.0-spapr-cpu-core" +name "power11_v2.0-spapr-cpu-core" +name "power5p_v2.1-spapr-cpu-core" +name "power7_v2.3-spapr-cpu-core" +name "power7p_v2.1-spapr-cpu-core" +name "power8_v2.0-spapr-cpu-core" +name "power9_v2.0-spapr-cpu-core" +name "power9_v2.2-spapr-cpu-core" + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" +name "ib700", bus ISA, desc "iBASE 700" + +Uncategorized devices: +name "ipmi-bmc-extern" +name "ipmi-bmc-sim" +name "isa-ipmi-bt", bus ISA +name "isa-m48t59", bus ISA +name "pc-dimm", desc "DIMM memory module" +name "pnv-N1-chiplet", desc "PowerNV n1 chiplet" +name "pnv-nest-chiplet-pervasive", desc "PowerNV nest pervasive chiplet" +name "pnv-nmmu", desc "PowerNV nest MMU" +name "prep-systemio", bus ISA +name "rs6000-mc", bus ISA +name "spapr-tpm-proxy" +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-ppc64.help b/cmdline_ref/qemu-system-p= pc64.help new file mode 100644 index 00000000000..f074465ebe5 --- /dev/null +++ b/cmdline_ref/qemu-system-ppc64.help @@ -0,0 +1,559 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-g WxH[xDEPTH] Set the initial graphical resolution and depth +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-enable-kvm enable KVM full virtualization support +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-prom-env variable=3Dvalue + set OpenBIOS nvram variables +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-ppc64.machine_help b/cmdline_ref/qemu-= system-ppc64.machine_help new file mode 100644 index 00000000000..f2113655c3b --- /dev/null +++ b/cmdline_ref/qemu-system-ppc64.machine_help @@ -0,0 +1,39 @@ +Supported machines are: +40p IBM RS/6000 7020 (40p) +amigaone Eyetech AmigaOne/Mai Logic Teron +bamboo bamboo +g3beige Heathrow based PowerMac +mac99 Mac99 based PowerMac +mpc8544ds mpc8544ds +none empty machine +pegasos1 Genesi/bPlan Pegasos I +pegasos2 Genesi/bPlan Pegasos II +powernv10 IBM PowerNV (Non-Virtualized) POWER10 +powernv10-rainier IBM PowerNV (Non-Virtualized) POWER10 Rainier +powernv IBM PowerNV (Non-Virtualized) Power11 (alias of power= nv11) +powernv11 IBM PowerNV (Non-Virtualized) Power11 +powernv8 IBM PowerNV (Non-Virtualized) POWER8 +powernv9 IBM PowerNV (Non-Virtualized) POWER9 +ppce500 generic paravirt e500 platform +ppe42_machine PPE42 Test Machine +pseries-10.0 pSeries Logical Partition (PAPR compliant) +pseries-10.1 pSeries Logical Partition (PAPR compliant) +pseries-10.2 pSeries Logical Partition (PAPR compliant) +pseries-11.0 pSeries Logical Partition (PAPR compliant) +pseries-11.1 pSeries Logical Partition (PAPR compliant) +pseries pSeries Logical Partition (PAPR compliant) (alias of = pseries-11.2) +pseries-11.2 pSeries Logical Partition (PAPR compliant) (default) +pseries-6.0 pSeries Logical Partition (PAPR compliant) (deprecate= d) +pseries-6.1 pSeries Logical Partition (PAPR compliant) (deprecate= d) +pseries-6.2 pSeries Logical Partition (PAPR compliant) (deprecate= d) +pseries-7.0 pSeries Logical Partition (PAPR compliant) (deprecate= d) +pseries-7.1 pSeries Logical Partition (PAPR compliant) (deprecate= d) +pseries-7.2 pSeries Logical Partition (PAPR compliant) (deprecate= d) +pseries-8.0 pSeries Logical Partition (PAPR compliant) (deprecate= d) +pseries-8.1 pSeries Logical Partition (PAPR compliant) (deprecate= d) +pseries-8.2 pSeries Logical Partition (PAPR compliant) (deprecate= d) +pseries-9.0 pSeries Logical Partition (PAPR compliant) +pseries-9.1 pSeries Logical Partition (PAPR compliant) +pseries-9.2 pSeries Logical Partition (PAPR compliant) +sam460ex aCube Sam460ex +virtex-ml507 Xilinx Virtex ML507 reference design diff --git a/cmdline_ref/qemu-system-riscv32.cpu_help b/cmdline_ref/qemu-sy= stem-riscv32.cpu_help new file mode 100644 index 00000000000..34163adba41 --- /dev/null +++ b/cmdline_ref/qemu-system-riscv32.cpu_help @@ -0,0 +1,9 @@ +Available CPUs: + lowrisc-ibex + max + rv32 + rv32e + rv32i + sifive-e31 + sifive-e34 + sifive-u34 diff --git a/cmdline_ref/qemu-system-riscv32.device_help b/cmdline_ref/qemu= -system-riscv32.device_help new file mode 100644 index 00000000000..75adc85a10d --- /dev/null +++ b/cmdline_ref/qemu-system-riscv32.device_help @@ -0,0 +1,385 @@ +Controller/Bridge/Hub devices: +name "i82801b11-bridge", bus PCI +name "ioh3420", bus PCI, desc "Intel IOH device id 3420 PCIE Root Port" +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "pcie-pci-bridge", bus PCI +name "pcie-root-port", bus PCI, desc "PCI Express Root Port" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus +name "x3130-upstream", bus PCI, desc "TI X3130 Upstream Port of PCI Expres= s Switch" +name "xio3130-downstream", bus PCI, desc "TI X3130 Downstream Port of PCI = Express Switch" + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "160s33b", bus SSI, desc "Serial Flash" +name "25csm04", bus SSI, desc "Serial Flash" +name "320s33b", bus SSI, desc "Serial Flash" +name "640s33b", bus SSI, desc "Serial Flash" +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "at25128a-nonjedec", bus SSI, desc "Serial Flash" +name "at25256a-nonjedec", bus SSI, desc "Serial Flash" +name "at25df041a", bus SSI, desc "Serial Flash" +name "at25df321a", bus SSI, desc "Serial Flash" +name "at25df641", bus SSI, desc "Serial Flash" +name "at25fs010", bus SSI, desc "Serial Flash" +name "at25fs040", bus SSI, desc "Serial Flash" +name "at26df081a", bus SSI, desc "Serial Flash" +name "at26df161a", bus SSI, desc "Serial Flash" +name "at26df321", bus SSI, desc "Serial Flash" +name "at26f004", bus SSI, desc "Serial Flash" +name "at45db081d", bus SSI, desc "Serial Flash" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "en25f32", bus SSI, desc "Serial Flash" +name "en25p32", bus SSI, desc "Serial Flash" +name "en25p64", bus SSI, desc "Serial Flash" +name "en25q32b", bus SSI, desc "Serial Flash" +name "en25q64", bus SSI, desc "Serial Flash" +name "gd25q32", bus SSI, desc "Serial Flash" +name "gd25q64", bus SSI, desc "Serial Flash" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "is25lp016d", bus SSI, desc "Serial Flash" +name "is25lp032", bus SSI, desc "Serial Flash" +name "is25lp064", bus SSI, desc "Serial Flash" +name "is25lp080d", bus SSI, desc "Serial Flash" +name "is25lp128", bus SSI, desc "Serial Flash" +name "is25lp256", bus SSI, desc "Serial Flash" +name "is25lq040b", bus SSI, desc "Serial Flash" +name "is25wp032", bus SSI, desc "Serial Flash" +name "is25wp064", bus SSI, desc "Serial Flash" +name "is25wp128", bus SSI, desc "Serial Flash" +name "is25wp256", bus SSI, desc "Serial Flash" +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "m25p05", bus SSI, desc "Serial Flash" +name "m25p10", bus SSI, desc "Serial Flash" +name "m25p128", bus SSI, desc "Serial Flash" +name "m25p16", bus SSI, desc "Serial Flash" +name "m25p20", bus SSI, desc "Serial Flash" +name "m25p32", bus SSI, desc "Serial Flash" +name "m25p40", bus SSI, desc "Serial Flash" +name "m25p64", bus SSI, desc "Serial Flash" +name "m25p80", bus SSI, desc "Serial Flash" +name "m25pe16", bus SSI, desc "Serial Flash" +name "m25pe20", bus SSI, desc "Serial Flash" +name "m25pe80", bus SSI, desc "Serial Flash" +name "m25px32", bus SSI, desc "Serial Flash" +name "m25px32-s0", bus SSI, desc "Serial Flash" +name "m25px32-s1", bus SSI, desc "Serial Flash" +name "m25px64", bus SSI, desc "Serial Flash" +name "m45pe10", bus SSI, desc "Serial Flash" +name "m45pe16", bus SSI, desc "Serial Flash" +name "m45pe80", bus SSI, desc "Serial Flash" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "mt25ql01g", bus SSI, desc "Serial Flash" +name "mt25ql02g", bus SSI, desc "Serial Flash" +name "mt25ql512ab", bus SSI, desc "Serial Flash" +name "mt25qu01g", bus SSI, desc "Serial Flash" +name "mt25qu02g", bus SSI, desc "Serial Flash" +name "mt35xu01g", bus SSI, desc "Serial Flash" +name "mt35xu02gbba", bus SSI, desc "Serial Flash" +name "mx25l12805d", bus SSI, desc "Serial Flash" +name "mx25l12855e", bus SSI, desc "Serial Flash" +name "mx25l1606e", bus SSI, desc "Serial Flash" +name "mx25l2005a", bus SSI, desc "Serial Flash" +name "mx25l25635e", bus SSI, desc "Serial Flash" +name "mx25l25635f", bus SSI, desc "Serial Flash" +name "mx25l25655e", bus SSI, desc "Serial Flash" +name "mx25l3205d", bus SSI, desc "Serial Flash" +name "mx25l4005a", bus SSI, desc "Serial Flash" +name "mx25l6405d", bus SSI, desc "Serial Flash" +name "mx25l8005", bus SSI, desc "Serial Flash" +name "mx66l1g45g", bus SSI, desc "Serial Flash" +name "mx66l51235f", bus SSI, desc "Serial Flash" +name "mx66u1g45g", bus SSI, desc "Serial Flash" +name "mx66u51235f", bus SSI, desc "Serial Flash" +name "n25q00", bus SSI, desc "Serial Flash" +name "n25q00a", bus SSI, desc "Serial Flash" +name "n25q032", bus SSI, desc "Serial Flash" +name "n25q032a11", bus SSI, desc "Serial Flash" +name "n25q032a13", bus SSI, desc "Serial Flash" +name "n25q064", bus SSI, desc "Serial Flash" +name "n25q064a11", bus SSI, desc "Serial Flash" +name "n25q064a13", bus SSI, desc "Serial Flash" +name "n25q128", bus SSI, desc "Serial Flash" +name "n25q128a11", bus SSI, desc "Serial Flash" +name "n25q128a13", bus SSI, desc "Serial Flash" +name "n25q256a", bus SSI, desc "Serial Flash" +name "n25q256a11", bus SSI, desc "Serial Flash" +name "n25q256a13", bus SSI, desc "Serial Flash" +name "n25q512a", bus SSI, desc "Serial Flash" +name "n25q512a11", bus SSI, desc "Serial Flash" +name "n25q512a13", bus SSI, desc "Serial Flash" +name "n25q512ax3", bus SSI, desc "Serial Flash" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "pvscsi", bus PCI +name "s25fl016k", bus SSI, desc "Serial Flash" +name "s25fl064k", bus SSI, desc "Serial Flash" +name "s25fl129p0", bus SSI, desc "Serial Flash" +name "s25fl129p1", bus SSI, desc "Serial Flash" +name "s25fl256s0", bus SSI, desc "Serial Flash" +name "s25fl256s1", bus SSI, desc "Serial Flash" +name "s25fl512s", bus SSI, desc "Serial Flash" +name "s25fs512s", bus SSI, desc "Serial Flash" +name "s25sl004a", bus SSI, desc "Serial Flash" +name "s25sl008a", bus SSI, desc "Serial Flash" +name "s25sl016a", bus SSI, desc "Serial Flash" +name "s25sl032a", bus SSI, desc "Serial Flash" +name "s25sl032p", bus SSI, desc "Serial Flash" +name "s25sl064a", bus SSI, desc "Serial Flash" +name "s25sl064p", bus SSI, desc "Serial Flash" +name "s25sl12800", bus SSI, desc "Serial Flash" +name "s25sl12801", bus SSI, desc "Serial Flash" +name "s70fl01gs", bus SSI, desc "Serial Flash" +name "s70fs01gs", bus SSI, desc "Serial Flash" +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "sst25vf016b", bus SSI, desc "Serial Flash" +name "sst25vf032b", bus SSI, desc "Serial Flash" +name "sst25vf040b", bus SSI, desc "Serial Flash" +name "sst25vf080b", bus SSI, desc "Serial Flash" +name "sst25wf010", bus SSI, desc "Serial Flash" +name "sst25wf020", bus SSI, desc "Serial Flash" +name "sst25wf040", bus SSI, desc "Serial Flash" +name "sst25wf080", bus SSI, desc "Serial Flash" +name "sst25wf512", bus SSI, desc "Serial Flash" +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI +name "w25q01jvq", bus SSI, desc "Serial Flash" +name "w25q02jvm", bus SSI, desc "Serial Flash" +name "w25q256", bus SSI, desc "Serial Flash" +name "w25q32", bus SSI, desc "Serial Flash" +name "w25q32dw", bus SSI, desc "Serial Flash" +name "w25q512jv", bus SSI, desc "Serial Flash" +name "w25q64", bus SSI, desc "Serial Flash" +name "w25q80", bus SSI, desc "Serial Flash" +name "w25q80bl", bus SSI, desc "Serial Flash" +name "w25x10", bus SSI, desc "Serial Flash" +name "w25x16", bus SSI, desc "Serial Flash" +name "w25x20", bus SSI, desc "Serial Flash" +name "w25x32", bus SSI, desc "Serial Flash" +name "w25x40", bus SSI, desc "Serial Flash" +name "w25x64", bus SSI, desc "Serial Flash" +name "w25x80", bus SSI, desc "Serial Flash" + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000e", bus PCI, desc "Intel 82574L GbE Controller" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "igb", bus PCI, desc "Intel 82576 Gigabit Ethernet Controller" +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rocker", bus PCI, desc "Rocker Switch" +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "ramfb", bus System, desc "ram framebuffer standalone device" +name "secondary-vga", bus PCI +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "vhost-user-vga", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" +name "virtio-vga", bus PCI +name "virtio-vga-gl", bus PCI + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "acpi-erst", bus PCI, desc "ACPI Error Record Serialization Table (ER= ST) device" +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "edu", bus PCI +name "guest-loader", desc "Guest Loader" +name "i2c-ddc", bus i2c-bus +name "i2c-echo", bus i2c-bus +name "iommu-testdev", bus PCI, desc "A test device for IOMMU" +name "ivshmem-doorbell", bus PCI, desc "Inter-VM shared memory" +name "ivshmem-plain", bus PCI, desc "Inter-VM shared memory" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pci-testdev", bus PCI, desc "PCI Test Device" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "riscv-iommu-pci", bus PCI, desc "RISCV-IOMMU DMA Remapping device" +name "tpm-tis-device", bus System +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI +name "vmcoreinfo" + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" + +Uncategorized devices: +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-riscv32.help b/cmdline_ref/qemu-system= -riscv32.help new file mode 100644 index 00000000000..d7de4b62852 --- /dev/null +++ b/cmdline_ref/qemu-system-riscv32.help @@ -0,0 +1,586 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D +-smbios file=3Dbinary + load SMBIOS entry from binary file +-smbios type=3D0[,vendor=3Dstr][,version=3Dstr][,date=3Dstr][,release=3D%d= .%d] + [,uefi=3Don|off][,vm=3Don|off] + specify SMBIOS type 0 fields +-smbios type=3D1[,manufacturer=3Dstr][,product=3Dstr][,version=3Dstr][,ser= ial=3Dstr] + [,uuid=3Duuid][,sku=3Dstr][,family=3Dstr] + specify SMBIOS type 1 fields +-smbios type=3D2[,manufacturer=3Dstr][,product=3Dstr][,version=3Dstr][,ser= ial=3Dstr] + [,asset=3Dstr][,location=3Dstr] + specify SMBIOS type 2 fields +-smbios type=3D3[,manufacturer=3Dstr][,version=3Dstr][,serial=3Dstr][,asse= t=3Dstr] + [,sku=3Dstr] + specify SMBIOS type 3 fields +-smbios type=3D4[,sock_pfx=3Dstr][,manufacturer=3Dstr][,version=3Dstr][,se= rial=3Dstr] + [,asset=3Dstr][,part=3Dstr][,max-speed=3D%d][,current-speed= =3D%d] + [,processor-family=3D%d][,processor-id=3D%d] + specify SMBIOS type 4 fields +-smbios type=3D8[,external_reference=3Dstr][,internal_reference=3Dstr][,co= nnector_type=3D%d][,port_type=3D%d] + specify SMBIOS type 8 fields +-smbios type=3D11[,value=3Dstr][,path=3Dfilename] + specify SMBIOS type 11 fields +-smbios type=3D17[,loc_pfx=3Dstr][,bank=3Dstr][,manufacturer=3Dstr][,seria= l=3Dstr] + [,asset=3Dstr][,part=3Dstr][,speed=3D%d] + specify SMBIOS type 17 fields +-smbios type=3D41[,designation=3Dstr][,kind=3Dstr][,instance=3D%d][,pcidev= =3Dstr] + specify SMBIOS type 41 fields + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-enable-kvm enable KVM full virtualization support +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-semihosting semihosting mode +-semihosting-config [enable=3Don|off][,target=3Dnative|gdb|auto][,chardev= =3Did][,userspace=3Don|off][,arg=3Dstr[,...]] + semihosting configuration +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-riscv32.machine_help b/cmdline_ref/qem= u-system-riscv32.machine_help new file mode 100644 index 00000000000..c8ac7c18dd4 --- /dev/null +++ b/cmdline_ref/qemu-system-riscv32.machine_help @@ -0,0 +1,8 @@ +Supported machines are: +amd-microblaze-v-generic AMD Microblaze-V generic platform +none empty machine +opentitan RISC-V Board compatible with OpenTitan +sifive_e RISC-V Board compatible with SiFive E SDK +sifive_u RISC-V Board compatible with SiFive U SDK +spike RISC-V Spike board +virt RISC-V VirtIO board diff --git a/cmdline_ref/qemu-system-riscv64.cpu_help b/cmdline_ref/qemu-sy= stem-riscv64.cpu_help new file mode 100644 index 00000000000..f2466663851 --- /dev/null +++ b/cmdline_ref/qemu-system-riscv64.cpu_help @@ -0,0 +1,29 @@ +Available CPUs: + lowrisc-ibex + max + max32 + mips-p8700 + rv32 + rv32e + rv32i + rv64 + rv64e + rv64i + rva22s64 + rva22u64 + rva23s64 + rva23u64 + shakti-c + sifive-e31 + sifive-e34 + sifive-e51 + sifive-u34 + sifive-u54 + thead-c906 + thead-c908 + thead-c908v + tt-ascalon + veyron-v1 + x-rv128 + xiangshan-kunminghu + xiangshan-nanhu diff --git a/cmdline_ref/qemu-system-riscv64.device_help b/cmdline_ref/qemu= -system-riscv64.device_help new file mode 100644 index 00000000000..fc838d87fb0 --- /dev/null +++ b/cmdline_ref/qemu-system-riscv64.device_help @@ -0,0 +1,388 @@ +Controller/Bridge/Hub devices: +name "i82801b11-bridge", bus PCI +name "ioh3420", bus PCI, desc "Intel IOH device id 3420 PCIE Root Port" +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "pcie-pci-bridge", bus PCI +name "pcie-root-port", bus PCI, desc "PCI Express Root Port" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus +name "x3130-upstream", bus PCI, desc "TI X3130 Upstream Port of PCI Expres= s Switch" +name "xio3130-downstream", bus PCI, desc "TI X3130 Downstream Port of PCI = Express Switch" + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "160s33b", bus SSI, desc "Serial Flash" +name "25csm04", bus SSI, desc "Serial Flash" +name "320s33b", bus SSI, desc "Serial Flash" +name "640s33b", bus SSI, desc "Serial Flash" +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "at25128a-nonjedec", bus SSI, desc "Serial Flash" +name "at25256a-nonjedec", bus SSI, desc "Serial Flash" +name "at25df041a", bus SSI, desc "Serial Flash" +name "at25df321a", bus SSI, desc "Serial Flash" +name "at25df641", bus SSI, desc "Serial Flash" +name "at25fs010", bus SSI, desc "Serial Flash" +name "at25fs040", bus SSI, desc "Serial Flash" +name "at26df081a", bus SSI, desc "Serial Flash" +name "at26df161a", bus SSI, desc "Serial Flash" +name "at26df321", bus SSI, desc "Serial Flash" +name "at26f004", bus SSI, desc "Serial Flash" +name "at45db081d", bus SSI, desc "Serial Flash" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "en25f32", bus SSI, desc "Serial Flash" +name "en25p32", bus SSI, desc "Serial Flash" +name "en25p64", bus SSI, desc "Serial Flash" +name "en25q32b", bus SSI, desc "Serial Flash" +name "en25q64", bus SSI, desc "Serial Flash" +name "gd25q32", bus SSI, desc "Serial Flash" +name "gd25q64", bus SSI, desc "Serial Flash" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "is25lp016d", bus SSI, desc "Serial Flash" +name "is25lp032", bus SSI, desc "Serial Flash" +name "is25lp064", bus SSI, desc "Serial Flash" +name "is25lp080d", bus SSI, desc "Serial Flash" +name "is25lp128", bus SSI, desc "Serial Flash" +name "is25lp256", bus SSI, desc "Serial Flash" +name "is25lq040b", bus SSI, desc "Serial Flash" +name "is25wp032", bus SSI, desc "Serial Flash" +name "is25wp064", bus SSI, desc "Serial Flash" +name "is25wp128", bus SSI, desc "Serial Flash" +name "is25wp256", bus SSI, desc "Serial Flash" +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "m25p05", bus SSI, desc "Serial Flash" +name "m25p10", bus SSI, desc "Serial Flash" +name "m25p128", bus SSI, desc "Serial Flash" +name "m25p16", bus SSI, desc "Serial Flash" +name "m25p20", bus SSI, desc "Serial Flash" +name "m25p32", bus SSI, desc "Serial Flash" +name "m25p40", bus SSI, desc "Serial Flash" +name "m25p64", bus SSI, desc "Serial Flash" +name "m25p80", bus SSI, desc "Serial Flash" +name "m25pe16", bus SSI, desc "Serial Flash" +name "m25pe20", bus SSI, desc "Serial Flash" +name "m25pe80", bus SSI, desc "Serial Flash" +name "m25px32", bus SSI, desc "Serial Flash" +name "m25px32-s0", bus SSI, desc "Serial Flash" +name "m25px32-s1", bus SSI, desc "Serial Flash" +name "m25px64", bus SSI, desc "Serial Flash" +name "m45pe10", bus SSI, desc "Serial Flash" +name "m45pe16", bus SSI, desc "Serial Flash" +name "m45pe80", bus SSI, desc "Serial Flash" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "mt25ql01g", bus SSI, desc "Serial Flash" +name "mt25ql02g", bus SSI, desc "Serial Flash" +name "mt25ql512ab", bus SSI, desc "Serial Flash" +name "mt25qu01g", bus SSI, desc "Serial Flash" +name "mt25qu02g", bus SSI, desc "Serial Flash" +name "mt35xu01g", bus SSI, desc "Serial Flash" +name "mt35xu02gbba", bus SSI, desc "Serial Flash" +name "mx25l12805d", bus SSI, desc "Serial Flash" +name "mx25l12855e", bus SSI, desc "Serial Flash" +name "mx25l1606e", bus SSI, desc "Serial Flash" +name "mx25l2005a", bus SSI, desc "Serial Flash" +name "mx25l25635e", bus SSI, desc "Serial Flash" +name "mx25l25635f", bus SSI, desc "Serial Flash" +name "mx25l25655e", bus SSI, desc "Serial Flash" +name "mx25l3205d", bus SSI, desc "Serial Flash" +name "mx25l4005a", bus SSI, desc "Serial Flash" +name "mx25l6405d", bus SSI, desc "Serial Flash" +name "mx25l8005", bus SSI, desc "Serial Flash" +name "mx66l1g45g", bus SSI, desc "Serial Flash" +name "mx66l51235f", bus SSI, desc "Serial Flash" +name "mx66u1g45g", bus SSI, desc "Serial Flash" +name "mx66u51235f", bus SSI, desc "Serial Flash" +name "n25q00", bus SSI, desc "Serial Flash" +name "n25q00a", bus SSI, desc "Serial Flash" +name "n25q032", bus SSI, desc "Serial Flash" +name "n25q032a11", bus SSI, desc "Serial Flash" +name "n25q032a13", bus SSI, desc "Serial Flash" +name "n25q064", bus SSI, desc "Serial Flash" +name "n25q064a11", bus SSI, desc "Serial Flash" +name "n25q064a13", bus SSI, desc "Serial Flash" +name "n25q128", bus SSI, desc "Serial Flash" +name "n25q128a11", bus SSI, desc "Serial Flash" +name "n25q128a13", bus SSI, desc "Serial Flash" +name "n25q256a", bus SSI, desc "Serial Flash" +name "n25q256a11", bus SSI, desc "Serial Flash" +name "n25q256a13", bus SSI, desc "Serial Flash" +name "n25q512a", bus SSI, desc "Serial Flash" +name "n25q512a11", bus SSI, desc "Serial Flash" +name "n25q512a13", bus SSI, desc "Serial Flash" +name "n25q512ax3", bus SSI, desc "Serial Flash" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "pvscsi", bus PCI +name "s25fl016k", bus SSI, desc "Serial Flash" +name "s25fl064k", bus SSI, desc "Serial Flash" +name "s25fl129p0", bus SSI, desc "Serial Flash" +name "s25fl129p1", bus SSI, desc "Serial Flash" +name "s25fl256s0", bus SSI, desc "Serial Flash" +name "s25fl256s1", bus SSI, desc "Serial Flash" +name "s25fl512s", bus SSI, desc "Serial Flash" +name "s25fs512s", bus SSI, desc "Serial Flash" +name "s25sl004a", bus SSI, desc "Serial Flash" +name "s25sl008a", bus SSI, desc "Serial Flash" +name "s25sl016a", bus SSI, desc "Serial Flash" +name "s25sl032a", bus SSI, desc "Serial Flash" +name "s25sl032p", bus SSI, desc "Serial Flash" +name "s25sl064a", bus SSI, desc "Serial Flash" +name "s25sl064p", bus SSI, desc "Serial Flash" +name "s25sl12800", bus SSI, desc "Serial Flash" +name "s25sl12801", bus SSI, desc "Serial Flash" +name "s70fl01gs", bus SSI, desc "Serial Flash" +name "s70fs01gs", bus SSI, desc "Serial Flash" +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "sst25vf016b", bus SSI, desc "Serial Flash" +name "sst25vf032b", bus SSI, desc "Serial Flash" +name "sst25vf040b", bus SSI, desc "Serial Flash" +name "sst25vf080b", bus SSI, desc "Serial Flash" +name "sst25wf010", bus SSI, desc "Serial Flash" +name "sst25wf020", bus SSI, desc "Serial Flash" +name "sst25wf040", bus SSI, desc "Serial Flash" +name "sst25wf080", bus SSI, desc "Serial Flash" +name "sst25wf512", bus SSI, desc "Serial Flash" +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI +name "w25q01jvq", bus SSI, desc "Serial Flash" +name "w25q02jvm", bus SSI, desc "Serial Flash" +name "w25q256", bus SSI, desc "Serial Flash" +name "w25q32", bus SSI, desc "Serial Flash" +name "w25q32dw", bus SSI, desc "Serial Flash" +name "w25q512jv", bus SSI, desc "Serial Flash" +name "w25q64", bus SSI, desc "Serial Flash" +name "w25q80", bus SSI, desc "Serial Flash" +name "w25q80bl", bus SSI, desc "Serial Flash" +name "w25x10", bus SSI, desc "Serial Flash" +name "w25x16", bus SSI, desc "Serial Flash" +name "w25x20", bus SSI, desc "Serial Flash" +name "w25x32", bus SSI, desc "Serial Flash" +name "w25x40", bus SSI, desc "Serial Flash" +name "w25x64", bus SSI, desc "Serial Flash" +name "w25x80", bus SSI, desc "Serial Flash" + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000e", bus PCI, desc "Intel 82574L GbE Controller" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "igb", bus PCI, desc "Intel 82576 Gigabit Ethernet Controller" +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rocker", bus PCI, desc "Rocker Switch" +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "ramfb", bus System, desc "ram framebuffer standalone device" +name "secondary-vga", bus PCI +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "vhost-user-vga", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" +name "virtio-vga", bus PCI +name "virtio-vga-gl", bus PCI + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "acpi-erst", bus PCI, desc "ACPI Error Record Serialization Table (ER= ST) device" +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "ds1338", bus i2c-bus +name "edu", bus PCI +name "guest-loader", desc "Guest Loader" +name "i2c-ddc", bus i2c-bus +name "i2c-echo", bus i2c-bus +name "iommu-testdev", bus PCI, desc "A test device for IOMMU" +name "ivshmem-doorbell", bus PCI, desc "Inter-VM shared memory" +name "ivshmem-plain", bus PCI, desc "Inter-VM shared memory" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pci-testdev", bus PCI, desc "PCI Test Device" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "riscv-iommu-pci", bus PCI, desc "RISCV-IOMMU DMA Remapping device" +name "tmp105", bus i2c-bus +name "tpm-tis-device", bus System +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI +name "vmcoreinfo" + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" + +Uncategorized devices: +name "riscv.k230.soc" +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-riscv64.help b/cmdline_ref/qemu-system= -riscv64.help new file mode 100644 index 00000000000..d7de4b62852 --- /dev/null +++ b/cmdline_ref/qemu-system-riscv64.help @@ -0,0 +1,586 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D +-smbios file=3Dbinary + load SMBIOS entry from binary file +-smbios type=3D0[,vendor=3Dstr][,version=3Dstr][,date=3Dstr][,release=3D%d= .%d] + [,uefi=3Don|off][,vm=3Don|off] + specify SMBIOS type 0 fields +-smbios type=3D1[,manufacturer=3Dstr][,product=3Dstr][,version=3Dstr][,ser= ial=3Dstr] + [,uuid=3Duuid][,sku=3Dstr][,family=3Dstr] + specify SMBIOS type 1 fields +-smbios type=3D2[,manufacturer=3Dstr][,product=3Dstr][,version=3Dstr][,ser= ial=3Dstr] + [,asset=3Dstr][,location=3Dstr] + specify SMBIOS type 2 fields +-smbios type=3D3[,manufacturer=3Dstr][,version=3Dstr][,serial=3Dstr][,asse= t=3Dstr] + [,sku=3Dstr] + specify SMBIOS type 3 fields +-smbios type=3D4[,sock_pfx=3Dstr][,manufacturer=3Dstr][,version=3Dstr][,se= rial=3Dstr] + [,asset=3Dstr][,part=3Dstr][,max-speed=3D%d][,current-speed= =3D%d] + [,processor-family=3D%d][,processor-id=3D%d] + specify SMBIOS type 4 fields +-smbios type=3D8[,external_reference=3Dstr][,internal_reference=3Dstr][,co= nnector_type=3D%d][,port_type=3D%d] + specify SMBIOS type 8 fields +-smbios type=3D11[,value=3Dstr][,path=3Dfilename] + specify SMBIOS type 11 fields +-smbios type=3D17[,loc_pfx=3Dstr][,bank=3Dstr][,manufacturer=3Dstr][,seria= l=3Dstr] + [,asset=3Dstr][,part=3Dstr][,speed=3D%d] + specify SMBIOS type 17 fields +-smbios type=3D41[,designation=3Dstr][,kind=3Dstr][,instance=3D%d][,pcidev= =3Dstr] + specify SMBIOS type 41 fields + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-enable-kvm enable KVM full virtualization support +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-semihosting semihosting mode +-semihosting-config [enable=3Don|off][,target=3Dnative|gdb|auto][,chardev= =3Did][,userspace=3Don|off][,arg=3Dstr[,...]] + semihosting configuration +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-riscv64.machine_help b/cmdline_ref/qem= u-system-riscv64.machine_help new file mode 100644 index 00000000000..c8e852ed9ed --- /dev/null +++ b/cmdline_ref/qemu-system-riscv64.machine_help @@ -0,0 +1,13 @@ +Supported machines are: +amd-microblaze-v-generic AMD Microblaze-V generic platform +boston-aia MIPS Boston-aia +k230 RISC-V Board compatible with Kendryte K230 SDK +microchip-icicle-kit Microchip PolarFire SoC Icicle Kit +none empty machine +shakti_c RISC-V Board compatible with Shakti SDK (deprecated) +sifive_e RISC-V Board compatible with SiFive E SDK +sifive_u RISC-V Board compatible with SiFive U SDK +spike RISC-V Spike board +tt-atlantis Tenstorrent Atlantis RISC-V SoC (Experimental) +virt RISC-V VirtIO board +xiangshan-kunminghu RISC-V Board compatible with the Xiangshan Kunminghu = FPGA prototype platform diff --git a/cmdline_ref/qemu-system-rx.cpu_help b/cmdline_ref/qemu-system-= rx.cpu_help new file mode 100644 index 00000000000..441bf319a9d --- /dev/null +++ b/cmdline_ref/qemu-system-rx.cpu_help @@ -0,0 +1,2 @@ +Available CPUs: + rx62n diff --git a/cmdline_ref/qemu-system-rx.device_help b/cmdline_ref/qemu-syst= em-rx.device_help new file mode 100644 index 00000000000..7764f88c994 --- /dev/null +++ b/cmdline_ref/qemu-system-rx.device_help @@ -0,0 +1,10 @@ + +Misc devices: +name "guest-loader", desc "Guest Loader" +name "loader", desc "Generic Loader" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System + +Uncategorized devices: +name "r5f562n7-mcu" +name "r5f562n8-mcu" diff --git a/cmdline_ref/qemu-system-rx.help b/cmdline_ref/qemu-system-rx.h= elp new file mode 100644 index 00000000000..e3736b1680c --- /dev/null +++ b/cmdline_ref/qemu-system-rx.help @@ -0,0 +1,555 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-rx.machine_help b/cmdline_ref/qemu-sys= tem-rx.machine_help new file mode 100644 index 00000000000..a4c85992032 --- /dev/null +++ b/cmdline_ref/qemu-system-rx.machine_help @@ -0,0 +1,4 @@ +Supported machines are: +gdbsim-r5f562n7 gdb simulator (R5F562N7 MCU and external RAM) +gdbsim-r5f562n8 gdb simulator (R5F562N8 MCU and external RAM) +none empty machine diff --git a/cmdline_ref/qemu-system-s390x.cpu_help b/cmdline_ref/qemu-syst= em-s390x.cpu_help new file mode 100644 index 00000000000..844b9418a9a --- /dev/null +++ b/cmdline_ref/qemu-system-s390x.cpu_help @@ -0,0 +1,512 @@ +Available CPUs: + qemu QEMU Virtual CPU version 2.5+ (migration-safe) + max Enables all features supported by the accelerator in the= current host + z900-base IBM zSeries 900 GA1 (static, migration-s= afe) + z900 IBM zSeries 900 GA1 (migration-safe) + z900.2-base IBM zSeries 900 GA2 (static, migration-s= afe) + z900.2 IBM zSeries 900 GA2 (migration-safe) + z900.3-base IBM zSeries 900 GA3 (static, migration-s= afe) + z900.3 IBM zSeries 900 GA3 (migration-safe) + z800-base IBM zSeries 800 GA1 (static, migration-s= afe) + z800 IBM zSeries 800 GA1 (migration-safe) + z990-base IBM zSeries 990 GA1 (static, migration-s= afe) + z990 IBM zSeries 990 GA1 (migration-safe) + z990.2-base IBM zSeries 990 GA2 (static, migration-s= afe) + z990.2 IBM zSeries 990 GA2 (migration-safe) + z990.3-base IBM zSeries 990 GA3 (static, migration-s= afe) + z990.3 IBM zSeries 990 GA3 (migration-safe) + z890-base IBM zSeries 880 GA1 (static, migration-s= afe) + z890 IBM zSeries 880 GA1 (migration-safe) + z990.4-base IBM zSeries 990 GA4 (static, migration-s= afe) + z990.4 IBM zSeries 990 GA4 (migration-safe) + z890.2-base IBM zSeries 880 GA2 (static, migration-s= afe) + z890.2 IBM zSeries 880 GA2 (migration-safe) + z990.5-base IBM zSeries 990 GA5 (static, migration-s= afe) + z990.5 IBM zSeries 990 GA5 (migration-safe) + z890.3-base IBM zSeries 880 GA3 (static, migration-s= afe) + z890.3 IBM zSeries 880 GA3 (migration-safe) + z9EC-base IBM System z9 EC GA1 (static, migration-s= afe) + z9EC IBM System z9 EC GA1 (migration-safe) + z9EC.2-base IBM System z9 EC GA2 (static, migration-s= afe) + z9EC.2 IBM System z9 EC GA2 (migration-safe) + z9BC-base IBM System z9 BC GA1 (static, migration-s= afe) + z9BC IBM System z9 BC GA1 (migration-safe) + z9EC.3-base IBM System z9 EC GA3 (static, migration-s= afe) + z9EC.3 IBM System z9 EC GA3 (migration-safe) + z9BC.2-base IBM System z9 BC GA2 (static, migration-s= afe) + z9BC.2 IBM System z9 BC GA2 (migration-safe) + z10EC-base IBM System z10 EC GA1 (static, migration-s= afe) + z10EC IBM System z10 EC GA1 (migration-safe) + z10EC.2-base IBM System z10 EC GA2 (static, migration-s= afe) + z10EC.2 IBM System z10 EC GA2 (migration-safe) + z10BC-base IBM System z10 BC GA1 (static, migration-s= afe) + z10BC IBM System z10 BC GA1 (migration-safe) + z10EC.3-base IBM System z10 EC GA3 (static, migration-s= afe) + z10EC.3 IBM System z10 EC GA3 (migration-safe) + z10BC.2-base IBM System z10 BC GA2 (static, migration-s= afe) + z10BC.2 IBM System z10 BC GA2 (migration-safe) + z196-base IBM zEnterprise 196 GA1 (static, migration-s= afe) + z196 IBM zEnterprise 196 GA1 (migration-safe) + z196.2-base IBM zEnterprise 196 GA2 (static, migration-s= afe) + z196.2 IBM zEnterprise 196 GA2 (migration-safe) + z114-base IBM zEnterprise 114 GA1 (static, migration-s= afe) + z114 IBM zEnterprise 114 GA1 (migration-safe) + zEC12-base IBM zEnterprise EC12 GA1 (static, migration-s= afe) + zEC12 IBM zEnterprise EC12 GA1 (migration-safe) + zEC12.2-base IBM zEnterprise EC12 GA2 (static, migration-s= afe) + zEC12.2 IBM zEnterprise EC12 GA2 (migration-safe) + zBC12-base IBM zEnterprise BC12 GA1 (static, migration-s= afe) + zBC12 IBM zEnterprise BC12 GA1 (migration-safe) + z13-base IBM z13 GA1 (static, migration-s= afe) + z13 IBM z13 GA1 (migration-safe) + z13.2-base IBM z13 GA2 (static, migration-s= afe) + z13.2 IBM z13 GA2 (migration-safe) + z13s-base IBM z13s GA1 (static, migration-s= afe) + z13s IBM z13s GA1 (migration-safe) + z14-base IBM z14 GA1 (static, migration-s= afe) + z14 IBM z14 GA1 (migration-safe) + z14.2-base IBM z14 GA2 (static, migration-s= afe) + z14.2 IBM z14 GA2 (migration-safe) + z14ZR1-base IBM z14 Model ZR1 GA1 (static, migration-s= afe) + z14ZR1 IBM z14 Model ZR1 GA1 (migration-safe) + gen15a-base IBM z15 T01 GA1 (static, migration-s= afe) + gen15a IBM z15 T01 GA1 (migration-safe) + gen15b-base IBM z15 T02 GA1 (static, migration-s= afe) + gen15b IBM z15 T02 GA1 (migration-safe) + gen16a-base IBM 3931 GA1 (static, migration-s= afe) + gen16a IBM 3931 GA1 (migration-safe) + gen16b-base IBM 3932 GA1 (static, migration-s= afe) + gen16b IBM 3932 GA1 (migration-safe) + gen17a-base IBM 9175 GA1 (static, migration-s= afe) + gen17a IBM 9175 GA1 (migration-safe) + gen17b-base IBM 9176 GA1 (static, migration-s= afe) + gen17b IBM 9176 GA1 (migration-safe) + +Recognized feature flags: + esan3 Instructions marked as n3 + zarch z/Architecture architectural mode + dateh DAT-enhancement facility + idtes IDTE selective TLB segment-table clearing + idter IDTE selective TLB region-table clearing + asnlxr ASN-and-LX reuse facility + stfle Store-facility-list-extended facility + edat Enhanced-DAT facility + srs Sense-running-status facility + csske Conditional-SSKE facility + ctop Configuration-topology facility + apqci Query AP Configuration Information facility + ipter IPTE-range facility + nonqks Nonquiescing key-setting facility + apft AP Facilities Test facility + etf2 Extended-translation facility 2 + msa-base Message-security-assist facility (excluding subfunc= tions) + ldisp Long-displacement facility + ldisphp Long-displacement facility has high performance + hfpm HFP-multiply-add/subtract facility + eimm Extended-immediate facility + etf3 Extended-translation facility 3 + hfpue HFP-unnormalized-extension facility + etf2eh ETF2-enhancement facility + stckf Store-clock-fast facility + parseh Parsing-enhancement facility + mvcos Move-with-optional-specification facility + tods-base TOD-clock-steering facility (excluding subfunctions) + etf3eh ETF3-enhancement facility + ectg Extract-CPU-time facility + csst Compare-and-swap-and-store facility + csst2 Compare-and-swap-and-store facility 2 + ginste General-instructions-extension facility + exrl Execute-extensions facility + emon Enhanced-monitor facility + fpe Floating-point extension facility + opc Order Preserving Compression facility + sprogp Set-program-parameters facility + fpseh Floating-point-support-enhancement facilities + dfp DFP (decimal-floating-point) facility + dfphp DFP (decimal-floating-point) facility has high perf= ormance + pfpo PFPO instruction + stfle45 Various facilities introduced with z196 + cmpsceh CMPSC-enhancement facility + dfpzc Decimal-floating-point zoned-conversion facility + stfle49 Various facilities introduced with zEC12 + cte Constrained transactional-execution facility + ltlbc Local-TLB-clearing facility + iacc2 Interlocked-access facility 2 + stfle53 Various facilities introduced with z13 + eec Entropy encoding compression facility + msa5-base Message-security-assist-extension-5 facility (exclu= ding subfunctions) + minste2 Miscellaneous-instruction-extensions facility 2 + sema Semaphore-assist facility + tsi Time-slice Instrumentation facility + minste3 Miscellaneous-Instruction-Extensions Facility 3 + ri CPU runtime-instrumentation facility + apqi AP-Queue interruption facility + zpci z/PCI facility + aen General-purpose-adapter-event-notification facility + ais General-purpose-adapter-interruption-suppression fa= cility + te Transactional-execution facility + sthyi Store-hypervisor-information facility + aefsi Access-exception-fetch/store-indication facility + msa3-base Message-security-assist-extension-3 facility (exclu= ding subfunctions) + msa4-base Message-security-assist-extension-4 facility (exclu= ding subfunctions) + edat2 Enhanced-DAT facility 2 + dfppc Decimal-floating-point packed-conversion facility + ppa15 PPA15 is installed + bpb Branch prediction blocking + minste4 Miscellaneous-Instruction-Extensions Facility 4 + sif Sequential-instruction-fetching facility + msa12-base Message-security-assist-extension-12 facility (excl= uding subfunctions) + plo-ext PLO-extension facility + vx Vector facility + iep Instruction-execution-protection facility + sea_esop2 Side-effect-access facility and Enhanced-suppressio= n-on-protection facility 2 + gs Guarded-storage facility + vxpd Vector packed decimal facility + vxeh Vector enhancements facility + mepoch Multiple-epoch facility + els Extended-length SCCB facility + tpei Test-pending-external-interruption facility + irbm Insert-reference-bits-multiple facility + msa8-base Message-security-assist-extension-8 facility (exclu= ding subfunctions) + cmmnt CMM: ESSA-enhancement (no translate) facility + vxeh2 Vector Enhancements facility 2 + esort-base Enhanced-sort facility (excluding subfunctions) + deflate-base Deflate-conversion facility (excluding subfunctions) + vxpdeh Vector-Packed-Decimal-Enhancement Facility + msa9-base Message-security-assist-extension-9 facility (exclu= ding subfunctions) + etoken Etoken facility + unpack Unpack facility + nnpa NNPA facility + ineff_nc_tx Ineffective-nonconstrained-transaction facility + vxpdeh2 Vector-Packed-Decimal-Enhancement facility 2 + beareh BEAR-enhancement facility + rdp Reset-DAT-protection facility + pai Processor-Activity-Instrumentation facility + paie Processor-Activity-Instrumentation extension-1 + vxeh3 Vector Enhancements facility 3 + vxpdeh3 Vector-Packed-Decimal-Enhancement facility 3 + ccf-base Concurrent-Functions facility + gsls SIE: Guest-storage-limit-suppression facility + esop Enhanced-suppression-on-protection facility + hpma2 Host page management assist 2 Facility + kss SIE: Keyless-subset facility + 64bscao SIE: 64-bit-SCAO facility + cmma SIE: Collaborative-memory-management assist + pfmfi SIE: PFMF interpretation facility + ibs SIE: Interlock-and-broadcast-suppression facility + diag318 Control program name and version codes + cstore Certificate Store functions + sipl Secure-IPL facility + sclaf Secure-IPL-code-loading-attributes facility + astfleie2 SIE: ASTFLE interpretation execution facility 2 + sief2 SIE: interception format 2 (Virtual SIE) + skey SIE: Storage-key facility + gpereh SIE: Guest-PER enhancement facility + siif SIE: Shared IPTE-interlock facility + sigpif SIE: SIGP interpretation facility + ib SIE: Intervention bypass facility + cei SIE: Conditional-external-interception facility + dateh2 DAT-enhancement facility 2 + cmm Collaborative-memory-management facility + ap AP instructions installed + plo-cl PLO Compare and load (32 bit in general registers) + plo-clg PLO Compare and load (64 bit in parameter list) + plo-clgr PLO Compare and load (64 bit in general registers) + plo-clx PLO Compare and load (128 bit in parameter list) + plo-cs PLO Compare and swap (32 bit in general registers) + plo-csg PLO Compare and swap (64 bit in parameter list) + plo-csgr PLO Compare and swap (64 bit in general registers) + plo-csx PLO Compare and swap (128 bit in parameter list) + plo-dcs PLO Double compare and swap (32 bit in general regi= sters) + plo-dcsg PLO Double compare and swap (64 bit in parameter li= st) + plo-dcsgr PLO Double compare and swap (64 bit in general regi= sters) + plo-dcsx PLO Double compare and swap (128 bit in parameter l= ist) + plo-csst PLO Compare and swap and store (32 bit in general r= egisters) + plo-csstg PLO Compare and swap and store (64 bit in parameter= list) + plo-csstgr PLO Compare and swap and store (64 bit in general r= egisters) + plo-csstx PLO Compare and swap and store (128 bit in paramete= r list) + plo-csdst PLO Compare and swap and double store (32 bit in ge= neral registers) + plo-csdstg PLO Compare and swap and double store (64 bit in pa= rameter list) + plo-csdstgr PLO Compare and swap and double store (64 bit in ge= neral registers) + plo-csdstx PLO Compare and swap and double store (128 bit in p= arameter list) + plo-cstst PLO Compare and swap and triple store (32 bit in ge= neral registers) + plo-cststg PLO Compare and swap and triple store (64 bit in pa= rameter list) + plo-cststgr PLO Compare and swap and triple store (64 bit in ge= neral registers) + plo-cststx PLO Compare and swap and triple store (128 bit in p= arameter list) + plo-clo PLO Compare and load (256 bit in parameter list) + plo-cso PLO Compare and swap (256 bit in parameter list) + plo-dcso PLO Double compare and swap (256 bit in parameter l= ist) + plo-cssto PLO Compare and swap and store (256 bit in paramete= r list) + plo-csdsto PLO Compare and swap and double store (256 bit in p= arameter list) + plo-cststo PLO Compare and swap and triple store (256 bit in p= arameter list) + plo-tcs Triple compare and swap (32 bit in parameter list) + plo-tcsg Triple compare and swap (64 bit in parameter list) + plo-tcsx Triple compare and swap (128 bit in parameter list) + plo-tcso Triple compare and swap (256 bit in parameter list) + plo-qcs Quadruple compare and swap (32 bit in parameter lis= t) + plo-qcsg Quadruple compare and swap (64 bit in parameter lis= t) + plo-qcsx Quadruple compare and swap (128 bit in parameter li= st) + plo-qcso Quadruple compare and swap (256 bit in parameter li= st) + plo-lo Load (256 bit in parameter list) + plo-dlx Double load (128 bit in parameter list) + plo-dlo Double load (256 bit in parameter list) + plo-tl Triple load (32 bit in parameter list) + plo-tlg Triple load (64 bit in parameter list) + plo-tlx Triple load (128 bit in parameter list) + plo-tlo Triple load (256 bit in parameter list) + plo-ql Quadruple load (32 bit in parameter list) + plo-qlg Quadruple load (64 bit in parameter list) + plo-qlx Quadruple load (128 bit in parameter list) + plo-qlo Quadruple load (256 bit in parameter list) + plo-sto Store (256 bit in parameter list) + plo-dst Double store (32 bit in parameter list) + plo-dstg Double store (64 bit in parameter list) + plo-dstx Double store (128 bit in parameter list) + plo-dsto Double store (256 bit in parameter list) + plo-tst Triple store (32 bit in parameter list) + plo-tstg Triple store (64 bit in parameter list) + plo-tstx Triple store (128 bit in parameter list) + plo-tsto Triple store (256 bit in parameter list) + plo-qst Quadruple store (32 bit in parameter list) + plo-qstg Quadruple store (64 bit in parameter list) + plo-qstx Quadruple store (128 bit in parameter list) + plo-qsto Quadruple store (256 bit in parameter list) + ptff-qto PTFF Query TOD Offset + ptff-qsi PTFF Query Steering Information + ptff-qpc PTFF Query Physical Clock + ptff-qui PTFF Query UTC Information + ptff-qtou PTFF Query TOD Offset User + ptff-qtse PTFF Query Time-Stamp Event + ptff-qsie PTFF Query Steering Information Extended + ptff-qtoue PTFF Query TOD Offset User Extended + ptff-sto PTFF Set TOD Offset + ptff-stou PTFF Set TOD Offset User + ptff-stoe PTFF Set TOD Offset Extended + ptff-stoue PTFF Set TOD Offset User Extended + kmac-dea KMAC DEA + kmac-tdea-128 KMAC TDEA-128 + kmac-tdea-192 KMAC TDEA-192 + kmac-edea KMAC Encrypted-DEA + kmac-etdea-128 KMAC Encrypted-TDEA-128 + kmac-etdea-192 KMAC Encrypted-TDEA-192 + kmac-aes-128 KMAC AES-128 + kmac-aes-192 KMAC AES-192 + kmac-aes-256 KMAC AES-256 + kmac-eaes-128 KMAC Encrypted-AES-128 + kmac-eaes-192 KMAC Encrypted-AES-192 + kmac-eaes-256 KMAC Encrypted-AES-256 + kmac-hmac-sha-224 KMAC HMAC-SHA-224 + kmac-hmac-sha-246 KMAC HMAC-SHA-256 + kmac-hmac-sha-384 KMAC HMAC-SHA-384 + kmac-hmac-sha-512 KMAC HMAC-SHA-512 + kmac-hmac-esha-224 KMAC HMAC-Encrypted-SHA-224 + kmac-hmac-esha-246 KMAC HMAC-Encrypted-SHA-256 + kmac-hmac-esha-384 KMAC HMAC-Encrypted-SHA-384 + kmac-hmac-esha-512 KMAC HMAC-Encrypted-SHA-512 + kmac-qai KMAC Query-Authentication-Information + kmc-dea KMC DEA + kmc-tdea-128 KMC TDEA-128 + kmc-tdea-192 KMC TDEA-192 + kmc-edea KMC Encrypted-DEA + kmc-etdea-128 KMC Encrypted-TDEA-128 + kmc-etdea-192 KMC Encrypted-TDEA-192 + kmc-aes-128 KMC AES-128 + kmc-aes-192 KMC AES-192 + kmc-aes-256 KMC AES-256 + kmc-eaes-128 KMC Encrypted-AES-128 + kmc-eaes-192 KMC Encrypted-AES-192 + kmc-eaes-256 KMC Encrypted-AES-256 + kmc-prng KMC PRNG + km-dea KM DEA + km-tdea-128 KM TDEA-128 + km-tdea-192 KM TDEA-192 + km-edea KM Encrypted-DEA + km-etdea-128 KM Encrypted-TDEA-128 + km-etdea-192 KM Encrypted-TDEA-192 + km-aes-128 KM AES-128 + km-aes-192 KM AES-192 + km-aes-256 KM AES-256 + km-eaes-128 KM Encrypted-AES-128 + km-eaes-192 KM Encrypted-AES-192 + km-eaes-256 KM Encrypted-AES-256 + km-xts-aes-128 KM XTS-AES-128 + km-xts-aes-256 KM XTS-AES-256 + km-xts-eaes-128 KM XTS-Encrypted-AES-128 + km-xts-eaes-256 KM XTS-Encrypted-AES-256 + km-full-xts-aes-128 KM Full-XTS-AES-128 + km-full-xts-aes-256 KM Full-XTS-AES-256 + km-full-xts-eaes-128 KM Full-XTS-Encrypted-AES-128 + km-full-xts-eaes-256 KM Full-XTS-Encrypted-AES-256 + km-qai KM Query-Authentication-Information + kimd-sha-1 KIMD SHA-1 + kimd-sha-256 KIMD SHA-256 + kimd-sha-512 KIMD SHA-512 + kimd-sha3-224 KIMD SHA3-224 + kimd-sha3-256 KIMD SHA3-256 + kimd-sha3-384 KIMD SHA3-384 + kimd-sha3-512 KIMD SHA3-512 + kimd-shake-128 KIMD SHAKE-128 + kimd-shake-256 KIMD SHAKE-256 + kimd-ghash KIMD GHASH + kimd-qai KIMD Query-Authentication-Information + klmd-sha-1 KLMD SHA-1 + klmd-sha-256 KLMD SHA-256 + klmd-sha-512 KLMD SHA-512 + klmd-sha3-224 KLMD SHA3-224 + klmd-sha3-256 KLMD SHA3-256 + klmd-sha3-384 KLMD SHA3-384 + klmd-sha3-512 KLMD SHA3-512 + klmd-shake-128 KLMD SHAKE-128 + klmd-shake-256 KLMD SHAKE-256 + klmd-qai KLMD Query-Authentication-Information + pckmo-edea PCKMO Encrypted-DEA-Key + pckmo-etdea-128 PCKMO Encrypted-TDEA-128-Key + pckmo-etdea-192 PCKMO Encrypted-TDEA-192-Key + pckmo-aes-128 PCKMO Encrypted-AES-128-Key + pckmo-aes-192 PCKMO Encrypted-AES-192-Key + pckmo-aes-256 PCKMO Encrypted-AES-256-Key + pckmo-aes-xts-128-dk PCKMO Encrypt-AES-XTS-128-Double-Key + pckmo-aes-xts-256-dk PCKMO Encrypt-AES-XTS-256-Double-Key + pckmo-ecc-p256 PCKMO Encrypt-ECC-P256-Key + pckmo-ecc-p384 PCKMO Encrypt-ECC-P384-Key + pckmo-ecc-p521 PCKMO Encrypt-ECC-P521-Key + pckmo-ecc-ed25519 PCKMO Encrypt-ECC-Ed25519-Key + pckmo-ecc-ed448 PCKMO Encrypt-ECC-Ed448-Key + pckmo-hmac-512 PCKMO Encrypt-HMAC-512-Key + pckmo-hmac-1024 PCKMO Encrypt-HMAC-1024-Key + pckmo-qai PCKMO Query-Authentication-Information + kmctr-dea KMCTR DEA + kmctr-tdea-128 KMCTR TDEA-128 + kmctr-tdea-192 KMCTR TDEA-192 + kmctr-edea KMCTR Encrypted-DEA + kmctr-etdea-128 KMCTR Encrypted-TDEA-128 + kmctr-etdea-192 KMCTR Encrypted-TDEA-192 + kmctr-aes-128 KMCTR AES-128 + kmctr-aes-192 KMCTR AES-192 + kmctr-aes-256 KMCTR AES-256 + kmctr-eaes-128 KMCTR Encrypted-AES-128 + kmctr-eaes-192 KMCTR Encrypted-AES-192 + kmctr-eaes-256 KMCTR Encrypted-AES-256 + kmctr-qai KMCTR Query-Authentication-Information + kmf-dea KMF DEA + kmf-tdea-128 KMF TDEA-128 + kmf-tdea-192 KMF TDEA-192 + kmf-edea KMF Encrypted-DEA + kmf-etdea-128 KMF Encrypted-TDEA-128 + kmf-etdea-192 KMF Encrypted-TDEA-192 + kmf-aes-128 KMF AES-128 + kmf-aes-192 KMF AES-192 + kmf-aes-256 KMF AES-256 + kmf-eaes-128 KMF Encrypted-AES-128 + kmf-eaes-192 KMF Encrypted-AES-192 + kmf-eaes-256 KMF Encrypted-AES-256 + kmf-qai KMF Query-Authentication-Information + kmo-dea KMO DEA + kmo-tdea-128 KMO TDEA-128 + kmo-tdea-192 KMO TDEA-192 + kmo-edea KMO Encrypted-DEA + kmo-etdea-128 KMO Encrypted-TDEA-128 + kmo-etdea-192 KMO Encrypted-TDEA-192 + kmo-aes-128 KMO AES-128 + kmo-aes-192 KMO AES-192 + kmo-aes-256 KMO AES-256 + kmo-eaes-128 KMO Encrypted-AES-128 + kmo-eaes-192 KMO Encrypted-AES-192 + kmo-eaes-256 KMO Encrypted-AES-256 + kmo-qai KMO Query-Authentication-Information + pcc-cmac-dea PCC Compute-Last-Block-CMAC-Using-DEA + pcc-cmac-tdea-128 PCC Compute-Last-Block-CMAC-Using-TDEA-128 + pcc-cmac-tdea-192 PCC Compute-Last-Block-CMAC-Using-TDEA-192 + pcc-cmac-edea PCC Compute-Last-Block-CMAC-Using-Encrypted-DEA + pcc-cmac-etdea-128 PCC Compute-Last-Block-CMAC-Using-Encrypted-TDEA-128 + pcc-cmac-etdea-192 PCC Compute-Last-Block-CMAC-Using-EncryptedTDEA-192 + pcc-cmac-aes-128 PCC Compute-Last-Block-CMAC-Using-AES-128 + pcc-cmac-aes-192 PCC Compute-Last-Block-CMAC-Using-AES-192 + pcc-cmac-aes-256 PCC Compute-Last-Block-CMAC-Using-AES-256 + pcc-cmac-eaes-128 PCC Compute-Last-Block-CMAC-Using-Encrypted-AES-128 + pcc-cmac-eaes-192 PCC Compute-Last-Block-CMAC-Using-Encrypted-AES-192 + pcc-cmac-eaes-256 PCC Compute-Last-Block-CMAC-Using-Encrypted-AES-256 + pcc-xts-aes-128 PCC Compute-XTS-Parameter-Using-AES-128 + pcc-xts-aes-256 PCC Compute-XTS-Parameter-Using-AES-256 + pcc-xts-eaes-128 PCC Compute-XTS-Parameter-Using-Encrypted-AES-128 + pcc-xts-eaes-256 PCC Compute-XTS-Parameter-Using-Encrypted-AES-256 + pcc-scalar-mult-p256 PCC Scalar-Multiply-P256 + pcc-scalar-mult-p384 PCC Scalar-Multiply-P384 + pcc-scalar-mult-p521 PCC Scalar-Multiply-P521 + pcc-scalar-mult-ed25519 PCC Scalar-Multiply-Ed25519 + pcc-scalar-mult-ed448 PCC Scalar-Multiply-Ed448 + pcc-scalar-mult-x25519 PCC Scalar-Multiply-X25519 + pcc-scalar-mult-x448 PCC Scalar-Multiply-X448 + pcc-qai PCC Query-Authentication-Information + ppno-sha-512-drng PPNO SHA-512-DRNG + prno-trng-qrtcr PRNO TRNG-Query-Raw-to-Conditioned-Ratio + prno-trng PRNO TRNG + prno-qai PRNO Query-Authentication-Information + kma-gcm-aes-128 KMA GCM-AES-128 + kma-gcm-aes-192 KMA GCM-AES-192 + kma-gcm-aes-256 KMA GCM-AES-256 + kma-gcm-eaes-128 KMA GCM-Encrypted-AES-128 + kma-gcm-eaes-192 KMA GCM-Encrypted-AES-192 + kma-gcm-eaes-256 KMA GCM-Encrypted-AES-256 + kma-qai KMA Query-Authentication-Information + kdsa-ecdsa-verify-p256 KDSA ECDSA-Verify-P256 + kdsa-ecdsa-verify-p384 KDSA ECDSA-Verify-P384 + kdsa-ecdsa-verify-p521 KDSA ECDSA-Verify-P521 + kdsa-ecdsa-sign-p256 KDSA ECDSA-Sign-P256 + kdsa-ecdsa-sign-p384 KDSA ECDSA-Sign-P384 + kdsa-ecdsa-sign-p521 KDSA ECDSA-Sign-P521 + kdsa-eecdsa-sign-p256 KDSA Encrypted-ECDSA-Sign-P256 + kdsa-eecdsa-sign-p384 KDSA Encrypted-ECDSA-Sign-P384 + kdsa-eecdsa-sign-p521 KDSA Encrypted-ECDSA-Sign-P521 + kdsa-eddsa-verify-ed25519 KDSA EdDSA-Verify-Ed25519 + kdsa-eddsa-verify-ed448 KDSA EdDSA-Verify-Ed448 + kdsa-eddsa-sign-ed25519 KDSA EdDSA-Sign-Ed25519 + kdsa-eddsa-sign-ed448 KDSA EdDSA-Sign-Ed448 + kdsa-eeddsa-sign-ed25519 KDSA Encrypted-EdDSA-Sign-Ed25519 + kdsa-eeddsa-sign-ed448 KDSA Encrypted-EdDSA-Sign-Ed448 + kdsa-qai KDSA Query-Authentication-Information + sortl-sflr SORTL SFLR + sortl-svlr SORTL SVLR + sortl-32 SORTL 32 input lists + sortl-128 SORTL 128 input lists + sortl-f0 SORTL format 0 parameter-block + dfltcc-gdht DFLTCC GDHT + dfltcc-cmpr DFLTCC CMPR + dfltcc-xpnd DFLTCC XPND + dfltcc-f0 DFLTCC format 0 parameter-block + appv AP instructions installed for secure guests + appvi AP instructions interruption support for secure gue= sts + pfcr-qaf PFCR Query-Available-Functions + pfcr-csdst PFCR Compare-and-Swap-and-Double-Store (32) + pfcr-csdstg PFCR Compare-and-Swap-and-Double-Store (64) + pfcr-cstst PFCR Compare-and-Swap-and-Triple-Store (32) + pfcr-cststg PFCR Compare-and-Swap-and-Triple-Store (64) + +Recognized feature groups: + plo Perform-locked-operation facility + plo_ext PLO-extension facility + tods Tod-clock-steering facility + gen13ptff PTFF enhancements introduced with z13 + gen17ptff PTFF enhancements introduced with gen17 + msa Message-security-assist facility + msa1 Message-security-assist-extension 1 facility + msa2 Message-security-assist-extension 2 facility + msa3 Message-security-assist-extension 3 facility + msa4 Message-security-assist-extension 4 facility + msa5 Message-security-assist-extension 5 facility + msa6 Message-security-assist-extension 6 facility + msa7 Message-security-assist-extension 7 facility + msa8 Message-security-assist-extension 8 facility + msa9 Message-security-assist-extension 9 facility + msa9_pckmo Message-security-assist-extension 9 PCKMO subfuncti= ons + msa10 Message-security-assist-extension 10 facility + msa10_pckmo Message-security-assist-extension 10 PCKMO subfunct= ions + msa11 Message-security-assist-extension 11 facility + msa11_pckmo Message-security-assist-extension 11 PCKMO subfunct= ions + msa12 Message-security-assist-extension 12 facility + msa13 Message-security-assist-extension 13 facility + msa13_pckmo Message-security-assist-extension 13 PCKMO subfunct= ions + mepochptff PTFF enhancements introduced with Multiple-epoch fa= cility + esort Enhanced-sort facility + deflate Deflate-conversion facility + ccf Concurrent-functions facility diff --git a/cmdline_ref/qemu-system-s390x.device_help b/cmdline_ref/qemu-s= ystem-s390x.device_help new file mode 100644 index 00000000000..41c3ee5fbf7 --- /dev/null +++ b/cmdline_ref/qemu-system-s390x.device_help @@ -0,0 +1,257 @@ +Controller/Bridge/Hub devices: +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus + +USB devices: +name "qemu-xhci", bus PCI + +Storage devices: +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-ccw", bus virtual-css-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-ccw", bus virtual-css-bus +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-ccw", bus virtual-css-bus, alias "virtio-9p" +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-ccw", bus virtual-css-bus, alias "virtio-blk" +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-ccw", bus virtual-css-bus, alias "virtio-scsi" +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI + +Network devices: +name "e1000e", bus PCI, desc "Intel 82574L GbE Controller" +name "igb", bus PCI, desc "Intel 82576 Gigabit Ethernet Controller" +name "usb-net", bus usb-bus +name "virtio-net-ccw", bus virtual-css-bus, alias "virtio-net" +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "sclpconsole", bus s390-sclp-events-bus +name "sclplmconsole", bus s390-sclp-events-bus +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI +name "virtio-keyboard-ccw", bus virtual-css-bus, alias "virtio-keyboard" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI +name "virtio-mouse-ccw", bus virtual-css-bus, alias "virtio-mouse" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-ccw", bus virtual-css-bus, alias "virtio-serial" +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-ccw", bus virtual-css-bus, alias "virtio-tablet" +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "virtio-gpu-ccw", bus virtual-css-bus, alias "virtio-gpu" +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI +name "virtio-gpu-pci", bus PCI +name "x-terminal3270", bus virtual-css-bus + +Sound devices: +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, desc "Virtio Sound" + +Misc devices: +name "loader", desc "Generic Loader" +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-ap", bus ap-bus, desc "VFIO-based AP device assignment" +name "vfio-ccw", bus virtual-css-bus, desc "VFIO-based subchannel assignme= nt" +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-ccw", bus virtual-css-bus +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-ccw", bus virtual-css-bus, alias "virtio-balloon" +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-ccw", bus virtual-css-bus +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI +name "virtio-mem", bus virtio-bus +name "virtio-mem-ccw", bus virtual-css-bus +name "virtio-mem-pci", bus PCI +name "virtio-rng-ccw", bus virtual-css-bus, alias "virtio-rng" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI +name "zpci", bus s390-pcibus, desc "zpci device" + +CPU devices: +name "gen15a-base-s390x-cpu" +name "gen15a-s390x-cpu" +name "gen15b-base-s390x-cpu" +name "gen15b-s390x-cpu" +name "gen16a-base-s390x-cpu" +name "gen16a-s390x-cpu" +name "gen16b-base-s390x-cpu" +name "gen16b-s390x-cpu" +name "gen17a-base-s390x-cpu" +name "gen17a-s390x-cpu" +name "gen17b-base-s390x-cpu" +name "gen17b-s390x-cpu" +name "max-s390x-cpu" +name "qemu-s390x-cpu" +name "z10BC-base-s390x-cpu" +name "z10BC-s390x-cpu" +name "z10BC.2-base-s390x-cpu" +name "z10BC.2-s390x-cpu" +name "z10EC-base-s390x-cpu" +name "z10EC-s390x-cpu" +name "z10EC.2-base-s390x-cpu" +name "z10EC.2-s390x-cpu" +name "z10EC.3-base-s390x-cpu" +name "z10EC.3-s390x-cpu" +name "z114-base-s390x-cpu" +name "z114-s390x-cpu" +name "z13-base-s390x-cpu" +name "z13-s390x-cpu" +name "z13.2-base-s390x-cpu" +name "z13.2-s390x-cpu" +name "z13s-base-s390x-cpu" +name "z13s-s390x-cpu" +name "z14-base-s390x-cpu" +name "z14-s390x-cpu" +name "z14.2-base-s390x-cpu" +name "z14.2-s390x-cpu" +name "z14ZR1-base-s390x-cpu" +name "z14ZR1-s390x-cpu" +name "z196-base-s390x-cpu" +name "z196-s390x-cpu" +name "z196.2-base-s390x-cpu" +name "z196.2-s390x-cpu" +name "z800-base-s390x-cpu" +name "z800-s390x-cpu" +name "z890-base-s390x-cpu" +name "z890-s390x-cpu" +name "z890.2-base-s390x-cpu" +name "z890.2-s390x-cpu" +name "z890.3-base-s390x-cpu" +name "z890.3-s390x-cpu" +name "z900-base-s390x-cpu" +name "z900-s390x-cpu" +name "z900.2-base-s390x-cpu" +name "z900.2-s390x-cpu" +name "z900.3-base-s390x-cpu" +name "z900.3-s390x-cpu" +name "z990-base-s390x-cpu" +name "z990-s390x-cpu" +name "z990.2-base-s390x-cpu" +name "z990.2-s390x-cpu" +name "z990.3-base-s390x-cpu" +name "z990.3-s390x-cpu" +name "z990.4-base-s390x-cpu" +name "z990.4-s390x-cpu" +name "z990.5-base-s390x-cpu" +name "z990.5-s390x-cpu" +name "z9BC-base-s390x-cpu" +name "z9BC-s390x-cpu" +name "z9BC.2-base-s390x-cpu" +name "z9BC.2-s390x-cpu" +name "z9EC-base-s390x-cpu" +name "z9EC-s390x-cpu" +name "z9EC.2-base-s390x-cpu" +name "z9EC.2-s390x-cpu" +name "z9EC.3-base-s390x-cpu" +name "z9EC.3-s390x-cpu" +name "zBC12-base-s390x-cpu" +name "zBC12-s390x-cpu" +name "zEC12-base-s390x-cpu" +name "zEC12-s390x-cpu" +name "zEC12.2-base-s390x-cpu" +name "zEC12.2-s390x-cpu" + +Watchdog devices: +name "diag288", desc "diag288 device for s390x platform" diff --git a/cmdline_ref/qemu-system-s390x.help b/cmdline_ref/qemu-system-s= 390x.help new file mode 100644 index 00000000000..63f6678402a --- /dev/null +++ b/cmdline_ref/qemu-system-s390x.help @@ -0,0 +1,556 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-enable-kvm enable KVM full virtualization support +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-s390x.machine_help b/cmdline_ref/qemu-= system-s390x.machine_help new file mode 100644 index 00000000000..deb19d4dbff --- /dev/null +++ b/cmdline_ref/qemu-system-s390x.machine_help @@ -0,0 +1,21 @@ +Supported machines are: +none empty machine +s390-ccw-virtio-10.0 Virtual s390x machine (version 10.0) +s390-ccw-virtio-10.1 Virtual s390x machine (version 10.1) +s390-ccw-virtio-10.2 Virtual s390x machine (version 10.2) +s390-ccw-virtio-11.0 Virtual s390x machine (version 11.0) +s390-ccw-virtio-11.1 Virtual s390x machine (version 11.1) +s390-ccw-virtio Virtual s390x machine (version 11.2) (alias of s390-c= cw-virtio-11.2) +s390-ccw-virtio-11.2 Virtual s390x machine (version 11.2) (default) +s390-ccw-virtio-6.0 Virtual s390x machine (version 6.0) (deprecated) +s390-ccw-virtio-6.1 Virtual s390x machine (version 6.1) (deprecated) +s390-ccw-virtio-6.2 Virtual s390x machine (version 6.2) (deprecated) +s390-ccw-virtio-7.0 Virtual s390x machine (version 7.0) (deprecated) +s390-ccw-virtio-7.1 Virtual s390x machine (version 7.1) (deprecated) +s390-ccw-virtio-7.2 Virtual s390x machine (version 7.2) (deprecated) +s390-ccw-virtio-8.0 Virtual s390x machine (version 8.0) (deprecated) +s390-ccw-virtio-8.1 Virtual s390x machine (version 8.1) (deprecated) +s390-ccw-virtio-8.2 Virtual s390x machine (version 8.2) (deprecated) +s390-ccw-virtio-9.0 Virtual s390x machine (version 9.0) +s390-ccw-virtio-9.1 Virtual s390x machine (version 9.1) +s390-ccw-virtio-9.2 Virtual s390x machine (version 9.2) diff --git a/cmdline_ref/qemu-system-sh4.cpu_help b/cmdline_ref/qemu-system= -sh4.cpu_help new file mode 100644 index 00000000000..723cc692fba --- /dev/null +++ b/cmdline_ref/qemu-system-sh4.cpu_help @@ -0,0 +1,4 @@ +Available CPUs: + sh7750r + sh7751r + sh7785 diff --git a/cmdline_ref/qemu-system-sh4.device_help b/cmdline_ref/qemu-sys= tem-sh4.device_help new file mode 100644 index 00000000000..b7592a3c0e0 --- /dev/null +++ b/cmdline_ref/qemu-system-sh4.device_help @@ -0,0 +1,240 @@ +Controller/Bridge/Hub devices: +name "i82378", bus PCI +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "pvscsi", bus PCI +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "ne2k_isa", bus ISA +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "isa-parallel", bus ISA +name "isa-serial", bus ISA +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "secondary-vga", bus PCI +name "sm501", bus PCI, desc "SM501 Display Controller" +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "adlib", bus ISA, desc "Yamaha YM3812 (OPL2)" +name "cs4231a", bus ISA, desc "Crystal Semiconductor CS4231A" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "gus", bus ISA, desc "Gravis Ultrasound GF1" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "sb16", bus ISA, desc "Creative Sound Blaster 16" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "i2c-ddc", bus i2c-bus +name "i2c-echo", bus i2c-bus +name "i82374", bus ISA, desc "Intel 82374 DMA controller" +name "iommu-testdev", bus PCI, desc "A test device for IOMMU" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "mc146818rtc", bus ISA +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pc-testdev", bus ISA +name "pci-testdev", bus PCI, desc "PCI Test Device" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" +name "ib700", bus ISA, desc "iBASE 700" + +Uncategorized devices: +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-sh4.help b/cmdline_ref/qemu-system-sh4= .help new file mode 100644 index 00000000000..e3736b1680c --- /dev/null +++ b/cmdline_ref/qemu-system-sh4.help @@ -0,0 +1,555 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-sh4.machine_help b/cmdline_ref/qemu-sy= stem-sh4.machine_help new file mode 100644 index 00000000000..e153e0cbfce --- /dev/null +++ b/cmdline_ref/qemu-system-sh4.machine_help @@ -0,0 +1,3 @@ +Supported machines are: +none empty machine +r2d r2d-plus board diff --git a/cmdline_ref/qemu-system-sh4eb.cpu_help b/cmdline_ref/qemu-syst= em-sh4eb.cpu_help new file mode 100644 index 00000000000..723cc692fba --- /dev/null +++ b/cmdline_ref/qemu-system-sh4eb.cpu_help @@ -0,0 +1,4 @@ +Available CPUs: + sh7750r + sh7751r + sh7785 diff --git a/cmdline_ref/qemu-system-sh4eb.device_help b/cmdline_ref/qemu-s= ystem-sh4eb.device_help new file mode 100644 index 00000000000..b7592a3c0e0 --- /dev/null +++ b/cmdline_ref/qemu-system-sh4eb.device_help @@ -0,0 +1,240 @@ +Controller/Bridge/Hub devices: +name "i82378", bus PCI +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "pvscsi", bus PCI +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "ne2k_isa", bus ISA +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "isa-parallel", bus ISA +name "isa-serial", bus ISA +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "secondary-vga", bus PCI +name "sm501", bus PCI, desc "SM501 Display Controller" +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "adlib", bus ISA, desc "Yamaha YM3812 (OPL2)" +name "cs4231a", bus ISA, desc "Crystal Semiconductor CS4231A" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "gus", bus ISA, desc "Gravis Ultrasound GF1" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "sb16", bus ISA, desc "Creative Sound Blaster 16" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "i2c-ddc", bus i2c-bus +name "i2c-echo", bus i2c-bus +name "i82374", bus ISA, desc "Intel 82374 DMA controller" +name "iommu-testdev", bus PCI, desc "A test device for IOMMU" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "mc146818rtc", bus ISA +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pc-testdev", bus ISA +name "pci-testdev", bus PCI, desc "PCI Test Device" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" +name "ib700", bus ISA, desc "iBASE 700" + +Uncategorized devices: +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-sh4eb.help b/cmdline_ref/qemu-system-s= h4eb.help new file mode 100644 index 00000000000..e3736b1680c --- /dev/null +++ b/cmdline_ref/qemu-system-sh4eb.help @@ -0,0 +1,555 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-sh4eb.machine_help b/cmdline_ref/qemu-= system-sh4eb.machine_help new file mode 100644 index 00000000000..e153e0cbfce --- /dev/null +++ b/cmdline_ref/qemu-system-sh4eb.machine_help @@ -0,0 +1,3 @@ +Supported machines are: +none empty machine +r2d r2d-plus board diff --git a/cmdline_ref/qemu-system-sparc.cpu_help b/cmdline_ref/qemu-syst= em-sparc.cpu_help new file mode 100644 index 00000000000..fac5d95210b --- /dev/null +++ b/cmdline_ref/qemu-system-sparc.cpu_help @@ -0,0 +1,17 @@ +Available CPU types: + Fujitsu-MB86904 (IU 04000000 FPU 00080000 MMU 04000000 NWINS 8) + Fujitsu-MB86907 (IU 05000000 FPU 00080000 MMU 05000000 NWINS 8) + TI-MicroSparc-I (IU 41000000 FPU 00080000 MMU 41000000 NWINS 7) -fsm= uld + TI-MicroSparc-II (IU 42000000 FPU 00080000 MMU 02000000 NWINS 8) + TI-MicroSparc-IIep (IU 42000000 FPU 00080000 MMU 04000000 NWINS 8) + TI-SuperSparc-40 (IU 41000000 FPU 00000000 MMU 00000800 NWINS 8) + TI-SuperSparc-50 (IU 40000000 FPU 00000000 MMU 01000800 NWINS 8) + TI-SuperSparc-51 (IU 40000000 FPU 00000000 MMU 01000000 NWINS 8) + TI-SuperSparc-60 (IU 40000000 FPU 00000000 MMU 01000800 NWINS 8) + TI-SuperSparc-61 (IU 44000000 FPU 00000000 MMU 01000000 NWINS 8) + TI-SuperSparc-II (IU 40000000 FPU 00000000 MMU 08000000 NWINS 8) + LEON2 (IU f2000000 FPU 00080000 MMU f2000000 NWINS 8) + LEON3 (IU f3000000 FPU 00080000 MMU f3000000 NWINS 8) +Default CPU feature flags (use '-' to remove): mul div fsmuld +Available CPU feature flags (use '+' to add): float128 +Numerical features (use '=3D' to set): iu_version fpu_version mmu_version = nwindows diff --git a/cmdline_ref/qemu-system-sparc.device_help b/cmdline_ref/qemu-s= ystem-sparc.device_help new file mode 100644 index 00000000000..871e39f7bf5 --- /dev/null +++ b/cmdline_ref/qemu-system-sparc.device_help @@ -0,0 +1,12 @@ + +Storage devices: +name "floppy", bus floppy-bus, desc "virtual floppy drive" +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" + +Misc devices: +name "loader", desc "Generic Loader" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System diff --git a/cmdline_ref/qemu-system-sparc.help b/cmdline_ref/qemu-system-s= parc.help new file mode 100644 index 00000000000..934b139f4d1 --- /dev/null +++ b/cmdline_ref/qemu-system-sparc.help @@ -0,0 +1,558 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-g WxH[xDEPTH] Set the initial graphical resolution and depth +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-prom-env variable=3Dvalue + set OpenBIOS nvram variables +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-sparc.machine_help b/cmdline_ref/qemu-= system-sparc.machine_help new file mode 100644 index 00000000000..3a3721ced81 --- /dev/null +++ b/cmdline_ref/qemu-system-sparc.machine_help @@ -0,0 +1,12 @@ +Supported machines are: +LX Sun4m platform, SPARCstation LX +SPARCClassic Sun4m platform, SPARCClassic +SPARCbook Sun4m platform, SPARCbook +SS-10 Sun4m platform, SPARCstation 10 +SS-20 Sun4m platform, SPARCstation 20 +SS-4 Sun4m platform, SPARCstation 4 +SS-5 Sun4m platform, SPARCstation 5 (default) +SS-600MP Sun4m platform, SPARCserver 600MP +Voyager Sun4m platform, SPARCstation Voyager +leon3_generic Leon-3 generic +none empty machine diff --git a/cmdline_ref/qemu-system-sparc64.cpu_help b/cmdline_ref/qemu-sy= stem-sparc64.cpu_help new file mode 100644 index 00000000000..fa3179dbcd1 --- /dev/null +++ b/cmdline_ref/qemu-system-sparc64.cpu_help @@ -0,0 +1,21 @@ +Available CPU types: + Fujitsu-Sparc64 (IU 0004000200000000 FPU 00000000 MMU 00000000 NWINS= 4) + Fujitsu-Sparc64-III (IU 0004000300000000 FPU 00000000 MMU 00000000 NWINS= 5) + Fujitsu-Sparc64-IV (IU 0004000400000000 FPU 00000000 MMU 00000000 NWINS= 8) + Fujitsu-Sparc64-V (IU 0004000551000000 FPU 00000000 MMU 00000000 NWINS= 8) + TI-UltraSparc-I (IU 0017001040000000 FPU 00000000 MMU 00000000 NWINS= 8) + TI-UltraSparc-II (IU 0017001120000000 FPU 00000000 MMU 00000000 NWINS= 8) + TI-UltraSparc-IIi (IU 0017001291000000 FPU 00000000 MMU 00000000 NWINS= 8) + TI-UltraSparc-IIe (IU 0017001314000000 FPU 00000000 MMU 00000000 NWINS= 8) + Sun-UltraSparc-III (IU 003e001434000000 FPU 00000000 MMU 00000000 NWINS= 8) + Sun-UltraSparc-III-Cu (IU 003e001541000000 FPU 00000000 MMU 00000001 NWIN= S 8) + Sun-UltraSparc-IIIi (IU 003e001634000000 FPU 00000000 MMU 00000000 NWINS= 8) + Sun-UltraSparc-IV (IU 003e001831000000 FPU 00000000 MMU 00000002 NWINS= 8) + Sun-UltraSparc-IV-plus (IU 003e001922000000 FPU 00000000 MMU 00000000 NWI= NS 8) +cmt + Sun-UltraSparc-IIIi-plus (IU 003e002200000000 FPU 00000000 MMU 00000001 N= WINS 8) + Sun-UltraSparc-T1 (IU 003e002302000000 FPU 00000000 MMU 00000003 NWINS= 8) +hypv +cmt +gl + Sun-UltraSparc-T2 (IU 003e002402000000 FPU 00000000 MMU 00000003 NWINS= 8) +hypv +cmt +gl + NEC-UltraSparc-I (IU 0022001040000000 FPU 00000000 MMU 00000000 NWINS= 8) +Default CPU feature flags (use '-' to remove): vis1 vis2 +Available CPU feature flags (use '+' to add): float128 hypv cmt gl fmaf vi= s3 ima vis4 +Numerical features (use '=3D' to set): iu_version fpu_version mmu_version = nwindows diff --git a/cmdline_ref/qemu-system-sparc64.device_help b/cmdline_ref/qemu= -system-sparc64.device_help new file mode 100644 index 00000000000..6ca3aff8758 --- /dev/null +++ b/cmdline_ref/qemu-system-sparc64.device_help @@ -0,0 +1,244 @@ +Controller/Bridge/Hub devices: +name "pbm-bridge", bus PCI +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "cmd646-ide", bus PCI +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "floppy", bus floppy-bus, desc "virtual floppy drive" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "isa-fdc", bus ISA, desc "virtual floppy controller" +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "pvscsi", bus PCI +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "ne2k_isa", bus ISA +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rtl8139", bus PCI +name "sunhme", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "i8042", bus ISA +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "isa-parallel", bus ISA +name "isa-serial", bus ISA +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "secondary-vga", bus PCI +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "adlib", bus ISA, desc "Yamaha YM3812 (OPL2)" +name "cs4231a", bus ISA, desc "Crystal Semiconductor CS4231A" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "gus", bus ISA, desc "Gravis Ultrasound GF1" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "sb16", bus ISA, desc "Creative Sound Blaster 16" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "i2c-ddc", bus i2c-bus +name "i2c-echo", bus i2c-bus +name "iommu-testdev", bus PCI, desc "A test device for IOMMU" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pc-testdev", bus ISA +name "pci-testdev", bus PCI, desc "PCI Test Device" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" +name "ib700", bus ISA, desc "iBASE 700" + +Uncategorized devices: +name "ebus", bus PCI +name "isa-m48t59", bus ISA +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-sparc64.help b/cmdline_ref/qemu-system= -sparc64.help new file mode 100644 index 00000000000..934b139f4d1 --- /dev/null +++ b/cmdline_ref/qemu-system-sparc64.help @@ -0,0 +1,558 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-g WxH[xDEPTH] Set the initial graphical resolution and depth +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-prom-env variable=3Dvalue + set OpenBIOS nvram variables +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-sparc64.machine_help b/cmdline_ref/qem= u-system-sparc64.machine_help new file mode 100644 index 00000000000..277fcb7db94 --- /dev/null +++ b/cmdline_ref/qemu-system-sparc64.machine_help @@ -0,0 +1,5 @@ +Supported machines are: +niagara Sun4v platform, Niagara +none empty machine +sun4u Sun4u platform (default) +sun4v Sun4v platform diff --git a/cmdline_ref/qemu-system-tricore.cpu_help b/cmdline_ref/qemu-sy= stem-tricore.cpu_help new file mode 100644 index 00000000000..6fab41c90f0 --- /dev/null +++ b/cmdline_ref/qemu-system-tricore.cpu_help @@ -0,0 +1,5 @@ +Available CPUs: + tc1796 + tc1797 + tc27x + tc37x diff --git a/cmdline_ref/qemu-system-tricore.device_help b/cmdline_ref/qemu= -system-tricore.device_help new file mode 100644 index 00000000000..1d872820a73 --- /dev/null +++ b/cmdline_ref/qemu-system-tricore.device_help @@ -0,0 +1,5 @@ + +Misc devices: +name "loader", desc "Generic Loader" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System diff --git a/cmdline_ref/qemu-system-tricore.help b/cmdline_ref/qemu-system= -tricore.help new file mode 100644 index 00000000000..e3736b1680c --- /dev/null +++ b/cmdline_ref/qemu-system-tricore.help @@ -0,0 +1,555 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-tricore.machine_help b/cmdline_ref/qem= u-system-tricore.machine_help new file mode 100644 index 00000000000..39837d2dd2c --- /dev/null +++ b/cmdline_ref/qemu-system-tricore.machine_help @@ -0,0 +1,4 @@ +Supported machines are: +KIT_AURIX_TC277_TRB Infineon AURIX TriBoard TC277 (D-Step) +none empty machine +tricore_testboard a minimal TriCore board diff --git a/cmdline_ref/qemu-system-x86_64.cpu_help b/cmdline_ref/qemu-sys= tem-x86_64.cpu_help new file mode 100644 index 00000000000..dec4823ad4c --- /dev/null +++ b/cmdline_ref/qemu-system-x86_64.cpu_help @@ -0,0 +1,259 @@ +Available CPUs: + 486 (alias configured by machine type) + 486-v1 + Broadwell (alias configured by machine type) + Broadwell-IBRS (alias of Broadwell-v3) + Broadwell-noTSX (alias of Broadwell-v2) + Broadwell-noTSX-IBRS (alias of Broadwell-v4) + Broadwell-v1 Intel Core Processor (Broadwell) + Broadwell-v2 Intel Core Processor (Broadwell, no TSX) + Broadwell-v3 Intel Core Processor (Broadwell, IBRS) + Broadwell-v4 Intel Core Processor (Broadwell, no TSX, IBRS) + Cascadelake-Server (alias configured by machine type) + Cascadelake-Server-noTSX (alias of Cascadelake-Server-v3) + Cascadelake-Server-v1 Intel Xeon Processor (Cascadelake) + Cascadelake-Server-v2 Intel Xeon Processor (Cascadelake) [ARCH_CAPABILI= TIES] + Cascadelake-Server-v3 Intel Xeon Processor (Cascadelake) [ARCH_CAPABILI= TIES, no TSX] + Cascadelake-Server-v4 Intel Xeon Processor (Cascadelake) [ARCH_CAPABILI= TIES, EPT switching, no TSX] + Cascadelake-Server-v5 Intel Xeon Processor (Cascadelake) [ARCH_CAPABILI= TIES, EPT switching, XSAVES, no TSX] + Cascadelake-Server-v6 Intel Xeon Processor (Cascadelake) [with MMIO/GDS= /RFDS mitigation status] + Cascadelake-Server-v7 Intel Xeon Processor (Cascadelake) [with MBEC ena= bled] + ClearwaterForest (alias configured by machine type) + ClearwaterForest-v1 Intel Xeon Processor (ClearwaterForest) + ClearwaterForest-v2 Intel Xeon Processor (ClearwaterForest) [with cet-= ss and cet-ibt] + ClearwaterForest-v3 Intel Xeon Processor (ClearwaterForest) [with its-= no, cwf-ap cache model and 0x1f leaf] + ClearwaterForest-v4 Intel Xeon Processor (ClearwaterForest) [with MBEC= enabled] + Conroe (alias configured by machine type) + Conroe-v1 Intel Celeron_4x0 (Conroe/Merom Class Core 2) + Cooperlake (alias configured by machine type) + Cooperlake-v1 Intel Xeon Processor (Cooperlake) + Cooperlake-v2 Intel Xeon Processor (Cooperlake) [XSAVES] + Denverton (alias configured by machine type) + Denverton-v1 Intel Atom Processor (Denverton) + Denverton-v2 Intel Atom Processor (Denverton) [no MPX, no MONIT= OR] + Denverton-v3 Intel Atom Processor (Denverton) [XSAVES, no MPX, = no MONITOR] + Dhyana (alias configured by machine type) + Dhyana-v1 Hygon Dhyana Processor + Dhyana-v2 Hygon Dhyana Processor [XSAVES] + DiamondRapids (alias configured by machine type) + DiamondRapids-v1 Intel Xeon Processor (DiamondRapids) + DiamondRapids-v2 Intel Xeon Processor (DiamondRapids) [with MBEC en= abled] + EPYC (alias configured by machine type) + EPYC-Genoa (alias configured by machine type) + EPYC-Genoa-v1 AMD EPYC-Genoa Processor + EPYC-Genoa-v2 AMD EPYC-Genoa-v2 Processor + EPYC-Genoa-v3 AMD EPYC-Genoa-v3 Processor + EPYC-IBPB (alias of EPYC-v2) + EPYC-Milan (alias configured by machine type) + EPYC-Milan-v1 AMD EPYC-Milan Processor + EPYC-Milan-v2 AMD EPYC-Milan-v2 Processor + EPYC-Milan-v3 AMD EPYC-Milan-v3 Processor + EPYC-Milan-v4 AMD EPYC-Milan-v4 Processor + EPYC-Rome (alias configured by machine type) + EPYC-Rome-v1 AMD EPYC-Rome Processor + EPYC-Rome-v2 AMD EPYC-Rome Processor + EPYC-Rome-v3 AMD EPYC-Rome-v3 Processor + EPYC-Rome-v4 AMD EPYC-Rome-v4 Processor (no XSAVES) + EPYC-Rome-v5 AMD EPYC-Rome-v5 Processor + EPYC-Turin (alias configured by machine type) + EPYC-Turin-v1 AMD EPYC-Turin Processor + EPYC-Turin-v2 AMD EPYC-Turin-v2 Processor + EPYC-v1 AMD EPYC Processor + EPYC-v2 AMD EPYC Processor (with IBPB) + EPYC-v3 AMD EPYC Processor + EPYC-v4 AMD EPYC-v4 Processor + EPYC-v5 AMD EPYC-v5 Processor + GraniteRapids (alias configured by machine type) + GraniteRapids-v1 Intel Xeon Processor (GraniteRapids) + GraniteRapids-v2 Intel Xeon Processor (GraniteRapids) + GraniteRapids-v3 Intel Xeon Processor (GraniteRapids) [with gnr-sp = cache model and 0x1f leaf] + GraniteRapids-v4 Intel Xeon Processor (GraniteRapids) [with cet-ss = and cet-ibt] + GraniteRapids-v5 Intel Xeon Processor (GraniteRapids) [with its-no] + GraniteRapids-v6 Intel Xeon Processor (GraniteRapids) [with GDS and= RFDS mitigation status] + GraniteRapids-v7 Intel Xeon Processor (GraniteRapids) [with MBEC en= abled] + Haswell (alias configured by machine type) + Haswell-IBRS (alias of Haswell-v3) + Haswell-noTSX (alias of Haswell-v2) + Haswell-noTSX-IBRS (alias of Haswell-v4) + Haswell-v1 Intel Core Processor (Haswell) + Haswell-v2 Intel Core Processor (Haswell, no TSX) + Haswell-v3 Intel Core Processor (Haswell, IBRS) + Haswell-v4 Intel Core Processor (Haswell, no TSX, IBRS) + Icelake-Server (alias configured by machine type) + Icelake-Server-noTSX (alias of Icelake-Server-v2) + Icelake-Server-v1 Intel Xeon Processor (Icelake) + Icelake-Server-v2 Intel Xeon Processor (Icelake) [no TSX] + Icelake-Server-v3 Intel Xeon Processor (Icelake) + Icelake-Server-v4 Intel Xeon Processor (Icelake) + Icelake-Server-v5 Intel Xeon Processor (Icelake) [XSAVES] + Icelake-Server-v6 Intel Xeon Processor (Icelake) [5-level EPT] + Icelake-Server-v7 Intel Xeon Processor (Icelake) [TSX, taa-no] + Icelake-Server-v8 Intel Xeon Processor (Icelake) [with MMIO/GDS/RFDS= mitigation status] + Icelake-Server-v9 Intel Xeon Processor (Icelake) [with MBEC enabled] + IvyBridge (alias configured by machine type) + IvyBridge-IBRS (alias of IvyBridge-v2) + IvyBridge-v1 Intel Xeon E3-12xx v2 (Ivy Bridge) + IvyBridge-v2 Intel Xeon E3-12xx v2 (Ivy Bridge, IBRS) + KnightsMill (alias configured by machine type) + KnightsMill-v1 Intel Xeon Phi Processor (Knights Mill) + Nehalem (alias configured by machine type) + Nehalem-IBRS (alias of Nehalem-v2) + Nehalem-v1 Intel Core i7 9xx (Nehalem Class Core i7) + Nehalem-v2 Intel Core i7 9xx (Nehalem Core i7, IBRS update) + Opteron_G1 (alias configured by machine type) + Opteron_G1-v1 AMD Opteron 240 (Gen 1 Class Opteron) + Opteron_G2 (alias configured by machine type) + Opteron_G2-v1 AMD Opteron 22xx (Gen 2 Class Opteron) + Opteron_G3 (alias configured by machine type) + Opteron_G3-v1 AMD Opteron 23xx (Gen 3 Class Opteron) + Opteron_G4 (alias configured by machine type) + Opteron_G4-v1 AMD Opteron 62xx class CPU + Opteron_G5 (alias configured by machine type) + Opteron_G5-v1 AMD Opteron 63xx class CPU + Penryn (alias configured by machine type) + Penryn-v1 Intel Core 2 Duo P9xxx (Penryn Class Core 2) + SandyBridge (alias configured by machine type) + SandyBridge-IBRS (alias of SandyBridge-v2) + SandyBridge-v1 Intel Xeon E312xx (Sandy Bridge) + SandyBridge-v2 Intel Xeon E312xx (Sandy Bridge, IBRS update) + SapphireRapids (alias configured by machine type) + SapphireRapids-v1 Intel Xeon Processor (SapphireRapids) + SapphireRapids-v2 Intel Xeon Processor (SapphireRapids) + SapphireRapids-v3 Intel Xeon Processor (SapphireRapids) + SapphireRapids-v4 Intel Xeon Processor (SapphireRapids) [with spr-sp= cache model and 0x1f leaf] + SapphireRapids-v5 Intel Xeon Processor (SapphireRapids) [with cet-ss= and cet-ibt] + SapphireRapids-v6 Intel Xeon Processor (SapphireRapids) [with its-no] + SapphireRapids-v7 Intel Xeon Processor (SapphireRapids) [with GDS an= d RFDS mitigation status] + SapphireRapids-v8 Intel Xeon Processor (SapphireRapids) [with MBEC e= nabled] + SierraForest (alias configured by machine type) + SierraForest-v1 Intel Xeon Processor (SierraForest) + SierraForest-v2 Intel Xeon Processor (SierraForest) + SierraForest-v3 Intel Xeon Processor (SierraForest) [with srf-sp c= ache model and 0x1f leaf] + SierraForest-v4 Intel Xeon Processor (SierraForest) [with cet-ss a= nd cet-ibt] + SierraForest-v5 Intel Xeon Processor (SierraForest) [with its-no] + SierraForest-v6 Intel Xeon Processor (SierraForest) [with MBEC ena= bled] + Skylake-Client (alias configured by machine type) + Skylake-Client-IBRS (alias of Skylake-Client-v2) + Skylake-Client-noTSX-IBRS (alias of Skylake-Client-v3) + Skylake-Client-v1 Intel Core Processor (Skylake) + Skylake-Client-v2 Intel Core Processor (Skylake, IBRS) + Skylake-Client-v3 Intel Core Processor (Skylake, IBRS, no TSX) + Skylake-Client-v4 Intel Core Processor (Skylake, IBRS, no TSX) [IBRS= , XSAVES, no TSX] + Skylake-Server (alias configured by machine type) + Skylake-Server-IBRS (alias of Skylake-Server-v2) + Skylake-Server-noTSX-IBRS (alias of Skylake-Server-v3) + Skylake-Server-v1 Intel Xeon Processor (Skylake) + Skylake-Server-v2 Intel Xeon Processor (Skylake, IBRS) + Skylake-Server-v3 Intel Xeon Processor (Skylake, IBRS, no TSX) + Skylake-Server-v4 Intel Xeon Processor (Skylake, IBRS, no TSX) [IBRS= , EPT switching, no TSX] + Skylake-Server-v5 Intel Xeon Processor (Skylake, IBRS, no TSX) [IBRS= , XSAVES, EPT switching, no TSX] + Skylake-Server-v6 Intel Xeon Processor (Skylake, IBRS, no TSX) [with= MBEC enabled] + Snowridge (alias configured by machine type) + Snowridge-v1 Intel Atom Processor (SnowRidge) + Snowridge-v2 Intel Atom Processor (Snowridge, no MPX) + Snowridge-v3 Intel Atom Processor (Snowridge, no MPX) [XSAVES, = no MPX] + Snowridge-v4 Intel Atom Processor (Snowridge, no MPX) [no split= lock detect, no core-capability] + Westmere (alias configured by machine type) + Westmere-IBRS (alias of Westmere-v2) + Westmere-v1 Westmere E56xx/L56xx/X56xx (Nehalem-C) + Westmere-v2 Westmere E56xx/L56xx/X56xx (IBRS update) + YongFeng (alias configured by machine type) + YongFeng-v1 Zhaoxin YongFeng Processor + YongFeng-v2 Zhaoxin YongFeng Processor [with the correct model= number] + YongFeng-v3 Zhaoxin YongFeng Processor [with the cache model a= nd 0x1f leaf] + athlon (alias configured by machine type) + athlon-v1 QEMU Virtual CPU version 2.5+ + core2duo (alias configured by machine type) + core2duo-v1 Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz + coreduo (alias configured by machine type) + coreduo-v1 Genuine Intel(R) CPU T2600 @ 2.16GHz + kvm32 (alias configured by machine type) + kvm32-v1 Common 32-bit KVM processor + kvm64 (alias configured by machine type) + kvm64-v1 Common KVM processor + n270 (alias configured by machine type) + n270-v1 Intel(R) Atom(TM) CPU N270 @ 1.60GHz + pentium (alias configured by machine type) + pentium-v1 + pentium2 (alias configured by machine type) + pentium2-v1 + pentium3 (alias configured by machine type) + pentium3-v1 + phenom (alias configured by machine type) + phenom-v1 AMD Phenom(tm) 9550 Quad-Core Processor + qemu32 (alias configured by machine type) + qemu32-v1 QEMU Virtual CPU version 2.5+ + qemu64 (alias configured by machine type) + qemu64-v1 QEMU Virtual CPU version 2.5+ + base base CPU model type with no features enabled + max Enables all features supported by the accelerator = in the current host + +Recognized CPUID flags: + 3dnow 3dnowext 3dnowprefetch abm ace2 ace2-en acpi adx aes amd-no-ssb + amd-psfd amd-ssbd amd-stibp amx-avx512 amx-bf16 amx-bf16-alias + amx-complex amx-complex-alias amx-fp16 amx-fp16-alias amx-fp8 amx-int8 + amx-int8-alias amx-movrs amx-tf32 amx-tile apic apx-nci-ndd-nf apxf arat + arch-capabilities arch-lbr auto-ibrs avic avx avx-ifma avx-ne-convert + avx-vnni avx-vnni-int16 avx-vnni-int8 avx10 avx10-128 avx10-256 avx10-512 + avx10-vnni-int avx2 avx512-4fmaps avx512-4vnniw avx512-bf16 avx512-fp16 + avx512-vp2intersect avx512-vpopcntdq avx512bitalg avx512bw avx512cd + avx512dq avx512er avx512f avx512ifma avx512pf avx512vbmi avx512vbmi2 + avx512vl avx512vnni bhi-ctrl bhi-no bmi1 bmi2 bus-lock-detect cet-ibt + cet-ss cid cldemote clflush clflushopt clwb clzero cmov cmp-legacy + cmpccxadd core-capability cr8legacy cx16 cx8 dca ddpd-u de decodeassists + ds ds-cpl dtes64 eraps erms est extapic f16c fb-clear fbsdp-no + fdp-excptn-only flush-l1d flushbyasid fma fma4 fpu fred fs-gs-base-ns + fsgsbase fsrc fsrm fsrs full-width-write fxsr fxsr-opt fzrm gds-no gfni + gmet hle ht hypervisor ia64 ibpb ibpb-brtype ibrs ibrs-all ibs intel-psfd + intel-pt intel-pt-lip invpcid invtsc ipred-ctrl its-no kvm-asyncpf + kvm-asyncpf-int kvm-asyncpf-vmexit kvm-hint-dedicated kvm-mmu + kvm-msi-ext-dest-id kvm-nopiodelay kvm-poll-control kvm-pv-eoi kvm-pv-ipi + kvm-pv-sched-yield kvm-pv-tlb-flush kvm-pv-unhalt kvm-steal-time kvmclock + kvmclock kvmclock-stable-bit la57 lahf-lm lam lbrv + lfence-always-serializing lkgs lm lwp mca mcdt-no mce md-clear mds-no + misalignsse mmx mmxext monitor movbe movdir64b movdiri movrs mpx msr + msr-imm mtrr no-nested-data-bp nodeid-msr npt nrip-save null-sel-clr-base + nx osvw overflow-recov pae pat pause-filter pbe pbrsb-no pcid pclmulqdq + pcommit pdcm pdpe1gb perfctr-core perfctr-nb perfmon-v2 pfthreshold pge + phe phe-en pks pku pmm pmm-en pn pni popcnt prefetchi prefetchiti + pschange-mc-no psdp-no pse pse36 rdctl-no rdpid rdrand rdseed rdtscp + rfds-clear rfds-no rrsba-ctrl rsba rtm sbdr-ssdp-no sbpb sep serialize + sgx sgx-aex-notify sgx-debug sgx-edeccssa sgx-exinfo sgx-kss sgx-mode64 + sgx-provisionkey sgx-tokenkey sgx1 sgx2 sgxlc sha-ni sha512 skinit + skip-l1dfl-vmentry sm3 sm4 smap smep smx spec-ctrl split-lock-detect + srso-no srso-user-kernel-no ss ssb-no ssbd sse sse2 sse4.1 sse4.2 sse4a + ssse3 stibp stibp-always-on succor svm svm-lock svme-addr-chk syscall + taa-no tbm tce tm tm2 topoext tsa-l1-no tsa-sq-no tsc tsc-adjust + tsc-deadline tsc-scale tsx-ctrl tsx-ldtrk umip v-vmsave-vmload vaes + verw-clear vgif virt-ssbd vmcb-clean vme vmx vmx-activity-hlt + vmx-activity-shutdown vmx-activity-wait-sipi vmx-any-errcode + vmx-apicv-register vmx-apicv-vid vmx-apicv-x2apic vmx-apicv-xapic + vmx-cr3-load-noexit vmx-cr3-store-noexit vmx-cr8-load-exit + vmx-cr8-store-exit vmx-desc-exit vmx-enable-user-wait-pause + vmx-encls-exit vmx-entry-ia32e-mode vmx-entry-load-bndcfgs + vmx-entry-load-cet vmx-entry-load-efer vmx-entry-load-fred + vmx-entry-load-pat vmx-entry-load-perf-global-ctrl vmx-entry-load-pkrs + vmx-entry-load-rtit-ctl vmx-entry-noload-debugctl vmx-ept vmx-ept-1gb + vmx-ept-2mb vmx-ept-advanced-exitinfo vmx-ept-execonly vmx-eptad + vmx-eptp-switching vmx-exit-ack-intr vmx-exit-clear-bndcfgs + vmx-exit-clear-rtit-ctl vmx-exit-load-efer vmx-exit-load-pat + vmx-exit-load-perf-global-ctrl vmx-exit-load-pkrs + vmx-exit-nosave-debugctl vmx-exit-save-cet vmx-exit-save-efer + vmx-exit-save-pat vmx-exit-save-preemption-timer vmx-exit-secondary-ctls + vmx-flexpriority vmx-hlt-exit vmx-ins-outs vmx-intr-exit vmx-invept + vmx-invept-all-context vmx-invept-single-context + vmx-invept-single-context vmx-invept-single-context-noglobals + vmx-invlpg-exit vmx-invpcid-exit vmx-invvpid vmx-invvpid-all-context + vmx-invvpid-single-addr vmx-io-bitmap vmx-io-exit vmx-mbec + vmx-monitor-exit vmx-movdr-exit vmx-msr-bitmap vmx-mtf vmx-mwait-exit + vmx-nested-exception vmx-nmi-exit vmx-page-walk-4 vmx-page-walk-5 + vmx-pause-exit vmx-ple vmx-pml vmx-posted-intr vmx-preemption-timer + vmx-rdpmc-exit vmx-rdrand-exit vmx-rdseed-exit vmx-rdtsc-exit + vmx-rdtscp-exit vmx-secondary-ctls vmx-shadow-vmcs vmx-store-lma + vmx-true-ctls vmx-tsc-offset vmx-tsc-scaling vmx-unrestricted-guest + vmx-vintr-pending vmx-vmfunc vmx-vmwrite-vmexit-fields vmx-vnmi + vmx-vnmi-pending vmx-vpid vmx-wbinvd-exit vmx-xsaves vmx-zero-len-inject + vnmi vpclmulqdq waitpkg wbnoinvd wdt wrmsrns x2apic xcrypt xcrypt-en xfd + xgetbv1 xop xsave xsavec xsaveerptr xsaveopt xsaves xstore xstore-en xtpr + zero-fcs-fds + diff --git a/cmdline_ref/qemu-system-x86_64.device_help b/cmdline_ref/qemu-= system-x86_64.device_help new file mode 100644 index 00000000000..8cf57e82af4 --- /dev/null +++ b/cmdline_ref/qemu-system-x86_64.device_help @@ -0,0 +1,492 @@ +Controller/Bridge/Hub devices: +name "cxl-downstream", bus PCI, desc "CXL Switch Downstream Port" +name "cxl-rp", bus PCI, desc "CXL Root Port" +name "cxl-upstream", bus PCI, desc "CXL Switch Upstream Port" +name "i82801b11-bridge", bus PCI +name "ioh3420", bus PCI, desc "Intel IOH device id 3420 PCIE Root Port" +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "pcie-pci-bridge", bus PCI +name "pcie-root-port", bus PCI, desc "PCI Express Root Port" +name "pxb", bus PCI, desc "PCI Expander Bridge" +name "pxb-cxl", bus PCI, desc "CXL Host Bridge" +name "pxb-pcie", bus PCI, desc "PCI Express Expander Bridge" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus +name "vfio-pci-igd-lpc-bridge", bus PCI, desc "VFIO dummy ISA/LPC bridge f= or IGD assignment" +name "x3130-upstream", bus PCI, desc "TI X3130 Upstream Port of PCI Expres= s Switch" +name "xio3130-downstream", bus PCI, desc "TI X3130 Downstream Port of PCI = Express Switch" + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "cxl-type3", bus PCI, desc "CXL Memory Device (Type 3)" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "floppy", bus floppy-bus, desc "virtual floppy drive" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "isa-fdc", bus ISA, desc "virtual floppy controller" +name "isa-ide", bus ISA +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "nvdimm", desc "DIMM memory module" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "piix3-ide", bus PCI +name "piix4-ide", bus PCI +name "pvscsi", bus PCI +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-pmem", bus virtio-bus +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000e", bus PCI, desc "Intel 82574L GbE Controller" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "igb", bus PCI, desc "Intel 82576 Gigabit Ethernet Controller" +name "ne2k_isa", bus ISA +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rocker", bus PCI, desc "Rocker Switch" +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "i8042", bus ISA +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "isa-parallel", bus ISA +name "isa-serial", bus ISA +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus +name "vmmouse", bus ISA + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "isa-cirrus-vga", bus ISA +name "isa-vga", bus ISA +name "qxl", bus PCI, desc "Spice QXL GPU (secondary)" +name "qxl-vga", bus PCI, desc "Spice QXL GPU (primary, vga compatible)" +name "ramfb", bus System, desc "ram framebuffer standalone device" +name "secondary-vga", bus PCI +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "vhost-user-vga", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" +name "virtio-vga", bus PCI +name "virtio-vga-gl", bus PCI +name "vmware-svga", bus PCI + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "adlib", bus ISA, desc "Yamaha YM3812 (OPL2)" +name "cs4231a", bus ISA, desc "Crystal Semiconductor CS4231A" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "gus", bus ISA, desc "Gravis Ultrasound GF1" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "sb16", bus ISA, desc "Creative Sound Blaster 16" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "acpi-erst", bus PCI, desc "ACPI Error Record Serialization Table (ER= ST) device" +name "amd-iommu", bus System, desc "AMD IOMMU (AMD-Vi) DMA Remapping devic= e" +name "AMDVI-PCI", bus PCI, desc "AMD IOMMU (AMD-Vi) DMA Remapping device" +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "edu", bus PCI +name "guest-loader", desc "Guest Loader" +name "i2c-ddc", bus i2c-bus +name "i2c-echo", bus i2c-bus +name "intel-iommu", bus System, desc "Intel IOMMU (VT-d) DMA Remapping dev= ice" +name "iommu-testdev", bus PCI, desc "A test device for IOMMU" +name "isa-applesmc", bus ISA +name "isa-debug-exit", bus ISA +name "isa-debugcon", bus ISA +name "ivshmem-doorbell", bus PCI, desc "Inter-VM shared memory" +name "ivshmem-plain", bus PCI, desc "Inter-VM shared memory" +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "mc146818rtc", bus ISA +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pc-testdev", bus ISA +name "pci-testdev", bus PCI, desc "PCI Test Device" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic", bus ISA +name "pvpanic-pci", bus PCI +name "smbus-ipmi", bus i2c-bus +name "tpm-crb" +name "tpm-tis", bus ISA +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-mem", bus virtio-bus +name "virtio-mem-pci", bus PCI +name "virtio-pmem-pci", bus PCI +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI +name "vmclock" +name "vmcoreinfo" +name "vmgenid" + +CPU devices: +name "486-v1-x86_64-cpu" +name "486-x86_64-cpu" +name "athlon-v1-x86_64-cpu" +name "athlon-x86_64-cpu" +name "base-x86_64-cpu" +name "Broadwell-IBRS-x86_64-cpu" +name "Broadwell-noTSX-IBRS-x86_64-cpu" +name "Broadwell-noTSX-x86_64-cpu" +name "Broadwell-v1-x86_64-cpu" +name "Broadwell-v2-x86_64-cpu" +name "Broadwell-v3-x86_64-cpu" +name "Broadwell-v4-x86_64-cpu" +name "Broadwell-x86_64-cpu" +name "Cascadelake-Server-noTSX-x86_64-cpu" +name "Cascadelake-Server-v1-x86_64-cpu" +name "Cascadelake-Server-v2-x86_64-cpu" +name "Cascadelake-Server-v3-x86_64-cpu" +name "Cascadelake-Server-v4-x86_64-cpu" +name "Cascadelake-Server-v5-x86_64-cpu" +name "Cascadelake-Server-v6-x86_64-cpu" +name "Cascadelake-Server-v7-x86_64-cpu" +name "Cascadelake-Server-x86_64-cpu" +name "ClearwaterForest-v1-x86_64-cpu" +name "ClearwaterForest-v2-x86_64-cpu" +name "ClearwaterForest-v3-x86_64-cpu" +name "ClearwaterForest-v4-x86_64-cpu" +name "ClearwaterForest-x86_64-cpu" +name "Conroe-v1-x86_64-cpu" +name "Conroe-x86_64-cpu" +name "Cooperlake-v1-x86_64-cpu" +name "Cooperlake-v2-x86_64-cpu" +name "Cooperlake-x86_64-cpu" +name "core2duo-v1-x86_64-cpu" +name "core2duo-x86_64-cpu" +name "coreduo-v1-x86_64-cpu" +name "coreduo-x86_64-cpu" +name "Denverton-v1-x86_64-cpu" +name "Denverton-v2-x86_64-cpu" +name "Denverton-v3-x86_64-cpu" +name "Denverton-x86_64-cpu" +name "Dhyana-v1-x86_64-cpu" +name "Dhyana-v2-x86_64-cpu" +name "Dhyana-x86_64-cpu" +name "DiamondRapids-v1-x86_64-cpu" +name "DiamondRapids-v2-x86_64-cpu" +name "DiamondRapids-x86_64-cpu" +name "EPYC-Genoa-v1-x86_64-cpu" +name "EPYC-Genoa-v2-x86_64-cpu" +name "EPYC-Genoa-v3-x86_64-cpu" +name "EPYC-Genoa-x86_64-cpu" +name "EPYC-IBPB-x86_64-cpu" +name "EPYC-Milan-v1-x86_64-cpu" +name "EPYC-Milan-v2-x86_64-cpu" +name "EPYC-Milan-v3-x86_64-cpu" +name "EPYC-Milan-v4-x86_64-cpu" +name "EPYC-Milan-x86_64-cpu" +name "EPYC-Rome-v1-x86_64-cpu" +name "EPYC-Rome-v2-x86_64-cpu" +name "EPYC-Rome-v3-x86_64-cpu" +name "EPYC-Rome-v4-x86_64-cpu" +name "EPYC-Rome-v5-x86_64-cpu" +name "EPYC-Rome-x86_64-cpu" +name "EPYC-Turin-v1-x86_64-cpu" +name "EPYC-Turin-v2-x86_64-cpu" +name "EPYC-Turin-x86_64-cpu" +name "EPYC-v1-x86_64-cpu" +name "EPYC-v2-x86_64-cpu" +name "EPYC-v3-x86_64-cpu" +name "EPYC-v4-x86_64-cpu" +name "EPYC-v5-x86_64-cpu" +name "EPYC-x86_64-cpu" +name "GraniteRapids-v1-x86_64-cpu" +name "GraniteRapids-v2-x86_64-cpu" +name "GraniteRapids-v3-x86_64-cpu" +name "GraniteRapids-v4-x86_64-cpu" +name "GraniteRapids-v5-x86_64-cpu" +name "GraniteRapids-v6-x86_64-cpu" +name "GraniteRapids-v7-x86_64-cpu" +name "GraniteRapids-x86_64-cpu" +name "Haswell-IBRS-x86_64-cpu" +name "Haswell-noTSX-IBRS-x86_64-cpu" +name "Haswell-noTSX-x86_64-cpu" +name "Haswell-v1-x86_64-cpu" +name "Haswell-v2-x86_64-cpu" +name "Haswell-v3-x86_64-cpu" +name "Haswell-v4-x86_64-cpu" +name "Haswell-x86_64-cpu" +name "Icelake-Server-noTSX-x86_64-cpu" +name "Icelake-Server-v1-x86_64-cpu" +name "Icelake-Server-v2-x86_64-cpu" +name "Icelake-Server-v3-x86_64-cpu" +name "Icelake-Server-v4-x86_64-cpu" +name "Icelake-Server-v5-x86_64-cpu" +name "Icelake-Server-v6-x86_64-cpu" +name "Icelake-Server-v7-x86_64-cpu" +name "Icelake-Server-v8-x86_64-cpu" +name "Icelake-Server-v9-x86_64-cpu" +name "Icelake-Server-x86_64-cpu" +name "IvyBridge-IBRS-x86_64-cpu" +name "IvyBridge-v1-x86_64-cpu" +name "IvyBridge-v2-x86_64-cpu" +name "IvyBridge-x86_64-cpu" +name "KnightsMill-v1-x86_64-cpu" +name "KnightsMill-x86_64-cpu" +name "kvm32-v1-x86_64-cpu" +name "kvm32-x86_64-cpu" +name "kvm64-v1-x86_64-cpu" +name "kvm64-x86_64-cpu" +name "max-x86_64-cpu" +name "n270-v1-x86_64-cpu" +name "n270-x86_64-cpu" +name "Nehalem-IBRS-x86_64-cpu" +name "Nehalem-v1-x86_64-cpu" +name "Nehalem-v2-x86_64-cpu" +name "Nehalem-x86_64-cpu" +name "Opteron_G1-v1-x86_64-cpu" +name "Opteron_G1-x86_64-cpu" +name "Opteron_G2-v1-x86_64-cpu" +name "Opteron_G2-x86_64-cpu" +name "Opteron_G3-v1-x86_64-cpu" +name "Opteron_G3-x86_64-cpu" +name "Opteron_G4-v1-x86_64-cpu" +name "Opteron_G4-x86_64-cpu" +name "Opteron_G5-v1-x86_64-cpu" +name "Opteron_G5-x86_64-cpu" +name "Penryn-v1-x86_64-cpu" +name "Penryn-x86_64-cpu" +name "pentium-v1-x86_64-cpu" +name "pentium-x86_64-cpu" +name "pentium2-v1-x86_64-cpu" +name "pentium2-x86_64-cpu" +name "pentium3-v1-x86_64-cpu" +name "pentium3-x86_64-cpu" +name "phenom-v1-x86_64-cpu" +name "phenom-x86_64-cpu" +name "qemu32-v1-x86_64-cpu" +name "qemu32-x86_64-cpu" +name "qemu64-v1-x86_64-cpu" +name "qemu64-x86_64-cpu" +name "SandyBridge-IBRS-x86_64-cpu" +name "SandyBridge-v1-x86_64-cpu" +name "SandyBridge-v2-x86_64-cpu" +name "SandyBridge-x86_64-cpu" +name "SapphireRapids-v1-x86_64-cpu" +name "SapphireRapids-v2-x86_64-cpu" +name "SapphireRapids-v3-x86_64-cpu" +name "SapphireRapids-v4-x86_64-cpu" +name "SapphireRapids-v5-x86_64-cpu" +name "SapphireRapids-v6-x86_64-cpu" +name "SapphireRapids-v7-x86_64-cpu" +name "SapphireRapids-v8-x86_64-cpu" +name "SapphireRapids-x86_64-cpu" +name "SierraForest-v1-x86_64-cpu" +name "SierraForest-v2-x86_64-cpu" +name "SierraForest-v3-x86_64-cpu" +name "SierraForest-v4-x86_64-cpu" +name "SierraForest-v5-x86_64-cpu" +name "SierraForest-v6-x86_64-cpu" +name "SierraForest-x86_64-cpu" +name "Skylake-Client-IBRS-x86_64-cpu" +name "Skylake-Client-noTSX-IBRS-x86_64-cpu" +name "Skylake-Client-v1-x86_64-cpu" +name "Skylake-Client-v2-x86_64-cpu" +name "Skylake-Client-v3-x86_64-cpu" +name "Skylake-Client-v4-x86_64-cpu" +name "Skylake-Client-x86_64-cpu" +name "Skylake-Server-IBRS-x86_64-cpu" +name "Skylake-Server-noTSX-IBRS-x86_64-cpu" +name "Skylake-Server-v1-x86_64-cpu" +name "Skylake-Server-v2-x86_64-cpu" +name "Skylake-Server-v3-x86_64-cpu" +name "Skylake-Server-v4-x86_64-cpu" +name "Skylake-Server-v5-x86_64-cpu" +name "Skylake-Server-v6-x86_64-cpu" +name "Skylake-Server-x86_64-cpu" +name "Snowridge-v1-x86_64-cpu" +name "Snowridge-v2-x86_64-cpu" +name "Snowridge-v3-x86_64-cpu" +name "Snowridge-v4-x86_64-cpu" +name "Snowridge-x86_64-cpu" +name "Westmere-IBRS-x86_64-cpu" +name "Westmere-v1-x86_64-cpu" +name "Westmere-v2-x86_64-cpu" +name "Westmere-x86_64-cpu" +name "YongFeng-v1-x86_64-cpu" +name "YongFeng-v2-x86_64-cpu" +name "YongFeng-v3-x86_64-cpu" +name "YongFeng-x86_64-cpu" + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" +name "ib700", bus ISA, desc "iBASE 700" + +Uncategorized devices: +name "cxl-switch-mailbox-cci", bus PCI, desc "CXL Switch Mailbox CCI" +name "ipmi-bmc-extern" +name "ipmi-bmc-sim" +name "isa-ipmi-bt", bus ISA +name "isa-ipmi-kcs", bus ISA +name "pc-dimm", desc "DIMM memory module" +name "pci-ipmi-bt", bus PCI, desc "PCI IPMI BT" +name "pci-ipmi-kcs", bus PCI, desc "PCI IPMI KCS" +name "sp-mem", desc "SPM (Specific Purpose Memory) device" +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-x86_64.help b/cmdline_ref/qemu-system-= x86_64.help new file mode 100644 index 00000000000..a7b55a0df3a --- /dev/null +++ b/cmdline_ref/qemu-system-x86_64.help @@ -0,0 +1,595 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +i386 target only: +-win2k-hack use it when installing Windows 2000 to avoid a disk full b= ug +-no-fd-bootchk disable boot signature checking for floppy disks +-acpitable [sig=3Dstr][,rev=3Dn][,oem_id=3Dstr][,oem_table_id=3Dstr][,oem_= rev=3Dn][,asl_compiler_id=3Dstr][,asl_compiler_rev=3Dn][,{data|file}=3Dfile= 1[:file2]...] + ACPI table description +-smbios file=3Dbinary + load SMBIOS entry from binary file +-smbios type=3D0[,vendor=3Dstr][,version=3Dstr][,date=3Dstr][,release=3D%d= .%d] + [,uefi=3Don|off][,vm=3Don|off] + specify SMBIOS type 0 fields +-smbios type=3D1[,manufacturer=3Dstr][,product=3Dstr][,version=3Dstr][,ser= ial=3Dstr] + [,uuid=3Duuid][,sku=3Dstr][,family=3Dstr] + specify SMBIOS type 1 fields +-smbios type=3D2[,manufacturer=3Dstr][,product=3Dstr][,version=3Dstr][,ser= ial=3Dstr] + [,asset=3Dstr][,location=3Dstr] + specify SMBIOS type 2 fields +-smbios type=3D3[,manufacturer=3Dstr][,version=3Dstr][,serial=3Dstr][,asse= t=3Dstr] + [,sku=3Dstr] + specify SMBIOS type 3 fields +-smbios type=3D4[,sock_pfx=3Dstr][,manufacturer=3Dstr][,version=3Dstr][,se= rial=3Dstr] + [,asset=3Dstr][,part=3Dstr][,max-speed=3D%d][,current-speed= =3D%d] + [,processor-family=3D%d][,processor-id=3D%d] + specify SMBIOS type 4 fields +-smbios type=3D8[,external_reference=3Dstr][,internal_reference=3Dstr][,co= nnector_type=3D%d][,port_type=3D%d] + specify SMBIOS type 8 fields +-smbios type=3D11[,value=3Dstr][,path=3Dfilename] + specify SMBIOS type 11 fields +-smbios type=3D17[,loc_pfx=3Dstr][,bank=3Dstr][,manufacturer=3Dstr][,seria= l=3Dstr] + [,asset=3Dstr][,part=3Dstr][,speed=3D%d] + specify SMBIOS type 17 fields +-smbios type=3D41[,designation=3Dstr][,kind=3Dstr][,instance=3D%d][,pcidev= =3Dstr] + specify SMBIOS type 41 fields + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-enable-kvm enable KVM full virtualization support +-xen-domid id specify xen guest domain id +-xen-attach attach to existing xen domain + libxl will use this when starting QEMU +-xen-domid-restrict restrict set of available xen operations + to specified domain id. (Does not affect + xenpv machine type). +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-x86_64.machine_help b/cmdline_ref/qemu= -system-x86_64.machine_help new file mode 100644 index 00000000000..3e81a9def00 --- /dev/null +++ b/cmdline_ref/qemu-system-x86_64.machine_help @@ -0,0 +1,42 @@ +Supported machines are: +microvm microvm (i386) +pc-i440fx-9.2 Standard PC (i440FX + PIIX, 1996) +pc-i440fx-9.1 Standard PC (i440FX + PIIX, 1996) +pc-i440fx-9.0 Standard PC (i440FX + PIIX, 1996) +pc-i440fx-8.2 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc-i440fx-8.1 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc-i440fx-8.0 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc-i440fx-7.2 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc-i440fx-7.1 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc-i440fx-7.0 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc-i440fx-6.2 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc-i440fx-6.1 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc-i440fx-6.0 Standard PC (i440FX + PIIX, 1996) (deprecated) +pc Standard PC (i440FX + PIIX, 1996) (alias of pc-i440fx= -11.2) +pc-i440fx-11.2 Standard PC (i440FX + PIIX, 1996) (default) +pc-i440fx-11.1 Standard PC (i440FX + PIIX, 1996) +pc-i440fx-11.0 Standard PC (i440FX + PIIX, 1996) +pc-i440fx-10.2 Standard PC (i440FX + PIIX, 1996) +pc-i440fx-10.1 Standard PC (i440FX + PIIX, 1996) +pc-i440fx-10.0 Standard PC (i440FX + PIIX, 1996) +pc-q35-9.2 Standard PC (Q35 + ICH9, 2009) +pc-q35-9.1 Standard PC (Q35 + ICH9, 2009) +pc-q35-9.0 Standard PC (Q35 + ICH9, 2009) +pc-q35-8.2 Standard PC (Q35 + ICH9, 2009) (deprecated) +pc-q35-8.1 Standard PC (Q35 + ICH9, 2009) (deprecated) +pc-q35-8.0 Standard PC (Q35 + ICH9, 2009) (deprecated) +pc-q35-7.2 Standard PC (Q35 + ICH9, 2009) (deprecated) +pc-q35-7.1 Standard PC (Q35 + ICH9, 2009) (deprecated) +pc-q35-7.0 Standard PC (Q35 + ICH9, 2009) (deprecated) +pc-q35-6.2 Standard PC (Q35 + ICH9, 2009) (deprecated) +pc-q35-6.1 Standard PC (Q35 + ICH9, 2009) (deprecated) +pc-q35-6.0 Standard PC (Q35 + ICH9, 2009) (deprecated) +q35 Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-11.2) +pc-q35-11.2 Standard PC (Q35 + ICH9, 2009) +pc-q35-11.1 Standard PC (Q35 + ICH9, 2009) +pc-q35-11.0 Standard PC (Q35 + ICH9, 2009) +pc-q35-10.2 Standard PC (Q35 + ICH9, 2009) +pc-q35-10.1 Standard PC (Q35 + ICH9, 2009) +pc-q35-10.0 Standard PC (Q35 + ICH9, 2009) +isapc ISA-only PC +none empty machine diff --git a/cmdline_ref/qemu-system-xtensa.cpu_help b/cmdline_ref/qemu-sys= tem-xtensa.cpu_help new file mode 100644 index 00000000000..44448889b4f --- /dev/null +++ b/cmdline_ref/qemu-system-xtensa.cpu_help @@ -0,0 +1,9 @@ +Available CPUs: + dc232b + dc233c + de212 + de233_fpu + dsp3400 + lx106 + sample_controller + test_mmuhifi_c3 diff --git a/cmdline_ref/qemu-system-xtensa.device_help b/cmdline_ref/qemu-= system-xtensa.device_help new file mode 100644 index 00000000000..0962eb16a79 --- /dev/null +++ b/cmdline_ref/qemu-system-xtensa.device_help @@ -0,0 +1,226 @@ +Controller/Bridge/Hub devices: +name "i82801b11-bridge", bus PCI +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "pvscsi", bus PCI +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "secondary-vga", bus PCI +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "guest-loader", desc "Guest Loader" +name "i2c-ddc", bus i2c-bus +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" + +Uncategorized devices: +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-xtensa.help b/cmdline_ref/qemu-system-= xtensa.help new file mode 100644 index 00000000000..476536d6aa4 --- /dev/null +++ b/cmdline_ref/qemu-system-xtensa.help @@ -0,0 +1,558 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-semihosting semihosting mode +-semihosting-config [enable=3Don|off][,target=3Dnative|gdb|auto][,chardev= =3Did][,userspace=3Don|off][,arg=3Dstr[,...]] + semihosting configuration +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-xtensa.machine_help b/cmdline_ref/qemu= -system-xtensa.machine_help new file mode 100644 index 00000000000..f48300c1e1e --- /dev/null +++ b/cmdline_ref/qemu-system-xtensa.machine_help @@ -0,0 +1,12 @@ +Supported machines are: +kc705 kc705 EVB (dc232b) +kc705-nommu kc705 noMMU EVB (de212) +lx200 lx200 EVB (dc232b) +lx200-nommu lx200 noMMU EVB (de212) +lx60 lx60 EVB (dc232b) +lx60-nommu lx60 noMMU EVB (de212) +ml605 ml605 EVB (dc232b) +ml605-nommu ml605 noMMU EVB (de212) +none empty machine +sim sim machine (dc232b) (default) +virt virt machine (dc232b) diff --git a/cmdline_ref/qemu-system-xtensaeb.cpu_help b/cmdline_ref/qemu-s= ystem-xtensaeb.cpu_help new file mode 100644 index 00000000000..9503e254c20 --- /dev/null +++ b/cmdline_ref/qemu-system-xtensaeb.cpu_help @@ -0,0 +1,3 @@ +Available CPUs: + fsf + test_kc705_be diff --git a/cmdline_ref/qemu-system-xtensaeb.device_help b/cmdline_ref/qem= u-system-xtensaeb.device_help new file mode 100644 index 00000000000..0962eb16a79 --- /dev/null +++ b/cmdline_ref/qemu-system-xtensaeb.device_help @@ -0,0 +1,226 @@ +Controller/Bridge/Hub devices: +name "i82801b11-bridge", bus PCI +name "pci-bridge", bus PCI, desc "Standard PCI Bridge" +name "pci-bridge-seat", bus PCI, desc "Standard PCI Bridge (multiseat)" +name "usb-host", bus usb-bus +name "usb-hub", bus usb-bus + +USB devices: +name "ich9-usb-ehci1", bus PCI +name "ich9-usb-ehci2", bus PCI +name "ich9-usb-uhci1", bus PCI +name "ich9-usb-uhci2", bus PCI +name "ich9-usb-uhci3", bus PCI +name "ich9-usb-uhci4", bus PCI +name "ich9-usb-uhci5", bus PCI +name "ich9-usb-uhci6", bus PCI +name "nec-usb-xhci", bus PCI +name "pci-ohci", bus PCI, desc "Apple USB Controller" +name "piix3-usb-uhci", bus PCI +name "piix4-usb-uhci", bus PCI +name "qemu-xhci", bus PCI +name "usb-ehci", bus PCI + +Storage devices: +name "am53c974", bus PCI, desc "AMD Am53c974 PCscsi-PCI SCSI adapter" +name "dc390", bus PCI, desc "Tekram DC-390 SCSI adapter" +name "emmc", bus sd-bus, desc "eMMC" +name "ich9-ahci", bus PCI, alias "ahci" +name "ide-cd", bus IDE, desc "virtual IDE CD-ROM" +name "ide-cf", bus IDE, desc "virtual CompactFlash card" +name "ide-hd", bus IDE, desc "virtual IDE disk" +name "lsi53c810", bus PCI +name "lsi53c895a", bus PCI, alias "lsi" +name "megasas", bus PCI, desc "LSI MegaRAID SAS 1078" +name "megasas-gen2", bus PCI, desc "LSI MegaRAID SAS 2108" +name "mptsas1068", bus PCI, desc "LSI SAS 1068" +name "nvme", bus PCI, desc "Non-Volatile Memory Express" +name "nvme-ns", bus nvme-bus, desc "Virtual NVMe namespace" +name "nvme-subsys", desc "Virtual NVMe subsystem" +name "pvscsi", bus PCI +name "scsi-block", bus SCSI, desc "SCSI block device passthrough" +name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" +name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/de= v/sg*)" +name "scsi-hd", bus SCSI, desc "virtual SCSI disk" +name "sd-card", bus sd-bus +name "sd-card-spi", bus sd-bus, desc "SD SPI" +name "sdhci-pci", bus PCI +name "ufs", bus PCI, desc "Universal Flash Storage" +name "usb-bot", bus usb-bus +name "usb-mtp", bus usb-bus, desc "USB Media Transfer Protocol device" +name "usb-storage", bus usb-bus +name "usb-uas", bus usb-bus +name "vhost-scsi", bus virtio-bus +name "vhost-scsi-pci", bus PCI +name "vhost-scsi-pci-non-transitional", bus PCI +name "vhost-scsi-pci-transitional", bus PCI +name "vhost-user-blk", bus virtio-bus +name "vhost-user-blk-pci", bus PCI +name "vhost-user-blk-pci-non-transitional", bus PCI +name "vhost-user-blk-pci-transitional", bus PCI +name "vhost-user-fs-device", bus virtio-bus +name "vhost-user-fs-pci", bus PCI +name "vhost-user-scsi", bus virtio-bus +name "vhost-user-scsi-pci", bus PCI +name "vhost-user-scsi-pci-non-transitional", bus PCI +name "vhost-user-scsi-pci-transitional", bus PCI +name "virtio-9p-device", bus virtio-bus +name "virtio-9p-pci", bus PCI, alias "virtio-9p" +name "virtio-9p-pci-non-transitional", bus PCI +name "virtio-9p-pci-transitional", bus PCI +name "virtio-blk-device", bus virtio-bus +name "virtio-blk-pci", bus PCI, alias "virtio-blk" +name "virtio-blk-pci-non-transitional", bus PCI +name "virtio-blk-pci-transitional", bus PCI +name "virtio-scsi-device", bus virtio-bus +name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" +name "virtio-scsi-pci-non-transitional", bus PCI +name "virtio-scsi-pci-transitional", bus PCI + +Network devices: +name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" +name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" +name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" +name "i82550", bus PCI, desc "Intel i82550 Ethernet" +name "i82551", bus PCI, desc "Intel i82551 Ethernet" +name "i82557a", bus PCI, desc "Intel i82557A Ethernet" +name "i82557b", bus PCI, desc "Intel i82557B Ethernet" +name "i82557c", bus PCI, desc "Intel i82557C Ethernet" +name "i82558a", bus PCI, desc "Intel i82558A Ethernet" +name "i82558b", bus PCI, desc "Intel i82558B Ethernet" +name "i82559a", bus PCI, desc "Intel i82559A Ethernet" +name "i82559b", bus PCI, desc "Intel i82559B Ethernet" +name "i82559c", bus PCI, desc "Intel i82559C Ethernet" +name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" +name "i82562", bus PCI, desc "Intel i82562 Ethernet" +name "i82801", bus PCI, desc "Intel i82801 Ethernet" +name "ne2k_pci", bus PCI +name "pcnet", bus PCI +name "rtl8139", bus PCI +name "tulip", bus PCI +name "usb-net", bus usb-bus +name "virtio-net-device", bus virtio-bus +name "virtio-net-pci", bus PCI, alias "virtio-net" +name "virtio-net-pci-non-transitional", bus PCI +name "virtio-net-pci-transitional", bus PCI +name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" + +Input devices: +name "ccid-card-emulated", bus ccid-bus, desc "emulated smartcard" +name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" +name "ipoctal232", bus IndustryPack, desc "GE IP-Octal 232 8-channel RS-23= 2 IndustryPack" +name "pci-serial", bus PCI +name "pci-serial-2x", bus PCI +name "pci-serial-4x", bus PCI +name "tpci200", bus PCI, desc "TEWS TPCI200 IndustryPack carrier" +name "usb-braille", bus usb-bus +name "usb-ccid", bus usb-bus, desc "CCID Rev 1.1 smartcard reader" +name "usb-kbd", bus usb-bus +name "usb-mouse", bus usb-bus +name "usb-serial", bus usb-bus +name "usb-tablet", bus usb-bus +name "usb-wacom-tablet", bus usb-bus, desc "QEMU PenPartner Tablet" +name "vhost-user-gpio-device", bus virtio-bus +name "vhost-user-gpio-pci", bus PCI +name "vhost-user-i2c-device", bus virtio-bus +name "vhost-user-i2c-pci", bus PCI +name "vhost-user-input", bus virtio-bus +name "vhost-user-input-pci", bus PCI +name "vhost-user-rng", bus virtio-bus +name "vhost-user-rng-pci", bus PCI +name "vhost-user-spi-device", bus virtio-bus +name "vhost-user-spi-pci", bus PCI +name "vhost-user-test-device", bus virtio-bus +name "vhost-user-test-device-pci", bus PCI +name "virtconsole", bus virtio-serial-bus +name "virtio-input-host-device", bus virtio-bus +name "virtio-input-host-pci", bus PCI, alias "virtio-input-host" +name "virtio-keyboard-device", bus virtio-bus +name "virtio-keyboard-pci", bus PCI, alias "virtio-keyboard" +name "virtio-mouse-device", bus virtio-bus +name "virtio-mouse-pci", bus PCI, alias "virtio-mouse" +name "virtio-multitouch-device", bus virtio-bus +name "virtio-multitouch-pci", bus PCI +name "virtio-serial-device", bus virtio-bus +name "virtio-serial-pci", bus PCI, alias "virtio-serial" +name "virtio-serial-pci-non-transitional", bus PCI +name "virtio-serial-pci-transitional", bus PCI +name "virtio-tablet-device", bus virtio-bus +name "virtio-tablet-pci", bus PCI, alias "virtio-tablet" +name "virtserialport", bus virtio-serial-bus + +Display devices: +name "ati-vga", bus PCI +name "bochs-display", bus PCI +name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" +name "secondary-vga", bus PCI +name "VGA", bus PCI +name "vhost-user-gpu", bus virtio-bus +name "vhost-user-gpu-pci", bus PCI +name "virtio-gpu-device", bus virtio-bus +name "virtio-gpu-gl-device", bus virtio-bus +name "virtio-gpu-gl-pci", bus PCI, alias "virtio-gpu-gl" +name "virtio-gpu-pci", bus PCI, alias "virtio-gpu" + +Sound devices: +name "AC97", bus PCI, alias "ac97", desc "Intel 82801AA AC97 Audio" +name "ES1370", bus PCI, alias "es1370", desc "ENSONIQ AudioPCI ES1370" +name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-= in)" +name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microph= one)" +name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" +name "ich9-intel-hda", bus PCI, desc "Intel HD Audio Controller (ich9)" +name "intel-hda", bus PCI, desc "Intel HD Audio Controller (ich6)" +name "usb-audio", bus usb-bus +name "vhost-user-snd", bus virtio-bus +name "vhost-user-snd-pci", bus PCI +name "virtio-sound-device", bus virtio-bus +name "virtio-sound-pci", bus PCI, alias "virtio-sound", desc "Virtio Sound" + +Misc devices: +name "ctucan_pci", bus PCI, desc "CTU CAN PCI" +name "guest-loader", desc "Guest Loader" +name "i2c-ddc", bus i2c-bus +name "kvaser_pci", bus PCI, desc "Kvaser PCICANx" +name "loader", desc "Generic Loader" +name "mioe3680_pci", bus PCI, desc "Mioe3680 PCICANx" +name "pcm3680_pci", bus PCI, desc "Pcm3680i PCICANx" +name "pvpanic-pci", bus PCI +name "u2f-passthru", bus usb-bus, desc "QEMU U2F passthrough key" +name "uefi-vars-sysbus", bus System +name "uefi-vars-x64", bus System +name "usb-redir", bus usb-bus +name "vfio-pci", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-pci-nohotplug", bus PCI, desc "VFIO-based PCI device assignment" +name "vfio-user-pci", bus PCI, desc "VFIO over socket PCI device assignmen= t" +name "vhost-user-rtc", bus virtio-bus +name "vhost-user-rtc-pci", bus PCI +name "vhost-user-vsock-device", bus virtio-bus +name "vhost-user-vsock-pci", bus PCI +name "vhost-user-vsock-pci-non-transitional", bus PCI +name "vhost-vdpa-device", bus virtio-bus, desc "VDPA-based generic device = assignment" +name "vhost-vdpa-device-pci", bus PCI +name "vhost-vdpa-device-pci-non-transitional", bus PCI +name "vhost-vdpa-device-pci-transitional", bus PCI +name "vhost-vsock-device", bus virtio-bus +name "vhost-vsock-pci", bus PCI +name "vhost-vsock-pci-non-transitional", bus PCI +name "virtio-balloon-device", bus virtio-bus +name "virtio-balloon-pci", bus PCI, alias "virtio-balloon" +name "virtio-balloon-pci-non-transitional", bus PCI +name "virtio-balloon-pci-transitional", bus PCI +name "virtio-crypto-device", bus virtio-bus +name "virtio-crypto-pci", bus PCI +name "virtio-iommu-device", bus virtio-bus +name "virtio-iommu-pci", bus PCI, alias "virtio-iommu" +name "virtio-rng-device", bus virtio-bus +name "virtio-rng-pci", bus PCI, alias "virtio-rng" +name "virtio-rng-pci-non-transitional", bus PCI +name "virtio-rng-pci-transitional", bus PCI +name "virtio-rtc-device", bus virtio-bus +name "virtio-rtc-pci", bus PCI + +Watchdog devices: +name "i6300esb", bus PCI, desc "Intel 6300ESB" + +Uncategorized devices: +name "ufs-lu", bus ufs-bus, desc "Virtual UFS logical unit" diff --git a/cmdline_ref/qemu-system-xtensaeb.help b/cmdline_ref/qemu-syste= m-xtensaeb.help new file mode 100644 index 00000000000..476536d6aa4 --- /dev/null +++ b/cmdline_ref/qemu-system-xtensaeb.help @@ -0,0 +1,558 @@ +Copyright (c) 2003-2026 Fabrice Bellard and the QEMU Project developers + +'disk_image' is a raw hard disk image for IDE hard disk 0 + +Standard options: +-h or -help display this help and exit +-version display version information and exit +-machine [type=3D]name[,prop=3Dvalue[,...]] + selects emulated machine ('-machine help' for list) + property accel=3Daccel1[:accel2[:...]] selects accelerator + supported accelerators are kvm, xen, hvf, nitro, nvmm, whp= x, mshv or tcg (default: tcg) + vmport=3Don|off|auto controls emulation of vmport (default= : auto) + dump-guest-core=3Don|off include guest memory in a core du= mp (default=3Don) + mem-merge=3Don|off controls memory merge support (default:= on) + aes-key-wrap=3Don|off controls support for AES key wrappin= g (default=3Don) + dea-key-wrap=3Don|off controls support for DEA key wrappin= g (default=3Don) + suppress-vmdesc=3Don|off disables self-describing migratio= n (default=3Doff) + nvdimm=3Don|off controls NVDIMM support (default=3Doff) + confidential-guest-support=3D specifies confidential g= uest support object (default=3Dnone) + memory-encryption=3D (memory-encryption is the alias o= f confidential-guest-support, recommend to use confidential-guest-support) + hmat=3Don|off controls ACPI HMAT support (default=3Doff) + spcr=3Don|off controls ACPI SPCR support (default=3Don) + aux-ram-share=3Don|off allocate auxiliary guest RAM as sha= red (default: off) + memory-backend=3D'backend-id' specifies explicitly provide= d backend for main RAM (default=3Dnone) + cxl-fmw.0.targets.0=3Dfirsttarget,cxl-fmw.0.targets.1=3Dse= condtarget,cxl-fmw.0.size=3Dsize[,cxl-fmw.0.interleave-granularity=3Dgranul= arity] + sgx-epc.0.memdev=3Dmemid,sgx-epc.0.node=3Dnumaid + smp-cache.0.cache=3Dcachename,smp-cache.0.topology=3Dtopol= ogylevel + boot-certs.0.path=3D/path/directory,boot-certs.1.path=3D/p= ath/file provides paths to a directory and/or a certificate file + secure-boot=3Don|off enable/disable secure boot (default= =3Doff) +-M as -machine +-cpu cpu select CPU ('-cpu help' for list) +-accel [accel=3D]accelerator[,prop=3Dvalue[,...]] + select accelerator (kvm, xen, hvf, nitro, nvmm, whpx, mshv= or tcg; use 'help' for a list) + igd-passthru=3Don|off (enable Xen integrated Intel graphic= s passthrough, default=3Doff) + kernel-irqchip=3Don|off|split controls accelerated irqchip= support (default=3Don) + kvm-shadow-mem=3Dsize of KVM shadow MMU in bytes + one-insn-per-tb=3Don|off (one guest instruction per TCG tr= anslation block) + slow-path-memory=3Don|off (force slow path for MMU emulati= on) + check-address-translation=3Don|off (check MMU translation = is correct for every access) + split-wx=3Don|off (enable TCG split w^x mapping) + tb-size=3Dn (TCG translation block cache size) + dirty-ring-size=3Dn (KVM dirty ring GFN count, default 0) + eager-split-size=3Dn (KVM Eager Page Split chunk size, def= ault 0, disabled. ARM only) + notify-vmexit=3Drun|internal-error|disable,notify-window= =3Dn (enable notify VM exit and set notify window, x86 only) + thread=3Dsingle|multi (enable multi-threaded TCG) + device=3Dpath (KVM device path, default /dev/kvm) +-smp [[cpus=3D]n][,maxcpus=3Dmaxcpus][,drawers=3Ddrawers][,books=3Dbooks][= ,sockets=3Dsockets] + [,dies=3Ddies][,clusters=3Dclusters][,modules=3Dmodules][,c= ores=3Dcores] + [,threads=3Dthreads] + set the number of initial CPUs to 'n' [default=3D1] + maxcpus=3D maximum number of total CPUs, including + offline CPUs for hotplug, etc + drawers=3D number of drawers on the machine board + books=3D number of books in one drawer + sockets=3D number of sockets in one book + dies=3D number of dies in one socket + clusters=3D number of clusters in one die + modules=3D number of modules in one cluster + cores=3D number of cores in one module + threads=3D number of threads in one core +Note: Different machines may have different subsets of the CPU topology + parameters supported, so the actual meaning of the supported paramet= ers + will vary accordingly. For example, for a machine type that supports= a + three-level CPU hierarchy of sockets/cores/threads, the parameters w= ill + sequentially mean as below: + sockets means the number of sockets on the machine board + cores means the number of cores in one socket + threads means the number of threads in one core + For a particular machine type board, an expected CPU topology hierar= chy + can be defined through the supported sub-option. Unsupported paramet= ers + can also be provided in addition to the sub-option, but their values + must be set as 1 in the purpose of correct parsing. +-numa node[,mem=3Dsize][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,initi= ator=3Dnode] +-numa node[,memdev=3Did][,cpus=3Dfirstcpu[-lastcpu]][,nodeid=3Dnode][,init= iator=3Dnode] +-numa dist,src=3Dsource,dst=3Ddestination,val=3Ddistance +-numa cpu,node-id=3Dnode[,socket-id=3Dx][,core-id=3Dy][,thread-id=3Dz] +-numa hmat-lb,initiator=3Dnode,target=3Dnode,hierarchy=3Dmemory|first-leve= l|second-level|third-level,data-type=3Daccess-latency|read-latency|write-la= tency[,latency=3Dlat][,bandwidth=3Dbw] +-numa hmat-cache,node-id=3Dnode,size=3Dsize,level=3Dlevel[,associativity= =3Dnone|direct|complex][,policy=3Dnone|write-back|write-through][,line=3Dsi= ze] +-add-fd fd=3Dfd,set=3Dset[,opaque=3Dopaque] + Add 'fd' to fd 'set' +-set group.id.arg=3Dvalue + set parameter for item of type + i.e. -set drive.$id.file=3D/path/to/image +-global driver.property=3Dvalue +-global driver=3Ddriver,property=3Dproperty,value=3Dvalue + set a global default for a driver property +-boot [order=3Ddrives][,once=3Ddrives][,menu=3Don|off] + [,splash=3Dsp_name][,splash-time=3Dsp_time][,reboot-timeout=3Drb_tim= e][,strict=3Don|off] + 'drives': floppy (a), hard disk (c), CD-ROM (d), network (= n) + 'sp_name': the file's name that would be passed to bios as= logo picture, if menu=3Don + 'sp_time': the period that splash picture last if menu=3Do= n, unit is ms + 'rb_timeout': the timeout before guest reboot when boot fa= iled, unit is ms +-m [size=3D]megs[,slots=3Dn,maxmem=3Dsize] + configure guest RAM + size: initial amount of guest memory + slots: number of hotplug slots (default: none) + maxmem: maximum amount of guest memory (default: none) + Note: Some architectures might enforce a specific granular= ity +-mem-path FILE provide backing storage for guest RAM +-mem-prealloc preallocate guest memory (use with -mem-path) +-k language use keyboard layout (for example 'fr' for French) +-audio [driver=3D]driver[,prop=3Dvalue[,...]] + specifies default audio backend when `audiodev` is not + used to create a machine or sound device; o= ptions are the same as for -audiodev +-audio [driver=3D]driver,model=3Dvalue[,prop=3Dvalue[,...]] + specifies the audio backend and device to use; + apart from 'model', options are the same as for -audiodev. + use '-audio model=3Dhelp' to show possible devices. +-audiodev [driver=3D]driver,id=3Did[,prop=3Dvalue[,...]] + specifies the audio backend to use + Use ``-audiodev help`` to list the available drivers + id=3D identifier of the backend + timer-period=3D timer period in microseconds + in|out.mixing-engine=3D use mixing engine to mix streams i= nside QEMU + in|out.fixed-settings=3D use fixed settings for host audio + in|out.frequency=3D frequency to use with fixed settings + in|out.channels=3D number of channels to use with fixed se= ttings + in|out.format=3D sample format to use with fixed settings + valid values: s8, s16, s32, u8, u16, u32, f32 + in|out.voices=3D number of voices to use + in|out.buffer-length=3D length of buffer in microseconds +-audiodev none,id=3Did,[,prop=3Dvalue[,...]] + dummy driver that discards all output +-audiodev alsa,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D name of the audio device to use + in|out.period-length=3D length of period in microseconds + in|out.try-poll=3D attempt to use poll mode + threshold=3D threshold (in microseconds) when playback sta= rts +-audiodev oss,id=3Did[,prop=3Dvalue[,...]] + in|out.dev=3D path of the audio device to use + in|out.buffer-count=3D number of buffers + in|out.try-poll=3D attempt to use poll mode + try-mmap=3D try using memory mapped access + exclusive=3D open device in exclusive mode + dsp-policy=3D set timing policy (0..10), -1 to use fragmen= t mode +-audiodev pa,id=3Did[,prop=3Dvalue[,...]] + server=3D PulseAudio server address + in|out.name=3D source/sink device name + in|out.latency=3D desired latency in microseconds +-audiodev pipewire,id=3Did[,prop=3Dvalue[,...]] + in|out.name=3D source/sink device name + in|out.stream-name=3D name of pipewire stream + in|out.latency=3D desired latency in microseconds +-audiodev sdl,id=3Did[,prop=3Dvalue[,...]] + in|out.buffer-count=3D number of buffers +-audiodev sndio,id=3Did[,prop=3Dvalue[,...]] +-audiodev spice,id=3Did[,prop=3Dvalue[,...]] +-audiodev dbus,id=3Did[,prop=3Dvalue[,...]] +-audiodev wav,id=3Did[,prop=3Dvalue[,...]] + path=3D path of wav file to record +-device driver[,prop=3Dvalue[,...]] + add device (based on driver) + prop=3Dvalue,... sets driver properties + use '-device help' to print all possible drivers + use '-device driver,help' to print all possible properties +-name string1[,process=3Dstring2][,debug-threads=3Don|off] + set the name of the guest + string1 sets the window title and string2 the process name + When debug-threads is enabled, individual threads are give= n a separate name + NOTE: The thread names are for debugging and not a stable = API. +-uuid %08x-%04x-%04x-%04x-%012x + specify machine UUID + +Block device options: +-fda/-fdb file use 'file' as floppy disk 0/1 image +-hda/-hdb file use 'file' as hard disk 0/1 image +-hdc/-hdd file use 'file' as hard disk 2/3 image +-cdrom file use 'file' as CD-ROM image +-blockdev [driver=3D]driver[,node-name=3DN][,discard=3Dignore|unmap] + [,cache.direct=3Don|off][,cache.no-flush=3Don|off] + [,read-only=3Don|off][,auto-read-only=3Don|off] + [,force-share=3Don|off][,detect-zeroes=3Don|off|unmap] + [,driver specific parameters...] + configure a block backend +-drive [file=3Dfile][,if=3Dtype][,bus=3Dn][,unit=3Dm][,media=3Dd][,index= =3Di] + [,cache=3Dwritethrough|writeback|none|directsync|unsafe][,format=3D= f] + [,snapshot=3Don|off][,rerror=3Dignore|stop|report] + [,werror=3Dignore|stop|report|enospc][,id=3Dname] + [,aio=3Dthreads|native|io_uring] + [,readonly=3Don|off][,copy-on-read=3Don|off] + [,discard=3Dignore|unmap][,detect-zeroes=3Don|off|unmap] + [[,bps=3Db]|[[,bps_rd=3Dr][,bps_wr=3Dw]]] + [[,iops=3Di]|[[,iops_rd=3Dr][,iops_wr=3Dw]]] + [[,bps_max=3Dbm]|[[,bps_rd_max=3Drm][,bps_wr_max=3Dwm]]] + [[,iops_max=3Dim]|[[,iops_rd_max=3Dirm][,iops_wr_max=3Diwm]]] + [[,iops_size=3Dis]] + [[,group=3Dg]] + use 'file' as a drive image +-mtdblock file use 'file' as on-board Flash memory image +-sd file use 'file' as SecureDigital card image +-snapshot write to temporary files instead of disk image files +-fsdev local,id=3Did,path=3Dpath,security_model=3Dmapped-xattr|mapped-file= |passthrough|none + [,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][,dmode=3Ddmode][,= max_xattr=3Dmax] + [[,throttling.bps-total=3Db]|[[,throttling.bps-read=3Dr][,throttling.bps-= write=3Dw]]] + [[,throttling.iops-total=3Di]|[[,throttling.iops-read=3Dr][,throttling.io= ps-write=3Dw]]] + [[,throttling.bps-total-max=3Dbm]|[[,throttling.bps-read-max=3Drm][,throt= tling.bps-write-max=3Dwm]]] + [[,throttling.iops-total-max=3Dim]|[[,throttling.iops-read-max=3Dirm][,th= rottling.iops-write-max=3Diwm]]] + [[,throttling.iops-size=3Dis]] +-fsdev synth,id=3Did[,max_xattr=3Dmax] +-virtfs local,path=3Dpath,mount_tag=3Dtag,security_model=3Dmapped-xattr|ma= pped-file|passthrough|none + [,id=3Did][,writeout=3Dimmediate][,readonly=3Don][,fmode=3Dfmode][= ,dmode=3Ddmode][,multidevs=3Dremap|forbid|warn][,max_xattr=3Dmax] +-virtfs synth,mount_tag=3Dtag[,id=3Did][,readonly=3Don][,max_xattr=3Dmax] +-iscsi [user=3Duser][,password=3Dpassword][,password-secret=3Dsecret-id] + [,header-digest=3DCRC32C|CR32C-NONE|NONE-CRC32C|NONE] + [,initiator-name=3Dinitiator-iqn][,id=3Dtarget-iqn] + [,timeout=3Dtimeout] + iSCSI session parameters + +USB convenience options: +-usb enable on-board USB host controller (if not enabled by def= ault) +-usbdevice name add the host or guest USB device 'name' + +Display options: +-display spice-app[,gl=3Don|off] +-display sdl[,gl=3Don|core|es|off][,grab-mod=3D][,show-cursor=3Don|of= f] + [,window-close=3Don|off] +-display gtk[,clipboard=3Don|off][,full-screen=3Don|off][,gl=3Don|off] + [,grab-on-hover=3Don|off][,show-tabs=3Don|off][,show-cursor=3D= on|off] + [,window-close=3Don|off][,show-menubar=3Don|off][,zoom-to-fit= =3Don|off] +-display vnc=3D[,] +-display curses[,charset=3D] +-display egl-headless[,rendernode=3D] +-display dbus[,addr=3D] + [,gl=3Don|core|es|off][,rendernode=3D] +-display none + select display backend type + The default display is equivalent to + "-display gtk" +-nographic disable graphical output and redirect serial I/Os to conso= le +-spice [port=3Dport][,tls-port=3Dsecured-port][,x509-dir=3D] + [,x509-key-file=3D][,x509-key-password=3D] + [,x509-cert-file=3D][,x509-cacert-file=3D] + [,x509-dh-key-file=3D][,addr=3Daddr] + [,ipv4=3Don|off][,ipv6=3Don|off][,unix=3Don|off] + [,tls-ciphers=3D] + [,tls-channel=3Dmain|display|cursor|inputs|record|playback] + [,plaintext-channel=3Dmain|display|cursor|inputs|record|playback] + [,sasl=3Don|off][,disable-ticketing=3Don|off] + [,password-secret=3D] + [,image-compression=3Dauto_glz|auto_lz|quic|glz|lz|off] + [,jpeg-wan-compression=3Dauto|never|always] + [,zlib-glz-wan-compression=3Dauto|never|always] + [,streaming-video=3Doff|all|filter][,disable-copy-paste=3Don|off] + [,disable-agent-file-xfer=3Don|off][,agent-mouse=3Don|off] + [,playback-compression=3Don|off][,seamless-migration=3Don|off] + [,video-codec=3D + [,max-refresh-rate=3Drate + [,gl=3Don|off][,rendernode=3D] + enable spice + at least one of {port, tls-port} is mandatory +-vga [std|cirrus|vmware|qxl|xenfb|tcx|cg3|virtio|none] + select video card type +-full-screen start in full screen +-vnc shorthand for -display vnc=3D + +Network options: +-netdev passt,id=3Dstr[,path=3Dfile][,quiet=3Don|off][,vhost-user=3Don|off] +[,mtu=3Dmtu][,address=3Daddr][,netmask=3Dmask][,mac=3Daddr][,gateway=3Dadd= r] + [,interface=3Dname][,outbound=3Daddress][,outbound-if4=3Dname] + [,outbound-if6=3Dname][,dns=3Daddr][,search=3Dlist][,fqdn=3Dname] + [,dhcp-dns=3Don|off][,dhcp-search=3Don|off][,map-host-loopback= =3Daddr] + [,map-guest-addr=3Daddr][,dns-forward=3Daddr][,dns-host=3Daddr] + [,tcp=3Don|off][,udp=3Don|off][,icmp=3Don|off][,dhcp=3Don|off] + [,ndp=3Don|off][,dhcpv6=3Don|off][,ra=3Don|off][,freebind=3Don|o= ff] + [,ipv4=3Don|off][,ipv6=3Don|off][,tcp-ports=3Dspec][,udp-ports= =3Dspec] + [,param=3Dlist] + configure a passt network backend with ID 'str' + if 'path' is not provided 'passt' will be started accordin= g to PATH + by default, informational message of passt are not display= ed (quiet=3Don) + to display this message, use 'quiet=3Doff' + by default, passt will be started in socket-based mode, to= enable vhost-mode, + use 'vhost-user=3Don' + for details on other options, refer to passt(1) + 'param' allows to pass any option defined by passt(1) +-netdev user,id=3Dstr[,ipv4=3Don|off][,net=3Daddr[/mask]][,host=3Daddr] + [,ipv6=3Don|off][,ipv6-net=3Daddr[/int]][,ipv6-host=3Daddr] + [,restrict=3Don|off][,hostname=3Dhost][,dhcpstart=3Daddr] + [,dns=3Daddr][,ipv6-dns=3Daddr][,dnssearch=3Ddomain][,domainname= =3Ddomain] + [,tftp=3Ddir][,tftp-server-name=3Dname][,bootfile=3Df][,hostfwd= =3Drule][,guestfwd=3Drule][,smb=3Ddir[,smbserver=3Daddr]] + configure a user mode network backend with ID 'str', + its DHCP server and optional services +-netdev tap,id=3Dstr[,fd=3Dh][,fds=3Dx:y:...:z][,ifname=3Dname][,script=3D= file][,downscript=3Ddfile] + [,br=3Dbridge][,helper=3Dhelper][,sndbuf=3Dnbytes][,vnet_hdr=3Don= |off][,vhost=3Don|off] + [,vhostfd=3Dh][,vhostfds=3Dx:y:...:z][,vhostforce=3Don|off][,queu= es=3Dn] + [,poll-us=3Dn] + configure a host TAP network backend with ID 'str' + connected to a bridge (default=3Dbr0) + use network scripts 'file' (default=3D/usr/local/etc/qemu-= ifup) + to configure it and 'dfile' (default=3D/usr/local/etc/qemu= -ifdown) + to deconfigure it + use '[down]script=3Dno' to disable script execution + use network helper 'helper' (default=3D/usr/local/libexec/= qemu-bridge-helper) to + configure it + use 'fd=3Dh' to connect to an already opened TAP interface + use 'fds=3Dx:y:...:z' to connect to already opened multiqu= eue capable TAP interfaces + use 'sndbuf=3Dnbytes' to limit the size of the send buffer= (the + default is disabled 'sndbuf=3D0' to enable flow control se= t 'sndbuf=3D1048576') + use vnet_hdr=3Doff to avoid enabling the IFF_VNET_HDR tap = flag + use vnet_hdr=3Don to make the lack of IFF_VNET_HDR support= an error condition + use vhost=3Don to enable experimental in kernel accelerator + (only has effect for virtio guests which use MSIX) + use vhostforce=3Don to force vhost on for non-MSIX virtio = guests + use 'vhostfd=3Dh' to connect to an already opened vhost ne= t device + use 'vhostfds=3Dx:y:...:z to connect to multiple already o= pened vhost net devices + use 'queues=3Dn' to specify the number of queues to be cre= ated for multiqueue TAP + use 'poll-us=3Dn' to specify the maximum number of microse= conds that could be + spent on busy polling for vhost net +-netdev bridge,id=3Dstr[,br=3Dbridge][,helper=3Dhelper] + configure a host TAP network backend with ID 'str' that is + connected to a bridge (default=3Dbr0) + using the program 'helper (default=3D/usr/local/libexec/qe= mu-bridge-helper) +-netdev l2tpv3,id=3Dstr,src=3Dsrcaddr,dst=3Ddstaddr[,srcport=3Dsrcport][,d= stport=3Ddstport] + [,rxsession=3Drxsession],txsession=3Dtxsession[,ipv6=3Don|off][,u= dp=3Don|off] + [,cookie64=3Don|off][,counter][,pincounter][,txcookie=3Dtxcookie] + [,rxcookie=3Drxcookie][,offset=3Doffset] + configure a network backend with ID 'str' connected to + an Ethernet over L2TPv3 pseudowire. + Linux kernel 3.3+ as well as most routers can talk + L2TPv3. This transport allows connecting a VM to a VM, + VM to a router and even VM to Host. It is a nearly-univers= al + standard (RFC3931). Note - this implementation uses static + pre-configured tunnels (same as the Linux kernel). + use 'src=3D' to specify source address + use 'dst=3D' to specify destination address + use 'udp=3Don' to specify udp encapsulation + use 'srcport=3D' to specify source udp port + use 'dstport=3D' to specify destination udp port + use 'ipv6=3Don' to force v6 + L2TPv3 uses cookies to prevent misconfiguration as + well as a weak security measure + use 'rxcookie=3D0x012345678' to specify a rxcookie + use 'txcookie=3D0x012345678' to specify a txcookie + use 'cookie64=3Don' to set cookie size to 64 bit, otherwis= e 32 + use 'counter=3Doff' to force a 'cut-down' L2TPv3 with no c= ounter + use 'pincounter=3Don' to work around broken counter handli= ng in peer + use 'offset=3DX' to add an extra offset between header and= data +-netdev socket,id=3Dstr[,fd=3Dh][,listen=3D[host]:port][,connect=3Dhost:po= rt] + configure a network backend to connect to another network + using a socket connection +-netdev socket,id=3Dstr[,fd=3Dh][,mcast=3Dmaddr:port[,localaddr=3Daddr]] + configure a network backend to connect to a multicast madd= r and port + use 'localaddr=3Daddr' to specify the host address to send= packets from +-netdev socket,id=3Dstr[,fd=3Dh][,udp=3Dhost:port][,localaddr=3Dhost:port] + configure a network backend to connect to another network + using an UDP tunnel +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dinet,addr.host=3Dhos= t,addr.port=3Dport[,to=3Dmaxport][,numeric=3Don|off][,keep-alive=3Don|off][= ,mptcp=3Don|off][,addr.ipv4=3Don|off][,addr.ipv6=3Don|off][,reconnect-ms=3D= milliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dunix,addr.path=3Dpat= h[,abstract=3Don|off][,tight=3Don|off][,reconnect-ms=3Dmilliseconds] +-netdev stream,id=3Dstr[,server=3Don|off],addr.type=3Dfd,addr.str=3Dfile-d= escriptor[,reconnect-ms=3Dmilliseconds] + configure a network backend to connect to another network + using a socket connection in stream mode. +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dinet,local.host=3Daddr] +-netdev dgram,id=3Dstr,remote.type=3Dinet,remote.host=3Dmaddr,remote.port= =3Dport[,local.type=3Dfd,local.str=3Dfile-descriptor] + configure a network backend to connect to a multicast madd= r and port + use ``local.host=3Daddr`` to specify the host address to s= end packets from +-netdev dgram,id=3Dstr,local.type=3Dinet,local.host=3Daddr,local.port=3Dpo= rt[,remote.type=3Dinet,remote.host=3Daddr,remote.port=3Dport] +-netdev dgram,id=3Dstr,local.type=3Dunix,local.path=3Dpath[,remote.type=3D= unix,remote.path=3Dpath] +-netdev dgram,id=3Dstr,local.type=3Dfd,local.str=3Dfile-descriptor + configure a network backend to connect to another network + using an UDP tunnel +-netdev vhost-user,id=3Dstr,chardev=3Ddev[,vhostforce=3Don|off] + configure a vhost-user network, backed by a chardev 'dev' +-netdev vhost-vdpa,id=3Dstr[,vhostdev=3D/path/to/dev][,vhostfd=3Dh] + configure a vhost-vdpa network,Establish a vhost-vdpa netd= ev + use 'vhostdev=3D/path/to/dev' to open a vhost vdpa device + use 'vhostfd=3Dh' to connect to an already opened vhost vd= pa device +-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd] + configure a hub port on the hub with ID 'n' +-nic [tap|bridge|passt|user|l2tpv3|vhost-user|socket][,option][,...][mac= =3Dmacaddr] + initialize an on-board / default host NIC (using MAC addre= ss + macaddr) and connect it to the given host network backend +-nic none use it alone to have zero network devices (the default is = to + provided a 'user' network connection) +-net nic[,macaddr=3Dmac][,model=3Dtype][,name=3Dstr][,addr=3Dstr][,vectors= =3Dv] + configure or create an on-board (or machine default) NIC a= nd + connect it to hub 0 (please use -nic unless you need a hub) +-net [passt|user|tap|bridge|socket][,option][,option][,...] + old way to initialize a host network interface + (use the -netdev option if possible instead) + +Character device options: +-chardev help +-chardev null,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off] +-chardev socket,id=3Did[,host=3Dhost],port=3Dport[,to=3Dto][,ipv4=3Don|off= ][,ipv6=3Don|off][,nodelay=3Don|off] + [,server=3Don|off][,wait=3Don|off][,telnet=3Don|off][,websocket= =3Don|off][,reconnect-ms=3Dmilliseconds][,mux=3Don|off] + [,logfile=3DPATH][,logappend=3Don|off][,tls-creds=3DID][,tls-auth= z=3DID] (tcp) +-chardev socket,id=3Did,path=3Dpath[,server=3Don|off][,wait=3Don|off][,tel= net=3Don|off][,websocket=3Don|off][,reconnect-ms=3Dmilliseconds] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,abstract= =3Don|off][,tight=3Don|off] (unix) +-chardev udp,id=3Did[,host=3Dhost],port=3Dport[,localaddr=3Dlocaladdr] + [,localport=3Dlocalport][,ipv4=3Don|off][,ipv6=3Don|off][,mux=3Do= n|off] + [,logfile=3DPATH][,logappend=3Don|off] +-chardev msmouse,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev vc,id=3Did[[,width=3Dwidth][,height=3Dheight]][[,cols=3Dcols][,ro= ws=3Drows]] + [,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|off][,encoding= =3DENCODING] +-chardev ringbuf,id=3Did[,size=3Dsize][,logfile=3DPATH][,logappend=3Don|of= f] +-chardev file,id=3Did,path=3Dpath[,input-path=3Dinput-file][,mux=3Don|off]= [,logfile=3DPATH][,logappend=3Don|off] +-chardev pipe,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] +-chardev pty,id=3Did[,path=3Dpath][,mux=3Don|off][,logfile=3DPATH][,logapp= end=3Don|off] +-chardev stdio,id=3Did[,mux=3Don|off][,signal=3Don|off][,logfile=3DPATH][,= logappend=3Don|off] +-chardev braille,id=3Did[,mux=3Don|off][,logfile=3DPATH][,logappend=3Don|o= ff] +-chardev serial,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,logap= pend=3Don|off] +-chardev parallel,id=3Did,path=3Dpath[,mux=3Don|off][,logfile=3DPATH][,log= append=3Don|off] +-chardev spicevmc,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,lo= gappend=3Don|off] +-chardev spiceport,id=3Did,name=3Dname[,debug=3Ddebug][,logfile=3DPATH][,l= ogappend=3Don|off] +-chardev dbus,id=3Did,name=3Dname[,mux=3Don|off][,logfile=3DPATH][,logappe= nd=3Don|off] + +TPM device options: +-tpmdev passthrough,id=3Did[,path=3Dpath][,cancel-path=3Dpath] + use path to provide path to a character device; default is= /dev/tpm0 + use cancel-path to provide path to TPM's cancel sysfs entr= y; if + not provided it will be searched for in /sys/class/misc/tp= m?/device +-tpmdev emulator,id=3Did,chardev=3Ddev + configure the TPM device using chardev backend + +Boot Image or Kernel specific: +-bios file set the filename for the BIOS +-pflash file use 'file' as a parallel flash image +-kernel bzImage use 'bzImage' as kernel image +-shim shim.efi use 'shim.efi' to boot the kernel +-append cmdline use 'cmdline' as kernel command line +-initrd file use 'file' as initial ram disk +-dtb file use 'file' as device tree image + +Debug/Expert options: +-compat [deprecated-input=3Daccept|reject|crash][,deprecated-output=3Dacce= pt|hide] + Policy for handling deprecated management interfaces +-compat [unstable-input=3Daccept|reject|crash][,unstable-output=3Daccept|h= ide] + Policy for handling unstable management interfaces +-fw_cfg [name=3D],file=3D + add named fw_cfg entry with contents from file +-fw_cfg [name=3D],string=3D + add named fw_cfg entry with contents from string +-serial dev redirect the serial port to char device 'dev' +-parallel dev redirect the parallel port to char device 'dev' +-monitor dev redirect the monitor to char device 'dev' +-qmp dev like -monitor but opens in 'control' mode +-qmp-pretty dev like -qmp but uses pretty JSON formatting +-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty=3Don|off] +-debugcon dev redirect the debug console to char device 'dev' +-pidfile file write PID to 'file' +--preconfig pause QEMU before machine is initialized (experimental) +-S freeze CPU at startup (use 'c' to start execution) +-overcommit [mem-lock=3Don|off|on-fault][cpu-pm=3Don|off] + run qemu with overcommit hints + mem-lock=3Don|off|on-fault controls memory lock support (d= efault: off) + cpu-pm=3Don|off controls cpu power management (default: of= f) +-gdb dev accept gdb connection on 'dev'. (QEMU defaults to starting + the guest without waiting for gdb to connect; use -S too + if you want it to not start execution.) +-s shorthand for -gdb tcp::1234 +-d item1,... enable logging of specified items (use '-d help' for a lis= t of log items) +-D logfile output log to logfile (default stderr) +-dfilter range,.. filter debug output to range of addresses (useful for -= d cpu,exec,etc..) +-seed number seed the pseudo-random number generator +-L path set the directory for the BIOS, VGA BIOS and keymaps +-no-reboot exit instead of rebooting +-no-shutdown stop before shutdown +-action reboot=3Dreset|shutdown + action when guest reboots [default=3Dreset] +-action shutdown=3Dpoweroff|pause + action when guest shuts down [default=3Dpoweroff] +-action panic=3Dpause|shutdown|exit-failure|none + action when guest panics [default=3Dshutdown] +-action watchdog=3Dreset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-loadvm [tag|id] + start right away with a saved state (loadvm in monitor) +-daemonize daemonize QEMU after initializing +-option-rom rom load a file, rom, into the option ROM space +-rtc [base=3Dutc|localtime|][,clock=3Dhost|rt|vm][,driftfix=3Dno= ne|slew][,speed-factor=3Dvalue] + set the RTC base and clock, enable drift fix for clock tic= ks (x86 only) +-icount [shift=3DN|auto][,align=3Don|off][,sleep=3Don|off][,rr=3Drecord|re= play,rrfile=3D[,rrsnapshot=3D]] + enable virtual instruction counter with 2^N clock ticks per + instruction, enable aligning the host and virtual clocks + or disable real time cpu sleeping, and optionally enable + record-and-replay mode +-watchdog-action reset|shutdown|poweroff|inject-nmi|pause|debug|none + action when watchdog fires [default=3Dreset] +-echr chr set terminal escape character instead of ctrl-a +-incoming tcp:[host]:port[,to=3Dmaxport][,ipv4=3Don|off][,ipv6=3Don|off] +-incoming rdma:host:port[,ipv4=3Don|off][,ipv6=3Don|off] +-incoming unix:socketpath + prepare for incoming migration, listen on + specified protocol and socket address +-incoming fd:fd +-incoming file:filename[,offset=3Doffset] +-incoming exec:cmdline + accept incoming migration on given file descriptor + or from given external command +-incoming + accept incoming migration on the migration channel +-incoming defer + wait for the URI to be specified via migrate_incoming +-only-migratable allow only migratable devices +-nodefaults don't create default devices +-semihosting semihosting mode +-semihosting-config [enable=3Don|off][,target=3Dnative|gdb|auto][,chardev= =3Did][,userspace=3Don|off][,arg=3Dstr[,...]] + semihosting configuration +-sandbox on[,obsolete=3Dallow|deny][,elevateprivileges=3Dallow|deny|childr= en] + [,spawn=3Dallow|deny][,resourcecontrol=3Dallow|deny] + Enable seccomp mode 2 system call filter (default 'off'). + use 'obsolete' to allow obsolete system calls that are pro= vided + by the kernel, but typically no longer used by modern + C library implementations. + use 'elevateprivileges' to allow or deny the QEMU process = ability + to elevate privileges using set*uid|gid system calls. + The value 'children' will deny set*uid|gid system call= s for + main QEMU process but will allow forks and execves to = run unprivileged + use 'spawn' to avoid QEMU to spawn new threads or processe= s by + blocking *fork and execve + use 'resourcecontrol' to disable process affinity and sche= duler priority +-readconfig + read config file +-no-user-config + do not load default user-provided config files at startup +-trace [[enable=3D]][,events=3D][,file=3D] + specify tracing options +-plugin [file=3D][,=3D] + load a plugin +-run-with [async-teardown=3Don|off][,chroot=3Ddir] + [,exit-with-parent=3Don|off][,user=3Dusername|uid:gid] + Set miscellaneous QEMU process lifecycle options: + async-teardown=3Don enables asynchronous teardown (Linux o= nly) + exit-with-parent=3Don causes QEMU to exit if the parent + process of QEMU exits (Linux, FreeBSD, macOS only) + chroot=3Ddir chroot to dir just before starting the VM + user=3Dusername switch to the specified user before starti= ng the VM + user=3Duid:gid ditto, but use specified user-ID and group-= ID instead +-msg [timestamp=3Don|off][,guest-name=3Don|off] + control error message format + timestamp=3Don enables timestamps (default: off) + guest-name=3Don enables guest name prefix but only if + -name guest option is set (default: off) +-dump-vmstate + Output vmstate information in JSON format to file. + Use the scripts/vmstate-static-checker.py file to + check for possible regressions in migration code + by comparing two such vmstate dumps. +-enable-sync-profile + enable synchronization profiling +-perfmap generate a /tmp/perf-${pid}.map file for perf +-jitdump generate a jit-${pid}.dump file for perf + +Generic object creation: +-object TYPENAME[,PROP1=3DVALUE1,...] + create a new object of type TYPENAME setting properties + in the order they are specified. Note that the 'id' + property must be set. These objects are placed in the + '/objects' path. + +During emulation, the following keys are useful: +ctrl-alt-f toggle full screen +ctrl-alt-n switch to virtual console 'n' +ctrl-alt-g toggle mouse and keyboard grab + +When using -nographic, press 'ctrl-a h' to get some help. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-system-xtensaeb.machine_help b/cmdline_ref/qe= mu-system-xtensaeb.machine_help new file mode 100644 index 00000000000..97265b5f849 --- /dev/null +++ b/cmdline_ref/qemu-system-xtensaeb.machine_help @@ -0,0 +1,12 @@ +Supported machines are: +kc705 kc705 EVB (fsf) +kc705-nommu kc705 noMMU EVB (fsf) +lx200 lx200 EVB (fsf) +lx200-nommu lx200 noMMU EVB (fsf) +lx60 lx60 EVB (fsf) +lx60-nommu lx60 noMMU EVB (fsf) +ml605 ml605 EVB (fsf) +ml605-nommu ml605 noMMU EVB (fsf) +none empty machine +sim sim machine (fsf) (default) +virt virt machine (fsf) diff --git a/cmdline_ref/qemu-x86_64.cpu_help b/cmdline_ref/qemu-x86_64.cpu= _help new file mode 100644 index 00000000000..dec4823ad4c --- /dev/null +++ b/cmdline_ref/qemu-x86_64.cpu_help @@ -0,0 +1,259 @@ +Available CPUs: + 486 (alias configured by machine type) + 486-v1 + Broadwell (alias configured by machine type) + Broadwell-IBRS (alias of Broadwell-v3) + Broadwell-noTSX (alias of Broadwell-v2) + Broadwell-noTSX-IBRS (alias of Broadwell-v4) + Broadwell-v1 Intel Core Processor (Broadwell) + Broadwell-v2 Intel Core Processor (Broadwell, no TSX) + Broadwell-v3 Intel Core Processor (Broadwell, IBRS) + Broadwell-v4 Intel Core Processor (Broadwell, no TSX, IBRS) + Cascadelake-Server (alias configured by machine type) + Cascadelake-Server-noTSX (alias of Cascadelake-Server-v3) + Cascadelake-Server-v1 Intel Xeon Processor (Cascadelake) + Cascadelake-Server-v2 Intel Xeon Processor (Cascadelake) [ARCH_CAPABILI= TIES] + Cascadelake-Server-v3 Intel Xeon Processor (Cascadelake) [ARCH_CAPABILI= TIES, no TSX] + Cascadelake-Server-v4 Intel Xeon Processor (Cascadelake) [ARCH_CAPABILI= TIES, EPT switching, no TSX] + Cascadelake-Server-v5 Intel Xeon Processor (Cascadelake) [ARCH_CAPABILI= TIES, EPT switching, XSAVES, no TSX] + Cascadelake-Server-v6 Intel Xeon Processor (Cascadelake) [with MMIO/GDS= /RFDS mitigation status] + Cascadelake-Server-v7 Intel Xeon Processor (Cascadelake) [with MBEC ena= bled] + ClearwaterForest (alias configured by machine type) + ClearwaterForest-v1 Intel Xeon Processor (ClearwaterForest) + ClearwaterForest-v2 Intel Xeon Processor (ClearwaterForest) [with cet-= ss and cet-ibt] + ClearwaterForest-v3 Intel Xeon Processor (ClearwaterForest) [with its-= no, cwf-ap cache model and 0x1f leaf] + ClearwaterForest-v4 Intel Xeon Processor (ClearwaterForest) [with MBEC= enabled] + Conroe (alias configured by machine type) + Conroe-v1 Intel Celeron_4x0 (Conroe/Merom Class Core 2) + Cooperlake (alias configured by machine type) + Cooperlake-v1 Intel Xeon Processor (Cooperlake) + Cooperlake-v2 Intel Xeon Processor (Cooperlake) [XSAVES] + Denverton (alias configured by machine type) + Denverton-v1 Intel Atom Processor (Denverton) + Denverton-v2 Intel Atom Processor (Denverton) [no MPX, no MONIT= OR] + Denverton-v3 Intel Atom Processor (Denverton) [XSAVES, no MPX, = no MONITOR] + Dhyana (alias configured by machine type) + Dhyana-v1 Hygon Dhyana Processor + Dhyana-v2 Hygon Dhyana Processor [XSAVES] + DiamondRapids (alias configured by machine type) + DiamondRapids-v1 Intel Xeon Processor (DiamondRapids) + DiamondRapids-v2 Intel Xeon Processor (DiamondRapids) [with MBEC en= abled] + EPYC (alias configured by machine type) + EPYC-Genoa (alias configured by machine type) + EPYC-Genoa-v1 AMD EPYC-Genoa Processor + EPYC-Genoa-v2 AMD EPYC-Genoa-v2 Processor + EPYC-Genoa-v3 AMD EPYC-Genoa-v3 Processor + EPYC-IBPB (alias of EPYC-v2) + EPYC-Milan (alias configured by machine type) + EPYC-Milan-v1 AMD EPYC-Milan Processor + EPYC-Milan-v2 AMD EPYC-Milan-v2 Processor + EPYC-Milan-v3 AMD EPYC-Milan-v3 Processor + EPYC-Milan-v4 AMD EPYC-Milan-v4 Processor + EPYC-Rome (alias configured by machine type) + EPYC-Rome-v1 AMD EPYC-Rome Processor + EPYC-Rome-v2 AMD EPYC-Rome Processor + EPYC-Rome-v3 AMD EPYC-Rome-v3 Processor + EPYC-Rome-v4 AMD EPYC-Rome-v4 Processor (no XSAVES) + EPYC-Rome-v5 AMD EPYC-Rome-v5 Processor + EPYC-Turin (alias configured by machine type) + EPYC-Turin-v1 AMD EPYC-Turin Processor + EPYC-Turin-v2 AMD EPYC-Turin-v2 Processor + EPYC-v1 AMD EPYC Processor + EPYC-v2 AMD EPYC Processor (with IBPB) + EPYC-v3 AMD EPYC Processor + EPYC-v4 AMD EPYC-v4 Processor + EPYC-v5 AMD EPYC-v5 Processor + GraniteRapids (alias configured by machine type) + GraniteRapids-v1 Intel Xeon Processor (GraniteRapids) + GraniteRapids-v2 Intel Xeon Processor (GraniteRapids) + GraniteRapids-v3 Intel Xeon Processor (GraniteRapids) [with gnr-sp = cache model and 0x1f leaf] + GraniteRapids-v4 Intel Xeon Processor (GraniteRapids) [with cet-ss = and cet-ibt] + GraniteRapids-v5 Intel Xeon Processor (GraniteRapids) [with its-no] + GraniteRapids-v6 Intel Xeon Processor (GraniteRapids) [with GDS and= RFDS mitigation status] + GraniteRapids-v7 Intel Xeon Processor (GraniteRapids) [with MBEC en= abled] + Haswell (alias configured by machine type) + Haswell-IBRS (alias of Haswell-v3) + Haswell-noTSX (alias of Haswell-v2) + Haswell-noTSX-IBRS (alias of Haswell-v4) + Haswell-v1 Intel Core Processor (Haswell) + Haswell-v2 Intel Core Processor (Haswell, no TSX) + Haswell-v3 Intel Core Processor (Haswell, IBRS) + Haswell-v4 Intel Core Processor (Haswell, no TSX, IBRS) + Icelake-Server (alias configured by machine type) + Icelake-Server-noTSX (alias of Icelake-Server-v2) + Icelake-Server-v1 Intel Xeon Processor (Icelake) + Icelake-Server-v2 Intel Xeon Processor (Icelake) [no TSX] + Icelake-Server-v3 Intel Xeon Processor (Icelake) + Icelake-Server-v4 Intel Xeon Processor (Icelake) + Icelake-Server-v5 Intel Xeon Processor (Icelake) [XSAVES] + Icelake-Server-v6 Intel Xeon Processor (Icelake) [5-level EPT] + Icelake-Server-v7 Intel Xeon Processor (Icelake) [TSX, taa-no] + Icelake-Server-v8 Intel Xeon Processor (Icelake) [with MMIO/GDS/RFDS= mitigation status] + Icelake-Server-v9 Intel Xeon Processor (Icelake) [with MBEC enabled] + IvyBridge (alias configured by machine type) + IvyBridge-IBRS (alias of IvyBridge-v2) + IvyBridge-v1 Intel Xeon E3-12xx v2 (Ivy Bridge) + IvyBridge-v2 Intel Xeon E3-12xx v2 (Ivy Bridge, IBRS) + KnightsMill (alias configured by machine type) + KnightsMill-v1 Intel Xeon Phi Processor (Knights Mill) + Nehalem (alias configured by machine type) + Nehalem-IBRS (alias of Nehalem-v2) + Nehalem-v1 Intel Core i7 9xx (Nehalem Class Core i7) + Nehalem-v2 Intel Core i7 9xx (Nehalem Core i7, IBRS update) + Opteron_G1 (alias configured by machine type) + Opteron_G1-v1 AMD Opteron 240 (Gen 1 Class Opteron) + Opteron_G2 (alias configured by machine type) + Opteron_G2-v1 AMD Opteron 22xx (Gen 2 Class Opteron) + Opteron_G3 (alias configured by machine type) + Opteron_G3-v1 AMD Opteron 23xx (Gen 3 Class Opteron) + Opteron_G4 (alias configured by machine type) + Opteron_G4-v1 AMD Opteron 62xx class CPU + Opteron_G5 (alias configured by machine type) + Opteron_G5-v1 AMD Opteron 63xx class CPU + Penryn (alias configured by machine type) + Penryn-v1 Intel Core 2 Duo P9xxx (Penryn Class Core 2) + SandyBridge (alias configured by machine type) + SandyBridge-IBRS (alias of SandyBridge-v2) + SandyBridge-v1 Intel Xeon E312xx (Sandy Bridge) + SandyBridge-v2 Intel Xeon E312xx (Sandy Bridge, IBRS update) + SapphireRapids (alias configured by machine type) + SapphireRapids-v1 Intel Xeon Processor (SapphireRapids) + SapphireRapids-v2 Intel Xeon Processor (SapphireRapids) + SapphireRapids-v3 Intel Xeon Processor (SapphireRapids) + SapphireRapids-v4 Intel Xeon Processor (SapphireRapids) [with spr-sp= cache model and 0x1f leaf] + SapphireRapids-v5 Intel Xeon Processor (SapphireRapids) [with cet-ss= and cet-ibt] + SapphireRapids-v6 Intel Xeon Processor (SapphireRapids) [with its-no] + SapphireRapids-v7 Intel Xeon Processor (SapphireRapids) [with GDS an= d RFDS mitigation status] + SapphireRapids-v8 Intel Xeon Processor (SapphireRapids) [with MBEC e= nabled] + SierraForest (alias configured by machine type) + SierraForest-v1 Intel Xeon Processor (SierraForest) + SierraForest-v2 Intel Xeon Processor (SierraForest) + SierraForest-v3 Intel Xeon Processor (SierraForest) [with srf-sp c= ache model and 0x1f leaf] + SierraForest-v4 Intel Xeon Processor (SierraForest) [with cet-ss a= nd cet-ibt] + SierraForest-v5 Intel Xeon Processor (SierraForest) [with its-no] + SierraForest-v6 Intel Xeon Processor (SierraForest) [with MBEC ena= bled] + Skylake-Client (alias configured by machine type) + Skylake-Client-IBRS (alias of Skylake-Client-v2) + Skylake-Client-noTSX-IBRS (alias of Skylake-Client-v3) + Skylake-Client-v1 Intel Core Processor (Skylake) + Skylake-Client-v2 Intel Core Processor (Skylake, IBRS) + Skylake-Client-v3 Intel Core Processor (Skylake, IBRS, no TSX) + Skylake-Client-v4 Intel Core Processor (Skylake, IBRS, no TSX) [IBRS= , XSAVES, no TSX] + Skylake-Server (alias configured by machine type) + Skylake-Server-IBRS (alias of Skylake-Server-v2) + Skylake-Server-noTSX-IBRS (alias of Skylake-Server-v3) + Skylake-Server-v1 Intel Xeon Processor (Skylake) + Skylake-Server-v2 Intel Xeon Processor (Skylake, IBRS) + Skylake-Server-v3 Intel Xeon Processor (Skylake, IBRS, no TSX) + Skylake-Server-v4 Intel Xeon Processor (Skylake, IBRS, no TSX) [IBRS= , EPT switching, no TSX] + Skylake-Server-v5 Intel Xeon Processor (Skylake, IBRS, no TSX) [IBRS= , XSAVES, EPT switching, no TSX] + Skylake-Server-v6 Intel Xeon Processor (Skylake, IBRS, no TSX) [with= MBEC enabled] + Snowridge (alias configured by machine type) + Snowridge-v1 Intel Atom Processor (SnowRidge) + Snowridge-v2 Intel Atom Processor (Snowridge, no MPX) + Snowridge-v3 Intel Atom Processor (Snowridge, no MPX) [XSAVES, = no MPX] + Snowridge-v4 Intel Atom Processor (Snowridge, no MPX) [no split= lock detect, no core-capability] + Westmere (alias configured by machine type) + Westmere-IBRS (alias of Westmere-v2) + Westmere-v1 Westmere E56xx/L56xx/X56xx (Nehalem-C) + Westmere-v2 Westmere E56xx/L56xx/X56xx (IBRS update) + YongFeng (alias configured by machine type) + YongFeng-v1 Zhaoxin YongFeng Processor + YongFeng-v2 Zhaoxin YongFeng Processor [with the correct model= number] + YongFeng-v3 Zhaoxin YongFeng Processor [with the cache model a= nd 0x1f leaf] + athlon (alias configured by machine type) + athlon-v1 QEMU Virtual CPU version 2.5+ + core2duo (alias configured by machine type) + core2duo-v1 Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz + coreduo (alias configured by machine type) + coreduo-v1 Genuine Intel(R) CPU T2600 @ 2.16GHz + kvm32 (alias configured by machine type) + kvm32-v1 Common 32-bit KVM processor + kvm64 (alias configured by machine type) + kvm64-v1 Common KVM processor + n270 (alias configured by machine type) + n270-v1 Intel(R) Atom(TM) CPU N270 @ 1.60GHz + pentium (alias configured by machine type) + pentium-v1 + pentium2 (alias configured by machine type) + pentium2-v1 + pentium3 (alias configured by machine type) + pentium3-v1 + phenom (alias configured by machine type) + phenom-v1 AMD Phenom(tm) 9550 Quad-Core Processor + qemu32 (alias configured by machine type) + qemu32-v1 QEMU Virtual CPU version 2.5+ + qemu64 (alias configured by machine type) + qemu64-v1 QEMU Virtual CPU version 2.5+ + base base CPU model type with no features enabled + max Enables all features supported by the accelerator = in the current host + +Recognized CPUID flags: + 3dnow 3dnowext 3dnowprefetch abm ace2 ace2-en acpi adx aes amd-no-ssb + amd-psfd amd-ssbd amd-stibp amx-avx512 amx-bf16 amx-bf16-alias + amx-complex amx-complex-alias amx-fp16 amx-fp16-alias amx-fp8 amx-int8 + amx-int8-alias amx-movrs amx-tf32 amx-tile apic apx-nci-ndd-nf apxf arat + arch-capabilities arch-lbr auto-ibrs avic avx avx-ifma avx-ne-convert + avx-vnni avx-vnni-int16 avx-vnni-int8 avx10 avx10-128 avx10-256 avx10-512 + avx10-vnni-int avx2 avx512-4fmaps avx512-4vnniw avx512-bf16 avx512-fp16 + avx512-vp2intersect avx512-vpopcntdq avx512bitalg avx512bw avx512cd + avx512dq avx512er avx512f avx512ifma avx512pf avx512vbmi avx512vbmi2 + avx512vl avx512vnni bhi-ctrl bhi-no bmi1 bmi2 bus-lock-detect cet-ibt + cet-ss cid cldemote clflush clflushopt clwb clzero cmov cmp-legacy + cmpccxadd core-capability cr8legacy cx16 cx8 dca ddpd-u de decodeassists + ds ds-cpl dtes64 eraps erms est extapic f16c fb-clear fbsdp-no + fdp-excptn-only flush-l1d flushbyasid fma fma4 fpu fred fs-gs-base-ns + fsgsbase fsrc fsrm fsrs full-width-write fxsr fxsr-opt fzrm gds-no gfni + gmet hle ht hypervisor ia64 ibpb ibpb-brtype ibrs ibrs-all ibs intel-psfd + intel-pt intel-pt-lip invpcid invtsc ipred-ctrl its-no kvm-asyncpf + kvm-asyncpf-int kvm-asyncpf-vmexit kvm-hint-dedicated kvm-mmu + kvm-msi-ext-dest-id kvm-nopiodelay kvm-poll-control kvm-pv-eoi kvm-pv-ipi + kvm-pv-sched-yield kvm-pv-tlb-flush kvm-pv-unhalt kvm-steal-time kvmclock + kvmclock kvmclock-stable-bit la57 lahf-lm lam lbrv + lfence-always-serializing lkgs lm lwp mca mcdt-no mce md-clear mds-no + misalignsse mmx mmxext monitor movbe movdir64b movdiri movrs mpx msr + msr-imm mtrr no-nested-data-bp nodeid-msr npt nrip-save null-sel-clr-base + nx osvw overflow-recov pae pat pause-filter pbe pbrsb-no pcid pclmulqdq + pcommit pdcm pdpe1gb perfctr-core perfctr-nb perfmon-v2 pfthreshold pge + phe phe-en pks pku pmm pmm-en pn pni popcnt prefetchi prefetchiti + pschange-mc-no psdp-no pse pse36 rdctl-no rdpid rdrand rdseed rdtscp + rfds-clear rfds-no rrsba-ctrl rsba rtm sbdr-ssdp-no sbpb sep serialize + sgx sgx-aex-notify sgx-debug sgx-edeccssa sgx-exinfo sgx-kss sgx-mode64 + sgx-provisionkey sgx-tokenkey sgx1 sgx2 sgxlc sha-ni sha512 skinit + skip-l1dfl-vmentry sm3 sm4 smap smep smx spec-ctrl split-lock-detect + srso-no srso-user-kernel-no ss ssb-no ssbd sse sse2 sse4.1 sse4.2 sse4a + ssse3 stibp stibp-always-on succor svm svm-lock svme-addr-chk syscall + taa-no tbm tce tm tm2 topoext tsa-l1-no tsa-sq-no tsc tsc-adjust + tsc-deadline tsc-scale tsx-ctrl tsx-ldtrk umip v-vmsave-vmload vaes + verw-clear vgif virt-ssbd vmcb-clean vme vmx vmx-activity-hlt + vmx-activity-shutdown vmx-activity-wait-sipi vmx-any-errcode + vmx-apicv-register vmx-apicv-vid vmx-apicv-x2apic vmx-apicv-xapic + vmx-cr3-load-noexit vmx-cr3-store-noexit vmx-cr8-load-exit + vmx-cr8-store-exit vmx-desc-exit vmx-enable-user-wait-pause + vmx-encls-exit vmx-entry-ia32e-mode vmx-entry-load-bndcfgs + vmx-entry-load-cet vmx-entry-load-efer vmx-entry-load-fred + vmx-entry-load-pat vmx-entry-load-perf-global-ctrl vmx-entry-load-pkrs + vmx-entry-load-rtit-ctl vmx-entry-noload-debugctl vmx-ept vmx-ept-1gb + vmx-ept-2mb vmx-ept-advanced-exitinfo vmx-ept-execonly vmx-eptad + vmx-eptp-switching vmx-exit-ack-intr vmx-exit-clear-bndcfgs + vmx-exit-clear-rtit-ctl vmx-exit-load-efer vmx-exit-load-pat + vmx-exit-load-perf-global-ctrl vmx-exit-load-pkrs + vmx-exit-nosave-debugctl vmx-exit-save-cet vmx-exit-save-efer + vmx-exit-save-pat vmx-exit-save-preemption-timer vmx-exit-secondary-ctls + vmx-flexpriority vmx-hlt-exit vmx-ins-outs vmx-intr-exit vmx-invept + vmx-invept-all-context vmx-invept-single-context + vmx-invept-single-context vmx-invept-single-context-noglobals + vmx-invlpg-exit vmx-invpcid-exit vmx-invvpid vmx-invvpid-all-context + vmx-invvpid-single-addr vmx-io-bitmap vmx-io-exit vmx-mbec + vmx-monitor-exit vmx-movdr-exit vmx-msr-bitmap vmx-mtf vmx-mwait-exit + vmx-nested-exception vmx-nmi-exit vmx-page-walk-4 vmx-page-walk-5 + vmx-pause-exit vmx-ple vmx-pml vmx-posted-intr vmx-preemption-timer + vmx-rdpmc-exit vmx-rdrand-exit vmx-rdseed-exit vmx-rdtsc-exit + vmx-rdtscp-exit vmx-secondary-ctls vmx-shadow-vmcs vmx-store-lma + vmx-true-ctls vmx-tsc-offset vmx-tsc-scaling vmx-unrestricted-guest + vmx-vintr-pending vmx-vmfunc vmx-vmwrite-vmexit-fields vmx-vnmi + vmx-vnmi-pending vmx-vpid vmx-wbinvd-exit vmx-xsaves vmx-zero-len-inject + vnmi vpclmulqdq waitpkg wbnoinvd wdt wrmsrns x2apic xcrypt xcrypt-en xfd + xgetbv1 xop xsave xsavec xsaveerptr xsaveopt xsaves xstore xstore-en xtpr + zero-fcs-fds + diff --git a/cmdline_ref/qemu-x86_64.help b/cmdline_ref/qemu-x86_64.help new file mode 100644 index 00000000000..87948d2064e --- /dev/null +++ b/cmdline_ref/qemu-x86_64.help @@ -0,0 +1,50 @@ +Linux CPU emulator (compiled for x86_64 emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix t= o 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' byt= es +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment varia= ble (see below) +-U var QEMU_UNSET_ENV unsets targets environment varia= ble (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] to= be 'argv0' +-r uname QEMU_UNAME set qemu uname release string to= 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addre= ss' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest v= irtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsig= +n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified item= s (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address = range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (default= stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction p= er emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number ge= nerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and = exit +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map = file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file = for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-x86_64 +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-xtensa.cpu_help b/cmdline_ref/qemu-xtensa.cpu= _help new file mode 100644 index 00000000000..44448889b4f --- /dev/null +++ b/cmdline_ref/qemu-xtensa.cpu_help @@ -0,0 +1,9 @@ +Available CPUs: + dc232b + dc233c + de212 + de233_fpu + dsp3400 + lx106 + sample_controller + test_mmuhifi_c3 diff --git a/cmdline_ref/qemu-xtensa.help b/cmdline_ref/qemu-xtensa.help new file mode 100644 index 00000000000..8aeba287928 --- /dev/null +++ b/cmdline_ref/qemu-xtensa.help @@ -0,0 +1,51 @@ +Linux CPU emulator (compiled for xtensa emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix = to 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' by= tes +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment vari= able (see below) +-U var QEMU_UNSET_ENV unsets targets environment vari= able (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] t= o be 'argv0' +-r uname QEMU_UNAME set qemu uname release string t= o 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addr= ess' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest = virtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsi= g+n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified ite= ms (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address= range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (defaul= t stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction = per emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number g= enerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and= exit +-xtensa-abi-call0 QEMU_XTENSA_ABI_CALL0 assume CALL0 Xtensa ABI +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map= file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file= for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-xtensa +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_ref/qemu-xtensaeb.cpu_help b/cmdline_ref/qemu-xtensaeb= .cpu_help new file mode 100644 index 00000000000..9503e254c20 --- /dev/null +++ b/cmdline_ref/qemu-xtensaeb.cpu_help @@ -0,0 +1,3 @@ +Available CPUs: + fsf + test_kc705_be diff --git a/cmdline_ref/qemu-xtensaeb.help b/cmdline_ref/qemu-xtensaeb.help new file mode 100644 index 00000000000..af0a6800e58 --- /dev/null +++ b/cmdline_ref/qemu-xtensaeb.help @@ -0,0 +1,51 @@ +Linux CPU emulator (compiled for xtensaeb emulation) + +Options and associated environment variables: + +Argument Env-variable Description +-h print this help +-help +-g port QEMU_GDB wait gdb connection to 'port' +-L path QEMU_LD_PREFIX set the elf interpreter prefix = to 'path' +-s size QEMU_STACK_SIZE set the stack size to 'size' by= tes +-cpu model QEMU_CPU select CPU (-cpu help for list) +-E var=3Dvalue QEMU_SET_ENV sets targets environment vari= able (see below) +-U var QEMU_UNSET_ENV unsets targets environment vari= able (see below) +-0 argv0 QEMU_ARGV0 forces target process argv[0] t= o be 'argv0' +-r uname QEMU_UNAME set qemu uname release string t= o 'uname' +-B address QEMU_GUEST_BASE set guest_base address to 'addr= ess' +-R size QEMU_RESERVED_VA reserve 'size' bytes for guest = virtual address space +-t tsig hsig n[,...] QEMU_RTSIG_MAP map target rt signals [tsig,tsi= g+n) to [hsig,hsig+n] +-d item[,...] QEMU_LOG enable logging of specified ite= ms (use '-d help' for a list of items) +-dfilter range[,...] QEMU_DFILTER filter logging based on address= range +-D logfile QEMU_LOG_FILENAME write logs to 'logfile' (defaul= t stderr) +-one-insn-per-tb QEMU_ONE_INSN_PER_TB run with one guest instruction = per emulated TB +-tb-size size QEMU_TB_SIZE TCG translation block cache size +-strace QEMU_STRACE log system calls +-seed QEMU_RAND_SEED Seed for pseudo-random number g= enerator +-trace QEMU_TRACE [[enable=3D]][,events= =3D][,file=3D] +-plugin QEMU_PLUGIN [file=3D][,=3D] +-version QEMU_VERSION display version information and= exit +-xtensa-abi-call0 QEMU_XTENSA_ABI_CALL0 assume CALL0 Xtensa ABI +-perfmap QEMU_PERFMAP Generate a /tmp/perf-${pid}.map= file for perf +-jitdump QEMU_JITDUMP Generate a jit-${pid}.dump file= for perf + +Defaults: +QEMU_LD_PREFIX =3D /usr/gnemul/qemu-xtensaeb +QEMU_STACK_SIZE =3D 8388608 byte + +You can use -E and -U options or the QEMU_SET_ENV and +QEMU_UNSET_ENV environment variables to set and unset +environment variables for the target process. +It is possible to provide several variables by separating them +by commas in getsubopt(3) style. Additionally it is possible to +provide the -E and -U options multiple times. +The following lines are equivalent: + -E var1=3Dval2 -E var2=3Dval2 -U LD_PRELOAD -U LD_DEBUG + -E var1=3Dval2,var2=3Dval2 -U LD_PRELOAD,LD_DEBUG + QEMU_SET_ENV=3Dvar1=3Dval2,var2=3Dval2 QEMU_UNSET_ENV=3DLD_PRELOAD,LD_= DEBUG +Note that if you provide several changes to a single variable +the last change will stay in effect. + +See for how to report bugs. +More information on the QEMU project at . diff --git a/cmdline_update_ref.sh b/cmdline_update_ref.sh new file mode 100755 index 00000000000..56f38540283 --- /dev/null +++ b/cmdline_update_ref.sh @@ -0,0 +1,49 @@ +#!/usr/bin/env bash +# SPDX-License-Identifier: GPL-2.0-or-later + +set -euo pipefail + +binaries() +{ + ls configs/targets/ | + grep -v meson.build | + grep -v bsd-user | + sed -e 's/\..*//' \ + -e 's/\(.*\)-linux-user/qemu-\1/' \ + -e 's/\(.*\)-softmmu/qemu-system-\1/' +} + +filter_version() +{ + grep -v 'QEMU emulator version' || true +} + +filter_usage() +{ + grep -v '^usage:' | grep -v '^-target' || true +} + +filter_trailing_whitespace() +{ + sed -e 's/\s*$//' +} + +f() +{ + filter_version | filter_usage | filter_trailing_whitespace +} + +ninja -C build all + +ref=3Dcmdline_ref +rm -rf $ref +mkdir -p $ref +for bin in $(binaries); do + echo "$bin" + ./build/$bin -help |& f > $ref/$bin.help + (./build/$bin -cpu help |& f || true) > $ref/$bin.cpu_help + if echo $bin | grep -q qemu-system; then + ./build/$bin -machine help |& f > $ref/$bin.machine_help + ./build/$bin -device help |& f > $ref/$bin.device_help + fi +done --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958005; cv=none; d=zohomail.com; s=zohoarc; b=kVwYVLDuVYUppDCWDWWGQsDTde4fs8r7VzTUi5fm2l6Mle5+GTBFfuj5P7LX4b4+XbfLY09IZqRe73MivOJOLvuW5bmAC73zjALd4kLcEaCePqPYxrtRJJa0tFjDLiSJn6t0HM5yQkPkjoGvH8+MAUglZgv+hkKHXTmjsSUSFZo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958005; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=NNrFXE/s1if+xrRnCwzbfpZOJalxjOwkfnyFfG+0DYI=; b=NIeLnvIItHCkun3RWQEEa3Stdh1uTmplzj8/pyQFv86DVQAnYIt0qo4mHAVqtbHGw/AEfKWRHjiwVTqkeQRhZIhDj0anZdy/5qwJP/e+Uv29aGPksMxXN+FAOBGAKLrENcIsMvNFM6TiMld9sFv+3q4jwITM0gZHzuH2QKj4IZQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 17879580054511001.1027129038265; Fri, 28 Aug 2026 16:00:05 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Xd-00008F-WF; Fri, 28 Aug 2026 18:59:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xc-00006y-ME for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:20 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xa-0005jb-Ua for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:20 -0400 Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTTi43666178 for ; Fri, 28 Aug 2026 22:59:17 GMT Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb3mubsvg-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:17 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-38dbf293831so3590208a91.3 for ; Fri, 28 Aug 2026 15:59:17 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=NNrFXE/s1if +xrRnCwzbfpZOJalxjOwkfnyFfG+0DYI=; b=dBKqcKLHOdiEb7TfTU0/10QJbYP rtBFTRYs7LaOY3uI/uJTYLPamr/mb6/9y+e8hOhJipTCBuqIVg27tNYW9DID0N3p wRQLISJh2A5yd4wDs0/7GLJClqdFk6GmglKRr+afeKVNbUOl6yTAUTMJwXb8rdaS dK0b9juz/6Xt1EPlyBZe9zE75lZAzqOZGTe/ORxNAANQuDr0IrDrTm9o4FJ7Mi2F v6M/0w/zFQYsRDBb2q/3qomFIb68ql3d6tl1HW3+z4nKRilaV42ahCHq4cpxEU6h PPlZfPI4HvBsA4z3J38BVSCSyADE8cZXc0xoaokzyIeEY7WFsFkmJXlA0rg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957957; x=1788562757; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=NNrFXE/s1if+xrRnCwzbfpZOJalxjOwkfnyFfG+0DYI=; b=duXCCQ/2XvpHFfkCd5J+SUi52tFuy5QVB+dcWriwo2bfmVap7Fb8/qYJ9XB9AV5f1h gROPpvC/h2LnFrohco29GgaQUEgVGN3sb8ubSdwTPH6Kfygh3gNoVIhHF6AoieJvag4I Q/jXipNKaxO4hjzi8AVOUqmjyVxU3aY93omTktMbFcWj5bkj8fTfXmis4Cg1xd1mlBOs w0ONh/0E95lpy7P/1EQkd+54yZigCEPtWSpNKtgr8fQDIOfD3sGS4HklTPRFT/yyJXvI djaJKTD2iyQDhpmc4F6RODr8cJU+eCYl/reHVRfoI0TRrEQMEqBU6KAWh0csTB4tjshk nVAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957957; x=1788562757; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=NNrFXE/s1if+xrRnCwzbfpZOJalxjOwkfnyFfG+0DYI=; b=EAtOo+878v4t0IuIocRmBsRS8+UGBBn+vdO3jyZEI/lYsoJ3PmaklBaZ0G5NvtUpBe ssdJK3tW3HwIf/x2es2wSa5G57/SvjNOFTrB5Wq37aeaMmDsqU2st0dsfSWHKu5PbQTo J8ZoW08v8W1MAfIa6JHUb08c+2QoQSxol4x+58qbNnAFYzu3Bdd6IHR3HfQz6l7AXOvn jmfytElaRAEkHUgsssRkpZFt4rmy3b0zySn7boyNOSnIO9L19062WNOyAaVZkHbjz52m nVrUy1ooYm1XivVxGMaZs+I1vpcAYR9ENW1eVN+MFEWdxsSKcFOi8LDRjZk6FXS6IpKT 6frw== X-Gm-Message-State: AFuF++lVlijJZgIbMm9pFSElER93QHH42kEcQL3qyiiLIuy1YyP1C5Cg HdQUou+D7/6UEFMDqjlQK8hFVxE2P+NtVecNCRWya+NMXiHxEpm+kzS3Xit6RBSqUuAx5ngfvQj wQXqR8IBTATp2nbmVKCIrL8QSd79oGzmgtwrwgWdehjYsuhnErSNrSC035/rZG/bQEQ== X-Gm-Gg: AYBFou22XitNqtPH+gZP5na7nhJrEavA/2ywmpH0qKjIKn4teq/nWXcwluAmXTRPnmY fLmLojr1yTPHLYznk48VDHSXsCw+Swdp8B/1RBjKaH6iTLcUgzxekBW/mxe5UpjfNZUnrDZwgBL 61xAjH1XR9xEqpqZpIznFMxPoncSiR3/L+XHusnQq4T0rMrGbHUDOQnPyK881sEcEvK2RHuBzh2 MRzaC5gcTEVCpD+0KF0cvC8a1j0P2Q2CJGTrGo8/e6caFWy92qrdr4qkCwBQg/sUzM96WnEpNft YTHibyoHOkTU9P3FUNK0cCZs3DpxWXGA8X2WJaIMv9PXLHqMUy4evSDlJKWDte24UxMwBcxHgiw mfTWKZmAW5t2NLvCpYQmUhHqoXKf6iu+8KuPmgseq+8rfAPPC7Hcsdr/VkCA= X-Received: by 2002:a17:90b:1dcd:b0:398:9be5:b416 with SMTP id 98e67ed59e1d1-3989be5b4f8mr4403578a91.17.1787957956815; Fri, 28 Aug 2026 15:59:16 -0700 (PDT) X-Received: by 2002:a17:90b:1dcd:b0:398:9be5:b416 with SMTP id 98e67ed59e1d1-3989be5b4f8mr4403530a91.17.1787957956369; Fri, 28 Aug 2026 15:59:16 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 09/47] qom/object: add is_available callback to TypeInfo Date: Fri, 28 Aug 2026 22:58:23 +0000 Message-ID: <20260828225901.367438-10-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=ZbMt8MVA c=1 sm=1 tr=0 ts=6a9212c5 cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=EUspDBNiAAAA:8 a=5ZIdXS--4o23KDU03jkA:9 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-ORIG-GUID: a1Ma9Jd2JJpbNklig9Ul0vlD4W7J3J2n X-Proofpoint-GUID: a1Ma9Jd2JJpbNklig9Ul0vlD4W7J3J2n X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX1U/x3S6O9Obr cxj4XnWqC2qFRjg+ohb61Hyad6is4MBzb5ECWlXFWFsLgGc3LqPhpSm1nC9TR9+m4cIPiHhfjwX 7oZyo+fPNhaym4miit5glbg9l9lwIPM= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX8bnF/EXeOdFd AfL//uRbkPXboLupfvGYmR0w0sVC2m5mokTDsO0UycF9YUf1fTMt/zGZHBTtTscUZt0gR+YmwPy V6ctKBqSJX+3MAgaoGx7GtWs3Rb+shEGhcuQD5GSwNrAXPNARNNWDI2tDlXMcqqpT3C3rkjXKaq CgkANoTLLX/fFczjaLTOx1QkEjrAmLmxtVRyshGAlWouZVeAMD/eEeEaNSGeEYanrZLztDFRwSX gl2AK8tES4dYrVJdQkJmcOeC3JR/Ltp9seb+jkqBgByepE0hfx3lKBOmlFWz0n6ldr+VBKKxaDJ L1VWK3CSNOhq8vcdAdKj/Jt60EhIKBLPt9qzbozeUEUmFOA/RuGpJ+HQktnTcciXuHvt1qK47iI z+yVzoBBbKQfQxs6fVSHrLHQQPqFib/9/5Pb4+Nis9oztEUYM/s0btbF+OsylOYrAXZBLJDmF16 +Bxby34KSOARmlcPW4g== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 bulkscore=0 adultscore=0 malwarescore=0 suspectscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958007788154100 Content-Type: text/plain; charset="utf-8" With the single-binary, we start mixing types for different targets, that may or may not be available for current one. Previously, we implemented an approach based on interfaces, but it proved to be too limited. It requires duplication between machines/cpus/devices, and does not handle specific cases where a type should be available based on a target configuration (Kconfig). To solve this, we add a new callback, is_available, to TypeInfo. Signed-off-by: Pierrick Bouvier --- include/qom/object.h | 3 +++ qom/object.c | 4 ++++ rust/qom/src/qom.rs | 1 + 3 files changed, 8 insertions(+) diff --git a/include/qom/object.h b/include/qom/object.h index e24f0a2b2d0..7ecd0f210fb 100644 --- a/include/qom/object.h +++ b/include/qom/object.h @@ -469,6 +469,8 @@ struct Object * @class_data: Data to pass to the @class_init, * @class_base_init. This can be useful when building dynamic * classes. + * @is_available: callback invoked at registration time, to dynamically ch= eck if + * this type should be available or not. * @interfaces: The list of interfaces associated with this type. This * should point to a static array that's terminated with a zero filled * element. @@ -491,6 +493,7 @@ struct TypeInfo void (*class_base_init)(ObjectClass *klass, const void *data); const void *class_data; =20 + bool (*is_available)(void); const InterfaceInfo *interfaces; }; =20 diff --git a/qom/object.c b/qom/object.c index 85bbd7f9fe1..b1834a57cc9 100644 --- a/qom/object.c +++ b/qom/object.c @@ -163,6 +163,10 @@ static TypeImpl *type_register_internal(const TypeInfo= *info) abort(); } =20 + if (info->is_available && !info->is_available()) { + return NULL; + } + ti =3D type_new(info); =20 type_table_add(ti); diff --git a/rust/qom/src/qom.rs b/rust/qom/src/qom.rs index cc00ddcfc98..bbb485e2cfd 100644 --- a/rust/qom/src/qom.rs +++ b/rust/qom/src/qom.rs @@ -691,6 +691,7 @@ pub trait ObjectImpl: ObjectType + IsA { class_init: Some(rust_class_init::), class_base_init: Self::CLASS_BASE_INIT, class_data: core::ptr::null(), + is_available: None, interfaces: core::ptr::null(), }; =20 --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958220; cv=none; d=zohomail.com; s=zohoarc; b=XAW0K6BuKI1WyTbIvu0xVcm39BbhtxbKC/W81HRfz/tCWs3D4cBq4qRK7L66OnnU+MBYaNsTxfy29xUnW+s6L1SEV9vy204nBuYIS87KxdT/nEnwUWnzp9lzxp+kt53lV5PZk9XUQLaDrQjTlky90x7Pvpt9k2mjpIGHBXI21ws= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958220; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=+1VSVSBxGg33owI1wY/Ik+9RAK8tassq8FGXU807x24=; b=FsdE94BGHKdnyaRfQpaM41HzsFlbSWZDGKeO3XkiQ0HQNnTexKG9/JoqnyphGKfDEKiGpWMEgdhfkIqGGlKCWKioA5MOLGzSy7qN9CvHtEG5KfVeigkhnoiBNGcQIjWhEp48s703ttAImrA7lIdgSykSq1bkaYGcFcfRhPa5MWc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 178795822053598.45385377697278; Fri, 28 Aug 2026 16:03:40 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Xg-00009Z-G7; Fri, 28 Aug 2026 18:59:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xf-00008l-8Q for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:23 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xd-0005jr-Gg for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:23 -0400 Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTn0F3666826 for ; Fri, 28 Aug 2026 22:59:20 GMT Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb3mubsvp-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:19 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-39533bb224cso2061829a91.3 for ; Fri, 28 Aug 2026 15:59:19 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=+1VSVSBxGg3 3owI1wY/Ik+9RAK8tassq8FGXU807x24=; b=k5r2rShIj/CI3zc7emwKIROSNXG ZM6qq7iLhGqPn6qE47etqkmWwJDoipbUDRQHlFHxOzm/vq93FNpyS5PJ+DwE1zd4 3y3ugPq7zdx24W9/06ZzOtmkcG6hJn9E9zceh6tHCE7xwLWUratqnZG48bBZyXTO kCYvlxXncODclKMLcO38ooZE4bb1ioq4U/XamsBAbjvedb7rayToQBubd/L7mS0y eVIk2qrmnaleCCjrv4n5OuEABiXZm8fe+UZhRgFc0n/3ya1kgwT08MurfrvqT8ut iQszut2oA1lGtfxCe5qdY5yOM6gBD7NF+D4EhOpSEa9QZ8an6tJPAvFu8cQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957959; x=1788562759; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=+1VSVSBxGg33owI1wY/Ik+9RAK8tassq8FGXU807x24=; b=Gq1fIoZPHWLaDXWdcfeV01twr1t28Hz14RROt91zcH7IjDFTXlp+34OuAxW/E7T0Ww NBailTD1sUR4Whbzouy2TMbydG1gkfztXZbjbK06JvtlMnzIOK3TkUaUf4C9QULD+gHu raVJBJpDWDi4T7tJfBu9/DeKT9I+uAH4JMl0EyX/k91s3Xlfm11WjN+HbvGSM3sABwMK CzydgDJfFD5OKpIPrHkNtC2R52/zr5wI22O9Y8Al+rH5iPKb1q9oyLoZD/WhzIgl1ubM 0vKmtijWDbcOKDX9Qi1horicAXjdU/zmQPdPOh4R4awDI18/GFHCgHjug96p/boOOGd6 Gbcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957959; x=1788562759; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=+1VSVSBxGg33owI1wY/Ik+9RAK8tassq8FGXU807x24=; b=SQ4XmCn5L5jDSEiLqvtXT8t7fdvloLA32NCOccWNvLrFoT+j687lM8Q8QOOBMhrkDK 6666JvzumY1O+2eA/zcshnzTPsAJ1TF3i1zEz05YOR1hRIw1B7earFDTbyKr0FvXK/NX KtFBUF3Z+YqYriiiZjKopFWnUubfDNGMPHj04xezha63XgL62+SDy3swzqAV25BNvx4N Ju1Tc9V+WnsJ8ckBZhNJ9j2fn4K0kxM3h7Tj1ulXMTprUJdiTLysWg4FQRZO1FWzVBmb mqBG+c+11NuWfBPLyuqyLHGvnB1ySgbbYmq8bQUZeNYCKg/VLwZOaguZoG0HSkPpJXXw r/2A== X-Gm-Message-State: AFuF++mIbj/GLDrzYmvczFdle4mSEslOdhfkLRvYWjGTFBGQOIxtqMqP 7RJJsGW/VFZz4/OVEO2dVssWUPMUcsLkqLA+epulAMMkqfXZpxGB2+Kq5II7wIXsjiR8o2ATuIW 5UzdOKvw1e6cyM5Kn7ul3DQXtKggxp/Q2/h4US/SLM4A6X5DVmrew3DuNEV8DxRIocg== X-Gm-Gg: AYBFou2v4p5GwZ6LlmT6ue4hKkplDGTRaQ8kTocwO5GpA4XjoXX0YqXhK78LBj4xNep 2FodTOWdQNyv7OA1j1iIwGQ0DUcyonL18Yu22cI019fqwrxjqsRxO46BfZ8/47ODvIoJmSSMYGD YoRAllHy6izGQOikZWASIe1NzP8px/TwIEhj6mK0/ohtDs1HmcNK9fV8FszjhFAcWyZfgRHSRTB TQDaIC8Sgv6wEqiEGhdr650Bw7Le7cDrXOUYzOQPa4JqNnlZMw1gJdA19ztakc5JXvvbuO6HsrH K8CRB8df9MynE0X8nMdpI6iDNmR9WCcTbHMVoaXdfeNHSfuutmOs697GfMUH3mSPU6WDf32aoB/ sTbVdikSpxlvEZIgDMQ7y4JS0mLrT2oAopN1ABu/2NGHhNaWfu35W7pW/ycQ= X-Received: by 2002:a17:90b:2551:b0:37d:f983:7b5 with SMTP id 98e67ed59e1d1-396d0fe384cmr21541629a91.9.1787957958954; Fri, 28 Aug 2026 15:59:18 -0700 (PDT) X-Received: by 2002:a17:90b:2551:b0:37d:f983:7b5 with SMTP id 98e67ed59e1d1-396d0fe384cmr21541483a91.9.1787957957555; Fri, 28 Aug 2026 15:59:17 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 10/47] hw/arm: filter minimal set of machines Date: Fri, 28 Aug 2026 22:58:24 +0000 Message-ID: <20260828225901.367438-11-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=ZbMt8MVA c=1 sm=1 tr=0 ts=6a9212c7 cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=EUspDBNiAAAA:8 a=uqJ8O8kv5ld6GfOkGsEA:9 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-ORIG-GUID: zeUVFJnPJckcJQXlnM0C7DgBtPHcO6T8 X-Proofpoint-GUID: zeUVFJnPJckcJQXlnM0C7DgBtPHcO6T8 X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX+p3LjcXWjbat md5VPdDDA9ypoSG178mSZ/+4cE9eE3xTXrmKyCeJm0tZqIW74zpoUFJtIs/R4o7n1a6gdxBtR10 Ea6ptrQBOf+UQGTHLIKcHaiZYRmebJo= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX5iN6uTF+RjOt 6+ULwG0mm37fqRJEuJCW7MgPQXkkUE20TCjhlrODT1Gd84s4VjJyyR4vvi2TkFGnwvhedOljmzP YaL/6oYgAl9mV/IqK9nG3h0xVowJaAwPaqvTl/ZSQWTMZtebq81WCsLMpMwG3Q7X9bDKJ8m0nKY nQ4zJm3sk0ssY+ySqWmPA2xJfcEiQm0uKHy8Kkw/awWJd6BWL6/XSLdrL+kQcqHbDOr20R6JTeL r/ahY4WLMY/23oip8KbqD+xlYLWMq7VEg32Tiie28TjKCVzKJ1MfDLR+z62n4iJKyqXj4u3xVt7 o0DxpSmVw2e+N7mS8yfd2bNBfOJ8cjVajF8mCKOfBet4OhgBEvCBNGker76R4d8v8fYYrbuqeUL i399tIPiH7QotgLnnVLYpYOqfs05pi+/ho/OsfPGMiXBupTaQhCm7QzxwNi1rRhI14agidUL9EM /S1HJ1DxQJ/VHN01UPA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 bulkscore=0 adultscore=0 malwarescore=0 suspectscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958221767158500 Content-Type: text/plain; charset="utf-8" We are about to change the filtering logic for machines. These boards are impacted and already are conditionally available. To not break existing binaries, we need to filter them accordingly with new mechanic. From there, we are free to remove the previous filtering mechanic without changing any existing behaviour. Signed-off-by: Pierrick Bouvier Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/arm/aspeed_ast27x0-fc.c | 1 + hw/arm/aspeed_ast27x0_evb.c | 2 ++ hw/arm/raspi.c | 2 ++ hw/arm/raspi4b.c | 1 + 4 files changed, 6 insertions(+) diff --git a/hw/arm/aspeed_ast27x0-fc.c b/hw/arm/aspeed_ast27x0-fc.c index ceeae336df1..54230aa92e6 100644 --- a/hw/arm/aspeed_ast27x0-fc.c +++ b/hw/arm/aspeed_ast27x0-fc.c @@ -235,6 +235,7 @@ static const TypeInfo ast2700fc_types[] =3D { .parent =3D TYPE_MACHINE, .class_init =3D ast2700fc_class_init, .instance_size =3D sizeof(Ast2700FCState), + .is_available =3D target_aarch64, .interfaces =3D aarch64_machine_interfaces, }, }; diff --git a/hw/arm/aspeed_ast27x0_evb.c b/hw/arm/aspeed_ast27x0_evb.c index 0ff1bebeb0e..2b767808e12 100644 --- a/hw/arm/aspeed_ast27x0_evb.c +++ b/hw/arm/aspeed_ast27x0_evb.c @@ -76,12 +76,14 @@ static const TypeInfo aspeed_ast27x0_evb_types[] =3D { .name =3D MACHINE_TYPE_NAME("ast2700a1-evb"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_ast2700a1_evb_class_init, + .is_available =3D target_aarch64, .interfaces =3D aarch64_machine_interfaces, }, { .name =3D MACHINE_TYPE_NAME("ast2700a2-evb"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_ast2700a2_evb_class_init, + .is_available =3D target_aarch64, .interfaces =3D aarch64_machine_interfaces, } }; diff --git a/hw/arm/raspi.c b/hw/arm/raspi.c index 3f99e87428c..bbaa20bd630 100644 --- a/hw/arm/raspi.c +++ b/hw/arm/raspi.c @@ -407,11 +407,13 @@ static const TypeInfo raspi_machine_types[] =3D { .name =3D MACHINE_TYPE_NAME("raspi3ap"), .parent =3D TYPE_RASPI_MACHINE, .class_init =3D raspi3ap_machine_class_init, + .is_available =3D target_aarch64, .interfaces =3D aarch64_machine_interfaces, }, { .name =3D MACHINE_TYPE_NAME("raspi3b"), .parent =3D TYPE_RASPI_MACHINE, .class_init =3D raspi3b_machine_class_init, + .is_available =3D target_aarch64, .interfaces =3D aarch64_machine_interfaces, }, { .name =3D TYPE_RASPI_MACHINE, diff --git a/hw/arm/raspi4b.c b/hw/arm/raspi4b.c index e1595a875fe..2ad561fdcfc 100644 --- a/hw/arm/raspi4b.c +++ b/hw/arm/raspi4b.c @@ -126,6 +126,7 @@ static const TypeInfo raspi4b_machine_type =3D { .parent =3D TYPE_RASPI_BASE_MACHINE, .instance_size =3D sizeof(Raspi4bMachineState), .class_init =3D raspi4b_machine_class_init, + .is_available =3D target_aarch64, .interfaces =3D aarch64_machine_interfaces, }; =20 --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787957987; cv=none; d=zohomail.com; s=zohoarc; b=J6YMARDx5ekny4yIGYud/LUzDWIYQkG7Ilo4hNc7NG9aghrxcfDbBDMwfUBXKKayfXxlYVm2imU7yQQ72INlD1VLYe+82tUgs/RW+NxqoMK/cytyAog56newjQtEV8694zFpL5vSQWjqxzURKJp6M/lDguGjAEva5vNVfLnhRAQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787957987; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=SVbvZ/JPvb8NlBifldsVxKVfKAORZIlZLB2gJG6Jc3o=; b=fXsGimnJFMMAGpQd4gZhPvKlO+NYYBNBjp0zDY52h+lYthoROvzDVYgeV7V4CXq6gvzl2QAomigDwKq0Ud6qhfP/i2Waw4aDJCkjxnMDXU/QMJkjkpPcHK/UOCsObJ4DiBc5ogaXf8usj+US4KZhrfW6wGyaA9m/6Yggn0F7dPs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 178795798781678.32704712043596; Fri, 28 Aug 2026 15:59:47 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Xg-000099-0H; Fri, 28 Aug 2026 18:59:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xf-00008g-2W for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:23 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xd-0005jo-8P for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:22 -0400 Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTVdo1173263 for ; Fri, 28 Aug 2026 22:59:20 GMT Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb8afjk58-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:19 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-38ea32e57e2so2526191a91.1 for ; Fri, 28 Aug 2026 15:59:19 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=SVbvZ/JPvb8 NlBifldsVxKVfKAORZIlZLB2gJG6Jc3o=; b=GsIgWL378WNY3mxSBn9qi2V8j7F q/70YvP2zHRlKvATdcaKUYQ6/xv6Hwd/YTR+4lbMSjV4AoUS6nWkuOLteZ5a5cXH d4dypPngGhb0V/ZQW/Zg1EHof7crPnZO06b5ZyhBTQQ60OI85bSwGtemA2dDzXG4 4/AipHdv6I9S3Z0hXG6Z+xA/WJ24VmQ94cHvgwlwEG+INv5JHVsrz5MxjkKRzAZN QkYQporVidc+0A5WKO3qvUotMZ1o1GyEAJQ7nQyvBDxRi2QPcNrqXp9nTgLySy0E 83Ud55bXXaxu5ovjqeG36mgVMoUP2Uut+bY2va4SvcX5pTsU4PWQ/I7cOTw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957959; x=1788562759; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=SVbvZ/JPvb8NlBifldsVxKVfKAORZIlZLB2gJG6Jc3o=; b=E2tlNKzcj3BU0quTZFJRU5mivkzLsWrWbfpWXLU1ipBFEH3KMAGEAMjSDwr64qOohh wyHt7OhAFPM10+9kLkRMkOo2wP7rQten8VWGknpT9NHiRroWzFSLthx+CL4jcStFo8rR HBRYB9GUNoCa+Lo32N982Xu77gIucDZ1bDvRWpU6s4QM2pnCWJLtWsQ6NiD8N0YcH6ja V0s2uk0hzQpg5qKBjNSItB72mPQPkO7nuqkPGFFDblGzO+c3miY9OrIH81Sio5ecOnrR ZqG9ZV1NlazVkajPMVEbnB1dWGMhKLivxrEi2qRWfdEs+CIqINaoNpo5hQY6JAXOZo6a rucw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957959; x=1788562759; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=SVbvZ/JPvb8NlBifldsVxKVfKAORZIlZLB2gJG6Jc3o=; b=L1udY++5B/hmLQcLXr5PRi4uYWBLjmJNp8/CkAxBLwJo6+22e21K30uJQ0JsK8O1px q2j//9VpY/5GjEqZO3b+llsyo9rHkF/8kXST2eyNpQoi0h3/FgnsOKssmaQOnaJrEUkZ +bT6mb3E69/Wo3QTuAA3fiZXj0NSdk/SV24Bh4d7MZcDcgsI2cvmF6MLbciNz0yPeeW0 uDLOKWVrjUTIdhpHLWEv3PCrUp8ONUHp8oybjNtHwm1zIp8vVS+5lt4QGHX4/ZfDyLb6 bLIfFrB878s8oSfechGuR0y4Kl3gwVSkbTmc1xNSHuVrVQn0iYXmKekU2k6UK/YYtL1C i4cQ== X-Gm-Message-State: AFuF++mEM8iOKdjLhsyYoztZfhOgIWGJA5npWUa4izzSYIEbjm2Cndzo GN2Y0Arylhs6RceoxUHUHAnvWKe4pt8MTMMmpgQIeZpDMXTnegq3iJhuzAi5JGhUfHE7U6pO3/H AICEBBnzN836dMgS7JISbJ/2orNyWwZ6YYF6jRvbChsvYxcQAMTJO+XdvfWWjZJRmYA== X-Gm-Gg: AYBFou0QKAIpbBZj8qTskBVbrQCKH8a03+UOh8qszrlXAosf58G6CQQ7u2NIF1Jq6/1 9aHvkmH910ZhAmwMcW/X1x89LtXU4eun/3WpADb6cGYdAaYSWTL/a1M+NQ5xeSabRdKYo3GiG7H N/PYjLXW+cwgNWqjc3lX2cs66zy6OOktXqxcL7tA9+FMhvXwyP7kOjrttg16IsVTmFeK6ArvRHw OwFa33RQm1pKVfA2/cLrbRsSJI9FFuLHbQtsixbgeHsSm2URMcXdyNi3Mn7AmKck35jjDf5bttr aDbAgCtU+jMprNVsYo6mvbnAN6QMeukMD10OGDKeJpnZUG8KxETwa1sIYH0V/E2GS7Agv+DkILh mM4AMXhaizGewOmfccyt4Uf66rfmnpKeCyidR/0k/dSgsh20ODA843bP7k7I= X-Received: by 2002:a17:90a:da87:b0:36a:5d1f:7b6 with SMTP id 98e67ed59e1d1-396d0d4c42fmr20278114a91.2.1787957959072; Fri, 28 Aug 2026 15:59:19 -0700 (PDT) X-Received: by 2002:a17:90a:da87:b0:36a:5d1f:7b6 with SMTP id 98e67ed59e1d1-396d0d4c42fmr20278075a91.2.1787957958679; Fri, 28 Aug 2026 15:59:18 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 11/47] system: query machines using TYPE_MACHINE Date: Fri, 28 Aug 2026 22:58:25 +0000 Message-ID: <20260828225901.367438-12-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: hhooUhrhXK3KHuQoLFuj0T_--QTXWaME X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX72gThGA1yF5s wLCyFjZkaa6VhaaACwsxpIEf4Un8L8OQpmozp4WMDVavkrDBXEiv85KGdYnYgJKVhWqAWsiyWNt +zGMrJMCvBxYxOSE6aKJgK/SymvHyok= X-Authority-Analysis: v=2.4 cv=IPoyzAvG c=1 sm=1 tr=0 ts=6a9212c7 cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=1bRhiYiS1JNjwnGb910A:9 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX9HjGFgwIwho/ 1wllCaEnTtsMT4XIky8V3zDsPQgUND1DIXktIgRAUuk0obI42pSHYSkldXOWdu0L+bdmrGPETb/ ux36q/CRwwC23X3Xj7iE18XL70yRiiM31/eViRxeZz9I+apnABmL80sH7IyTku9MFxRxvR8IIVT cd0wAZSGzxSWzqeIbcixFsfxjJjHmjK1/7wGOkZzN/ssqyYq7ZHlY/4flYDWolh3MH0iWQ8MeEI FEPfzmWd/3pATpv8r7yhBWcidHPVQP6sd/0joYEmpMYSaulaomHo8z8KEIQB2toz7L7SV6FOPfE u+s6uS+ptKpTHJcE3M2+CFXgQfU/cVnQtvibIm31YvZo7u5Ulj93xbmcxhGZIjjN+k0bYSgi0DH r5PZdkwMLWl4IGE9VZzmgR5r+zmGVe7cZzqE+L1qj6+RswohVAw2BTl8AHQg+sEveg61DrAwqeF QKSsuYvW11VfT+TBlCw== X-Proofpoint-ORIG-GUID: hhooUhrhXK3KHuQoLFuj0T_--QTXWaME X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 bulkscore=0 phishscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 clxscore=1015 adultscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787957990268154100 Content-Type: text/plain; charset="utf-8" We drop the target_machine_typename() we introduced previously, and revert to using TYPE_MACHINE. From there, we'll make sure only the right types are registered at startup time. Signed-off-by: Pierrick Bouvier Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/core/machine-qmp-cmds.c | 2 +- monitor/qemu-config-qmp.c | 2 +- system/vl.c | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/hw/core/machine-qmp-cmds.c b/hw/core/machine-qmp-cmds.c index 1aa5f262298..543dd3201b5 100644 --- a/hw/core/machine-qmp-cmds.c +++ b/hw/core/machine-qmp-cmds.c @@ -99,7 +99,7 @@ MachineInfoList *qmp_query_machines(bool has_compat_props= , bool compat_props, GSList *el, *machines; MachineInfoList *mach_list =3D NULL; =20 - machines =3D object_class_get_list(target_machine_typename(), false); + machines =3D object_class_get_list(TYPE_MACHINE, false); for (el =3D machines; el; el =3D el->next) { MachineClass *mc =3D el->data; const char *default_cpu_type =3D machine_class_default_cpu_type(mc= ); diff --git a/monitor/qemu-config-qmp.c b/monitor/qemu-config-qmp.c index 29801023564..a680c9feca5 100644 --- a/monitor/qemu-config-qmp.c +++ b/monitor/qemu-config-qmp.c @@ -129,7 +129,7 @@ static CommandLineParameterInfoList *query_all_machine_= properties(void) ObjectProperty *prop; bool is_new; =20 - machines =3D object_class_get_list(target_machine_typename(), false); + machines =3D object_class_get_list(TYPE_MACHINE, false); assert(machines); =20 /* Loop over all machine classes */ diff --git a/system/vl.c b/system/vl.c index 061cbdf860b..f7f8aabd122 100644 --- a/system/vl.c +++ b/system/vl.c @@ -1570,7 +1570,7 @@ static void machine_help_func(const QDict *qdict) GSList *el; const char *type =3D qdict_get_try_str(qdict, "type"); =20 - machines =3D object_class_get_list(target_machine_typename(), false); + machines =3D object_class_get_list(TYPE_MACHINE, false); if (type) { ObjectClass *machine_class =3D OBJECT_CLASS(find_machine(type, mac= hines)); if (machine_class) { @@ -1682,8 +1682,7 @@ static MachineClass *select_machine(QDict *qdict, Err= or **errp) { ERRP_GUARD(); const char *machine_type =3D qdict_get_try_str(qdict, "type"); - g_autoptr(GSList) machines =3D object_class_get_list(target_machine_ty= pename(), - false); + g_autoptr(GSList) machines =3D object_class_get_list(TYPE_MACHINE, fal= se); MachineClass *machine_class =3D NULL; =20 if (machine_type) { --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958002; cv=none; d=zohomail.com; s=zohoarc; b=WmogJizhvUjkgiXFkeovRLRebwESa8pnh1RDBzZclEi5Sdq+Dqi9EdzkARxnVYk0PKfQ6O7xHJ+t4Pjbkikhs8D4t8nbZPdHBh297f7QcAUbMd3pgSzSO40XsPoTa1VnHDddzgRAyd5VmEO9FtlK97w7vIjkbO/tH3fB2gfeMgw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958002; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=6ngNY2danIhTqRMm611hp79hfteIG/+Ld0UI/A/Vx+8=; b=JfIEm/TTvApuQVC81B52ppW7OWA5+J3A0v+jcGG25/7u+kbQHRKlwCuvQtx+9x+tRp2CKtL2WMnnabqSwH2EToAUqdtAhdt4v4gSwAzTChFskFK8ToN3S+RAGoyRdmiz7Uv/YjHfCiewjrNViaj4LB1W3P+pgs/tcm+kVafMKa4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958002676826.8354353135844; Fri, 28 Aug 2026 16:00:02 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Xi-0000AT-DV; Fri, 28 Aug 2026 18:59:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xg-00009e-LH for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:24 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xe-0005k3-OP for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:24 -0400 Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTunM1174511 for ; Fri, 28 Aug 2026 22:59:21 GMT Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb8afjk5b-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:21 +0000 (GMT) Received: by mail-pj1-f70.google.com with SMTP id 98e67ed59e1d1-3968bb86fb7so2208095a91.2 for ; Fri, 28 Aug 2026 15:59:21 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=6ngNY2danIh TqRMm611hp79hfteIG/+Ld0UI/A/Vx+8=; b=Od6HcA2qjAmx4Dj40Bg9CK//Ue2 R5xNmTu+r7Cx1T38/vVwIrKWOK3Z0Kl0Ln7Z4u85RLYCe2mzps5TWnN+/2J+reja FJZ8yUUyDHooYtEgurEiRqC+HfjT4v+Ma57CMPxD4FbA7Vnwlj0vLMR6pnkp1XAw 1LjHsqsLZp+AqSdUGv+xhuEO7Uc/eI2HqKoB9L4hAHnOHb0As6xyYRQzmsVg1JWV xgGBr1q54JKnROKyPZnDM57J+sAEl3Y//ejp+HJxcDt084NLJCZCQkySzFHqINi6 r/32H5ZLqTZF1e3sA7JNwOqzRVjpR7mOv6lpAlfRXLq+fb8lmt5ljUV65LA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957960; x=1788562760; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=6ngNY2danIhTqRMm611hp79hfteIG/+Ld0UI/A/Vx+8=; b=g79AJ+60XBNzicaCEHfD59SPzUZhIKpNar3FAPcXVxt9ATrTLcbtAHQG/tXYZs2JQ9 qQTEuwxJFmJheFuIKXWLcxfqEBVzRCIYfmwuk4D3DhghWnoY5jvi1+QraiqJcKVlFAxK GZ+2tV3wN2xo0CQsTJRTI+MaBlgBoefe+PfRLASfwfjkUg43vchhPLVwBUceU/ZDQZHn BCRJDFOW6PxRSDpZhDMLJvwnOd3NoC92wubTn/8JReoTXGSMu4OBlaa0SFF7ZumxBXcB k1at31OEdydglncggX66oEm8xzh7f5izY2W3Ojc0KjtW1LWCIUfP5/Bv37i7zUvJNpXP d1Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957960; x=1788562760; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=6ngNY2danIhTqRMm611hp79hfteIG/+Ld0UI/A/Vx+8=; b=KWWl/usbAzmt5XIgGsZXrsWDLuCtLu3qnB69QZALF1rnDtmbavrO44c49N1DAGcsb3 lowv9NzRVSXhcTyBUViVH5hcOWeh+19zNbWpQOpXIk6wBs2DffvQpgJNosZNxzUGRP58 WycPAs16ELB4X+N6BEFwvTCWwAEp8CJcLkH6ieizJuiara8wQBNTmHLlckx1okA7IG1h DaSmANh4D51cInf1xe4ccUdp4U5XnfhSJZo5KKYuav20x38sX9KYr99C2hwgcQwQRdv0 8Thn2tayhzPblN0I14OcWGW5xshT6MCWnrhBUYyt4YPlXd5RO+eQ9PS/oSPAEg137gCK rHYA== X-Gm-Message-State: AFuF++lFH5E929Ir9fk89zzatAGUYYvLepquLRoQTyOPvFaYzi3E0dUv SH6JfPD8vZgqHCLmDa48KwxNLz/64jU/XmcX8gYcKVt9V+BJWh812rO0NODJL4uCBHTJA027PSB XJktVNGc8dZB2R+JL3qTRdlF1PXg1Tet5sruId1WDZz+0tZoW9nHsHLR6rJd3YKPd8A== X-Gm-Gg: AYBFou36vMhjbVDn/CRxOgJKZe9pBLCk79fP3NpNjoU7YclfI8c5FQ6N4sJoPw7X3VE KQhL2FCSerBwYyQMq+bnHOkjrqY6SOsWzCmQgmJaQRuM+uwmm5Ghcf3LxPkcKAEuJbwSc0dDxri W9+7ZDEhGmVCpiUuLEkWPDOugB85K7OKhIHXeNKVlAgmitWKUFmT5hzyTq5w1kR2CDrVk5FaaXh GPGzT7RTm9Omd+084zLxk5Vh3gGHxJaEL208x0TZM01+7qGBoPiK1Pq0xn3LcFQF+PKsMcME5Sx Zm0/9p4E85tGld7gYNfz/c/xcqFHbEuZTlaYek3mVwLdAqA8EoCAdLPfDoeqmLu/+9OsEDNGO3o vvsgiBL+fSHNEgHwz9J2uxJp5/jA1EAti/7m25Q4ZOywWKV098kTUZsQl/fM= X-Received: by 2002:a17:90b:538e:b0:38e:c232:9d3f with SMTP id 98e67ed59e1d1-396d0e20f00mr19898980a91.5.1787957960537; Fri, 28 Aug 2026 15:59:20 -0700 (PDT) X-Received: by 2002:a17:90b:538e:b0:38e:c232:9d3f with SMTP id 98e67ed59e1d1-396d0e20f00mr19898935a91.5.1787957960088; Fri, 28 Aug 2026 15:59:20 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 12/47] target-info: remove machine_typename Date: Fri, 28 Aug 2026 22:58:26 +0000 Message-ID: <20260828225901.367438-13-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: OSveXJVu3sGeayT0tbPpkEImmjX4XzHf X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX9bJ2v+Ww5z2H PjsCVf6SxglbHRxY/LKaxFrMAv1wzY0euI0FDGq2SBI+WxQXs4umxiPjG8DVkTNXV0oO6y5Znpp zIB0/fum2ysm0UbHbLvE7Lww1/+TP7c= X-Authority-Analysis: v=2.4 cv=IPoyzAvG c=1 sm=1 tr=0 ts=6a9212c9 cx=c_pps a=0uOsjrqzRL749jD1oC5vDA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=-0VSjDDMCBEubZ-f8bYA:9 a=mQ_c8vxmzFEMiUWkPHU9:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX698RuObYpYrX fkG2V2KtTexVlyh4yPP8wAHYUl8/B4O0Wqfw+8ScS5F4P2sff5itaGM4lbBpmbDFkx7hnIaNWTB MAxj2U6RJ1POrpDp1qc+YMdTV9lUYckDpt/51jS2vDez2rpoBeLoqqUQ+gK6lCpoJ30oXmHq1dt Nj7fyxKsX99mc2g+zj6rI6b3u1DnTTQwTNLFFrxnzANcRGu1tK6sxkAo5jj30goQBjVVINd1bRr 3iOjB8PtHXV6sJkxc16Bi1yM83VvfqFEF4k5lc9Xw02bBtQRqqomH5OCZPup7kv8DcXosfd7WRR sqRDDvWnjEyJhF5aM1D9Ew/y7/ZY8Dr8jGiqFOhUkA8Iim1ApgphX27OZ+xvSV9IwB8JYCfb6mc nIe8uAz8cVT6pon8rnMfYwgUgQCVYPZpPklQ4Qs2ichs9HKRASPzlpOSScdFUHtgndm3kAedNrD esQy6SXyuLDPRLaaUqg== X-Proofpoint-ORIG-GUID: OSveXJVu3sGeayT0tbPpkEImmjX4XzHf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 bulkscore=0 phishscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 clxscore=1015 adultscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958005400154100 Content-Type: text/plain; charset="utf-8" This field is now unused, so we can remove it. Signed-off-by: Pierrick Bouvier Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- configs/targets/aarch64-softmmu.c | 1 - configs/targets/arm-softmmu.c | 1 - configs/targets/riscv32-softmmu.c | 1 - configs/targets/riscv64-softmmu.c | 1 - include/qemu/target-info-impl.h | 2 -- include/qemu/target-info.h | 8 -------- target-info-stub.c | 1 - target-info.c | 5 ----- 8 files changed, 20 deletions(-) diff --git a/configs/targets/aarch64-softmmu.c b/configs/targets/aarch64-so= ftmmu.c index 75d95b0e743..2200a4f19e9 100644 --- a/configs/targets/aarch64-softmmu.c +++ b/configs/targets/aarch64-softmmu.c @@ -18,7 +18,6 @@ static const TargetInfo target_info_aarch64_system =3D { .target_arch =3D SYS_EMU_TARGET_AARCH64, .long_bits =3D 64, .cpu_type =3D TYPE_ARM_CPU, - .machine_typename =3D TYPE_TARGET_AARCH64_MACHINE, .endianness =3D ENDIAN_MODE_LITTLE, .page_bits_vary =3D true, .page_bits_init =3D TARGET_PAGE_BITS_LEGACY, diff --git a/configs/targets/arm-softmmu.c b/configs/targets/arm-softmmu.c index 73546fa5737..9d558a0c1a1 100644 --- a/configs/targets/arm-softmmu.c +++ b/configs/targets/arm-softmmu.c @@ -18,7 +18,6 @@ static const TargetInfo target_info_arm_system =3D { .target_arch =3D SYS_EMU_TARGET_ARM, .long_bits =3D 32, .cpu_type =3D TYPE_ARM_CPU, - .machine_typename =3D TYPE_TARGET_ARM_MACHINE, .endianness =3D ENDIAN_MODE_LITTLE, .page_bits_vary =3D true, .page_bits_init =3D TARGET_PAGE_BITS_LEGACY, diff --git a/configs/targets/riscv32-softmmu.c b/configs/targets/riscv32-so= ftmmu.c index 752c813077e..c1d94679c7e 100644 --- a/configs/targets/riscv32-softmmu.c +++ b/configs/targets/riscv32-softmmu.c @@ -18,7 +18,6 @@ static const TargetInfo target_info_riscv32_system =3D { .target_arch =3D SYS_EMU_TARGET_RISCV32, .long_bits =3D 32, .cpu_type =3D TYPE_RISCV_CPU, - .machine_typename =3D TYPE_TARGET_RISCV32_MACHINE, .endianness =3D ENDIAN_MODE_LITTLE, .page_bits_init =3D TARGET_PAGE_BITS, }; diff --git a/configs/targets/riscv64-softmmu.c b/configs/targets/riscv64-so= ftmmu.c index 5150f0fe9d9..f648a5c8944 100644 --- a/configs/targets/riscv64-softmmu.c +++ b/configs/targets/riscv64-softmmu.c @@ -18,7 +18,6 @@ static const TargetInfo target_info_riscv64_system =3D { .target_arch =3D SYS_EMU_TARGET_RISCV64, .long_bits =3D 64, .cpu_type =3D TYPE_RISCV_CPU, - .machine_typename =3D TYPE_TARGET_RISCV64_MACHINE, .endianness =3D ENDIAN_MODE_LITTLE, .page_bits_init =3D TARGET_PAGE_BITS, }; diff --git a/include/qemu/target-info-impl.h b/include/qemu/target-info-imp= l.h index c917d546eab..cf42aabbc8b 100644 --- a/include/qemu/target-info-impl.h +++ b/include/qemu/target-info-impl.h @@ -21,8 +21,6 @@ typedef struct TargetInfo { unsigned long_bits; /* runtime equivalent of CPU_RESOLVING_TYPE definition */ const char *cpu_type; - /* QOM typename machines for this binary must implement */ - const char *machine_typename; /* related to TARGET_BIG_ENDIAN definition */ EndianMode endianness; /* diff --git a/include/qemu/target-info.h b/include/qemu/target-info.h index 6c5b714288e..b23e5bc5865 100644 --- a/include/qemu/target-info.h +++ b/include/qemu/target-info.h @@ -23,14 +23,6 @@ const char *target_name(void); */ unsigned target_long_bits(void); =20 -/** - * target_machine_typename: - * - * Returns: Name of the QOM interface implemented by machines - * usable on this target binary. - */ -const char *target_machine_typename(void); - /** * target_cpu_type: * diff --git a/target-info-stub.c b/target-info-stub.c index 22b7911201c..d121b8c0170 100644 --- a/target-info-stub.c +++ b/target-info-stub.c @@ -29,7 +29,6 @@ static const TargetInfo target_info_stub =3D { .target_arch =3D glue(SYS_EMU_TARGET_, TARGET_ARCH), .long_bits =3D TARGET_LONG_BITS, .cpu_type =3D CPU_RESOLVING_TYPE, - .machine_typename =3D TYPE_MACHINE, .endianness =3D TARGET_BIG_ENDIAN ? ENDIAN_MODE_BIG : ENDIAN_MODE_LITT= LE, #ifdef TARGET_PAGE_BITS_VARY .page_bits_vary =3D true, diff --git a/target-info.c b/target-info.c index 04c69c41f8a..012b384036d 100644 --- a/target-info.c +++ b/target-info.c @@ -32,11 +32,6 @@ const char *target_cpu_type(void) return target_info()->cpu_type; } =20 -const char *target_machine_typename(void) -{ - return target_info()->machine_typename; -} - EndianMode target_endian_mode(void) { return target_info()->endianness; --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958024; cv=none; d=zohomail.com; s=zohoarc; b=Ywn6PnwjWlBfyLkZDAIadYxb0eMk1PbaEq3GMkEQlEs0iQ/AQ4zG5QgPZIN8AWMa4ZzlWgE2VizeoSkzkucRV+Oz4Cs4wAxiJxKxeacSAXTzLeMmoGH18VSlulbf8QSjBeYVLlWd11MerxKRN7tbQUAHsHxP+RyfzOKj6DnYkgs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958024; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=Js1oWEh/Sz07oya0oFsWgdVkl1V+2S1EN6yqVtXd7p8=; b=lT1Lx6A9KAFThqy5qV8bqcaz8f8+PBQsShrnWlebVooh/MoFC7rpvjadiZNnPxiwzPWM1dqXeUbaaMKFEMir9JKZ+YbSWIMhZ2TcpjHbFoXKksR8AGjLB2hY7JSufphtfreZtlRPJ6UJcZqp/ibptDwhOBvut/BJkpJPs2r3JLA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958024869183.47207447497044; Fri, 28 Aug 2026 16:00:24 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Xt-0000GM-Ev; Fri, 28 Aug 2026 18:59:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xs-0000Fx-EB for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:36 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xq-0005kH-BG for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:36 -0400 Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTBx4144941 for ; Fri, 28 Aug 2026 22:59:22 GMT Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb7eh2s2j-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:22 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-3968bb86fb7so2208321a91.2 for ; Fri, 28 Aug 2026 15:59:22 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=Js1oWEh/Sz0 7oya0oFsWgdVkl1V+2S1EN6yqVtXd7p8=; b=MAnOc2rwcKuU8VmRkYAzJ1yqVLt kAkkBxO5SDUQ4ad9d8q4jsfy7eXsE92xulJAhht/GGWYPENSTDoz+L4cpr8l6cIv Jyrf5I1oRnmCnyES/SPrrUCB8CKIuXF9DNRKyYI3YjbhD/cweNjkSdzF+1HT+k45 kfVZAu4VqxG0z/aSA3PewVz+3zFgvrDd1ze8NVFEaOTsyHcnQQNTwB8VjZVfo5+S HYRPRYC4oASACKuh+2/EJuFPLbuDpPlqxaRyEpYdRy6c0Kx7zJkW4+EBUFT3gCWZ tPvTrIkJKXQTxVzgNoXVwe/woStMbqp7ftLly0jIc511vGhnEq7+qpQstEw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957962; x=1788562762; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Js1oWEh/Sz07oya0oFsWgdVkl1V+2S1EN6yqVtXd7p8=; b=SN4IXXsXpVdUqKQShKS3C12g2DeA5/vaO5rt2vVgqHMM7Ik7STuVeLGJ2aJxlKPOs5 0/auXywnoZAQFNmCMl9Yqo2qvxSy/UTQrFID8fE+YPimnszlT3ryBi/x9dJaZoANvyyw SkOVg/A8HG1X8PWjO480BWgxGKMNT2ZoT18oDzxHoill8fKlHHXGG23Vy3h1XnxB/Lnl raNB3kgwuY6ll4UrnrhYYiZzGtdViasZL6/A6VTvPI+4ile4fqeeVLGqlHhhvyJWhZUb fvneIAhqe2cXzBUVQze1kja6UE2A5dDVZ/reKPnD6BxSmEpOM6f3g6p7+brr6Q9lzcDe PrQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957962; x=1788562762; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=Js1oWEh/Sz07oya0oFsWgdVkl1V+2S1EN6yqVtXd7p8=; b=oZIq0+oWEIgtgEK/eMFsQfCVbgqeup0N2h1uA7extUh9tCguWhqSJIuo2vDwT7QAO5 4Yulg7SA8tVB2vKKSRK846iBUxcq9sLKnjgmkLOJL1jStYMq6CnM1ru+HWXtgYZ/92lK GqXvjRHbinrvOOMoCqREQjJ4KnxtlQaBEPmZwxc5gof/VhbBiZn0YZBJCi6ldkAIEjmL Rj6pN2aK03wu4C2iwf7Rpr1oVsuupM38VDwnIePehyT9CW3XitzirHQC77huwNq76YrS M7ByY6tM6Oavv5mt2x7z520YH7dkVLiEKApuqi8s95BeZ8HzqlyP0dJUF0u+U6T4/zml qKRQ== X-Gm-Message-State: AFuF++mZyhE+G941wpOQZ05/gCzSYQPYjjkZx/K79CfTpbq7EMrAbGw/ lrKQftGKT7DvGW+VpmUheQR2KDwniBzBo56+EV0HVmRlgxWsX3OHhzE+8ziVAD09f7zJGA5QhD5 Ec8kUNUcJnrSAnmbLGEF0fM44Z7djxl7yZOKWzlCzVl0WUK8HJYjwyENFqDNTlKzRBA== X-Gm-Gg: AYBFou1/BdsOB3p1NhIWLMZy+91XTl4TJxEhkvwQwPr3S5pasbbf2rKbk7nlzDs6q3Q /Tka4wNDqf0TXsbf+yRt+hCwcML9+drTvoHQO/s2W0ZPCVc2TVCJYIalPYFK0Uik1yboVZNhB5q l5sirFa8hoIAordoq0OrB6AdQAEqyIsVRgwkc+olnj3pl9vhx/DphXeAqe6vP+E1Q6GYl288MkO /b/TBKx8ALdcSll/x0H5oOqaAwfvor0EfwRR7JhdeWPAfWLdZ09Cbk9vO19t/vxuFSTmVQJXuTH cR6dsGy4W7+13hUNYjB4VwiHYyHe9fqonMrmuyPF5T2TKdV9B7t3QrH60HSivEowzkywuPin9z0 AtUJlqFCokCqHAVmOT6YDTm08G+W6DFw4CHa8XdUCPbvyxum0l7WeLd/pHrw= X-Received: by 2002:a17:90b:4a8c:b0:392:6638:2e6a with SMTP id 98e67ed59e1d1-396d0f69d10mr15339203a91.13.1787957961929; Fri, 28 Aug 2026 15:59:21 -0700 (PDT) X-Received: by 2002:a17:90b:4a8c:b0:392:6638:2e6a with SMTP id 98e67ed59e1d1-396d0f69d10mr15339147a91.13.1787957961402; Fri, 28 Aug 2026 15:59:21 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 13/47] configs/targets: remove target info definitions Date: Fri, 28 Aug 2026 22:58:27 +0000 Message-ID: <20260828225901.367438-14-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: dc8N1N-s9fb2m5adWEqYPW5iEg_pDRTW X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX9G2QLX/FHvLb IPcRsQ0n2tCqqwY0X7nqc8XM1fdoOGo2WLZ32js/tpDgLYlOfaSJR8zafzrrFHvhGIDcwPpmeLZ bFg29yhaPKjCQwVEY5bWA5AlWDE8dZMExYakxrPx/u1gaHL/wl6wf7DqrPIHKZSKI3Tnaqq0zqX 7GJ6j10+0C5qOTJn906GJe2jBwvQ2/WGlJo7VQ1ACgnPIco3x0Ww3Z89dPGUFzGxKDQft4rd+L6 WWX12y55ePiK+nXSO3crR4K/hbpBmqyl0J7/0EuEx1dbjhTfGBIYFMXRITTKJfAdba0LogpZ7cP edDffgssNhYQ4n2wSbMaWYZFjK+5otMdYk1F1wfkLqLIzUmVRp4ShgWQZ4bbC60lB/rNkUm4yLC iQMay7jukndO08VIpbQ5MG26qWpbdnEl5YKWQ4+T46GSZHVjrE8eNZ1Yf0H5J8O4Okw0SqDxZqr Qy+QM3gSdfSUF/Wyiqg== X-Proofpoint-ORIG-GUID: dc8N1N-s9fb2m5adWEqYPW5iEg_pDRTW X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXx2+6lHsBp49L ZTqePIBEd7abFHD+8I/7jwXbQ+ZH/qC97fMTiy7zR3AN/ZvQar3b2wgkSlVW9N1oTdjv0BBJ4KC 4YroUpwEyBvA9TR3CR9cGryuEpiPqxo= X-Authority-Analysis: v=2.4 cv=RoP16imK c=1 sm=1 tr=0 ts=6a9212ca cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=EUspDBNiAAAA:8 a=rCt224tj-FXkyGmv2awA:9 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 phishscore=0 suspectscore=0 impostorscore=0 malwarescore=0 spamscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958026918158500 Content-Type: text/plain; charset="utf-8" Now that we remove machine_typename, we don't need to keep duplicated file per target anymore. So we can just rely on target-info-stub.c. Signed-off-by: Pierrick Bouvier --- configs/targets/aarch64-softmmu.c | 26 -------------------------- configs/targets/arm-softmmu.c | 26 -------------------------- configs/targets/meson.build | 6 ------ configs/targets/riscv32-softmmu.c | 25 ------------------------- configs/targets/riscv64-softmmu.c | 25 ------------------------- meson.build | 7 +------ 6 files changed, 1 insertion(+), 114 deletions(-) delete mode 100644 configs/targets/aarch64-softmmu.c delete mode 100644 configs/targets/arm-softmmu.c delete mode 100644 configs/targets/meson.build delete mode 100644 configs/targets/riscv32-softmmu.c delete mode 100644 configs/targets/riscv64-softmmu.c diff --git a/configs/targets/aarch64-softmmu.c b/configs/targets/aarch64-so= ftmmu.c deleted file mode 100644 index 2200a4f19e9..00000000000 --- a/configs/targets/aarch64-softmmu.c +++ /dev/null @@ -1,26 +0,0 @@ -/* - * QEMU binary/target API (qemu-system-aarch64) - * - * Copyright (c) Linaro - * - * SPDX-License-Identifier: GPL-2.0-or-later - */ - -#include "qemu/osdep.h" -#include "qemu/target-info-impl.h" -#include "qemu/target-info-init.h" -#include "hw/arm/machines-qom.h" -#include "target/arm/cpu-qom.h" -#include "target/arm/cpu-param.h" - -static const TargetInfo target_info_aarch64_system =3D { - .target_name =3D "aarch64", - .target_arch =3D SYS_EMU_TARGET_AARCH64, - .long_bits =3D 64, - .cpu_type =3D TYPE_ARM_CPU, - .endianness =3D ENDIAN_MODE_LITTLE, - .page_bits_vary =3D true, - .page_bits_init =3D TARGET_PAGE_BITS_LEGACY, -}; - -target_info_init(target_info_aarch64_system) diff --git a/configs/targets/arm-softmmu.c b/configs/targets/arm-softmmu.c deleted file mode 100644 index 9d558a0c1a1..00000000000 --- a/configs/targets/arm-softmmu.c +++ /dev/null @@ -1,26 +0,0 @@ -/* - * QEMU binary/target API (qemu-system-arm) - * - * Copyright (c) Linaro - * - * SPDX-License-Identifier: GPL-2.0-or-later - */ - -#include "qemu/osdep.h" -#include "qemu/target-info-impl.h" -#include "qemu/target-info-init.h" -#include "hw/arm/machines-qom.h" -#include "target/arm/cpu-qom.h" -#include "target/arm/cpu-param.h" - -static const TargetInfo target_info_arm_system =3D { - .target_name =3D "arm", - .target_arch =3D SYS_EMU_TARGET_ARM, - .long_bits =3D 32, - .cpu_type =3D TYPE_ARM_CPU, - .endianness =3D ENDIAN_MODE_LITTLE, - .page_bits_vary =3D true, - .page_bits_init =3D TARGET_PAGE_BITS_LEGACY, -}; - -target_info_init(target_info_arm_system) diff --git a/configs/targets/meson.build b/configs/targets/meson.build deleted file mode 100644 index 2ab4d27eaf5..00000000000 --- a/configs/targets/meson.build +++ /dev/null @@ -1,6 +0,0 @@ -foreach target : [ - 'arm-softmmu', 'aarch64-softmmu', - 'riscv32-softmmu', 'riscv64-softmmu' - ] - config_target_info +=3D {target : files(target + '.c')} -endforeach diff --git a/configs/targets/riscv32-softmmu.c b/configs/targets/riscv32-so= ftmmu.c deleted file mode 100644 index c1d94679c7e..00000000000 --- a/configs/targets/riscv32-softmmu.c +++ /dev/null @@ -1,25 +0,0 @@ -/* - * QEMU binary/target API (qemu-system-riscv32) - * - * Copyright (c) rev.ng Labs Srl. - * - * SPDX-License-Identifier: GPL-2.0-or-later - */ - -#include "qemu/osdep.h" -#include "qemu/target-info-impl.h" -#include "qemu/target-info-init.h" -#include "hw/riscv/machines-qom.h" -#include "target/riscv/cpu-qom.h" -#include "target/riscv/cpu-param.h" - -static const TargetInfo target_info_riscv32_system =3D { - .target_name =3D "riscv32", - .target_arch =3D SYS_EMU_TARGET_RISCV32, - .long_bits =3D 32, - .cpu_type =3D TYPE_RISCV_CPU, - .endianness =3D ENDIAN_MODE_LITTLE, - .page_bits_init =3D TARGET_PAGE_BITS, -}; - -target_info_init(target_info_riscv32_system) diff --git a/configs/targets/riscv64-softmmu.c b/configs/targets/riscv64-so= ftmmu.c deleted file mode 100644 index f648a5c8944..00000000000 --- a/configs/targets/riscv64-softmmu.c +++ /dev/null @@ -1,25 +0,0 @@ -/* - * QEMU binary/target API (qemu-system-riscv64) - * - * Copyright (c) rev.ng Labs Srl. - * - * SPDX-License-Identifier: GPL-2.0-or-later - */ - -#include "qemu/osdep.h" -#include "qemu/target-info-impl.h" -#include "qemu/target-info-init.h" -#include "hw/riscv/machines-qom.h" -#include "target/riscv/cpu-qom.h" -#include "target/riscv/cpu-param.h" - -static const TargetInfo target_info_riscv64_system =3D { - .target_name =3D "riscv64", - .target_arch =3D SYS_EMU_TARGET_RISCV64, - .long_bits =3D 64, - .cpu_type =3D TYPE_RISCV_CPU, - .endianness =3D ENDIAN_MODE_LITTLE, - .page_bits_init =3D TARGET_PAGE_BITS, -}; - -target_info_init(target_info_riscv64_system) diff --git a/meson.build b/meson.build index 6dcfdceb507..93d495f09a0 100644 --- a/meson.build +++ b/meson.build @@ -3746,7 +3746,6 @@ subdir('dump') subdir('accel') =20 subdir('backends') -subdir('configs/targets') subdir('disas') subdir('migration') subdir('monitor') @@ -4323,11 +4322,7 @@ foreach target : target_dirs endif endif =20 - if target in config_target_info - arch_srcs +=3D config_target_info[target] - else - arch_srcs +=3D files('target-info-stub.c') - endif + arch_srcs +=3D files('target-info-stub.c') =20 if target_base_arch in target_arch t =3D target_arch[target_base_arch].apply(config_target, strict: false) --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958218; cv=none; d=zohomail.com; s=zohoarc; b=gHZhNQZrLT6E3w0NN/LLTRQcmu1zTOJkho53xK80V7oVZcjZEipOQb9BXxb1Kdl8wUtE6wI+9qd4Tp1F2Ccad6bYh1J6qh3RwRGQrbfXKaaTLTaP9dXroG1qHFwLNIRPvfC2LlNh1JcIjIi/HsRF5R8vYhOxA71RvTbJ1cwAt8Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958218; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=+fFw5NSa5Jry1A3ONE01He2NOx9PK8QCb8F7sLo12sY=; b=BUgqZekzkAcLavzVZ19yPShmMdvv7ZR35PTbo8A7lx1owQzAPg4fePLVkQIbXmLXsEouq+T7jEzPu3CiaP1+FFC1NSOUI5bdHEemLbWU5xfoszH0V2caRM9bVd/oo/q4V5bBC1UVDHqRUqwjXFJoOZKNMbqKHLe9sWClLQuEKoE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958218960324.60175234098847; Fri, 28 Aug 2026 16:03:38 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Xm-0000BP-HT; Fri, 28 Aug 2026 18:59:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xk-0000As-EQ for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:28 -0400 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xj-0005kX-0L for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:28 -0400 Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTLig4104959 for ; Fri, 28 Aug 2026 22:59:26 GMT Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb3hs3xbp-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:23 +0000 (GMT) Received: by mail-pg1-f197.google.com with SMTP id 41be03b00d2f7-cc1b8088203so1905472a12.3 for ; Fri, 28 Aug 2026 15:59:23 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=+fFw5NSa5Jr y1A3ONE01He2NOx9PK8QCb8F7sLo12sY=; b=ZovRW7S978CX/00w3dOhfTqQ7Wa B3s3B1ZF1ywugRk/1Nef3nkDYSeTzfn6FOSRFaeD+1xKUDUeHxRyss2DarE2cO9B B0Xw47+cwtP/da25MmvdL5IJhZh44wr1WTcDra80oceNik82ND4AjwsnAcKkR2U2 hM0viQ89OE6wBVST7nk8hJMvzP3CLrIIuT+fLpa8vcvmuOgCdssBr6A0kyoCTj9j TTi44hL8pj2Pp/HLPua0+gjVMG9LJkB9kAo8269eBPj7lO4Cfryp0raVEcfrwWzD Kub+PLerPq/3EgOrJNV+Xqs253HPiFzJBt76PP15x1uGRz+kRQ6GSuO9RwA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957963; x=1788562763; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=+fFw5NSa5Jry1A3ONE01He2NOx9PK8QCb8F7sLo12sY=; b=WScN+0nI5KoG9ezZeJhbXgWQeHGel4FxCiF2CNexAKBGCslOyM/+rfkmqnZZaTBfFI jIkhIFfgFz4po+k2bxtv5IsXlwzZNe3YdKavtaE7a69nw7dyDOb5GOJGFAu2bmaEgkzs I4Gx/f5j2Nva1mh9IfCKAu4Tx1w2odyjPBqjgH34+u4+rWhQp+Fnzl0FAOVKNHHEY7WY s6q6ya9nEJe04ra49+ycnQ3z6j4xEE1KcEKad5w8EmvPPXk/COnE9F5Ba6mG81tI3VyD 8voSbMudgCXj7DNfkyWp+NP8WWvzE3+H4eov3FA6jAb4HJh7U4N1La5awqQFCiJLZveg 6G5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957963; x=1788562763; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=+fFw5NSa5Jry1A3ONE01He2NOx9PK8QCb8F7sLo12sY=; b=Gc72SvcA/8CMS9j4bJak9g8EPwvYOzXHmsZWAPmD0UZPdbVEBvXEmn/OWPJ2Gju+M6 741QiBum+U4euztBhD2E7npR3gH5PgfuorWmY6X1oddjh2rE8I3j8V9kKzzRnE8FKCnO vG5rIYn7XY8/5nT8KfIhu/IyDfRoSdluElkXhuFD6+lt5did5psAwrQsTe3EE9fttulK EB034dwd0DyBlyv6cmYDyqt0lhNhpudiv24dSOuXeIr7Enxx64tRg51Z9y+aBtNdAzrG lxFTdR1JNypI46whXNgCuQ3f3KD9GPlA8fB4xP4x0wIMF64SW5KtP+RryuyMj/ynE8Kv jyAg== X-Gm-Message-State: AFuF++nLBP8z8Bz1o6Lr/9EnD21m5M0Io1k/aQ4GN9xukPj05Fm40Poa qDuSFSttmGe9CO6V0jf/pVqHmngvntQfLygyWH9taKoumuvOpyHDokSwJsPMNcl9ntRom/Jk8Yy CPMM/Bgvxa/EW4KdAdoQVPR7uiXr4UUjJA9i3ZytoT5YKq8c/XWmt9wKLTjLzxJm4Jg== X-Gm-Gg: AR+sD100KFu0ci0ZKI/rjUVCtSUtboeROgPUhlNvMLvhX2s1tuTRC0gTVD8vGOakjs2 z3iMzZJN5MP98HUGhtaQu4YYR+vojLGQmEMRVC7fLZLGiWRFa2EbfD8BvcuyaWnt4CItz5Gk7eT 83BGYUcLUNGueOh6sCmxOd3cbko5BhLQ+5XV0KHtPabBqa/7/7oLaR6m4cZTPUSLAwPF8vzOuwb 8/tOVdWB1FK0pjN3HfCZvvRaW5O5K2mh3Y4dLrYwdYP/cSP/8EXGhFr8TJrQle9jgOcZifIjwXy Y2iJwkQqLD86Wf21J0j0mIc6XtvSj0ReS14pnC8ndx7ZSuFeJlZ83vOTW3YCQ643Lh2IdkmVq/Q zPB24TAAYYTOa4HsVQqTEJbo7JEonAaWtLVVsZHcIihnqM4YibifYDbVrJnI= X-Received: by 2002:a05:6a21:a8a:b0:3d3:ad3c:49a5 with SMTP id adf61e73a8af0-3d3ad3c6457mr5129109637.19.1787957963027; Fri, 28 Aug 2026 15:59:23 -0700 (PDT) X-Received: by 2002:a05:6a21:a8a:b0:3d3:ad3c:49a5 with SMTP id adf61e73a8af0-3d3ad3c6457mr5129077637.19.1787957962628; Fri, 28 Aug 2026 15:59:22 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 14/47] target-info: rename target-info-stub.c in target-info-def.c Date: Fri, 28 Aug 2026 22:58:28 +0000 Message-ID: <20260828225901.367438-15-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=XKYAjwhE c=1 sm=1 tr=0 ts=6a9212cb cx=c_pps a=rz3CxIlbcmazkYymdCej/Q==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=EUspDBNiAAAA:8 a=-IadAdOB_zlydFfnqDsA:9 a=bFCP_H2QrGi7Okbo017w:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX3JnAejrDap/M tSR3s+b0+/e0qz2NlbxbXfRTBK5ygvJh0nNA35B/E4GQdJIcKWM7+/8pp64ESt6cR2qBRUraGLD zMhVQGfsJkXguOXlVss+88SPceEAL5fq2nDtDJHlS32kh36jTMiUHOJJxiwX6wLOa46S71hsbdt QCVhfWtXpcFyZiEfYmGO0zTY6L5IdANvlL5UTri/Hi54Fk0ViKcrY6GQTnN6e8eLcXOG8eiINBj jZKWi1UWPYOIgze1vK1CTivNYA5vEnJJAisdUDk7r/E0BIejyBxM5/gRR/hhhhMS9ltMslzTBtn V3cfHCwGZhxfHS4l4gxacAWCo29Kh1IugtHm1A73ALFMW97lCEBhUJ8tnPGHDC9GCE6R4z4nLkZ 32HOBsjdC0OJ0dlhBH3XhmA6OL0FdGnZwP+IkxU2cFuT6wQeKp5H2Jaki1kXsdVHTzEKbwySjYw iUyaEeQdTKc9Ye0wStw== X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX8F8cOtOoAinI QTQirb63H4f7PiIW8U4xnRzqm+PG+xTqOogoC2WsBhN8KdDEYGvMOwtKs9DFMusnjnsSEIqobrU vHIeYnxw0ts75SrsFo2nq8TIrXNUFIA= X-Proofpoint-GUID: gZtmzwKeZbgCzr94fobAPq9xkc51J70u X-Proofpoint-ORIG-GUID: gZtmzwKeZbgCzr94fobAPq9xkc51J70u X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 lowpriorityscore=0 clxscore=1015 priorityscore=1501 bulkscore=0 adultscore=0 phishscore=0 suspectscore=0 impostorscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.180.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0b-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958219737158500 Content-Type: text/plain; charset="utf-8" Now it's the only file left to define target info, we call it def to make the intent more clear. Signed-off-by: Pierrick Bouvier --- meson.build | 2 +- target-info-stub.c =3D> target-info-def.c | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename target-info-stub.c =3D> target-info-def.c (100%) diff --git a/meson.build b/meson.build index 93d495f09a0..5da6c15551e 100644 --- a/meson.build +++ b/meson.build @@ -4322,7 +4322,7 @@ foreach target : target_dirs endif endif =20 - arch_srcs +=3D files('target-info-stub.c') + arch_srcs +=3D files('target-info-def.c') =20 if target_base_arch in target_arch t =3D target_arch[target_base_arch].apply(config_target, strict: false) diff --git a/target-info-stub.c b/target-info-def.c similarity index 100% rename from target-info-stub.c rename to target-info-def.c --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787957993; cv=none; d=zohomail.com; s=zohoarc; b=daxOY7YnqnNbSzI1wArPtO+HXoskXIsODA9qEX6tWitELRbrmEFPZ6m5Ze2uf4ksSqyNHQrxZHeB5Qur390lfCcGXA10nkVxCx1zQN2WiS0MHYIvqPhjE9ynzXiBpOGKMmPHEMTnOL39ny7KtirAFYY0ukShbxP3djWPtz1mBwI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787957993; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=eXnvccp0DFbxwkO1Mw3GLTeuTcyRAoYMc66NG1wni7c=; b=gV1sDgRWsNLiM3pBjOGODdts25MR5BxWJ9dkBBYyxbtn0MhhaPMOciDYCzuYpML+TayJr+09UdhIQCCSZpgvR+JvR1g3hR171e7K+Sir/31PewjwR5cUMa8q7HdGnlow68+glcQUDhdBMNwrkDwY6H3pFElTkcZ7K/YEFv/0Q2g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787957993698438.96862785688575; Fri, 28 Aug 2026 15:59:53 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Xz-0000Ja-4J; Fri, 28 Aug 2026 18:59:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xu-0000Gu-CU for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:38 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xs-0005kT-K4 for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:38 -0400 Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMUGfp3778632 for ; Fri, 28 Aug 2026 22:59:25 GMT Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbj3er83e-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:24 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2cfa4e4684bso33159145ad.2 for ; Fri, 28 Aug 2026 15:59:24 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=eXnvccp0DFb xwkO1Mw3GLTeuTcyRAoYMc66NG1wni7c=; b=Xs7RUfiNe0+r84SGCoRdkcNc9cq kpycBuTovwOHUsTGXvlsUf5RGPlYXGuuOJcz9qHLm1SJkI/GNrdUrKveeslcR7TY aNo3gkrn/EdgmEmUprEyueCoc/UZYAsSeVEMclIpRw37dUpf66R+fgMMCsLADYFg hUIDKvVzGEeWxNcw1m36IzlyLB2MV6+mtEd7l7UANZnGi+HWfR2/u/5LYzJRidF1 weOXZrAmICR4eNxPtvzDJSHGYLN1Gn3rWTFn8CxVft7TcLhD7Cw1jlVp7biWtSQH FWmPvn8HaXWhiC4z3X0goyKuRyZffWvA4wDpRtplGOHqHoAbHBmBDoghFZg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957964; x=1788562764; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=eXnvccp0DFbxwkO1Mw3GLTeuTcyRAoYMc66NG1wni7c=; b=OhOWrPX7RwmlgPCP5Kno8/VoDxT15iyTkAwneouJCUHFN6fhNxQ6WF7qBDs3PBDqDQ qxlAAnKhsmje4Xhv5mn+MskjLdjW/4+4hEqiVB2sah6K/xyGC41qkKTENqROmhQWGru9 ZSOgVGZ+NIolX0vJStVxTh9Oz/+ViIxHefTPE3NK5pzOEGlmHGJ3xJ5bLPKm6hA99B7l Iyq39CCwsfrH0Enwfyvta4dqElniMjWh5Uohz9wDGZA5WFBBSvUIoSH9J/lYepqlt3Y9 rXe9J152pgpUvuelLYBPtnKFCMxbUDumnbAuUEvtf2ljmAwd8qInGWmcGEs3ihbo1+FU Lx4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957964; x=1788562764; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=eXnvccp0DFbxwkO1Mw3GLTeuTcyRAoYMc66NG1wni7c=; b=BfSXGAbSfRvMDTfQmN1fHYeRIU2+DnoLpqnMzxpM4YGCPyFgAqh6SZYiKmbAv3lhf5 W06GUuKIjfDJ3WhqWx7takfR2mfSQEVGc6sjSol2r6qpo+Tvzj0pxJu330C3aSEXXxaf 76fpBHvnZnaXGvep57SsAy0Gn9zXD4iPBIVejgSS8LEke1xcodAbEDqZ2GS79QjLCnXi DR2XW5cpDOS8E0V3thzUIIXVWM87ihHNL+MwK3Di4kwvzRcIRC59l0tPiNpINM4/dT7C vMycafXmSKIa2oKGwfZ6SkdwTGhf06Qbnm3YzCvYt6mAXqkRIpWA/Xo1iI4FN5FFzp3Y cjCg== X-Gm-Message-State: AFuF++kLNncc8lwO70eLXn5YdDS/ALmBQ/VucSCYog1JekUyV3kMd7cX zTsb1qMZSsLTvF83HVPd1v+EqlD0F85IdAnAzoj+aYhjUJAkNK8jUemsBbKbZiWxdFFXfVImY+o uHeeHQlHQc4s2RKOeH/ggTaHVkYnXS2MWfGcqujfR/SdWQOpt8cHnSIOnFAXKXjPW9A== X-Gm-Gg: AYBFou3WXzsl2U28S3lANLr/FCI3RBVK/4D7eNr5Fn1TFDESFFk1rbWmsgYIRukTbDn Y06/gEG1MghQByC84kywTK9Y7iEptdeHq89qwaeoJTkZXqP957VVIUKIZ5K4XXt/Q1QH+Ge57Ls kkGUGvJ4SZFqF89AZAb9Stv/Fgb0KosYaACmbuSRIsuk11laiIgtZyxAoTW02iOI+9tYBOsZXzy K7v0cgMlW7XVAaHzkN6jS/fDbmnH0m+z09CPytFYuGu3TnJD1fYbFnZn6O5icUISYz4dM7/ribz zc/kUs20HZfDPk7bx3Z5icBokKBCon4ylewQ+9AWhVczuJDTQQm3XzNrWKKgA/836ctSLDRFjcP z4R0b5oExwO+O2cD9aJcwanrzXju9WU/uBwK8PXswYnSF8lLgySkzrGQCBgs= X-Received: by 2002:a17:90b:6c7:b0:396:6344:3b63 with SMTP id 98e67ed59e1d1-396d0e25905mr19253397a91.2.1787957964365; Fri, 28 Aug 2026 15:59:24 -0700 (PDT) X-Received: by 2002:a17:90b:6c7:b0:396:6344:3b63 with SMTP id 98e67ed59e1d1-396d0e25905mr19253352a91.2.1787957963858; Fri, 28 Aug 2026 15:59:23 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 15/47] hw/arm: remove TYPE_TARGET_{AARCH64,ARM}_MACHINE Date: Fri, 28 Aug 2026 22:58:29 +0000 Message-ID: <20260828225901.367438-16-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: GhTta89htJ7i_EckSojK5AMOVeoBy2Uc X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX1TnKtPNx5gDJ e/AuLP6CtvfD+N32p0YYCkZpf9uUvEZBswxcwYonEBD/EOP6T5gA7hPJzmtjh0NYOyb5gMAKpO8 cZ33KGvpu/+KzudAvBKOMt7AVZ5Yw4WGqE7rJbYntOE+o8Ru262IjgNDy6tQnEanSSoDCaGLNr6 pMjBqUtSeLH5cec5Q1mTI1TSA2Y099fPaP9GhIOc1G8DZzwv5mX0oFzQWvUFQKFnF07OyP/2M/y HIwAwvhYjsoSXMv6QNWP+iqFQ3bf83/H9qV/7RuKLtRXlTfjSBXaQSEdZKrgyYRxp6VBJKCfsd4 4cm+lsASPb07gZp+QItRxXxVnk9dxtRIyQoAY8ibCtDvCNq0WDV0LlSWAPCX6w3FZ8O7gPNrIse 0Qs23ayMiHIKDVr/lFGnxtnvncdQCk56ed5eED+1QVUgb3Qsxg0ro9Asej51VwBF589OiKMgn8P txU+j1iyytSNYhHdoPQ== X-Authority-Analysis: v=2.4 cv=QLVYgALL c=1 sm=1 tr=0 ts=6a9212cd cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=SalYC_UygP5POjnEfZgA:9 a=324X-CrmTo6CU4MGRt3R:22 X-Proofpoint-GUID: GhTta89htJ7i_EckSojK5AMOVeoBy2Uc X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX57drhjS5CRaV OSFOfAWbpL9ixct31xkbN6Mpny2b3WA231600A86CjDawrkRUecoEtMTXDHmqqqMiNy0igGt/K9 6uzWSyPpQ/a8f+nCC372YKQZSQCS+KE= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 spamscore=0 clxscore=1015 malwarescore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787957995240154100 Content-Type: text/plain; charset="utf-8" We don't need those types anymore. Signed-off-by: Pierrick Bouvier --- hw/core/null-machine.c | 2 -- hw/nitro/machine.c | 5 ----- hw/remote/machine.c | 1 - include/hw/arm/machines-qom.h | 6 ------ target-info-qom.c | 8 -------- target/arm/machine.c | 5 ----- 6 files changed, 27 deletions(-) diff --git a/hw/core/null-machine.c b/hw/core/null-machine.c index f132a7b89b4..c1ecf3214fd 100644 --- a/hw/core/null-machine.c +++ b/hw/core/null-machine.c @@ -58,8 +58,6 @@ static void machine_none_machine_init(MachineClass *mc) } =20 DEFINE_MACHINE_WITH_INTERFACES("none", machine_none_machine_init, - { TYPE_TARGET_AARCH64_MACHINE }, - { TYPE_TARGET_ARM_MACHINE }, { TYPE_TARGET_RISCV32_MACHINE }, { TYPE_TARGET_RISCV64_MACHINE }, { }) diff --git a/hw/nitro/machine.c b/hw/nitro/machine.c index 8849959359c..bb8878299bc 100644 --- a/hw/nitro/machine.c +++ b/hw/nitro/machine.c @@ -262,11 +262,6 @@ static const TypeInfo nitro_machine_info =3D { .parent =3D TYPE_MACHINE, .instance_size =3D sizeof(NitroMachineState), .class_init =3D nitro_machine_class_init, - .interfaces =3D (const InterfaceInfo[]) { - /* x86_64 and aarch64 only */ - { TYPE_TARGET_AARCH64_MACHINE }, - { } - }, }; =20 static void nitro_machine_register(void) diff --git a/hw/remote/machine.c b/hw/remote/machine.c index 88d38b75d52..6580e0d9683 100644 --- a/hw/remote/machine.c +++ b/hw/remote/machine.c @@ -149,7 +149,6 @@ static const TypeInfo remote_machine =3D { .class_init =3D remote_machine_class_init, .interfaces =3D (const InterfaceInfo[]) { { TYPE_HOTPLUG_HANDLER }, - { TYPE_TARGET_AARCH64_MACHINE }, { } } }; diff --git a/include/hw/arm/machines-qom.h b/include/hw/arm/machines-qom.h index 3ed39384e59..81ffa434303 100644 --- a/include/hw/arm/machines-qom.h +++ b/include/hw/arm/machines-qom.h @@ -11,12 +11,6 @@ =20 #include "hw/core/boards.h" =20 -#define TYPE_TARGET_ARM_MACHINE \ - "target-info-arm-machine" - -#define TYPE_TARGET_AARCH64_MACHINE \ - "target-info-aarch64-machine" - /* * A machine filtered with arm_machine_interfaces[] or * arm_aarch64_machine_interfaces[] will be available diff --git a/target-info-qom.c b/target-info-qom.c index 7958a5cc685..eb9491338ca 100644 --- a/target-info-qom.c +++ b/target-info-qom.c @@ -16,14 +16,6 @@ #include "hw/riscv/machines-qom.h" =20 static const TypeInfo target_info_types[] =3D { - { - .name =3D TYPE_TARGET_ARM_MACHINE, - .parent =3D TYPE_INTERFACE, - }, - { - .name =3D TYPE_TARGET_AARCH64_MACHINE, - .parent =3D TYPE_INTERFACE, - }, { .name =3D TYPE_TARGET_RISCV32_MACHINE, .parent =3D TYPE_INTERFACE, diff --git a/target/arm/machine.c b/target/arm/machine.c index 89127e5d83c..42a1427fa16 100644 --- a/target/arm/machine.c +++ b/target/arm/machine.c @@ -1348,18 +1348,13 @@ const VMStateDescription vmstate_arm_cpu =3D { }; =20 const InterfaceInfo arm_machine_interfaces[] =3D { - { TYPE_TARGET_ARM_MACHINE }, - { TYPE_TARGET_AARCH64_MACHINE }, { } }; =20 const InterfaceInfo arm_aarch64_machine_interfaces[] =3D { - { TYPE_TARGET_ARM_MACHINE }, - { TYPE_TARGET_AARCH64_MACHINE }, { } }; =20 const InterfaceInfo aarch64_machine_interfaces[] =3D { - { TYPE_TARGET_AARCH64_MACHINE }, { } }; --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1787958260; cv=none; d=zohomail.com; s=zohoarc; b=jYTwDyRH8+pevkg4Xh2zGZY4x/10cE0cRtHro3ylh06AdzL7Z+r60Hi1/vzdKTNme1jibyHNsJUDaA92bs0zSq8k5Unw3h5gv6t76/gsaEoourlPNn+K3ilvs0VuZSSmx68HjIC4ik5mw8mPML6zfTZcOqes4bqsZN7chlsb8aQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958260; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Sender:Subject:Subject:To:To:Message-Id; bh=5JewJltOgedvvKuOq2vSFFEXfgnfEVTcOms/I7QUihM=; b=BANVjsZDyAatmOZy4gDgUtkIA3t5xh8A496O4SlwU0gixJ8RNzesS5E3I47tKYDE/3/YeR+QBxc/ipL4ibwmP63LLxyWJk1b5ZcEjHPxkhqbENubXkgp2uvPiziHwjT5YHgPohUphlILQmi9bdrPeXf1weCmUiUGhYIshH44NCs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958260319666.374992832888; Fri, 28 Aug 2026 16:04:20 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Y1-0000Pk-V7; Fri, 28 Aug 2026 18:59:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xy-0000K2-Ke for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:43 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xu-0005kb-Nw for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:42 -0400 Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTEZA145016 for ; Fri, 28 Aug 2026 22:59:27 GMT Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb7eh2s31-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:26 +0000 (GMT) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-38ecc48b3c2so2406438a91.1 for ; Fri, 28 Aug 2026 15:59:26 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=5JewJltOged vvKuOq2vSFFEXfgnfEVTcOms/I7QUihM=; b=doKV6CR3aEIJMJiR8uqGuMndiCe 9CBxm5LpSigogLyfkozczpGnT4WAgaytTN+u1kduP0XXMQO7tzR0j1GvZg+4SS+S QthMrmV4FelurpFssoSTxzDnO+VjKjAQcvhiLSSIq2x71kVdtKR2Qet3z2tbKrUF 3iVypKWv576vBMwDOfXkhZup+mpbIH9HSX0CjzAfsIZgMDCELnazyDRUWxF2haGT A8CkzJIpgoJyXJWvyUA7FizLcvYT8B5Bd7kYRdys8wOMvg/B6XHujLfGyOG+fHcs ZZDTZuNQ86BiaGESxvF0qiJmXSMUWx1cX8c580marQAYuuiPg08SNT1Jssg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957966; x=1788562766; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=5JewJltOgedvvKuOq2vSFFEXfgnfEVTcOms/I7QUihM=; b=DgfTUW0csc4+QoYT9oRUIyVBy+eipaMmeqxy95Qka2HCMX6sOYuAi7CpVOVw9IJ0fz CNpiz4H1NgIY1UUTa/kYhGDbzG0QrU7TV4GjDu4sHYVZpxEs8Tr6GUklDbJtaPd9CbNr Rf21duQIHzWPbvstC3rDkCoOvNeisuons/wg7Wwur6h5+y95rX0zx8SB2GWu3wSpvlO4 ccYDiSciF8FFzZKEwfyljV240fCHwoOgcw6IGQLTLwZHOi09M8/wMn3f6gDSWnwDEPGv vaYvSamypP670i/oLgA+KVFtVKpp699pQ5ZJjLA3hve3lCajKz61etTEDTUUnYWIv0Ox b1OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957966; x=1788562766; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=5JewJltOgedvvKuOq2vSFFEXfgnfEVTcOms/I7QUihM=; b=mdzrqMzRGgLENF8XOtmiebqyGSyIiKIbCZN8ia2WlT2iaEqQgl1Svv+Jl2Jt05wkn0 aAPL2aIaaJ1eXxpjtpVsdkxjMn2koRtsgbObkWsj5ii1mh1hSm3H+V204o8MUox+AF/E +3zrrVje5gurK5JDFwVieVZBNi3p8sHT7eMeaeMWvPNR7h2Rtz8XjSjhcVH75DTt8ptY uQTx+7YztYkbvgB8SSijikFtJ9ZYa+WoYdZ01ItJW442exvFOHrdgEFHR8lIODOKnUCp hJuffAnmLqx/4tsYgAAlV5+VlDEd/9GMR1R5zhIlDz0Df/O0PkoGy5qVlvcj7nsBqSSK vsPA== X-Gm-Message-State: AFuF++mGR7F97mmhCRTUJKmhA2TFYM5AblX+JP/kuEosn/d3zZUlJ7DU Z7mBE1Mp7b9fx6di+0lwqJWpD2th6cZZ/PzQ/AEFBJapl39MojNlkTz2XTaeKvNLM4cpFTU3HmL tJdkFbK7fONRMVMcJKxPm6RZnxZOggfdCMSxL35zDICOO2ayMmAvxtBr7YntvTnZ7Mg== X-Gm-Gg: AYBFou2PlP75ySr3TFB/ybF0OCMJqafYli2ZkLjyNvQDs4LztAdWp3c5zc8yTVBnEJ0 w1NMkaO6yVvLA8hPpxpOBbkl9QfPDANP0wfnJW9NTsNgIetVghUBKchtD6UfbwGu4SZl2kxiTqP sY7EbQgd5CiBZla+H29kZuNv1sf4hNHIr5LW7zC6vaPK3qvk6AE1L6d7MCwKQlqobc4Gdrhr+Ox WqPU2ZjFNuVI8CGQBDgcFyf46alaav5Ll39t3G9AqT6N864WV/Ijio60/yn1CvBrm96H3VLWHnm b7Iya2reJE1taolwITVWdvjeDSFHC2jIaH/B+lw4ICfyqLLXdyXFknX/Btpeoax7V+TGp7RI6Me PxSNduQeryRkmLxWFEyxaGRB6Cb2sYDx9FSAkb6FQpzzeEIv1KqrgUs6E39o= X-Received: by 2002:a17:90a:e185:b0:37f:eafd:3505 with SMTP id 98e67ed59e1d1-396d0ecbdb9mr20016729a91.6.1787957965954; Fri, 28 Aug 2026 15:59:25 -0700 (PDT) X-Received: by 2002:a17:90a:e185:b0:37f:eafd:3505 with SMTP id 98e67ed59e1d1-396d0ecbdb9mr20016655a91.6.1787957965226; Fri, 28 Aug 2026 15:59:25 -0700 (PDT) To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 16/47] hw/arm: remove {arm, arm_aarch64, aarch64}_machine_interfaces Date: Fri, 28 Aug 2026 22:58:30 +0000 Message-ID: <20260828225901.367438-17-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: y8FUaQRAosjd9QCYSkC0vMl-zUjR_Lu3 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX4XG0K/f5+vsL GV2a/9blJpngYZc8Dnx1mfCMD0iLeAU35C/uTGWeSIVJO3qGR3L17SmHKHiltcF6hPqmbeYrOOu 3hO9GZsd/IQUYpvMXkdAZR7S7K90C6xyZ9kpilAjRxUZkd98GnJ+CyV/1Pn1QxvSMD7X8CZtLKg UgUjaxzb0ekV1sJlF9i3qimLVaRUnFrwU2cyRuGp204U7WJGN/VVRICBKLozYJoOlT0sIha92Rh cRLBgpHCfzSWfPObrAYRZ3dIpkvY+1EnlNAyKr7i7eLqEDX7XqAciMiJuwnCz+VBNXQndsvcgC+ nJjL8WGRSBUWQ85R+2t3PT3GL7Pif9yKPlAg8zEmw1pgTUL5r8yZtygxb3eBbEPyvNmuChlC0BM b1IQs5QYpaJRSxDEVabL9kXZL3LTnrJZsOvirvYGn3ly67yEu5v3++QSVLugJQeWpLfnClR4K9s HGM2nycu0NliSP2znvA== X-Proofpoint-ORIG-GUID: y8FUaQRAosjd9QCYSkC0vMl-zUjR_Lu3 X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX0BXT4DxRVesM sgUmxr2LNESPJxU5dlYfU5prNT3LHt4jmMT2na8aWuwwoJYNx93FL1IuUG//L+Fl84UuekYC2kE t4HJzw/vREMfCdjQsqve/Q3fkBfn06Q= X-Authority-Analysis: v=2.4 cv=RoP16imK c=1 sm=1 tr=0 ts=6a9212cf cx=c_pps a=RP+M6JBNLl+fLTcSJhASfg==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=EUspDBNiAAAA:8 a=7joVoiQZOSCGeONO0vcA:9 a=iS9zxrgQBfv6-_F4QbHw:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 phishscore=0 suspectscore=0 impostorscore=0 malwarescore=0 spamscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Pierrick Bouvier From: Pierrick Bouvier via qemu development Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: fail (found 2 invalid signatures) X-ZM-MESSAGEID: 1787958262091158500 Content-Type: text/plain; charset="utf-8" We can now remove those arrays. Signed-off-by: Pierrick Bouvier --- hw/arm/aspeed_ast1040_evb.c | 1 - hw/arm/aspeed_ast10x0_evb.c | 2 -- hw/arm/aspeed_ast2400_palmetto.c | 1 - hw/arm/aspeed_ast2400_quanta-q71l.c | 1 - hw/arm/aspeed_ast2400_supermicrox11.c | 1 - hw/arm/aspeed_ast2500_evb.c | 1 - hw/arm/aspeed_ast2500_g220a.c | 1 - hw/arm/aspeed_ast2500_romulus.c | 1 - hw/arm/aspeed_ast2500_supermicro-x11spi.c | 1 - hw/arm/aspeed_ast2500_tiogapass.c | 1 - hw/arm/aspeed_ast2500_witherspoon.c | 1 - hw/arm/aspeed_ast2500_yosemitev2.c | 1 - hw/arm/aspeed_ast2600_anacapa.c | 1 - hw/arm/aspeed_ast2600_bletchley.c | 1 - hw/arm/aspeed_ast2600_catalina.c | 1 - hw/arm/aspeed_ast2600_evb.c | 1 - hw/arm/aspeed_ast2600_fby35.c | 1 - hw/arm/aspeed_ast2600_fuji.c | 1 - hw/arm/aspeed_ast2600_gb200nvl.c | 1 - hw/arm/aspeed_ast2600_rainier.c | 1 - hw/arm/aspeed_ast27x0-fc.c | 1 - hw/arm/aspeed_ast27x0_evb.c | 2 -- hw/arm/ax3000-boards.c | 1 - hw/arm/b-l475e-iot01a.c | 1 - hw/arm/bananapi_m2u.c | 2 +- hw/arm/collie.c | 1 - hw/arm/cubieboard.c | 2 +- hw/arm/exynos4_boards.c | 2 -- hw/arm/imx8mm-evk.c | 2 +- hw/arm/imx8mp-evk.c | 1 - hw/arm/integratorcp.c | 2 +- hw/arm/mcimx7d-sabre.c | 2 +- hw/arm/microbit.c | 1 - hw/arm/mps2-tz.c | 4 ---- hw/arm/mps2.c | 4 ---- hw/arm/mps3r.c | 1 - hw/arm/musca.c | 2 -- hw/arm/musicpal.c | 2 +- hw/arm/npcm7xx_boards.c | 5 ----- hw/arm/npcm8xx_boards.c | 1 - hw/arm/omap_sx1.c | 2 -- hw/arm/orangepi.c | 2 +- hw/arm/raspi.c | 5 ----- hw/arm/raspi4b.c | 1 - hw/arm/realview.c | 4 ---- hw/arm/sabrelite.c | 1 - hw/arm/sbsa-ref.c | 1 - hw/arm/stellaris.c | 2 -- hw/arm/versatilepb.c | 2 -- hw/arm/vexpress.c | 2 -- hw/arm/virt.c | 1 - hw/arm/xen-pvh.c | 1 - hw/arm/xilinx_zynq.c | 1 - hw/arm/xlnx-versal-virt.c | 2 -- hw/arm/xlnx-zcu102.c | 1 - include/hw/arm/machines-qom.h | 16 ++-------------- target/arm/machine.c | 12 ------------ 57 files changed, 9 insertions(+), 107 deletions(-) diff --git a/hw/arm/aspeed_ast1040_evb.c b/hw/arm/aspeed_ast1040_evb.c index 2b93d4dfbc5..dd68f9e25c7 100644 --- a/hw/arm/aspeed_ast1040_evb.c +++ b/hw/arm/aspeed_ast1040_evb.c @@ -81,7 +81,6 @@ static const TypeInfo aspeed_ast1040_evb_types[] =3D { .name =3D MACHINE_TYPE_NAME("ast1040-evb"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_ast1040_evb_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast10x0_evb.c b/hw/arm/aspeed_ast10x0_evb.c index c19563d1f0a..f377e955adc 100644 --- a/hw/arm/aspeed_ast10x0_evb.c +++ b/hw/arm/aspeed_ast10x0_evb.c @@ -119,12 +119,10 @@ static const TypeInfo aspeed_ast10x0_evb_types[] =3D { .name =3D MACHINE_TYPE_NAME("ast1030-evb"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_minibmc_machine_ast1030_evb_class_init, - .interfaces =3D arm_machine_interfaces, }, { .name =3D MACHINE_TYPE_NAME("ast1060-evb"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_minibmc_machine_ast1060_evb_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2400_palmetto.c b/hw/arm/aspeed_ast2400_palme= tto.c index 776aa43a45d..f4918683c3d 100644 --- a/hw/arm/aspeed_ast2400_palmetto.c +++ b/hw/arm/aspeed_ast2400_palmetto.c @@ -73,7 +73,6 @@ static const TypeInfo aspeed_ast2400_palmetto_types[] =3D= { .name =3D MACHINE_TYPE_NAME("palmetto-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_palmetto_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2400_quanta-q71l.c b/hw/arm/aspeed_ast2400_qu= anta-q71l.c index 42ad2a2303f..e1ddf682315 100644 --- a/hw/arm/aspeed_ast2400_quanta-q71l.c +++ b/hw/arm/aspeed_ast2400_quanta-q71l.c @@ -79,7 +79,6 @@ static const TypeInfo aspeed_ast2400_quanta_q71l_types[] = =3D { .name =3D MACHINE_TYPE_NAME("quanta-q71l-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_quanta_q71l_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2400_supermicrox11.c b/hw/arm/aspeed_ast2400_= supermicrox11.c index 88cdb01fc76..86d49fd1dee 100644 --- a/hw/arm/aspeed_ast2400_supermicrox11.c +++ b/hw/arm/aspeed_ast2400_supermicrox11.c @@ -74,7 +74,6 @@ static const TypeInfo aspeed_ast2400_supermicrox11_types[= ] =3D { .name =3D MACHINE_TYPE_NAME("supermicrox11-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_supermicrox11_bmc_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2500_evb.c b/hw/arm/aspeed_ast2500_evb.c index 8b5cb67be9b..5f616252e0b 100644 --- a/hw/arm/aspeed_ast2500_evb.c +++ b/hw/arm/aspeed_ast2500_evb.c @@ -60,7 +60,6 @@ static const TypeInfo aspeed_ast2500_evb_types[] =3D { .name =3D MACHINE_TYPE_NAME("ast2500-evb"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_ast2500_evb_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2500_g220a.c b/hw/arm/aspeed_ast2500_g220a.c index 3f979a78e57..3c654c62dd6 100644 --- a/hw/arm/aspeed_ast2500_g220a.c +++ b/hw/arm/aspeed_ast2500_g220a.c @@ -85,7 +85,6 @@ static const TypeInfo aspeed_ast2500_g220a_types[] =3D { .name =3D MACHINE_TYPE_NAME("g220a-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_g220a_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2500_romulus.c b/hw/arm/aspeed_ast2500_romulu= s.c index 91b660e74bb..b2ed623f680 100644 --- a/hw/arm/aspeed_ast2500_romulus.c +++ b/hw/arm/aspeed_ast2500_romulus.c @@ -55,7 +55,6 @@ static const TypeInfo aspeed_ast2500_romulus_types[] =3D { .name =3D MACHINE_TYPE_NAME("romulus-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_romulus_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2500_supermicro-x11spi.c b/hw/arm/aspeed_ast2= 500_supermicro-x11spi.c index a2450aa9623..77fa028b096 100644 --- a/hw/arm/aspeed_ast2500_supermicro-x11spi.c +++ b/hw/arm/aspeed_ast2500_supermicro-x11spi.c @@ -70,7 +70,6 @@ static const TypeInfo aspeed_ast2500_supermicro_x11spi_ty= pes[] =3D { .name =3D MACHINE_TYPE_NAME("supermicro-x11spi-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_supermicro_x11spi_bmc_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2500_tiogapass.c b/hw/arm/aspeed_ast2500_tiog= apass.c index 186dbc1da30..1771f376480 100644 --- a/hw/arm/aspeed_ast2500_tiogapass.c +++ b/hw/arm/aspeed_ast2500_tiogapass.c @@ -83,7 +83,6 @@ static const TypeInfo aspeed_ast2500_tiogapass_types[] = =3D { .name =3D MACHINE_TYPE_NAME("tiogapass-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_tiogapass_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2500_witherspoon.c b/hw/arm/aspeed_ast2500_wi= therspoon.c index 28d437fec08..4cc349c3236 100644 --- a/hw/arm/aspeed_ast2500_witherspoon.c +++ b/hw/arm/aspeed_ast2500_witherspoon.c @@ -105,7 +105,6 @@ static const TypeInfo aspeed_ast2500_witherspoon_types[= ] =3D { .name =3D MACHINE_TYPE_NAME("witherspoon-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_witherspoon_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2500_yosemitev2.c b/hw/arm/aspeed_ast2500_yos= emitev2.c index eaa75bcccbb..48c813f3c8f 100644 --- a/hw/arm/aspeed_ast2500_yosemitev2.c +++ b/hw/arm/aspeed_ast2500_yosemitev2.c @@ -84,7 +84,6 @@ static const TypeInfo aspeed_ast2500_yosemitev2_types[] = =3D { .name =3D MACHINE_TYPE_NAME("yosemitev2-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_yosemitev2_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2600_anacapa.c b/hw/arm/aspeed_ast2600_anacap= a.c index 65d6b0faa2d..e82f5c98f26 100644 --- a/hw/arm/aspeed_ast2600_anacapa.c +++ b/hw/arm/aspeed_ast2600_anacapa.c @@ -368,7 +368,6 @@ static const TypeInfo aspeed_ast2600_anacapa_types[] = =3D { .name =3D MACHINE_TYPE_NAME("anacapa-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_anacapa_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2600_bletchley.c b/hw/arm/aspeed_ast2600_blet= chley.c index b7e84db1438..9dda83ad4c0 100644 --- a/hw/arm/aspeed_ast2600_bletchley.c +++ b/hw/arm/aspeed_ast2600_bletchley.c @@ -90,7 +90,6 @@ static const TypeInfo aspeed_ast2600_bletchley_types[] = =3D { .name =3D MACHINE_TYPE_NAME("bletchley-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_bletchley_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2600_catalina.c b/hw/arm/aspeed_ast2600_catal= ina.c index f714c9d1b32..f91e0635908 100644 --- a/hw/arm/aspeed_ast2600_catalina.c +++ b/hw/arm/aspeed_ast2600_catalina.c @@ -675,7 +675,6 @@ static const TypeInfo aspeed_ast2600_catalina_types[] = =3D { .name =3D MACHINE_TYPE_NAME("catalina-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_catalina_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2600_evb.c b/hw/arm/aspeed_ast2600_evb.c index c43d2687c1c..404083b61dc 100644 --- a/hw/arm/aspeed_ast2600_evb.c +++ b/hw/arm/aspeed_ast2600_evb.c @@ -58,7 +58,6 @@ static const TypeInfo aspeed_ast2600_evb_types[] =3D { .name =3D MACHINE_TYPE_NAME("ast2600-evb"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_ast2600_evb_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2600_fby35.c b/hw/arm/aspeed_ast2600_fby35.c index f6244270704..6bcda0ac630 100644 --- a/hw/arm/aspeed_ast2600_fby35.c +++ b/hw/arm/aspeed_ast2600_fby35.c @@ -171,7 +171,6 @@ static const TypeInfo aspeed_ast2600_fby35_types[] =3D { .name =3D MACHINE_TYPE_NAME("fby35-bmc"), .parent =3D MACHINE_TYPE_NAME("ast2600-evb"), .class_init =3D aspeed_machine_fby35_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2600_fuji.c b/hw/arm/aspeed_ast2600_fuji.c index 37db252e276..cf49149fe9a 100644 --- a/hw/arm/aspeed_ast2600_fuji.c +++ b/hw/arm/aspeed_ast2600_fuji.c @@ -133,7 +133,6 @@ static const TypeInfo aspeed_ast2600_fuji_types[] =3D { .name =3D MACHINE_TYPE_NAME("fuji-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_fuji_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2600_gb200nvl.c b/hw/arm/aspeed_ast2600_gb200= nvl.c index ad9a10110b8..705561afe39 100644 --- a/hw/arm/aspeed_ast2600_gb200nvl.c +++ b/hw/arm/aspeed_ast2600_gb200nvl.c @@ -104,7 +104,6 @@ static const TypeInfo aspeed_ast2600_gb200nvl_types[] = =3D { .name =3D MACHINE_TYPE_NAME("gb200nvl-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_gb200nvl_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast2600_rainier.c b/hw/arm/aspeed_ast2600_rainie= r.c index 8f0a412ddcf..6e5debc8bc1 100644 --- a/hw/arm/aspeed_ast2600_rainier.c +++ b/hw/arm/aspeed_ast2600_rainier.c @@ -191,7 +191,6 @@ static const TypeInfo aspeed_ast2600_rainier_types[] = =3D { .name =3D MACHINE_TYPE_NAME("rainier-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_rainier_class_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/aspeed_ast27x0-fc.c b/hw/arm/aspeed_ast27x0-fc.c index 54230aa92e6..ccfa4ade265 100644 --- a/hw/arm/aspeed_ast27x0-fc.c +++ b/hw/arm/aspeed_ast27x0-fc.c @@ -236,7 +236,6 @@ static const TypeInfo ast2700fc_types[] =3D { .class_init =3D ast2700fc_class_init, .instance_size =3D sizeof(Ast2700FCState), .is_available =3D target_aarch64, - .interfaces =3D aarch64_machine_interfaces, }, }; =20 diff --git a/hw/arm/aspeed_ast27x0_evb.c b/hw/arm/aspeed_ast27x0_evb.c index 2b767808e12..0deb3127c21 100644 --- a/hw/arm/aspeed_ast27x0_evb.c +++ b/hw/arm/aspeed_ast27x0_evb.c @@ -77,14 +77,12 @@ static const TypeInfo aspeed_ast27x0_evb_types[] =3D { .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_ast2700a1_evb_class_init, .is_available =3D target_aarch64, - .interfaces =3D aarch64_machine_interfaces, }, { .name =3D MACHINE_TYPE_NAME("ast2700a2-evb"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_ast2700a2_evb_class_init, .is_available =3D target_aarch64, - .interfaces =3D aarch64_machine_interfaces, } }; =20 diff --git a/hw/arm/ax3000-boards.c b/hw/arm/ax3000-boards.c index 4b8deec15cf..c7248f9f52b 100644 --- a/hw/arm/ax3000-boards.c +++ b/hw/arm/ax3000-boards.c @@ -48,7 +48,6 @@ static const TypeInfo ax3000_machine_types[] =3D { .instance_size =3D sizeof(Ax3000MachineState), .class_size =3D sizeof(Ax3000MachineClass), .class_init =3D ax3000_machine_class_init, - .interfaces =3D aarch64_machine_interfaces, .abstract =3D true, } }; diff --git a/hw/arm/b-l475e-iot01a.c b/hw/arm/b-l475e-iot01a.c index ee789c8df94..04dce2d19ce 100644 --- a/hw/arm/b-l475e-iot01a.c +++ b/hw/arm/b-l475e-iot01a.c @@ -132,7 +132,6 @@ static const TypeInfo bl475e_machine_type[] =3D { .parent =3D TYPE_MACHINE, .instance_size =3D sizeof(Bl475eMachineState), .class_init =3D bl475e_machine_init, - .interfaces =3D arm_machine_interfaces, } }; =20 diff --git a/hw/arm/bananapi_m2u.c b/hw/arm/bananapi_m2u.c index 0079aa1dd2b..15c878d1636 100644 --- a/hw/arm/bananapi_m2u.c +++ b/hw/arm/bananapi_m2u.c @@ -154,4 +154,4 @@ static void bpim2u_machine_init(MachineClass *mc) } =20 DEFINE_MACHINE_EXTENDED("bpim2u", MACHINE, Bpim2uMachineState, - bpim2u_machine_init, false, arm_machine_interfaces) + bpim2u_machine_init, false, NULL) diff --git a/hw/arm/collie.c b/hw/arm/collie.c index 01d74ad38cd..4b930e6ba12 100644 --- a/hw/arm/collie.c +++ b/hw/arm/collie.c @@ -85,7 +85,6 @@ static const TypeInfo collie_machine_typeinfo =3D { .parent =3D TYPE_MACHINE, .class_init =3D collie_machine_class_init, .instance_size =3D sizeof(CollieMachineState), - .interfaces =3D arm_machine_interfaces, }; =20 static void collie_machine_register_types(void) diff --git a/hw/arm/cubieboard.c b/hw/arm/cubieboard.c index d59c1ebba7f..511b71fbd7e 100644 --- a/hw/arm/cubieboard.c +++ b/hw/arm/cubieboard.c @@ -135,4 +135,4 @@ static void cubieboard_machine_init(MachineClass *mc) =20 DEFINE_MACHINE_EXTENDED("cubieboard", MACHINE, CubieboardMachineState, cubieboard_machine_init, false, - arm_machine_interfaces) + NULL) diff --git a/hw/arm/exynos4_boards.c b/hw/arm/exynos4_boards.c index b7decdb2c7f..62f7cbe875e 100644 --- a/hw/arm/exynos4_boards.c +++ b/hw/arm/exynos4_boards.c @@ -169,7 +169,6 @@ static const TypeInfo nuri_type =3D { .name =3D MACHINE_TYPE_NAME("nuri"), .parent =3D TYPE_MACHINE, .class_init =3D nuri_class_init, - .interfaces =3D arm_machine_interfaces, }; =20 static void smdkc210_class_init(ObjectClass *oc, const void *data) @@ -190,7 +189,6 @@ static const TypeInfo smdkc210_type =3D { .name =3D MACHINE_TYPE_NAME("smdkc210"), .parent =3D TYPE_MACHINE, .class_init =3D smdkc210_class_init, - .interfaces =3D arm_machine_interfaces, }; =20 static void exynos4_machines_init(void) diff --git a/hw/arm/imx8mm-evk.c b/hw/arm/imx8mm-evk.c index 019c609c542..ffe8e494a57 100644 --- a/hw/arm/imx8mm-evk.c +++ b/hw/arm/imx8mm-evk.c @@ -136,4 +136,4 @@ static void imx8mm_evk_machine_init(MachineClass *mc) =20 DEFINE_MACHINE_EXTENDED("imx8mm-evk", MACHINE, Imx8mmEvkMachineState, imx8mm_evk_machine_init, false, - aarch64_machine_interfaces) + NULL) diff --git a/hw/arm/imx8mp-evk.c b/hw/arm/imx8mp-evk.c index 16e9722d146..389e7c86d21 100644 --- a/hw/arm/imx8mp-evk.c +++ b/hw/arm/imx8mp-evk.c @@ -162,7 +162,6 @@ static const TypeInfo imx8mp_evk_machine_types[] =3D { .class_init =3D imx8mp_evk_machine_class_init, .instance_init =3D imx8mp_evk_machine_init, .instance_size =3D sizeof(FslImx8mpEvkState), - .interfaces =3D aarch64_machine_interfaces, }, }; =20 diff --git a/hw/arm/integratorcp.c b/hw/arm/integratorcp.c index f8bcf42c615..25ecd931e76 100644 --- a/hw/arm/integratorcp.c +++ b/hw/arm/integratorcp.c @@ -706,7 +706,7 @@ static void integratorcp_machine_init(MachineClass *mc) =20 DEFINE_MACHINE_EXTENDED("integratorcp", MACHINE, IntegratorcpMachineState, integratorcp_machine_init, false, - arm_machine_interfaces) + NULL) =20 static const Property core_properties[] =3D { DEFINE_PROP_UINT32("memsz", IntegratorCMState, memsz, 0), diff --git a/hw/arm/mcimx7d-sabre.c b/hw/arm/mcimx7d-sabre.c index 22fe1fa932f..cb4536faadd 100644 --- a/hw/arm/mcimx7d-sabre.c +++ b/hw/arm/mcimx7d-sabre.c @@ -88,4 +88,4 @@ static void mcimx7d_sabre_machine_init(MachineClass *mc) =20 DEFINE_MACHINE_EXTENDED("mcimx7d-sabre", MACHINE, Mcimx7dSabreMachineState, mcimx7d_sabre_machine_init, false, - arm_machine_interfaces) + NULL) diff --git a/hw/arm/microbit.c b/hw/arm/microbit.c index 9d5c4898469..85285861c5f 100644 --- a/hw/arm/microbit.c +++ b/hw/arm/microbit.c @@ -75,7 +75,6 @@ static const TypeInfo microbit_info =3D { .parent =3D TYPE_MACHINE, .instance_size =3D sizeof(MicrobitMachineState), .class_init =3D microbit_machine_class_init, - .interfaces =3D arm_machine_interfaces, }; =20 static void microbit_machine_init(void) diff --git a/hw/arm/mps2-tz.c b/hw/arm/mps2-tz.c index d6d178642ba..865009c1e0e 100644 --- a/hw/arm/mps2-tz.c +++ b/hw/arm/mps2-tz.c @@ -1485,28 +1485,24 @@ static const TypeInfo mps2tz_an505_info =3D { .name =3D TYPE_MPS2TZ_AN505_MACHINE, .parent =3D TYPE_MPS2TZ_MACHINE, .class_init =3D mps2tz_an505_class_init, - .interfaces =3D arm_machine_interfaces, }; =20 static const TypeInfo mps2tz_an521_info =3D { .name =3D TYPE_MPS2TZ_AN521_MACHINE, .parent =3D TYPE_MPS2TZ_MACHINE, .class_init =3D mps2tz_an521_class_init, - .interfaces =3D arm_machine_interfaces, }; =20 static const TypeInfo mps3tz_an524_info =3D { .name =3D TYPE_MPS3TZ_AN524_MACHINE, .parent =3D TYPE_MPS2TZ_MACHINE, .class_init =3D mps3tz_an524_class_init, - .interfaces =3D arm_machine_interfaces, }; =20 static const TypeInfo mps3tz_an547_info =3D { .name =3D TYPE_MPS3TZ_AN547_MACHINE, .parent =3D TYPE_MPS2TZ_MACHINE, .class_init =3D mps3tz_an547_class_init, - .interfaces =3D arm_machine_interfaces, }; =20 static void mps2tz_machine_init(void) diff --git a/hw/arm/mps2.c b/hw/arm/mps2.c index ac9366d8447..b13b7bc55ec 100644 --- a/hw/arm/mps2.c +++ b/hw/arm/mps2.c @@ -568,28 +568,24 @@ static const TypeInfo mps2_an385_info =3D { .name =3D TYPE_MPS2_AN385_MACHINE, .parent =3D TYPE_MPS2_MACHINE, .class_init =3D mps2_an385_class_init, - .interfaces =3D arm_machine_interfaces, }; =20 static const TypeInfo mps2_an386_info =3D { .name =3D TYPE_MPS2_AN386_MACHINE, .parent =3D TYPE_MPS2_MACHINE, .class_init =3D mps2_an386_class_init, - .interfaces =3D arm_machine_interfaces, }; =20 static const TypeInfo mps2_an500_info =3D { .name =3D TYPE_MPS2_AN500_MACHINE, .parent =3D TYPE_MPS2_MACHINE, .class_init =3D mps2_an500_class_init, - .interfaces =3D arm_machine_interfaces, }; =20 static const TypeInfo mps2_an511_info =3D { .name =3D TYPE_MPS2_AN511_MACHINE, .parent =3D TYPE_MPS2_MACHINE, .class_init =3D mps2_an511_class_init, - .interfaces =3D arm_machine_interfaces, }; =20 static void mps2_machine_init(void) diff --git a/hw/arm/mps3r.c b/hw/arm/mps3r.c index caad820d3bc..d6f4c1640ab 100644 --- a/hw/arm/mps3r.c +++ b/hw/arm/mps3r.c @@ -635,7 +635,6 @@ static const TypeInfo mps3r_machine_types[] =3D { .name =3D TYPE_MPS3R_AN536_MACHINE, .parent =3D TYPE_MPS3R_MACHINE, .class_init =3D mps3r_an536_class_init, - .interfaces =3D arm_machine_interfaces, }, }; =20 diff --git a/hw/arm/musca.c b/hw/arm/musca.c index 75d82eebcac..1b161487e7e 100644 --- a/hw/arm/musca.c +++ b/hw/arm/musca.c @@ -658,14 +658,12 @@ static const TypeInfo musca_a_info =3D { .name =3D TYPE_MUSCA_A_MACHINE, .parent =3D TYPE_MUSCA_MACHINE, .class_init =3D musca_a_class_init, - .interfaces =3D arm_machine_interfaces, }; =20 static const TypeInfo musca_b1_info =3D { .name =3D TYPE_MUSCA_B1_MACHINE, .parent =3D TYPE_MUSCA_MACHINE, .class_init =3D musca_b1_class_init, - .interfaces =3D arm_machine_interfaces, }; =20 static void musca_machine_init(void) diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c index 8a70ed7377e..84d20bca72b 100644 --- a/hw/arm/musicpal.c +++ b/hw/arm/musicpal.c @@ -1366,7 +1366,7 @@ static void musicpal_machine_init(MachineClass *mc) =20 DEFINE_MACHINE_EXTENDED("musicpal", MACHINE, MusicPalMachineState, musicpal_machine_init, false, - arm_machine_interfaces) + NULL) =20 static void mv88w8618_wlan_class_init(ObjectClass *klass, const void *data) { diff --git a/hw/arm/npcm7xx_boards.c b/hw/arm/npcm7xx_boards.c index 4f14d257465..025de42dac6 100644 --- a/hw/arm/npcm7xx_boards.c +++ b/hw/arm/npcm7xx_boards.c @@ -550,27 +550,22 @@ static const TypeInfo npcm7xx_machine_types[] =3D { .name =3D MACHINE_TYPE_NAME("npcm750-evb"), .parent =3D TYPE_NPCM7XX_MACHINE, .class_init =3D npcm750_evb_machine_class_init, - .interfaces =3D arm_machine_interfaces, }, { .name =3D MACHINE_TYPE_NAME("quanta-gsj"), .parent =3D TYPE_NPCM7XX_MACHINE, .class_init =3D gsj_machine_class_init, - .interfaces =3D arm_machine_interfaces, }, { .name =3D MACHINE_TYPE_NAME("quanta-gbs-bmc"), .parent =3D TYPE_NPCM7XX_MACHINE, .class_init =3D gbs_bmc_machine_class_init, - .interfaces =3D arm_machine_interfaces, }, { .name =3D MACHINE_TYPE_NAME("kudo-bmc"), .parent =3D TYPE_NPCM7XX_MACHINE, .class_init =3D kudo_bmc_machine_class_init, - .interfaces =3D arm_machine_interfaces, }, { .name =3D MACHINE_TYPE_NAME("mori-bmc"), .parent =3D TYPE_NPCM7XX_MACHINE, .class_init =3D mori_bmc_machine_class_init, - .interfaces =3D arm_machine_interfaces, }, }; =20 diff --git a/hw/arm/npcm8xx_boards.c b/hw/arm/npcm8xx_boards.c index f462369bea3..2a04cf4f2c9 100644 --- a/hw/arm/npcm8xx_boards.c +++ b/hw/arm/npcm8xx_boards.c @@ -249,7 +249,6 @@ static const TypeInfo npcm8xx_machine_types[] =3D { .name =3D MACHINE_TYPE_NAME("npcm845-evb"), .parent =3D TYPE_NPCM8XX_MACHINE, .class_init =3D npcm845_evb_machine_class_init, - .interfaces =3D aarch64_machine_interfaces, }, }; =20 diff --git a/hw/arm/omap_sx1.c b/hw/arm/omap_sx1.c index 3b628d13cbc..c3fe4187b8b 100644 --- a/hw/arm/omap_sx1.c +++ b/hw/arm/omap_sx1.c @@ -226,7 +226,6 @@ static const TypeInfo sx1_machine_v2_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D sx1_machine_v2_class_init, .instance_size =3D sizeof(Sx1MachineState), - .interfaces =3D arm_machine_interfaces, }; =20 static void sx1_machine_v1_class_init(ObjectClass *oc, const void *data) @@ -247,7 +246,6 @@ static const TypeInfo sx1_machine_v1_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D sx1_machine_v1_class_init, .instance_size =3D sizeof(Sx1MachineState), - .interfaces =3D arm_machine_interfaces, }; =20 static void sx1_machine_init(void) diff --git a/hw/arm/orangepi.c b/hw/arm/orangepi.c index 0e149ed6c98..3f06716c364 100644 --- a/hw/arm/orangepi.c +++ b/hw/arm/orangepi.c @@ -135,4 +135,4 @@ static void orangepi_machine_init(MachineClass *mc) =20 DEFINE_MACHINE_EXTENDED("orangepi-pc", MACHINE, OrangePiMachineState, orangepi_machine_init, false, - arm_machine_interfaces) + NULL) diff --git a/hw/arm/raspi.c b/hw/arm/raspi.c index bbaa20bd630..7ff3e8400e6 100644 --- a/hw/arm/raspi.c +++ b/hw/arm/raspi.c @@ -392,29 +392,24 @@ static const TypeInfo raspi_machine_types[] =3D { .name =3D MACHINE_TYPE_NAME("raspi0"), .parent =3D TYPE_RASPI_MACHINE, .class_init =3D raspi0_machine_class_init, - .interfaces =3D arm_machine_interfaces, }, { .name =3D MACHINE_TYPE_NAME("raspi1ap"), .parent =3D TYPE_RASPI_MACHINE, .class_init =3D raspi1ap_machine_class_init, - .interfaces =3D arm_machine_interfaces, }, { .name =3D MACHINE_TYPE_NAME("raspi2b"), .parent =3D TYPE_RASPI_MACHINE, .class_init =3D raspi2b_machine_class_init, - .interfaces =3D arm_machine_interfaces, }, { .name =3D MACHINE_TYPE_NAME("raspi3ap"), .parent =3D TYPE_RASPI_MACHINE, .class_init =3D raspi3ap_machine_class_init, .is_available =3D target_aarch64, - .interfaces =3D aarch64_machine_interfaces, }, { .name =3D MACHINE_TYPE_NAME("raspi3b"), .parent =3D TYPE_RASPI_MACHINE, .class_init =3D raspi3b_machine_class_init, .is_available =3D target_aarch64, - .interfaces =3D aarch64_machine_interfaces, }, { .name =3D TYPE_RASPI_MACHINE, .parent =3D TYPE_RASPI_BASE_MACHINE, diff --git a/hw/arm/raspi4b.c b/hw/arm/raspi4b.c index 2ad561fdcfc..08fcdf58c9f 100644 --- a/hw/arm/raspi4b.c +++ b/hw/arm/raspi4b.c @@ -127,7 +127,6 @@ static const TypeInfo raspi4b_machine_type =3D { .instance_size =3D sizeof(Raspi4bMachineState), .class_init =3D raspi4b_machine_class_init, .is_available =3D target_aarch64, - .interfaces =3D aarch64_machine_interfaces, }; =20 static void raspi4b_machine_register_type(void) diff --git a/hw/arm/realview.c b/hw/arm/realview.c index 0c2daf5c01f..aee7d05c3e6 100644 --- a/hw/arm/realview.c +++ b/hw/arm/realview.c @@ -437,7 +437,6 @@ static const TypeInfo realview_eb_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D realview_eb_class_init, .instance_size =3D sizeof(RealViewMachineState), - .interfaces =3D arm_machine_interfaces, }; =20 static void realview_eb_mpcore_class_init(ObjectClass *oc, const void *dat= a) @@ -460,7 +459,6 @@ static const TypeInfo realview_eb_mpcore_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D realview_eb_mpcore_class_init, .instance_size =3D sizeof(RealViewMachineState), - .interfaces =3D arm_machine_interfaces, }; =20 static void realview_pb_a8_class_init(ObjectClass *oc, const void *data) @@ -481,7 +479,6 @@ static const TypeInfo realview_pb_a8_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D realview_pb_a8_class_init, .instance_size =3D sizeof(RealViewMachineState), - .interfaces =3D arm_machine_interfaces, }; =20 static void realview_pbx_a9_class_init(ObjectClass *oc, const void *data) @@ -503,7 +500,6 @@ static const TypeInfo realview_pbx_a9_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D realview_pbx_a9_class_init, .instance_size =3D sizeof(RealViewMachineState), - .interfaces =3D arm_machine_interfaces, }; =20 static void realview_machine_init(void) diff --git a/hw/arm/sabrelite.c b/hw/arm/sabrelite.c index 140b2ecb9e2..ec307388f45 100644 --- a/hw/arm/sabrelite.c +++ b/hw/arm/sabrelite.c @@ -152,7 +152,6 @@ static const TypeInfo sabrelite_machine_init_typeinfo = =3D { .instance_init =3D sabrelite_machine_instance_init, .instance_size =3D sizeof(SabreliteMachineState), .abstract =3D false, - .interfaces =3D arm_machine_interfaces, }; =20 static void sabrelite_machine_init_register_types(void) diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c index 56d08f605c8..6ba353341a1 100644 --- a/hw/arm/sbsa-ref.c +++ b/hw/arm/sbsa-ref.c @@ -946,7 +946,6 @@ static const TypeInfo sbsa_ref_info =3D { .instance_finalize =3D sbsa_ref_instance_finalize, .class_init =3D sbsa_ref_class_init, .instance_size =3D sizeof(SBSAMachineState), - .interfaces =3D aarch64_machine_interfaces, }; =20 static void sbsa_ref_machine_init(void) diff --git a/hw/arm/stellaris.c b/hw/arm/stellaris.c index 56ecc828f4f..f634918868b 100644 --- a/hw/arm/stellaris.c +++ b/hw/arm/stellaris.c @@ -1428,7 +1428,6 @@ static const TypeInfo lm3s811evb_type =3D { .name =3D MACHINE_TYPE_NAME("lm3s811evb"), .parent =3D TYPE_MACHINE, .class_init =3D lm3s811evb_class_init, - .interfaces =3D arm_machine_interfaces, }; =20 /* @@ -1450,7 +1449,6 @@ static const TypeInfo lm3s6965evb_type =3D { .name =3D MACHINE_TYPE_NAME("lm3s6965evb"), .parent =3D TYPE_MACHINE, .class_init =3D lm3s6965evb_class_init, - .interfaces =3D arm_machine_interfaces, }; =20 static void stellaris_machine_init(void) diff --git a/hw/arm/versatilepb.c b/hw/arm/versatilepb.c index 520af79c800..1db9bc1eb24 100644 --- a/hw/arm/versatilepb.c +++ b/hw/arm/versatilepb.c @@ -438,7 +438,6 @@ static const TypeInfo versatilepb_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D versatilepb_class_init, .instance_size =3D sizeof(VersatileMachineState), - .interfaces =3D arm_machine_interfaces, }; =20 static void versatileab_class_init(ObjectClass *oc, const void *data) @@ -461,7 +460,6 @@ static const TypeInfo versatileab_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D versatileab_class_init, .instance_size =3D sizeof(VersatileMachineState), - .interfaces =3D arm_machine_interfaces, }; =20 static void versatile_machine_init(void) diff --git a/hw/arm/vexpress.c b/hw/arm/vexpress.c index f26d8c6f8d1..1e29fe0f09c 100644 --- a/hw/arm/vexpress.c +++ b/hw/arm/vexpress.c @@ -850,7 +850,6 @@ static const TypeInfo vexpress_a9_info =3D { .parent =3D TYPE_VEXPRESS_MACHINE, .class_init =3D vexpress_a9_class_init, .instance_init =3D vexpress_a9_instance_init, - .interfaces =3D arm_machine_interfaces, }; =20 static const TypeInfo vexpress_a15_info =3D { @@ -858,7 +857,6 @@ static const TypeInfo vexpress_a15_info =3D { .parent =3D TYPE_VEXPRESS_MACHINE, .class_init =3D vexpress_a15_class_init, .instance_init =3D vexpress_a15_instance_init, - .interfaces =3D arm_machine_interfaces, }; =20 static void vexpress_machine_init(void) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index d738b95c726..eae4f0fe413 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -133,7 +133,6 @@ static void arm_virt_compat_default_set(MachineClass *m= c) .name =3D MACHINE_VER_TYPE_NAME("virt", __VA_ARGS__), \ .parent =3D TYPE_VIRT_MACHINE, \ .class_init =3D MACHINE_VER_SYM(class_init, virt, __VA_ARGS__), \ - .interfaces =3D arm_aarch64_machine_interfaces, \ }; \ static void MACHINE_VER_SYM(register, virt, __VA_ARGS__)(void) \ { \ diff --git a/hw/arm/xen-pvh.c b/hw/arm/xen-pvh.c index 10cac28a910..b47dd9efd81 100644 --- a/hw/arm/xen-pvh.c +++ b/hw/arm/xen-pvh.c @@ -96,7 +96,6 @@ static const TypeInfo xen_arm_machine_type =3D { .class_init =3D xen_arm_machine_class_init, .instance_size =3D sizeof(XenPVHMachineState), .instance_init =3D xen_arm_instance_init, - .interfaces =3D arm_aarch64_machine_interfaces, }; =20 static void xen_arm_machine_register_types(void) diff --git a/hw/arm/xilinx_zynq.c b/hw/arm/xilinx_zynq.c index f3148975406..8ebd8e5ccd5 100644 --- a/hw/arm/xilinx_zynq.c +++ b/hw/arm/xilinx_zynq.c @@ -479,7 +479,6 @@ static const TypeInfo zynq_machine_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D zynq_machine_class_init, .instance_size =3D sizeof(ZynqMachineState), - .interfaces =3D arm_machine_interfaces, }; =20 static void zynq_machine_register_types(void) diff --git a/hw/arm/xlnx-versal-virt.c b/hw/arm/xlnx-versal-virt.c index 2b04513ba2e..e06a0c55549 100644 --- a/hw/arm/xlnx-versal-virt.c +++ b/hw/arm/xlnx-versal-virt.c @@ -402,14 +402,12 @@ static const TypeInfo versal_virt_machine_init_typein= fo =3D { .name =3D TYPE_XLNX_VERSAL_VIRT_MACHINE, .parent =3D TYPE_XLNX_VERSAL_VIRT_BASE_MACHINE, .class_init =3D versal_virt_machine_class_init, - .interfaces =3D aarch64_machine_interfaces, }; =20 static const TypeInfo versal2_virt_machine_init_typeinfo =3D { .name =3D TYPE_XLNX_VERSAL2_VIRT_MACHINE, .parent =3D TYPE_XLNX_VERSAL_VIRT_BASE_MACHINE, .class_init =3D versal2_virt_machine_class_init, - .interfaces =3D aarch64_machine_interfaces, }; =20 static void versal_virt_machine_init_register_types(void) diff --git a/hw/arm/xlnx-zcu102.c b/hw/arm/xlnx-zcu102.c index 4e489702743..da8b3ede873 100644 --- a/hw/arm/xlnx-zcu102.c +++ b/hw/arm/xlnx-zcu102.c @@ -303,7 +303,6 @@ static const TypeInfo xlnx_zcu102_machine_init_typeinfo= =3D { .class_init =3D xlnx_zcu102_machine_class_init, .instance_init =3D xlnx_zcu102_machine_instance_init, .instance_size =3D sizeof(XlnxZCU102), - .interfaces =3D aarch64_machine_interfaces, }; =20 static void xlnx_zcu102_machine_init_register_types(void) diff --git a/include/hw/arm/machines-qom.h b/include/hw/arm/machines-qom.h index 81ffa434303..449592beda0 100644 --- a/include/hw/arm/machines-qom.h +++ b/include/hw/arm/machines-qom.h @@ -11,18 +11,6 @@ =20 #include "hw/core/boards.h" =20 -/* - * A machine filtered with arm_machine_interfaces[] or - * arm_aarch64_machine_interfaces[] will be available - * in both qemu-system-arm and qemu-system-aarch64 binaries. - * - * One filtered with aarch64_machine_interfaces[] will only - * be available in the qemu-system-aarch64 binary. - */ -extern const InterfaceInfo arm_machine_interfaces[]; -extern const InterfaceInfo arm_aarch64_machine_interfaces[]; -extern const InterfaceInfo aarch64_machine_interfaces[]; - /* * A machine defined with the DEFINE_MACHINE_ARM() macro will be * available in both qemu-system-arm and qemu-system-aarch64 binaries. @@ -32,9 +20,9 @@ extern const InterfaceInfo aarch64_machine_interfaces[]; */ #define DEFINE_MACHINE_ARM(namestr, machine_initfn) \ DEFINE_MACHINE_WITH_INTERFACE_ARRAY(namestr, machine_initfn, \ - arm_machine_interfaces) + NULL) #define DEFINE_MACHINE_AARCH64(namestr, machine_initfn) \ DEFINE_MACHINE_WITH_INTERFACE_ARRAY(namestr, machine_initfn, \ - aarch64_machine_interfaces) + NULL) =20 #endif diff --git a/target/arm/machine.c b/target/arm/machine.c index 42a1427fa16..61106f9def6 100644 --- a/target/arm/machine.c +++ b/target/arm/machine.c @@ -1346,15 +1346,3 @@ const VMStateDescription vmstate_arm_cpu =3D { NULL } }; - -const InterfaceInfo arm_machine_interfaces[] =3D { - { } -}; - -const InterfaceInfo arm_aarch64_machine_interfaces[] =3D { - { } -}; - -const InterfaceInfo aarch64_machine_interfaces[] =3D { - { } -}; --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958199; cv=none; d=zohomail.com; s=zohoarc; b=TcZV4J1ZnQTR7/KLKd8lAwmT556UbompzXavlGgvBDIE+a5TvE91rpjR8O4S8K1M96Gje4dhVqgtraJlN5o2Ako39uA6pEk2jo/B/1CWkwrK/+zOFCz4785uSEwYvTlUroHwWGsgd97MPeejC7yl8M/NEEMaHbgwr4TD5HO1X2c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958199; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=qc9JH3sKH10m6l2azd877++QjvYXSajPRX0RNPFg1hU=; b=OUNYf/fpTVbW181priTQRuTkbEC6DOXJmBcxKxPSGqk/l6CWZkSZvol4NsiGMeWu+c83uv/NYK/G+ssmnmEO+2bjcvHdf9fl3hl0+/Fy4f0mYI4LZQCDTlBu90Qzc90f2JbWKqhukh15sK5t4GliA9JtWrFsLmSSWJOIyrJJ4gQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958199499550.3157577499898; Fri, 28 Aug 2026 16:03:19 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Y2-0000QX-De; Fri, 28 Aug 2026 18:59:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xy-0000Jx-3g for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:43 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xv-0005ko-Mn for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:41 -0400 Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTLEX3776092 for ; Fri, 28 Aug 2026 22:59:28 GMT Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbj3er83m-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:28 +0000 (GMT) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-396901263b6so2402398a91.2 for ; Fri, 28 Aug 2026 15:59:28 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=qc9JH3sKH10 m6l2azd877++QjvYXSajPRX0RNPFg1hU=; b=oV4Lg9KqTuO2cNKbT5FtP+smi12 B9FPumofVykc8+6DD2q/c9yEE11z5Lmi4iNVcwnXHpVsO23v+QZEAF1YUSbz6BnV FwL1+RE3lcsGZDz13bCAYR/oe0N/0xtzNc90Q2LwSkv+qVfat8DQ9t4hHj6Opj6f jtHt8pKW13kdN70paCUmOnHdnh76jJ5Rg7rCRMMiwtzq1HVtO7YoXgSq1tDcHnrK 0EK5o9qgeIgcab6Fn9mmz5b5dG8pCLU+GMRdRoD61QOlE/857Vc3rrrE1tn/Y5Vf OvyevJNaN+iggNXY8wGwm2OI0yjCLkoEPqyi/ux+W5oPD/vTJ5V5IhI1eMQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957967; x=1788562767; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=qc9JH3sKH10m6l2azd877++QjvYXSajPRX0RNPFg1hU=; b=Qhxqm7forzetL07U7U9+gLvCMSFd+iGdi1p5OnXO4bF1vabXNLQKfQXoJ0jIkZME0t cLxfbx4thaN/I8AtUmhC7EQAVVrt+TmxIUpvBF/6UQaewu24nykmHT42Fw6UEZb+6xgo sXm2ql4qKXEIxdXsNEKwzl70R7axm7LCVzk6jl8iUeULJVGqOFYbswK0YqSto2YeYf0b rr/AbVvyMwQsGWAv5eYiuChWxD8yiHQzy6Vyin5eXPRrYAq2jmFfv9oatGIqdT++RRvC ckyL7tkCv/v6kHkLPgq+dDHdEAP+hKYnuA5Q2fbVwCApyVl4yvtyJDQhzCJGbZ8f4Gg7 Pgwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957967; x=1788562767; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=qc9JH3sKH10m6l2azd877++QjvYXSajPRX0RNPFg1hU=; b=Jj95UthmFeYORH9OcW2xTZBHUDFDSnwEV5I/qf51AmWmNfHAuEFzP52VwkKAAgsMqd dq4tvQiNTPsF2SzXfSis0Y23FmDG0nJTIV/nwdFoSwVu+PEEgfadwGXI27pj2H7tt6GS HVvSF+KRUwQ0bTLjK0vdS1phIyUffhvXWv9GKhLxP9CNgAxOTxmOVoYmKpDQD/KaNeri /Ctl2vjQWZVWCe/b4hgLohSZZyl1uoK65aRbqywWkY0NAP9R+VnoxzINIK8y5QYFrw2j XcaUPadZM1hwAsyD8S6KjzfBqD7EQNBPuVVxt0yPTIwTtSnY+ygLikG5VypHqwBC2H0j zGgA== X-Gm-Message-State: AFuF++k9TZJzY3VxjfWQ4tzHnmJq09zXZoRQOTHjJC/5OjzSrToKkpGv 6NkqZPoUtDqR3E9PxmLkJXeby22RkiIr46CqQUTIZI+jR+N6PJhoRxrK+E8BLUwyT1yS+bdzSWM 2NRfYH5Nkivx2D9oeSiwOZapd1P/5qIdF+hvBRhTqbqcD4Kccg7+aHvdJCmaAsvWqaA== X-Gm-Gg: AYBFou04Zwm2nBv0fI8iBSsxvDTjOt9qMlPc1S9Z51xIDIJra454J3sllFNYXGcN8Jq 8JzO1WCAxshHO6EM1R0pksG2GtB7oLTkTryVuVA1Akrsxw1CXxJOCpQOCUeAB1/y/JHeOGl4Jer ukLZjPkbhPY6+odrtCQ+YUVHqwCYNkyfNk/NAHGZXw8ijQL4xnn4Wr08ZZniV+v7yJkamnit3OG tZl5yJLiWCrCeJgxyzrlVVT6s15iYB2eAPOPi0bmdcx646WFfCgve1id2Ho0pJ7oEcoxOcu7e6v cLg3kFvDqglKn0/tPUKYKnVSAu9eevW81FNOzUKciPoRnXcHH3X1lRzk/bq4mjLdptPLnE3Sf3E hmKfbSNwuiiM+ldoco3xhlX+ktsgPrlJDsAexvyu9i8uHh6r925jl3rUxegY= X-Received: by 2002:a17:90b:4a92:b0:38f:2168:b9cb with SMTP id 98e67ed59e1d1-396d0f75f22mr18202546a91.9.1787957967408; Fri, 28 Aug 2026 15:59:27 -0700 (PDT) X-Received: by 2002:a17:90b:4a92:b0:38f:2168:b9cb with SMTP id 98e67ed59e1d1-396d0f75f22mr18202487a91.9.1787957966904; Fri, 28 Aug 2026 15:59:26 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 17/47] hw/arm: remove DEFINE_MACHINE_{AARCH64,ARM} Date: Fri, 28 Aug 2026 22:58:31 +0000 Message-ID: <20260828225901.367438-18-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: uumSTFE4zhTmXzN7jw9hv-ikMJCls18d X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX+JUJiGcVx+QW WUZ5Hh/RcWdQLHPrPKjD12HR5eabfl2pBDY0C2+E+9xE+Q4qd3zdc/1MkpJ5iIiHb6HXwbH7Owk lFoXI5xpBusRWI1yefOLhPOPXOFQoHgpuH58fWXibtIlFCUqXfUgIhYHl0GrulorCaato03qXPb frWCtatZuD86XdwYXhY6dooS5WQCnEw5BujvBetDJmzHBZbPWRK6T2zhRiirs2ltvbWz7mlxiS/ iKavkr5Lce7JqEOix3FaHoxTqKrpREWr5TaMKugjRhGgt7HcBooI8RygQiqf0BHgXWr0w/Ixjqt EiU5FE0vWcXBLsb59CZVmpLHlNHk/nWUvMcROljROgrezs6Vma/dVdxmwaezIQnjtQDaELEtUU1 3ubXb8JWVIpx2Rxs6lFdnTrWmghgaj+GITprkJUMmF+UcEw47cXs2O9+qwYr3YD8u9nzVp9Sw8q dMFK0U7eCOM5gObqTIQ== X-Authority-Analysis: v=2.4 cv=QLVYgALL c=1 sm=1 tr=0 ts=6a9212d0 cx=c_pps a=RP+M6JBNLl+fLTcSJhASfg==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=vQY24nbS3a5ORmXlo28A:9 a=iS9zxrgQBfv6-_F4QbHw:22 X-Proofpoint-GUID: uumSTFE4zhTmXzN7jw9hv-ikMJCls18d X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXxjHYaA/tgiEa kuSWu9xokYkVhPvWncVsLZBdT2+G/naUJuna37POBRZnHHXkz6TPWQMkMRGAxPzUPYjbyb09eLF oSnAS//6SCRtKCe6TYbffptTKvxM5yQ= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 spamscore=0 clxscore=1015 malwarescore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958199724158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- hw/arm/digic_boards.c | 2 +- hw/arm/imx25_pdk.c | 2 +- hw/arm/kzm.c | 2 +- hw/arm/max78000fthr.c | 2 +- hw/arm/mcimx6ul-evk.c | 2 +- hw/arm/msf2-som.c | 2 +- hw/arm/netduino2.c | 2 +- hw/arm/netduinoplus2.c | 2 +- hw/arm/olimex-stm32-h405.c | 2 +- hw/arm/stm32vldiscovery.c | 2 +- include/hw/arm/machines-qom.h | 14 -------------- 11 files changed, 10 insertions(+), 24 deletions(-) diff --git a/hw/arm/digic_boards.c b/hw/arm/digic_boards.c index ed12f542001..c7ecf22a958 100644 --- a/hw/arm/digic_boards.c +++ b/hw/arm/digic_boards.c @@ -146,4 +146,4 @@ static void canon_a1100_machine_init(MachineClass *mc) mc->default_ram_id =3D "ram"; } =20 -DEFINE_MACHINE_ARM("canon-a1100", canon_a1100_machine_init) +DEFINE_MACHINE("canon-a1100", canon_a1100_machine_init) diff --git a/hw/arm/imx25_pdk.c b/hw/arm/imx25_pdk.c index f7a51481af0..3246512c214 100644 --- a/hw/arm/imx25_pdk.c +++ b/hw/arm/imx25_pdk.c @@ -150,4 +150,4 @@ static void imx25_pdk_machine_init(MachineClass *mc) mc->auto_create_sdcard =3D true; } =20 -DEFINE_MACHINE_ARM("imx25-pdk", imx25_pdk_machine_init) +DEFINE_MACHINE("imx25-pdk", imx25_pdk_machine_init) diff --git a/hw/arm/kzm.c b/hw/arm/kzm.c index 1aa5b49de92..909dd929e63 100644 --- a/hw/arm/kzm.c +++ b/hw/arm/kzm.c @@ -138,4 +138,4 @@ static void kzm_machine_init(MachineClass *mc) mc->default_ram_id =3D "kzm.ram"; } =20 -DEFINE_MACHINE_ARM("kzm", kzm_machine_init) +DEFINE_MACHINE("kzm", kzm_machine_init) diff --git a/hw/arm/max78000fthr.c b/hw/arm/max78000fthr.c index 530ca9dd964..290a14c8ad9 100644 --- a/hw/arm/max78000fthr.c +++ b/hw/arm/max78000fthr.c @@ -48,4 +48,4 @@ static void max78000_machine_init(MachineClass *mc) mc->valid_cpu_types =3D valid_cpu_types; } =20 -DEFINE_MACHINE_ARM("max78000fthr", max78000_machine_init) +DEFINE_MACHINE("max78000fthr", max78000_machine_init) diff --git a/hw/arm/mcimx6ul-evk.c b/hw/arm/mcimx6ul-evk.c index 6e9d92b1f1d..a3dafb20131 100644 --- a/hw/arm/mcimx6ul-evk.c +++ b/hw/arm/mcimx6ul-evk.c @@ -78,4 +78,4 @@ static void mcimx6ul_evk_machine_init(MachineClass *mc) mc->auto_create_sdcard =3D true; } =20 -DEFINE_MACHINE_ARM("mcimx6ul-evk", mcimx6ul_evk_machine_init) +DEFINE_MACHINE("mcimx6ul-evk", mcimx6ul_evk_machine_init) diff --git a/hw/arm/msf2-som.c b/hw/arm/msf2-som.c index 1ada1a13613..8d00fef43b0 100644 --- a/hw/arm/msf2-som.c +++ b/hw/arm/msf2-som.c @@ -109,4 +109,4 @@ static void emcraft_sf2_machine_init(MachineClass *mc) mc->valid_cpu_types =3D valid_cpu_types; } =20 -DEFINE_MACHINE_ARM("emcraft-sf2", emcraft_sf2_machine_init) +DEFINE_MACHINE("emcraft-sf2", emcraft_sf2_machine_init) diff --git a/hw/arm/netduino2.c b/hw/arm/netduino2.c index c32deaf43ba..6a639264d61 100644 --- a/hw/arm/netduino2.c +++ b/hw/arm/netduino2.c @@ -66,4 +66,4 @@ static void netduino2_machine_init(MachineClass *mc) mc->ignore_memory_transaction_failures =3D true; } =20 -DEFINE_MACHINE_ARM("netduino2", netduino2_machine_init) +DEFINE_MACHINE("netduino2", netduino2_machine_init) diff --git a/hw/arm/netduinoplus2.c b/hw/arm/netduinoplus2.c index a90dcbe8c26..d04ab8aeea4 100644 --- a/hw/arm/netduinoplus2.c +++ b/hw/arm/netduinoplus2.c @@ -66,4 +66,4 @@ static void netduinoplus2_machine_init(MachineClass *mc) mc->valid_cpu_types =3D valid_cpu_types; } =20 -DEFINE_MACHINE_ARM("netduinoplus2", netduinoplus2_machine_init) +DEFINE_MACHINE("netduinoplus2", netduinoplus2_machine_init) diff --git a/hw/arm/olimex-stm32-h405.c b/hw/arm/olimex-stm32-h405.c index e801e4308ed..154501fc3c7 100644 --- a/hw/arm/olimex-stm32-h405.c +++ b/hw/arm/olimex-stm32-h405.c @@ -72,4 +72,4 @@ static void olimex_stm32_h405_machine_init(MachineClass *= mc) mc->default_ram_size =3D 0; } =20 -DEFINE_MACHINE_ARM("olimex-stm32-h405", olimex_stm32_h405_machine_init) +DEFINE_MACHINE("olimex-stm32-h405", olimex_stm32_h405_machine_init) diff --git a/hw/arm/stm32vldiscovery.c b/hw/arm/stm32vldiscovery.c index 8f93c0036a3..0b39543c1ff 100644 --- a/hw/arm/stm32vldiscovery.c +++ b/hw/arm/stm32vldiscovery.c @@ -69,4 +69,4 @@ static void stm32vldiscovery_machine_init(MachineClass *m= c) mc->valid_cpu_types =3D valid_cpu_types; } =20 -DEFINE_MACHINE_ARM("stm32vldiscovery", stm32vldiscovery_machine_init) +DEFINE_MACHINE("stm32vldiscovery", stm32vldiscovery_machine_init) diff --git a/include/hw/arm/machines-qom.h b/include/hw/arm/machines-qom.h index 449592beda0..e3eebbdefbc 100644 --- a/include/hw/arm/machines-qom.h +++ b/include/hw/arm/machines-qom.h @@ -11,18 +11,4 @@ =20 #include "hw/core/boards.h" =20 -/* - * A machine defined with the DEFINE_MACHINE_ARM() macro will be - * available in both qemu-system-arm and qemu-system-aarch64 binaries. - * - * One defined with DEFINE_MACHINE_AARCH64() will only be available in - * the qemu-system-aarch64 binary. - */ -#define DEFINE_MACHINE_ARM(namestr, machine_initfn) \ - DEFINE_MACHINE_WITH_INTERFACE_ARRAY(namestr, machine_initfn, \ - NULL) -#define DEFINE_MACHINE_AARCH64(namestr, machine_initfn) \ - DEFINE_MACHINE_WITH_INTERFACE_ARRAY(namestr, machine_initfn, \ - NULL) - #endif --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958003; cv=none; d=zohomail.com; s=zohoarc; b=Q6QpQyrGO7BQ0ur8Ym5Yd4NT50TNiHTJgosuYWAG7kViy1phkgQyjaR33pyyOU2OmZQdZnSI8QSsClgfC7YEIxlw+ZBmbB4mF5qgmdP808o5lc7ItswyUqxWVQWEgAx0Z4/Fhwc+fNfY+iYTlIPgdUaXpDbSQxVlx17Mr/kAyJw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958003; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=ZZ5Ww1Cj51oOTmZReK/UzXJCmbAFU8jtdxOL3I8Rsf0=; b=B5bPIJLwE+pWkEx9YO+hAGinZnNZgXHJmHyvRKetkhnz5c+/TpCF6gjB2X/MSPFah5s37ethJOC52k9aN+dlde71l0lqfT+NW9K5j5JYgxcifbY7Cz5xYeBiSicyyYOUFQtOaqGYqoV99fbenv2h+Q7ny0WLyefMmRS7OlNRmyQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958003372331.9742073288596; Fri, 28 Aug 2026 16:00:03 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Y7-0000Xe-AU; Fri, 28 Aug 2026 18:59:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Y3-0000UH-KH for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:47 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xz-0005kt-QR for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:47 -0400 Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTCuL3665672 for ; Fri, 28 Aug 2026 22:59:32 GMT Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb3mubswb-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:31 +0000 (GMT) Received: by mail-pj1-f70.google.com with SMTP id 98e67ed59e1d1-38fa7b09921so2822019a91.1 for ; Fri, 28 Aug 2026 15:59:31 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=ZZ5Ww1Cj51o OTmZReK/UzXJCmbAFU8jtdxOL3I8Rsf0=; b=a3gzYoCvT/gqGOj2VBqoeTy6y/z Rlfp6LrHST36/SVDBFmXThrmhUep01JsmecdPp9vw8BPtcZqGM181jA30mBGojTu jdCfb0D8hE4J29Ygbr8RF3vqy2T+HNcXXiJZeyD2xEz8/R4Vt7m/2posaZLOHtpb FgqMI7RWgFtMHbXrwb5MdEo5cnZoc+GCpBPpqOJ5eQGlmsrnn5HlZN568PflI35k XFO886vFISuK7vH6jE6apzClFShs018A9V0dr+FMH2UahnP4koJgL3SIb2vocIv4 n5GkXciAlV9Ta/u52hqV3If1rFvurv66NB7u0u8AFLytoNM/BR3U55pVqYw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957971; x=1788562771; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=ZZ5Ww1Cj51oOTmZReK/UzXJCmbAFU8jtdxOL3I8Rsf0=; b=B2+Zw334QJEfUw7/ZJiltSSvAIIo6Y7BHg8/bIKJ1uGvCnqaBwGuZ/cFj0GozU4khe QAcmxxz66hIiccj1oGrrlVVaneUVxv1JLPY342SQpBDE2Z7OS2vFAl636VqEYUKqnD/7 Ur/c986CAe1on6nK/0+7Jf3uB3Ajl27D7RvybzI2jFtezkb9qa7s/6ThG6IyYPmIBX1a QzF7vwzMwOrsgBlhceU/fowhPYE+W4O2Gd4SzUkiuxRZMX87OQLwZ4mPMOrRbCiF8CXa 01JmAyjejvx4fVooX1v67W3F54JxhArKvprSUs9IYMg08SOzdSDQps19sE6dm4PAunoF 8Z8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957971; x=1788562771; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=ZZ5Ww1Cj51oOTmZReK/UzXJCmbAFU8jtdxOL3I8Rsf0=; b=jX96ND0moVMq29O5Kr8rYUy+Dy7M7r6qhVf9uJ969KyT2eNa4O5dWltzUVyhwLd/ll v7sIbsRZikgFbqajI7YQMO8SAY7KHCWfHKjr/UQEFvPqFcAW6vHkfm384I35MwL/gdQ7 4YuyXRQonAOJBfprx633U9EsnfRBsAgZEJqBtli5EcyMXMy1a0uHueh6oP/JDBG0foZS qKpxA2ai1F8Hu4L6JbpwgCJpUUtwJvREkkdnaMEnEzWxeK+1q0QGpMog3hN/ZlksFgzs o/A2fGnznBVkMI5ZNYszPMI9gL+7JSmJCBJy7RoSWeV1+YdA1odzD+ooVFGpKm3BOuDs Z7/Q== X-Gm-Message-State: AFuF++kLpnRYwQuALRMK/PY0SKSEjjw5EnKtAte6/TPk+u+3W7yrLrxi eMW3KKO2qQOeT7zoZVWfAisiMQuq848poPNJkiW7430ismbXHsz5wBKRJ6g3B+3Q+OhaQpDeG6T BU+htskwJyUbl3eqi799qKg0Or4eq2CbdGBdlyb1fBMrzzQBPvebB7sl4C3ff9Ws1Cw== X-Gm-Gg: AYBFou2ok6PJJW1fB7hEKdTwT+UphN8bvawxom7Jps59yEJ6GtFJGm3WfDNtWzTeWIU 0UOW09GQBILNdvKeaWmImPzWvi7GRBBkxE5jGSYwpoUPSoC6fTuX5CQjiPz1ty/y9PPriyQzMQq UF/menNX5WeVz/8JLGeKVfXC7RKg6e+BfkK3wK0krGWbgGQZFiEcTpWuuq7mHn4wUiCIsK3/gM0 LkNe42mFzVx0UVQ9otLR6P2in/Q0UYheRh1ofQn9D4Mo798a9CxyNArW4BxBsUdZR0Z0MUzNm6v iWC7CZKBINQ5OOOUg+fLH9xFbY/9g2ca7TfUqj0UO4zaVINOJF0uNv35pspq0abBMMnNJniVbrn 8lPsmhNNWP9CPsaZhp6R9hA5JKERZwyWNuev2k/EOsUSwPWzVVYcOzLriuzw= X-Received: by 2002:a17:90b:582e:b0:395:4de4:92be with SMTP id 98e67ed59e1d1-396d0fabb3amr18684627a91.13.1787957970602; Fri, 28 Aug 2026 15:59:30 -0700 (PDT) X-Received: by 2002:a17:90b:582e:b0:395:4de4:92be with SMTP id 98e67ed59e1d1-396d0fabb3amr18684548a91.13.1787957969839; Fri, 28 Aug 2026 15:59:29 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 18/47] hw/arm: remove machines-qom.h Date: Fri, 28 Aug 2026 22:58:32 +0000 Message-ID: <20260828225901.367438-19-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=ZbMt8MVA c=1 sm=1 tr=0 ts=6a9212d3 cx=c_pps a=0uOsjrqzRL749jD1oC5vDA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=EUspDBNiAAAA:8 a=oVOCmnCwC0CRNczbz68A:9 a=mQ_c8vxmzFEMiUWkPHU9:22 X-Proofpoint-ORIG-GUID: 9ty2-B-vbJTv7QhBTiLGbdASWCfIL9kz X-Proofpoint-GUID: 9ty2-B-vbJTv7QhBTiLGbdASWCfIL9kz X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX2SOqF8XrdEp0 JY7evPyEo3V68Gb2nYl2TWpouhw95E/Athlwtx5wR1To/9qYn0Q1OVZEdeLDkougd8L+cA1p6qv pavxGg2TA/ohxwb5pxYMGEwpr03piFM= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXw5ohu9fg2MuR dMESjJkBokVNqVNkOxAhxE0WAFDvD1a1Y42MJwZXIsRIpKcDANu4U5EUGfS+A5JbOXcO5wiOaOc wLxpx5itl6lZuBpmkxFkZnK/u3a73k2KqPePBs3WpWZ/qHGR2IFuMH1rDe6JkKI9B/uYoTdk11Z HfvlAVxa7Amjiztkuk2h1tbwo068scIAue6kUH6Jm9QfkH2IWEbzjl6H+i9uod0C3cHzsjbJMky vowz5A+YUvNkoO2aaTa+eP9qvFGsVFQNQ3NgvWR7uDmx47VD1dAOaEU644F5gM23AUk0E2wslTk siU2+dZxq6ljuEEbwpVAMXxyLZa3OKMxRUqk1u+QureXb6jFjKbI6wF2pjrCAhswbyPSQAtNzTp quo0h6ZeXDwhttmV2GWwWp43v7itbdQaFZiluVrEn2FvUHTVSM2ddIMysNWxhvCotw+rnNMTWVo 6EEoTPTH/F55MXG93KA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 bulkscore=0 adultscore=0 malwarescore=0 suspectscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958004918158500 Content-Type: text/plain; charset="utf-8" Header is now empty so we can remove it. Signed-off-by: Pierrick Bouvier --- hw/arm/aspeed.c | 1 - hw/arm/aspeed_ast1040_evb.c | 1 - hw/arm/aspeed_ast10x0_evb.c | 1 - hw/arm/aspeed_ast2400_palmetto.c | 1 - hw/arm/aspeed_ast2400_quanta-q71l.c | 1 - hw/arm/aspeed_ast2400_supermicrox11.c | 1 - hw/arm/aspeed_ast2500_evb.c | 1 - hw/arm/aspeed_ast2500_g220a.c | 1 - hw/arm/aspeed_ast2500_romulus.c | 1 - hw/arm/aspeed_ast2500_supermicro-x11spi.c | 1 - hw/arm/aspeed_ast2500_tiogapass.c | 1 - hw/arm/aspeed_ast2500_witherspoon.c | 1 - hw/arm/aspeed_ast2500_yosemitev2.c | 1 - hw/arm/aspeed_ast2600_anacapa.c | 1 - hw/arm/aspeed_ast2600_bletchley.c | 1 - hw/arm/aspeed_ast2600_catalina.c | 1 - hw/arm/aspeed_ast2600_evb.c | 1 - hw/arm/aspeed_ast2600_fby35.c | 1 - hw/arm/aspeed_ast2600_fuji.c | 1 - hw/arm/aspeed_ast2600_gb200nvl.c | 1 - hw/arm/aspeed_ast2600_rainier.c | 1 - hw/arm/aspeed_ast27x0-fc.c | 1 - hw/arm/aspeed_ast27x0_evb.c | 1 - hw/arm/ax3000-boards.c | 1 - hw/arm/b-l475e-iot01a.c | 1 - hw/arm/bananapi_m2u.c | 1 - hw/arm/collie.c | 1 - hw/arm/cubieboard.c | 1 - hw/arm/digic_boards.c | 1 - hw/arm/exynos4_boards.c | 1 - hw/arm/imx25_pdk.c | 1 - hw/arm/imx8mm-evk.c | 1 - hw/arm/imx8mp-evk.c | 1 - hw/arm/integratorcp.c | 1 - hw/arm/kzm.c | 1 - hw/arm/max78000fthr.c | 1 - hw/arm/mcimx6ul-evk.c | 1 - hw/arm/mcimx7d-sabre.c | 1 - hw/arm/microbit.c | 1 - hw/arm/mps2-tz.c | 1 - hw/arm/mps2.c | 1 - hw/arm/mps3r.c | 1 - hw/arm/msf2-som.c | 1 - hw/arm/musca.c | 1 - hw/arm/musicpal.c | 1 - hw/arm/netduino2.c | 1 - hw/arm/netduinoplus2.c | 1 - hw/arm/npcm7xx_boards.c | 1 - hw/arm/npcm8xx_boards.c | 1 - hw/arm/olimex-stm32-h405.c | 1 - hw/arm/omap_sx1.c | 1 - hw/arm/orangepi.c | 1 - hw/arm/raspi.c | 1 - hw/arm/raspi4b.c | 1 - hw/arm/realview.c | 1 - hw/arm/sabrelite.c | 1 - hw/arm/sbsa-ref.c | 1 - hw/arm/stellaris.c | 1 - hw/arm/stm32vldiscovery.c | 1 - hw/arm/versatilepb.c | 1 - hw/arm/vexpress.c | 1 - hw/arm/virt.c | 1 - hw/arm/xen-pvh.c | 1 - hw/arm/xilinx_zynq.c | 1 - hw/arm/xlnx-versal-virt.c | 1 - hw/arm/xlnx-zcu102.c | 1 - hw/core/null-machine.c | 1 - hw/nitro/machine.c | 1 - hw/remote/machine.c | 1 - include/hw/arm/machines-qom.h | 14 -------------- target-info-qom.c | 1 - target/arm/machine.c | 1 - 72 files changed, 85 deletions(-) delete mode 100644 include/hw/arm/machines-qom.h diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c index 8fa16b3831c..a7cfbd6c5e0 100644 --- a/hw/arm/aspeed.c +++ b/hw/arm/aspeed.c @@ -14,7 +14,6 @@ #include "hw/arm/boot.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" -#include "hw/arm/machines-qom.h" #include "hw/block/flash.h" #include "hw/gpio/pca9552.h" #include "hw/gpio/pca9554.h" diff --git a/hw/arm/aspeed_ast1040_evb.c b/hw/arm/aspeed_ast1040_evb.c index dd68f9e25c7..486f0f6a1ba 100644 --- a/hw/arm/aspeed_ast1040_evb.c +++ b/hw/arm/aspeed_ast1040_evb.c @@ -9,7 +9,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/core/qdev-clock.h" diff --git a/hw/arm/aspeed_ast10x0_evb.c b/hw/arm/aspeed_ast10x0_evb.c index f377e955adc..c937bb74665 100644 --- a/hw/arm/aspeed_ast10x0_evb.c +++ b/hw/arm/aspeed_ast10x0_evb.c @@ -9,7 +9,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/core/qdev-clock.h" diff --git a/hw/arm/aspeed_ast2400_palmetto.c b/hw/arm/aspeed_ast2400_palme= tto.c index f4918683c3d..e2350e5b6ca 100644 --- a/hw/arm/aspeed_ast2400_palmetto.c +++ b/hw/arm/aspeed_ast2400_palmetto.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/i2c/smbus_eeprom.h" diff --git a/hw/arm/aspeed_ast2400_quanta-q71l.c b/hw/arm/aspeed_ast2400_qu= anta-q71l.c index e1ddf682315..e8cbbb8a052 100644 --- a/hw/arm/aspeed_ast2400_quanta-q71l.c +++ b/hw/arm/aspeed_ast2400_quanta-q71l.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" =20 diff --git a/hw/arm/aspeed_ast2400_supermicrox11.c b/hw/arm/aspeed_ast2400_= supermicrox11.c index 86d49fd1dee..c75898cc6d1 100644 --- a/hw/arm/aspeed_ast2400_supermicrox11.c +++ b/hw/arm/aspeed_ast2400_supermicrox11.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/i2c/smbus_eeprom.h" diff --git a/hw/arm/aspeed_ast2500_evb.c b/hw/arm/aspeed_ast2500_evb.c index 5f616252e0b..6ca2a36322c 100644 --- a/hw/arm/aspeed_ast2500_evb.c +++ b/hw/arm/aspeed_ast2500_evb.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/i2c/smbus_eeprom.h" diff --git a/hw/arm/aspeed_ast2500_g220a.c b/hw/arm/aspeed_ast2500_g220a.c index 3c654c62dd6..00bb1c61053 100644 --- a/hw/arm/aspeed_ast2500_g220a.c +++ b/hw/arm/aspeed_ast2500_g220a.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/i2c/smbus_eeprom.h" diff --git a/hw/arm/aspeed_ast2500_romulus.c b/hw/arm/aspeed_ast2500_romulu= s.c index b2ed623f680..340a74408b6 100644 --- a/hw/arm/aspeed_ast2500_romulus.c +++ b/hw/arm/aspeed_ast2500_romulus.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" =20 diff --git a/hw/arm/aspeed_ast2500_supermicro-x11spi.c b/hw/arm/aspeed_ast2= 500_supermicro-x11spi.c index 77fa028b096..5a7e49d6ccd 100644 --- a/hw/arm/aspeed_ast2500_supermicro-x11spi.c +++ b/hw/arm/aspeed_ast2500_supermicro-x11spi.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/i2c/smbus_eeprom.h" diff --git a/hw/arm/aspeed_ast2500_tiogapass.c b/hw/arm/aspeed_ast2500_tiog= apass.c index 1771f376480..6cb567526c4 100644 --- a/hw/arm/aspeed_ast2500_tiogapass.c +++ b/hw/arm/aspeed_ast2500_tiogapass.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/nvram/eeprom_at24c.h" diff --git a/hw/arm/aspeed_ast2500_witherspoon.c b/hw/arm/aspeed_ast2500_wi= therspoon.c index 4cc349c3236..26ddb673470 100644 --- a/hw/arm/aspeed_ast2500_witherspoon.c +++ b/hw/arm/aspeed_ast2500_witherspoon.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/misc/led.h" diff --git a/hw/arm/aspeed_ast2500_yosemitev2.c b/hw/arm/aspeed_ast2500_yos= emitev2.c index 48c813f3c8f..3ba1ed5f6fa 100644 --- a/hw/arm/aspeed_ast2500_yosemitev2.c +++ b/hw/arm/aspeed_ast2500_yosemitev2.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/nvram/eeprom_at24c.h" diff --git a/hw/arm/aspeed_ast2600_anacapa.c b/hw/arm/aspeed_ast2600_anacap= a.c index e82f5c98f26..697be58b0e4 100644 --- a/hw/arm/aspeed_ast2600_anacapa.c +++ b/hw/arm/aspeed_ast2600_anacapa.c @@ -9,7 +9,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "hw/sensor/adc128d818.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/i2c/i2c_mux_pca954x.h" diff --git a/hw/arm/aspeed_ast2600_bletchley.c b/hw/arm/aspeed_ast2600_blet= chley.c index 9dda83ad4c0..2822f6bdf5a 100644 --- a/hw/arm/aspeed_ast2600_bletchley.c +++ b/hw/arm/aspeed_ast2600_bletchley.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/gpio/pca9552.h" diff --git a/hw/arm/aspeed_ast2600_catalina.c b/hw/arm/aspeed_ast2600_catal= ina.c index f91e0635908..23636ab6985 100644 --- a/hw/arm/aspeed_ast2600_catalina.c +++ b/hw/arm/aspeed_ast2600_catalina.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/i2c/i2c_mux_pca954x.h" diff --git a/hw/arm/aspeed_ast2600_evb.c b/hw/arm/aspeed_ast2600_evb.c index 404083b61dc..8a17c4453e9 100644 --- a/hw/arm/aspeed_ast2600_evb.c +++ b/hw/arm/aspeed_ast2600_evb.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/i2c/smbus_eeprom.h" diff --git a/hw/arm/aspeed_ast2600_fby35.c b/hw/arm/aspeed_ast2600_fby35.c index 6bcda0ac630..65d98fafec6 100644 --- a/hw/arm/aspeed_ast2600_fby35.c +++ b/hw/arm/aspeed_ast2600_fby35.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/nvram/eeprom_at24c.h" diff --git a/hw/arm/aspeed_ast2600_fuji.c b/hw/arm/aspeed_ast2600_fuji.c index cf49149fe9a..8a87c2dbee3 100644 --- a/hw/arm/aspeed_ast2600_fuji.c +++ b/hw/arm/aspeed_ast2600_fuji.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/i2c/i2c_mux_pca954x.h" diff --git a/hw/arm/aspeed_ast2600_gb200nvl.c b/hw/arm/aspeed_ast2600_gb200= nvl.c index 705561afe39..311feb82023 100644 --- a/hw/arm/aspeed_ast2600_gb200nvl.c +++ b/hw/arm/aspeed_ast2600_gb200nvl.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/nvram/eeprom_at24c.h" diff --git a/hw/arm/aspeed_ast2600_rainier.c b/hw/arm/aspeed_ast2600_rainie= r.c index 6e5debc8bc1..43a8f01a9e7 100644 --- a/hw/arm/aspeed_ast2600_rainier.c +++ b/hw/arm/aspeed_ast2600_rainier.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/nvram/eeprom_at24c.h" diff --git a/hw/arm/aspeed_ast27x0-fc.c b/hw/arm/aspeed_ast27x0-fc.c index ccfa4ade265..73362b60d2a 100644 --- a/hw/arm/aspeed_ast27x0-fc.c +++ b/hw/arm/aspeed_ast27x0-fc.c @@ -22,7 +22,6 @@ #include "hw/arm/boot.h" #include "hw/block/flash.h" #include "hw/arm/aspeed_coprocessor.h" -#include "hw/arm/machines-qom.h" =20 #define TYPE_AST2700FC MACHINE_TYPE_NAME("ast2700fc") OBJECT_DECLARE_SIMPLE_TYPE(Ast2700FCState, AST2700FC); diff --git a/hw/arm/aspeed_ast27x0_evb.c b/hw/arm/aspeed_ast27x0_evb.c index 0deb3127c21..460c9ff0d2e 100644 --- a/hw/arm/aspeed_ast27x0_evb.c +++ b/hw/arm/aspeed_ast27x0_evb.c @@ -8,7 +8,6 @@ =20 #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/aspeed.h" #include "hw/arm/aspeed_soc.h" #include "hw/sensor/tmp105.h" diff --git a/hw/arm/ax3000-boards.c b/hw/arm/ax3000-boards.c index c7248f9f52b..dc98ee7b71a 100644 --- a/hw/arm/ax3000-boards.c +++ b/hw/arm/ax3000-boards.c @@ -9,7 +9,6 @@ #include "qemu/osdep.h" #include "hw/arm/ax3000-boards.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "qemu/error-report.h" #include "qom/object.h" =20 diff --git a/hw/arm/b-l475e-iot01a.c b/hw/arm/b-l475e-iot01a.c index 04dce2d19ce..de19212ab85 100644 --- a/hw/arm/b-l475e-iot01a.c +++ b/hw/arm/b-l475e-iot01a.c @@ -29,7 +29,6 @@ #include "qemu/error-report.h" #include "hw/arm/boot.h" #include "hw/core/split-irq.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/stm32l4x5_soc.h" #include "hw/gpio/stm32l4x5_gpio.h" #include "hw/display/dm163.h" diff --git a/hw/arm/bananapi_m2u.c b/hw/arm/bananapi_m2u.c index 15c878d1636..8f59111fd4e 100644 --- a/hw/arm/bananapi_m2u.c +++ b/hw/arm/bananapi_m2u.c @@ -27,7 +27,6 @@ #include "hw/core/qdev-properties.h" #include "hw/arm/allwinner-r40.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" =20 #define TYPE_BPIM2U_MACHINE MACHINE_TYPE_NAME("bpim2u") OBJECT_DECLARE_SIMPLE_TYPE(Bpim2uMachineState, BPIM2U_MACHINE) diff --git a/hw/arm/collie.c b/hw/arm/collie.c index 4b930e6ba12..ca6b3addb7b 100644 --- a/hw/arm/collie.c +++ b/hw/arm/collie.c @@ -15,7 +15,6 @@ #include "hw/core/boards.h" #include "strongarm.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "hw/block/flash.h" #include "system/address-spaces.h" #include "qom/object.h" diff --git a/hw/arm/cubieboard.c b/hw/arm/cubieboard.c index 511b71fbd7e..ae27056938f 100644 --- a/hw/arm/cubieboard.c +++ b/hw/arm/cubieboard.c @@ -22,7 +22,6 @@ #include "hw/core/qdev-properties.h" #include "hw/arm/allwinner-a10.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "hw/i2c/i2c.h" =20 #define TYPE_CUBIEBOARD_MACHINE MACHINE_TYPE_NAME("cubieboard") diff --git a/hw/arm/digic_boards.c b/hw/arm/digic_boards.c index c7ecf22a958..90c19106ad0 100644 --- a/hw/arm/digic_boards.c +++ b/hw/arm/digic_boards.c @@ -29,7 +29,6 @@ #include "hw/core/boards.h" #include "qemu/error-report.h" #include "hw/arm/digic.h" -#include "hw/arm/machines-qom.h" #include "hw/block/flash.h" #include "hw/core/loader.h" #include "system/qtest.h" diff --git a/hw/arm/exynos4_boards.c b/hw/arm/exynos4_boards.c index 62f7cbe875e..78632877df8 100644 --- a/hw/arm/exynos4_boards.c +++ b/hw/arm/exynos4_boards.c @@ -28,7 +28,6 @@ #include "hw/core/sysbus.h" #include "net/net.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "system/address-spaces.h" #include "hw/arm/exynos4210.h" #include "hw/net/lan9118.h" diff --git a/hw/arm/imx25_pdk.c b/hw/arm/imx25_pdk.c index 3246512c214..243c30a67e7 100644 --- a/hw/arm/imx25_pdk.c +++ b/hw/arm/imx25_pdk.c @@ -28,7 +28,6 @@ #include "hw/core/qdev-properties.h" #include "hw/arm/fsl-imx25.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "hw/core/boards.h" #include "qemu/error-report.h" #include "system/qtest.h" diff --git a/hw/arm/imx8mm-evk.c b/hw/arm/imx8mm-evk.c index ffe8e494a57..8a5737502fd 100644 --- a/hw/arm/imx8mm-evk.c +++ b/hw/arm/imx8mm-evk.c @@ -11,7 +11,6 @@ #include "system/address-spaces.h" #include "hw/arm/boot.h" #include "hw/arm/fsl-imx8mm.h" -#include "hw/arm/machines-qom.h" #include "hw/core/boards.h" #include "hw/core/qdev-properties.h" #include "system/kvm.h" diff --git a/hw/arm/imx8mp-evk.c b/hw/arm/imx8mp-evk.c index 389e7c86d21..3f376f86d91 100644 --- a/hw/arm/imx8mp-evk.c +++ b/hw/arm/imx8mp-evk.c @@ -10,7 +10,6 @@ #include "system/address-spaces.h" #include "hw/arm/boot.h" #include "hw/arm/fsl-imx8mp.h" -#include "hw/arm/machines-qom.h" #include "hw/core/boards.h" #include "hw/core/qdev-properties.h" #include "system/kvm.h" diff --git a/hw/arm/integratorcp.c b/hw/arm/integratorcp.c index 25ecd931e76..382ea7850d8 100644 --- a/hw/arm/integratorcp.c +++ b/hw/arm/integratorcp.c @@ -13,7 +13,6 @@ #include "migration/vmstate.h" #include "hw/core/boards.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "hw/misc/arm_integrator_debug.h" #include "hw/net/smc91c111.h" #include "net/net.h" diff --git a/hw/arm/kzm.c b/hw/arm/kzm.c index 909dd929e63..387bf54ced1 100644 --- a/hw/arm/kzm.c +++ b/hw/arm/kzm.c @@ -17,7 +17,6 @@ #include "qapi/error.h" #include "hw/arm/fsl-imx31.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "hw/core/boards.h" #include "qemu/error-report.h" #include "system/address-spaces.h" diff --git a/hw/arm/max78000fthr.c b/hw/arm/max78000fthr.c index 290a14c8ad9..ed50bb91979 100644 --- a/hw/arm/max78000fthr.c +++ b/hw/arm/max78000fthr.c @@ -12,7 +12,6 @@ #include "hw/core/qdev-properties.h" #include "hw/core/qdev-clock.h" #include "qemu/error-report.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/max78000_soc.h" #include "hw/arm/boot.h" =20 diff --git a/hw/arm/mcimx6ul-evk.c b/hw/arm/mcimx6ul-evk.c index a3dafb20131..40071d2c7b9 100644 --- a/hw/arm/mcimx6ul-evk.c +++ b/hw/arm/mcimx6ul-evk.c @@ -14,7 +14,6 @@ #include "qapi/error.h" #include "hw/arm/fsl-imx6ul.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "hw/core/boards.h" #include "hw/core/qdev-properties.h" #include "qemu/error-report.h" diff --git a/hw/arm/mcimx7d-sabre.c b/hw/arm/mcimx7d-sabre.c index cb4536faadd..db8a62e5f6c 100644 --- a/hw/arm/mcimx7d-sabre.c +++ b/hw/arm/mcimx7d-sabre.c @@ -16,7 +16,6 @@ #include "qapi/error.h" #include "hw/arm/fsl-imx7.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "hw/core/boards.h" #include "hw/core/qdev-properties.h" #include "qemu/error-report.h" diff --git a/hw/arm/microbit.c b/hw/arm/microbit.c index 85285861c5f..c1a3f6903fe 100644 --- a/hw/arm/microbit.c +++ b/hw/arm/microbit.c @@ -12,7 +12,6 @@ #include "qapi/error.h" #include "hw/core/boards.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "system/system.h" #include "system/address-spaces.h" =20 diff --git a/hw/arm/mps2-tz.c b/hw/arm/mps2-tz.c index 865009c1e0e..d767207e2e1 100644 --- a/hw/arm/mps2-tz.c +++ b/hw/arm/mps2-tz.c @@ -52,7 +52,6 @@ #include "qemu/error-report.h" #include "hw/arm/boot.h" #include "hw/arm/armv7m.h" -#include "hw/arm/machines-qom.h" #include "hw/core/or-irq.h" #include "hw/core/boards.h" #include "system/address-spaces.h" diff --git a/hw/arm/mps2.c b/hw/arm/mps2.c index b13b7bc55ec..35d867328a9 100644 --- a/hw/arm/mps2.c +++ b/hw/arm/mps2.c @@ -31,7 +31,6 @@ #include "qemu/error-report.h" #include "hw/arm/boot.h" #include "hw/arm/armv7m.h" -#include "hw/arm/machines-qom.h" #include "hw/core/or-irq.h" #include "hw/core/boards.h" #include "system/address-spaces.h" diff --git a/hw/arm/mps3r.c b/hw/arm/mps3r.c index d6f4c1640ab..eedb877e4bc 100644 --- a/hw/arm/mps3r.c +++ b/hw/arm/mps3r.c @@ -37,7 +37,6 @@ #include "hw/core/qdev-properties.h" #include "hw/arm/boot.h" #include "hw/arm/bsa.h" -#include "hw/arm/machines-qom.h" #include "hw/char/cmsdk-apb-uart.h" #include "hw/i2c/arm_sbcon_i2c.h" #include "hw/intc/arm_gicv3.h" diff --git a/hw/arm/msf2-som.c b/hw/arm/msf2-som.c index 8d00fef43b0..1372d7f628a 100644 --- a/hw/arm/msf2-som.c +++ b/hw/arm/msf2-som.c @@ -32,7 +32,6 @@ #include "hw/core/boards.h" #include "hw/core/qdev-properties.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "hw/core/qdev-clock.h" #include "system/address-spaces.h" #include "hw/arm/msf2-soc.h" diff --git a/hw/arm/musca.c b/hw/arm/musca.c index 1b161487e7e..571bee1b72b 100644 --- a/hw/arm/musca.c +++ b/hw/arm/musca.c @@ -26,7 +26,6 @@ #include "system/system.h" #include "hw/arm/boot.h" #include "hw/arm/armsse.h" -#include "hw/arm/machines-qom.h" #include "hw/core/boards.h" #include "hw/char/pl011.h" #include "hw/core/split-irq.h" diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c index 84d20bca72b..e1a336e861a 100644 --- a/hw/arm/musicpal.c +++ b/hw/arm/musicpal.c @@ -15,7 +15,6 @@ #include "hw/core/sysbus.h" #include "migration/vmstate.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "net/net.h" #include "system/system.h" #include "hw/core/boards.h" diff --git a/hw/arm/netduino2.c b/hw/arm/netduino2.c index 6a639264d61..0db8798b4bd 100644 --- a/hw/arm/netduino2.c +++ b/hw/arm/netduino2.c @@ -30,7 +30,6 @@ #include "qemu/error-report.h" #include "hw/arm/stm32f205_soc.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" =20 /* Main SYSCLK frequency in Hz (120MHz) */ #define SYSCLK_FRQ 120000000ULL diff --git a/hw/arm/netduinoplus2.c b/hw/arm/netduinoplus2.c index d04ab8aeea4..5ac0eb81637 100644 --- a/hw/arm/netduinoplus2.c +++ b/hw/arm/netduinoplus2.c @@ -30,7 +30,6 @@ #include "qemu/error-report.h" #include "hw/arm/stm32f405_soc.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" =20 /* Main SYSCLK frequency in Hz (168MHz) */ #define SYSCLK_FRQ 168000000ULL diff --git a/hw/arm/npcm7xx_boards.c b/hw/arm/npcm7xx_boards.c index 025de42dac6..9c526a26839 100644 --- a/hw/arm/npcm7xx_boards.c +++ b/hw/arm/npcm7xx_boards.c @@ -17,7 +17,6 @@ #include "qemu/osdep.h" =20 #include "hw/arm/npcm7xx.h" -#include "hw/arm/machines-qom.h" #include "hw/core/cpu.h" #include "hw/i2c/i2c_mux_pca954x.h" #include "hw/i2c/smbus_eeprom.h" diff --git a/hw/arm/npcm8xx_boards.c b/hw/arm/npcm8xx_boards.c index 2a04cf4f2c9..4b3af165034 100644 --- a/hw/arm/npcm8xx_boards.c +++ b/hw/arm/npcm8xx_boards.c @@ -19,7 +19,6 @@ #include "chardev/char.h" #include "hw/core/boards.h" #include "hw/arm/npcm8xx.h" -#include "hw/arm/machines-qom.h" #include "hw/core/cpu.h" #include "hw/core/loader.h" #include "hw/core/qdev.h" diff --git a/hw/arm/olimex-stm32-h405.c b/hw/arm/olimex-stm32-h405.c index 154501fc3c7..de9ac4978ce 100644 --- a/hw/arm/olimex-stm32-h405.c +++ b/hw/arm/olimex-stm32-h405.c @@ -31,7 +31,6 @@ #include "qemu/error-report.h" #include "hw/arm/stm32f405_soc.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" =20 /* olimex-stm32-h405 implementation is derived from netduinoplus2 */ =20 diff --git a/hw/arm/omap_sx1.c b/hw/arm/omap_sx1.c index c3fe4187b8b..a7e469ea6a3 100644 --- a/hw/arm/omap_sx1.c +++ b/hw/arm/omap_sx1.c @@ -32,7 +32,6 @@ #include "hw/arm/omap.h" #include "hw/core/boards.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "hw/block/flash.h" #include "system/qtest.h" #include "system/address-spaces.h" diff --git a/hw/arm/orangepi.c b/hw/arm/orangepi.c index 3f06716c364..7a19732f5df 100644 --- a/hw/arm/orangepi.c +++ b/hw/arm/orangepi.c @@ -26,7 +26,6 @@ #include "hw/core/qdev-properties.h" #include "hw/arm/allwinner-h3.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" =20 #define TYPE_ORANGEPI_MACHINE MACHINE_TYPE_NAME("orangepi-pc") OBJECT_DECLARE_SIMPLE_TYPE(OrangePiMachineState, ORANGEPI_MACHINE) diff --git a/hw/arm/raspi.c b/hw/arm/raspi.c index 7ff3e8400e6..fadbacb2534 100644 --- a/hw/arm/raspi.c +++ b/hw/arm/raspi.c @@ -24,7 +24,6 @@ #include "qemu/error-report.h" #include "hw/core/boards.h" #include "hw/core/loader.h" -#include "hw/arm/machines-qom.h" #include "qom/object.h" =20 #define TYPE_RASPI_MACHINE MACHINE_TYPE_NAME("raspi-common") diff --git a/hw/arm/raspi4b.c b/hw/arm/raspi4b.c index 08fcdf58c9f..7d3eed96304 100644 --- a/hw/arm/raspi4b.c +++ b/hw/arm/raspi4b.c @@ -11,7 +11,6 @@ #include "qemu/cutils.h" #include "qapi/error.h" #include "qapi/visitor.h" -#include "hw/arm/machines-qom.h" #include "hw/arm/raspi_platform.h" #include "hw/display/bcm2835_fb.h" #include "hw/core/registerfields.h" diff --git a/hw/arm/realview.c b/hw/arm/realview.c index aee7d05c3e6..ceba0331b08 100644 --- a/hw/arm/realview.c +++ b/hw/arm/realview.c @@ -12,7 +12,6 @@ #include "target/arm/cpu.h" #include "hw/core/sysbus.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "hw/core/split-irq.h" #include "hw/misc/arm_sysctl.h" #include "hw/net/lan9118.h" diff --git a/hw/arm/sabrelite.c b/hw/arm/sabrelite.c index ec307388f45..05dfabd9376 100644 --- a/hw/arm/sabrelite.c +++ b/hw/arm/sabrelite.c @@ -14,7 +14,6 @@ #include "qapi/error.h" #include "hw/arm/fsl-imx6.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "hw/core/boards.h" #include "hw/core/qdev-properties.h" #include "qemu/error-report.h" diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c index 6ba353341a1..158b461eb48 100644 --- a/hw/arm/sbsa-ref.c +++ b/hw/arm/sbsa-ref.c @@ -35,7 +35,6 @@ #include "hw/arm/bsa.h" #include "hw/arm/fdt.h" #include "hw/arm/smmuv3.h" -#include "hw/arm/machines-qom.h" #include "hw/block/flash.h" #include "hw/core/boards.h" #include "hw/ide/ide-bus.h" diff --git a/hw/arm/stellaris.c b/hw/arm/stellaris.c index f634918868b..f41315e1928 100644 --- a/hw/arm/stellaris.c +++ b/hw/arm/stellaris.c @@ -15,7 +15,6 @@ #include "hw/sd/sd.h" #include "hw/ssi/ssi.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "qemu/timer.h" #include "hw/i2c/i2c.h" #include "net/net.h" diff --git a/hw/arm/stm32vldiscovery.c b/hw/arm/stm32vldiscovery.c index 0b39543c1ff..d899a134b38 100644 --- a/hw/arm/stm32vldiscovery.c +++ b/hw/arm/stm32vldiscovery.c @@ -31,7 +31,6 @@ #include "qemu/error-report.h" #include "hw/arm/stm32f100_soc.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" =20 /* stm32vldiscovery implementation is derived from netduinoplus2 */ =20 diff --git a/hw/arm/versatilepb.c b/hw/arm/versatilepb.c index 1db9bc1eb24..f94bf96599e 100644 --- a/hw/arm/versatilepb.c +++ b/hw/arm/versatilepb.c @@ -12,7 +12,6 @@ #include "hw/core/sysbus.h" #include "migration/vmstate.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "hw/net/smc91c111.h" #include "net/net.h" #include "system/system.h" diff --git a/hw/arm/vexpress.c b/hw/arm/vexpress.c index 1e29fe0f09c..914cda66d20 100644 --- a/hw/arm/vexpress.c +++ b/hw/arm/vexpress.c @@ -26,7 +26,6 @@ #include "qemu/datadir.h" #include "hw/core/sysbus.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "hw/misc/arm_sysctl.h" #include "hw/net/lan9118.h" #include "hw/i2c/i2c.h" diff --git a/hw/arm/virt.c b/hw/arm/virt.c index eae4f0fe413..0871a35e11f 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -37,7 +37,6 @@ #include "hw/core/sysbus.h" #include "hw/arm/boot.h" #include "hw/arm/virt.h" -#include "hw/arm/machines-qom.h" #include "hw/block/flash.h" #include "hw/display/ramfb.h" #include "net/net.h" diff --git a/hw/arm/xen-pvh.c b/hw/arm/xen-pvh.c index b47dd9efd81..f05956c1662 100644 --- a/hw/arm/xen-pvh.c +++ b/hw/arm/xen-pvh.c @@ -10,7 +10,6 @@ #include "hw/core/boards.h" #include "system/system.h" #include "hw/xen/xen-pvh-common.h" -#include "hw/arm/machines-qom.h" =20 #define TYPE_XEN_ARM MACHINE_TYPE_NAME("xenpvh") =20 diff --git a/hw/arm/xilinx_zynq.c b/hw/arm/xilinx_zynq.c index 8ebd8e5ccd5..c1897ab1cf3 100644 --- a/hw/arm/xilinx_zynq.c +++ b/hw/arm/xilinx_zynq.c @@ -20,7 +20,6 @@ #include "qapi/error.h" #include "hw/core/sysbus.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "net/net.h" #include "system/system.h" #include "hw/core/boards.h" diff --git a/hw/arm/xlnx-versal-virt.c b/hw/arm/xlnx-versal-virt.c index e06a0c55549..4018f2bf7d1 100644 --- a/hw/arm/xlnx-versal-virt.c +++ b/hw/arm/xlnx-versal-virt.c @@ -21,7 +21,6 @@ #include "hw/arm/fdt.h" #include "hw/arm/xlnx-versal.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "qom/object.h" #include "target/arm/cpu.h" =20 diff --git a/hw/arm/xlnx-zcu102.c b/hw/arm/xlnx-zcu102.c index da8b3ede873..bb596218540 100644 --- a/hw/arm/xlnx-zcu102.c +++ b/hw/arm/xlnx-zcu102.c @@ -19,7 +19,6 @@ #include "qapi/error.h" #include "hw/arm/xlnx-zynqmp.h" #include "hw/arm/boot.h" -#include "hw/arm/machines-qom.h" #include "hw/core/boards.h" #include "qemu/error-report.h" #include "qemu/log.h" diff --git a/hw/core/null-machine.c b/hw/core/null-machine.c index c1ecf3214fd..2aa748233b3 100644 --- a/hw/core/null-machine.c +++ b/hw/core/null-machine.c @@ -16,7 +16,6 @@ #include "hw/core/boards.h" #include "system/address-spaces.h" #include "hw/core/cpu.h" -#include "hw/arm/machines-qom.h" #include "hw/riscv/machines-qom.h" =20 static void machine_none_init(MachineState *mch) diff --git a/hw/nitro/machine.c b/hw/nitro/machine.c index bb8878299bc..88d01960a01 100644 --- a/hw/nitro/machine.c +++ b/hw/nitro/machine.c @@ -31,7 +31,6 @@ #include "system/system.h" #include "system/nitro-accel.h" #include "qemu/accel.h" -#include "hw/arm/machines-qom.h" #include "hw/core/eif.h" #include /* for crc32 */ =20 diff --git a/hw/remote/machine.c b/hw/remote/machine.c index 6580e0d9683..ced782f6a9c 100644 --- a/hw/remote/machine.c +++ b/hw/remote/machine.c @@ -24,7 +24,6 @@ #include "hw/core/qdev.h" #include "hw/remote/vfio-user-obj.h" #include "hw/pci/msi.h" -#include "hw/arm/machines-qom.h" =20 static void remote_machine_init(MachineState *machine) { diff --git a/include/hw/arm/machines-qom.h b/include/hw/arm/machines-qom.h deleted file mode 100644 index e3eebbdefbc..00000000000 --- a/include/hw/arm/machines-qom.h +++ /dev/null @@ -1,14 +0,0 @@ -/* - * QOM type definitions for ARM / Aarch64 machines - * - * Copyright (c) Linaro - * - * SPDX-License-Identifier: GPL-2.0-or-later - */ - -#ifndef HW_ARM_MACHINES_QOM_H -#define HW_ARM_MACHINES_QOM_H - -#include "hw/core/boards.h" - -#endif diff --git a/target-info-qom.c b/target-info-qom.c index eb9491338ca..7959853e0da 100644 --- a/target-info-qom.c +++ b/target-info-qom.c @@ -12,7 +12,6 @@ #include "qemu/target-info-impl.h" #include "qemu/target-info-init.h" #include "qemu/target-info-qom.h" -#include "hw/arm/machines-qom.h" #include "hw/riscv/machines-qom.h" =20 static const TypeInfo target_info_types[] =3D { diff --git a/target/arm/machine.c b/target/arm/machine.c index 61106f9def6..7005f4e5d77 100644 --- a/target/arm/machine.c +++ b/target/arm/machine.c @@ -11,7 +11,6 @@ #include "migration/qemu-file-types.h" #include "migration/vmstate.h" #include "target/arm/gtimer.h" -#include "hw/arm/machines-qom.h" =20 static bool vfp_needed(void *opaque) { --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958035; cv=none; d=zohomail.com; s=zohoarc; b=BCeGxmePgC8MgqWX4SzGeKIzo/+OS1S0c2MLnTPPVoP6W+545fsa2F6C2BJYm/t3/vMWLcgKPjx8pgChci97arLPtbjB/YuZ0AT1EchgypBr5JLCtU1D6tzsIAoA14AM5YbeyERIg5k1oKQh7Z7dEYtQBA8P11fUYanEK6RRaWA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958035; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=pDeRBxB6m3+iNa7JaKPFdusxJKbbtba5ZHP1UF2GRdE=; b=IjkpAFXu7lgbCopPQcRepUvaq7+sPy32SWE2J7qdJy6VyyohPdSzxiwRqlw2Hcrx5ulkuE8daf+w9zMNnZ1Wgy6T6XFVWO9PXhURYAbkcCGAA8358zTUVOkwBLu8zjqMVlfN213aZASoRT1DYcaf3P9Jv01CDdq/CKvTj88PjVw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958035673167.73411177215326; Fri, 28 Aug 2026 16:00:35 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Y3-0000RQ-80; Fri, 28 Aug 2026 18:59:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Y1-0000PS-Hz for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:45 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xz-0005kw-Ss for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:45 -0400 Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMT678731508 for ; Fri, 28 Aug 2026 22:59:32 GMT Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbhgtrbh2-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:32 +0000 (GMT) Received: by mail-pg1-f197.google.com with SMTP id 41be03b00d2f7-cc11b5dd54dso3258516a12.3 for ; Fri, 28 Aug 2026 15:59:32 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=pDeRBxB6m3+ iNa7JaKPFdusxJKbbtba5ZHP1UF2GRdE=; b=PzQT4S7yF6EPn2boPU5peOhixN7 LgfffTGfJTDJq0u6zQM6wWU+4uRlmmSMWvLjigaTHyNH0n+KG70/pF2jFCtcyuhe j6QO3XxVi/a75NaN73UNiSXNyE0wWuZTQAxEABIukMMRXmnzHG0UUIRPuCco3Uxx NiFs8lcWLr6Fzb4ktDjb6J7xU0VBJa6xUd67PWf8y2KEVu+54ukxPfPcw04KN9vA lgHBjqoy8vU8bdLvZ/ALF3dcOA/tDbohvjnxsZT2NNtIMGf58y3+V6Uwo01fKWVT kTCNxROzsHvqt5R2KnauE5+YjfNZH1OzNzVTHK2f0p0tQtFxOU/Hf72uDfQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957972; x=1788562772; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=pDeRBxB6m3+iNa7JaKPFdusxJKbbtba5ZHP1UF2GRdE=; b=OQC8Ba+KPy9eH1jxMXQ7VED1HigwmWbx9m6a57rlUSlEelUAI11llFlvdhPVht+/+I 8YDJJ4vymg1I5mJ6pkBkAYXDdDQACJrgl3uYt57tXWdFqdcWHpzmWPDWUjOdc09ThVtV DudsOlsPMTGjQ5BV6swIVq4kbC+jh2N1jZDFnezF0m1zMoW44I10ceW5EiOPQnarCj7u R4do3OLhVue2w0FIeY1xQx39PyY9HZe/z895qB1b6OiSFHsCi32SZmAmIRvByJJCsAZ2 FOuCgkB4DZkIMl2OPQEFCnFUD9vAb7bZph0MOpLRDn40PnA3t4xRc6ljFTlwP+akAvL3 Mbpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957972; x=1788562772; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=pDeRBxB6m3+iNa7JaKPFdusxJKbbtba5ZHP1UF2GRdE=; b=nRA2a77LcQyZ2bP9ZO58nnWBkoeJUYic0dIqlwO5P+/P2G2oqCpAyvoc6l4WEuajII TKZB/onBpmhpAq+Rd61TNeUHeMMgr6HEES6udWDDrRMSZ4mJx1fjzJeP9P++qlCa8qJs MI3JuUo8mHcqqPmAFIwYr5rkWFX76vj3moH/8IrVozhnIROg0NoiuLTwalefWdEDhXGn RG5BbHuluIz0YMsD89kk7q+6wgKe+EQQiFuZi4sE4DSN0dWi6L7rZedFjKPYhS5GdDsG eff15EHWlSlDUOavGb/Q29fKUvZ2s7sd0exW6EMh2Qi9fRMwbYf7ieU93dvsRNkaGojp n9yQ== X-Gm-Message-State: AFuF++kCss7NZe7WJ95Syu+Y81s3rfXda3497nSnY8Ykjb8lqjtEFmDU y2inXS/I3SgCwxbEsO/zgAtNOwJROQKaJmOOG+FcpFEgWBOrOlwGQnn1b4qHIfSbwJLjxIRweMd r651uJv35nZSgAMQOs2IOhvTa+XtPk3KGsii3t645JrMrYllOATVIhG2Oo/FndrXDQQ== X-Gm-Gg: AR+sD12bG2vRAGGY8VIBS51GBfK99l+IWziWFl+Y+MvkUgsNC6j+g1+CIBlGUk9qZt0 9Ee381AMJ/dTiSmTiUT9GvXujPaZ/+03qTIXlJBzh7m5kRzETuBptmFNC+ewY0X57rOF42Peect i56s3eoRutErheJdEz0hJBIzTfUORWhw4UJnHp9IpFC0MpoLqe9JB1TV5C3EuhmS8S1aEvincP5 8uHlJNdSOWnXWJP4f91p5PZ83pPBgPdNsZ/XwXqGX43GSjdw8AIPq1yo8/dbjTdPwRjDehMqVpp QVo+9bgUtW12/0jdE3XMuCEfi+eL2D84c7jJNOGab34GfjqSskKR/madKlaVFyTNHyHhsknaWqA n1tpTmNCRwiGK7Itkmcnd7JoeW/Y6bwYeEnrQGDx2ZauArANlOSc2UBsYomI= X-Received: by 2002:a05:6a20:2d22:b0:3c4:396d:4a6c with SMTP id adf61e73a8af0-3d265a33636mr22383652637.5.1787957971744; Fri, 28 Aug 2026 15:59:31 -0700 (PDT) X-Received: by 2002:a05:6a20:2d22:b0:3c4:396d:4a6c with SMTP id adf61e73a8af0-3d265a33636mr22383605637.5.1787957971354; Fri, 28 Aug 2026 15:59:31 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 19/47] hw/riscv: remove TYPE_TARGET_{RISCV32,RISCV64}_MACHINE Date: Fri, 28 Aug 2026 22:58:33 +0000 Message-ID: <20260828225901.367438-20-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX8nCnk6Z3TQZC bXRM0LE+0vpKjmg3WGlYMrXuseb90O5JVWUX+GkRXvh9YE09jD43GRKxwJ2pn/+wA0VE2JAklVn tQE1XeXk8XUBjaB61fCLu1krJJs967E= X-Proofpoint-GUID: 8VIOa_LpNYW9Ww0VNevdYbR_17C-GDX5 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX6i5ADuVssAPx 6Fe1aUep+l9jEytUo8s3T6fCalpjkFjfTSfeEE9NL2IjTj8NF7IH37Cw4ek9jKONG3uQQbeMeur aCJ4dBp9z3vlKAWuH5VxgKp2hV+4nwhw5/Qo3nDwXOTYKr70pLGBQhB2TNAI7nmKiXrfINe/J1p s3OulfjluoFRqzeVbdi2t3sFv9C3nBHdNH4UJzn0jte42CBzPrESXQDTMmYPiT/lqBJWwJKydCC u14gFVV4Tas+x8oloo55IAfA7/fSdEgJ7HB98R200cNCp8lhhbmqAzPjqn3VvMs210mZDlGA7Ho 3lvKpJLwp7RmO/Vl3iAph7URd24rfwjZKmVgRKr6HCp+dygB3cEWFEQzjvdbrxhX0qb9ojz/+MK 5pVMkAmt2Ig49I/M/UxysiLXG2OXtGFZ9KZpGtWkjMPt8vF5gNgHH8CSUmQ8W6MwlMJJktT52Io SDZppldKBPcbjaRUBFg== X-Proofpoint-ORIG-GUID: 8VIOa_LpNYW9Ww0VNevdYbR_17C-GDX5 X-Authority-Analysis: v=2.4 cv=e/A2j6p/ c=1 sm=1 tr=0 ts=6a9212d4 cx=c_pps a=rz3CxIlbcmazkYymdCej/Q==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=EUspDBNiAAAA:8 a=w3swJZ6BnakM07JXKC0A:9 a=bFCP_H2QrGi7Okbo017w:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 priorityscore=1501 impostorscore=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 phishscore=0 spamscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958037921154100 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- hw/core/null-machine.c | 5 +---- hw/riscv/virt.c | 2 -- include/hw/riscv/machines-qom.h | 6 ------ target-info-qom.c | 13 ------------- target/riscv/machine.c | 4 ---- 5 files changed, 1 insertion(+), 29 deletions(-) diff --git a/hw/core/null-machine.c b/hw/core/null-machine.c index 2aa748233b3..2f008c4a702 100644 --- a/hw/core/null-machine.c +++ b/hw/core/null-machine.c @@ -56,7 +56,4 @@ static void machine_none_machine_init(MachineClass *mc) mc->no_cdrom =3D 1; } =20 -DEFINE_MACHINE_WITH_INTERFACES("none", machine_none_machine_init, - { TYPE_TARGET_RISCV32_MACHINE }, - { TYPE_TARGET_RISCV64_MACHINE }, - { }) +DEFINE_MACHINE("none", machine_none_machine_init) diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c index d58656f70d1..d2ae321a376 100644 --- a/hw/riscv/virt.c +++ b/hw/riscv/virt.c @@ -1811,8 +1811,6 @@ static const TypeInfo virt_machine_typeinfo =3D { .instance_size =3D sizeof(RISCVVirtState), .interfaces =3D (const InterfaceInfo[]) { { TYPE_HOTPLUG_HANDLER }, - { TYPE_TARGET_RISCV32_MACHINE }, - { TYPE_TARGET_RISCV64_MACHINE }, { } }, }; diff --git a/include/hw/riscv/machines-qom.h b/include/hw/riscv/machines-qo= m.h index ee346227bb2..6c0bbdfc159 100644 --- a/include/hw/riscv/machines-qom.h +++ b/include/hw/riscv/machines-qom.h @@ -11,12 +11,6 @@ =20 #include "hw/core/boards.h" =20 -#define TYPE_TARGET_RISCV32_MACHINE \ - "target-info-riscv32-machine" - -#define TYPE_TARGET_RISCV64_MACHINE \ - "target-info-riscv64-machine" - /* * Interfaces specifying whether a given QOM object is available in * qemu-system-riscv32, qemu-system-riscv64, or both. diff --git a/target-info-qom.c b/target-info-qom.c index 7959853e0da..f98d3d7698e 100644 --- a/target-info-qom.c +++ b/target-info-qom.c @@ -14,19 +14,6 @@ #include "qemu/target-info-qom.h" #include "hw/riscv/machines-qom.h" =20 -static const TypeInfo target_info_types[] =3D { - { - .name =3D TYPE_TARGET_RISCV32_MACHINE, - .parent =3D TYPE_INTERFACE, - }, - { - .name =3D TYPE_TARGET_RISCV64_MACHINE, - .parent =3D TYPE_INTERFACE, - }, -}; - -DEFINE_TYPES(target_info_types) - static void target_info_qom_class_init(ObjectClass *oc, const void * data) { TargetInfoQomClass *klass =3D TARGET_INFO_CLASS(oc); diff --git a/target/riscv/machine.c b/target/riscv/machine.c index 31c49ca3e6a..59676c94470 100644 --- a/target/riscv/machine.c +++ b/target/riscv/machine.c @@ -582,17 +582,13 @@ const VMStateDescription vmstate_riscv_cpu =3D { }; =20 const InterfaceInfo riscv32_machine_interfaces[] =3D { - { TYPE_TARGET_RISCV32_MACHINE }, { } }; =20 const InterfaceInfo riscv64_machine_interfaces[] =3D { - { TYPE_TARGET_RISCV64_MACHINE }, { } }; =20 const InterfaceInfo riscv32_64_machine_interfaces[] =3D { - { TYPE_TARGET_RISCV32_MACHINE }, - { TYPE_TARGET_RISCV64_MACHINE }, { } }; --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1787958214; cv=none; d=zohomail.com; s=zohoarc; b=fIpS9zJVulRiQGeSlBmXL1ebne+ahleYSTk/bLQ0Z4Mg+Eav/vDJ+jSbdrU66NnbkxTzHSqWzKbyjF8mlOwegPzkD/qpq72/6tH+kQnIj2dkIzHanmaj7MG2UBwtiwiF0jgZoj39c2S1tpnBjSQbqid8pjq/9QgAFHU0wzec1AQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958214; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Sender:Subject:Subject:To:To:Message-Id; bh=9HDU9sE1lQOBnFHPuwDsy7y6JV3iI1B7Yiuam3D3PqM=; b=YXaR8Bzxyi+zYLVZD0hQjBoex1+5jueB+/LMDKkSej8k7S/A1mv7Bghz9qq0tqe2sgxWD8NOjpzg2RnbHc8R/kHFB7QRqpnnvgSbRBJdn51faHor1QMraqMw9bWcKfFzpTWDRErRgnge4YCh/Rg24RDVQTRaEDYJJJxyoh/O5ho= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958214373926.3632895397403; Fri, 28 Aug 2026 16:03:34 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YA-0000cM-9V; Fri, 28 Aug 2026 18:59:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Y4-0000VZ-NM for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:48 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Y2-0005l9-6Y for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:48 -0400 Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTt0o3186230 for ; Fri, 28 Aug 2026 22:59:34 GMT Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbag9t2rf-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:34 +0000 (GMT) Received: by mail-pj1-f70.google.com with SMTP id 98e67ed59e1d1-38e7ff7b375so2206952a91.1 for ; Fri, 28 Aug 2026 15:59:34 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=9HDU9sE1lQO BnFHPuwDsy7y6JV3iI1B7Yiuam3D3PqM=; b=l//fuVFXQISEjxJvsKet7PVAmlX +vUlx01ToVS3RHVW2uwZrYcWFMhMoMQ+vwhruYWjP39DSBX583jQ3YaAbERycTsy qk5mUahuzLciPIcigduTjjyTMWGty2X2QloMXCplDV98Yj4qwwLHtYWJ2v9IywY0 zsPsDt4YOvulJzr7t/rPnIL7tO+zENnkRKhoObAHxBhm+GSMB6wpCIhk3jA0k6d0 gdlsgmuQSBWxmnaj2oNVtcTYkX+wiaXJhTeERcLsgbR8v0Q7ICrSZMIMMpk3LMSt wyCGjgBL/FPymCIpW4uhd4GqZ1aaLn6/fBFtUL9TV1rgZN1L6g8UNh/hXmw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957974; x=1788562774; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=9HDU9sE1lQOBnFHPuwDsy7y6JV3iI1B7Yiuam3D3PqM=; b=YR7cFuOk122IH1O3Uh82mz6DixipO1qatQv6foMqHFQLQcf8j1fG7BNzUuY6sOUvVw p42N3IwIeDhvGubjir2tM/EMK/PA1tIBO3u5xkl86VcloAoOiXxbRVAO4T4YiG5fsI8s t2dJ/M8WjpBCIsY7sMMm1GTNHnqJDKESZUZ3mfiEA8ZIdMvnyi5hh8AVqpBF5fhdjtVK J9w/3sCoIaoq+BiC9qM//dO0MjbAtRx6hEoZBVjlPTipHjYqb4yg2BKVjZb/PnsCf7AP 9Za0Bexg1ijtQnrmOAT+Fw7kU51V2BjzHIYfoR9eBHhPj+EI2LHk+D52MIJp1vDh2Npo 4ocw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957974; x=1788562774; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=9HDU9sE1lQOBnFHPuwDsy7y6JV3iI1B7Yiuam3D3PqM=; b=QwjsZ3I1yaEh8BslS1hOfCTO+YNS9vzld0SPRH+0297Y6vRQjyZ6VallQwxzGpObQV tMA8Iu8irBE53UulX8nS6ZjYosM02JCb0bDJ4M6wAb3IfXY+IGS2FyKFSt/RO1sV0Kcg WTSxg92KXsYv6iItCG7zVF8+l6bzAaifW7HrjZChbYrJUkiwnSrAp34+gzvhrkLnCWpp tPlp4jqAzlhi9vemFwzwW2NZ8aoVEslVcYk558bf23goJRfMJ7iFU6QMNMVh980hESP/ co/BdHIGUAcST0D05bWEZpd/N0ataENDiUWz9p6uCAKyDaGooSfJcajAg4q4g6gwbmDX s53w== X-Gm-Message-State: AFuF++kfhHdbGCuIlJNa9s6T9x1Kdb2yhOkB+wNKpVErowSR6bRZqtaq SmREypeqjD6Mm6Wb+MlscehK5EvvGZ3Dq856yiMs4oA2+tFKBcE5Nkt0LvzyVaRClcDAtSZmoS9 xpg0jZ4PbcXOpGOebAGMED6Ca7ffp+WJvnKxUx337uYB+E7S5YQ01mWpyC5e1jwwWRg== X-Gm-Gg: AYBFou0Ni0syCe2oIPndykd+GFJGUJGT9PG2iqQh1+0C+yHD3V2cAXGtpJnoPDXXNvK W/AE/jOkmwvyMw/tbHJPNM33wgQ0ZTL2Ee1dJs7Edg8Cj0506N1uiPsUmlgE+vX670yXTE2p9kp szI097yQ6VO5pioklw0kf/YcbAmuikS5V+QfmWskKo5aNKm0dB1wvZZwICJNVx4xVAhIQ/znrpX xQ5CexbMbZJsHcTLT9D7LnKzwr/YYECoKFAL5RFVI6NUD0xoehDP1mbPhaoiRZ5W3cyC9P0Lf1p n3sP0qoOgQw3G0GV1ybUW3WpV6EgMyWRZRG11Eu7+isI2sE5JVfYD9FzV42Vx29JeFMhwFEHY30 wIB6EujaYysoV3AdL00mdqKOIDSrtov3dbZd7lXSfHaQHWbbTYkInlLuKKmk= X-Received: by 2002:a17:90b:48c5:b0:398:9be9:ab8c with SMTP id 98e67ed59e1d1-3989be9ac97mr4466580a91.17.1787957973901; Fri, 28 Aug 2026 15:59:33 -0700 (PDT) X-Received: by 2002:a17:90b:48c5:b0:398:9be9:ab8c with SMTP id 98e67ed59e1d1-3989be9ac97mr4466538a91.17.1787957973385; Fri, 28 Aug 2026 15:59:33 -0700 (PDT) To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 20/47] hw/riscv: remove {riscv32, riscv32_64, riscv64}_machine_interfaces Date: Fri, 28 Aug 2026 22:58:34 +0000 Message-ID: <20260828225901.367438-21-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=UalhjqSN c=1 sm=1 tr=0 ts=6a9212d6 cx=c_pps a=0uOsjrqzRL749jD1oC5vDA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=EUspDBNiAAAA:8 a=yOlMSSa_vBPGz9aVexsA:9 a=mQ_c8vxmzFEMiUWkPHU9:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX5naShibaCPkI t2Q0S1QVfOKNN1COLJeqPjN9i2NlDVIBibQAb3MdNOn9wv4Bl2kwnIa34WVkjfMDlVa04ObN4j5 15r5/aaHslJNSq6qSCaKXueWQG7g7R4= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXx5gI8Kz3/r9v oq11fVysVzhNMr4aDezbq9cBGmiYp+o623TBbHFpaIxk701G+M/SBGeTMqWYLJwgswc4TyDrJ37 +cgDl57WnSVWy2CTuaYi5PIqpPtm5jMFvHVZGK6Drn7U7oejfY/3NwMC13/M/zss1gngl5WcWOv 7y5n/dtaJbmOZ/UPBx9VleT2uTiAInMcOKPEdokbRwHx5JBApYEjqH8/NN05wSXBNAEQKjWiLY6 bh3c+4P6n1IHv9p7jQL1DyK0zRGwU9YBzD/eIA0pSMO6kAuyG4arN+NW4AGHIiQtHtLj06kXhZ+ re/jWmc338soRYd9s53GvjhRNB1z1bFFjmCwTYzVTiYtgXr9NOd1cATyeE7mFP7DqSjjrzjB8Xu MzhcdsrYgFHQ0Sud9mJ0jMaQiGgy7tywAuPoaRw5IeAGb44eFYrNBDgNpNSoogMkMBhKJWb5A6t x8yQLv1VICI7tknXkNA== X-Proofpoint-ORIG-GUID: AN7hmrxKpHFYUlNI892Eg5MBuJKcHPla X-Proofpoint-GUID: AN7hmrxKpHFYUlNI892Eg5MBuJKcHPla X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 bulkscore=0 clxscore=1015 adultscore=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 phishscore=0 impostorscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Pierrick Bouvier From: Pierrick Bouvier via qemu development Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: fail (found 2 invalid signatures) X-ZM-MESSAGEID: 1787958215792158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- hw/riscv/k230.c | 1 - hw/riscv/microchip_pfsoc.c | 1 - hw/riscv/opentitan.c | 1 - hw/riscv/shakti_c.c | 1 - hw/riscv/sifive_e.c | 1 - hw/riscv/sifive_u.c | 1 - hw/riscv/spike.c | 1 - hw/riscv/tt_atlantis.c | 1 - hw/riscv/xiangshan_kmh.c | 1 - include/hw/riscv/machines-qom.h | 15 +++------------ target/riscv/machine.c | 12 ------------ 11 files changed, 3 insertions(+), 33 deletions(-) diff --git a/hw/riscv/k230.c b/hw/riscv/k230.c index 558f30b97e9..72d50d369a9 100644 --- a/hw/riscv/k230.c +++ b/hw/riscv/k230.c @@ -556,7 +556,6 @@ static const TypeInfo k230_machine_typeinfo =3D { .class_init =3D k230_machine_class_init, .instance_init =3D k230_machine_instance_init, .instance_size =3D sizeof(K230MachineState), - .interfaces =3D riscv64_machine_interfaces, }; =20 static void k230_machine_init_register_types(void) diff --git a/hw/riscv/microchip_pfsoc.c b/hw/riscv/microchip_pfsoc.c index 4017129c830..42d4fc39734 100644 --- a/hw/riscv/microchip_pfsoc.c +++ b/hw/riscv/microchip_pfsoc.c @@ -756,7 +756,6 @@ static const TypeInfo microchip_icicle_kit_machine_type= info =3D { .class_init =3D microchip_icicle_kit_machine_class_init, .instance_init =3D microchip_icicle_kit_machine_instance_init, .instance_size =3D sizeof(MicrochipIcicleKitState), - .interfaces =3D riscv64_machine_interfaces, }; =20 static void microchip_icicle_kit_machine_init_register_types(void) diff --git a/hw/riscv/opentitan.c b/hw/riscv/opentitan.c index 5b2f33d5aca..c58d8993303 100644 --- a/hw/riscv/opentitan.c +++ b/hw/riscv/opentitan.c @@ -338,7 +338,6 @@ static const TypeInfo open_titan_types[] =3D { .parent =3D TYPE_MACHINE, .instance_size =3D sizeof(OpenTitanState), .class_init =3D opentitan_machine_class_init, - .interfaces =3D riscv32_machine_interfaces, } }; =20 diff --git a/hw/riscv/shakti_c.c b/hw/riscv/shakti_c.c index 835b1f879b7..9fd7856dc24 100644 --- a/hw/riscv/shakti_c.c +++ b/hw/riscv/shakti_c.c @@ -98,7 +98,6 @@ static const TypeInfo shakti_c_machine_type_info =3D { .class_init =3D shakti_c_machine_class_init, .instance_init =3D shakti_c_machine_instance_init, .instance_size =3D sizeof(ShaktiCMachineState), - .interfaces =3D riscv64_machine_interfaces, }; =20 static void shakti_c_machine_type_info_register(void) diff --git a/hw/riscv/sifive_e.c b/hw/riscv/sifive_e.c index 71925583bd9..ede7cb52f00 100644 --- a/hw/riscv/sifive_e.c +++ b/hw/riscv/sifive_e.c @@ -168,7 +168,6 @@ static const TypeInfo sifive_e_machine_typeinfo =3D { .class_init =3D sifive_e_machine_class_init, .instance_init =3D sifive_e_machine_instance_init, .instance_size =3D sizeof(SiFiveEState), - .interfaces =3D riscv32_64_machine_interfaces, }; =20 static void sifive_e_machine_init_register_types(void) diff --git a/hw/riscv/sifive_u.c b/hw/riscv/sifive_u.c index 57a57c96e16..08687cfc363 100644 --- a/hw/riscv/sifive_u.c +++ b/hw/riscv/sifive_u.c @@ -680,7 +680,6 @@ static const TypeInfo sifive_u_machine_typeinfo =3D { .class_init =3D sifive_u_machine_class_init, .instance_init =3D sifive_u_machine_instance_init, .instance_size =3D sizeof(SiFiveUState), - .interfaces =3D riscv32_64_machine_interfaces, }; =20 static void sifive_u_machine_init_register_types(void) diff --git a/hw/riscv/spike.c b/hw/riscv/spike.c index 630b65f5697..3786de4b0b7 100644 --- a/hw/riscv/spike.c +++ b/hw/riscv/spike.c @@ -292,7 +292,6 @@ static const TypeInfo spike_machine_typeinfo =3D { .class_init =3D spike_machine_class_init, .instance_init =3D spike_machine_instance_init, .instance_size =3D sizeof(SpikeState), - .interfaces =3D riscv32_64_machine_interfaces, }; =20 static void spike_machine_init_register_types(void) diff --git a/hw/riscv/tt_atlantis.c b/hw/riscv/tt_atlantis.c index d808bcc11c3..5e155726abf 100644 --- a/hw/riscv/tt_atlantis.c +++ b/hw/riscv/tt_atlantis.c @@ -609,7 +609,6 @@ static const TypeInfo tt_atlantis_types[] =3D { .parent =3D TYPE_MACHINE, .class_init =3D tt_atlantis_machine_class_init, .instance_size =3D sizeof(TTAtlantisState), - .interfaces =3D riscv64_machine_interfaces, }, }; =20 diff --git a/hw/riscv/xiangshan_kmh.c b/hw/riscv/xiangshan_kmh.c index 384624d69ad..e02624b62b4 100644 --- a/hw/riscv/xiangshan_kmh.c +++ b/hw/riscv/xiangshan_kmh.c @@ -216,7 +216,6 @@ static const TypeInfo xiangshan_kmh_machine_info =3D { .parent =3D TYPE_MACHINE, .instance_size =3D sizeof(XiangshanKmhState), .class_init =3D xiangshan_kmh_machine_class_init, - .interfaces =3D riscv64_machine_interfaces, }; =20 static void xiangshan_kmh_machine_register_types(void) diff --git a/include/hw/riscv/machines-qom.h b/include/hw/riscv/machines-qo= m.h index 6c0bbdfc159..e5f45b32e69 100644 --- a/include/hw/riscv/machines-qom.h +++ b/include/hw/riscv/machines-qom.h @@ -11,15 +11,6 @@ =20 #include "hw/core/boards.h" =20 -/* - * Interfaces specifying whether a given QOM object is available in - * qemu-system-riscv32, qemu-system-riscv64, or both. - */ - -extern const InterfaceInfo riscv32_machine_interfaces[]; -extern const InterfaceInfo riscv64_machine_interfaces[]; -extern const InterfaceInfo riscv32_64_machine_interfaces[]; - /* * Helper macros for defining machines available in qemu-system-riscv32, * qemu-system-riscv64, or both. @@ -27,14 +18,14 @@ extern const InterfaceInfo riscv32_64_machine_interface= s[]; =20 #define DEFINE_MACHINE_RISCV32(namestr, machine_initfn) \ DEFINE_MACHINE_WITH_INTERFACE_ARRAY(namestr, machine_initfn, \ - riscv32_machine_interfaces) + NULL) =20 #define DEFINE_MACHINE_RISCV64(namestr, machine_initfn) \ DEFINE_MACHINE_WITH_INTERFACE_ARRAY(namestr, machine_initfn, \ - riscv64_machine_interfaces) + NULL) =20 #define DEFINE_MACHINE_RISCV32_64(namestr, machine_initfn) \ DEFINE_MACHINE_WITH_INTERFACE_ARRAY(namestr, machine_initfn, \ - riscv32_64_machine_interfaces) + NULL) =20 #endif diff --git a/target/riscv/machine.c b/target/riscv/machine.c index 59676c94470..22a918cec95 100644 --- a/target/riscv/machine.c +++ b/target/riscv/machine.c @@ -580,15 +580,3 @@ const VMStateDescription vmstate_riscv_cpu =3D { NULL } }; - -const InterfaceInfo riscv32_machine_interfaces[] =3D { - { } -}; - -const InterfaceInfo riscv64_machine_interfaces[] =3D { - { } -}; - -const InterfaceInfo riscv32_64_machine_interfaces[] =3D { - { } -}; --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958098; cv=none; d=zohomail.com; s=zohoarc; b=mCFdewaCn6paJVUfFD5USSEVRc8eyM/b8pEBedijvMl5m1m5QVkd7Xi8WbTzWy2FbHP9/UfrVfCiSDhhFZ//ic38bf8HQlG8k8ob7ezTIfbyARnP+7TzinQ7wxGzhXVb5/EDiru325QDeX1hLNwUAuP9MbLXnpkYcJEM81bM0HA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958098; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=RBnYWGfLDA1gt1J6Cw1Kcn5g3TexB8FZRZbiLEs+8Yo=; b=hpN2AhGCrABvAbq/GYp/Ko8TvefSpjNf4usHEf9yo69QIbKhGq3izayMIvKboAolXShzEN7eeCGAhIMpjjm3iM6dQED7XPYpLIWMLfuwh/SgrvCB2ZFzq6TfQzorPzEC9udNsztRG8npRhjyPiRoh4QldORsc31FWMPDny3V//0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958098594997.958128026688; Fri, 28 Aug 2026 16:01:38 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Xx-0000Is-35; Fri, 28 Aug 2026 18:59:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xu-0000Gy-Os for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:39 -0400 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xt-0005lJ-6x for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:38 -0400 Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTfgm227143 for ; Fri, 28 Aug 2026 22:59:36 GMT Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb62h3a79-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:36 +0000 (GMT) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-3965ba1ba3eso2302973a91.2 for ; Fri, 28 Aug 2026 15:59:36 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=RBnYWGfLDA1 gt1J6Cw1Kcn5g3TexB8FZRZbiLEs+8Yo=; b=nZJrVD5U/uJRQCQemk+ez0DFnlO 1TqI+wCqmPibqTWghXOZioz2QcDVWqlKLbt2gnoUMczf9JW5kxqoq72Kik5cs6/P laLY12hmk4nJ4KpxRDuZ+7ho+yoAGY32pd2Ao5smMKXji9/pyP9NOs5Q+sKoknSE UgtxyaTkjXo5bmDU/xSR9MwnBQKSbE/fKOAZBFqH00fnaRmBXjXZ3YrT24UNXGwo TaYgo4HbUVtHCeI9+2fvVDtFghk/DOQq0mup1/yg6tuZHxJLLWDKFkhQiObwzeKC 0tH0PN7kl5KrmvxYuoJ4bkQaWOR/z+zUd4CaSg8Dl3SBFuel8i10EHYN/HA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957975; x=1788562775; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=RBnYWGfLDA1gt1J6Cw1Kcn5g3TexB8FZRZbiLEs+8Yo=; b=SC6XawFHpjjpeslMrg0tILpvst2WLbnciZLXoasuKHun7UoLzsREsnEezVM7ozFpsV cqOZ/mRf3i0Rsp/6uJcK74GtqzGj8hYTrUmLgdceECMR/yiJqWTyj6P5KSZw0Yc9Z589 SVn4g1+WqY5CRFmMvgpvefPv/C5oxFETQ7R1Kts724kLftz2G6iqlU50ea5IgutIRgIM oMEqWbfML8pjhQmpMvS0iFD9sRPd0r+mGOLXf6PMjVmsuyG9x2RAVjjT90sn7a1GPNPY 4D+vQODc0ROZcn6Qu5cK74iebZC+WQ5sndiS/g9kTNCueJmCxKB2c7EqtfyAcr1ZoBD2 SY2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957975; x=1788562775; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=RBnYWGfLDA1gt1J6Cw1Kcn5g3TexB8FZRZbiLEs+8Yo=; b=rZX9SZ5+Utp2APgUfI9icAjeJn3bl84xr1druJ4INMwqMJRbZ8nwOxuwUCEPGAzIOs 7snTRtm2nWCltY2ulRxmYbozMhL9Ep3SV7z3dq/C1YJR48CaJsHVWeu25RjLZGBuEP/8 MgnvW0NIGzLG2OlyCL9RorXo6jrBZYHvs+qbMQlKucdOG0lSGGpUUHOdC6t6uAUpUg8w e4IxrKzoGl/+08+2a436vi9s/AFnF6vk9ySokAzBFu8fMWH8gfOv51VVby1N3ARXPtro RCKj96AE97x2yKTd6tYxRLTOyLKkjW5oaSamnaXINgsICq1sGXRrrGKlvXzjC9J3w9pV NdKw== X-Gm-Message-State: AFuF++kvaOgE7L/ls+Jmo8Va5F7gjvoZmTSGxOHgIPIovC5YUXD7PFKD fUN3wFvCrnuF+ibekNShmJ0OGI/o74EwrRQgFbECYjFi3g1V4motnRHqUqtpYBBrsQuAVrP5L32 YUFp0hXxCWaYZgaYfcoGn+tyLOOVnZIqv43ITZ51XmuPPlkER5M1AyNvpGZAR7DP/3w== X-Gm-Gg: AYBFou1Ol5iTQu/sLB1FNP8BmtOef4A595ETLzZSrgxuFq14QVbYfDqZxPP/36aVjAZ MI0BbqxCYQL+/WnKsh0PfTdMFhBsxh9ZbZQpqsLx4ckO9ZQZKPFsr1QEDrarq5UYrnTppkMpNya eRPK2hUT7K68xfVH3diZj35brhifT+1BikPRKxNzkMTXcvzh/wLB6x7d+l5xz3RijbL/0WcUCXa sDNeBuSZ8Gbxm5RH5jKO7xWKvYutdMJs/XJPOPd8T1bEEFAGEI0bqQHoerog5wmFYzu54Vcq9eA 1FDQBMhey8vyXq/Qq5NGN+NErW/+H9cB492CRAJnQ4l7X2ACSiWughlRfFYo5UeCF793JXYHcIT 3aYiOBjqhGgXMQgGCzLSUvDqNGBtUXZzu5gTzH0WWGTPl+MhL2ZJEkT3tmHk= X-Received: by 2002:a17:90b:164b:b0:37f:fdc8:71b4 with SMTP id 98e67ed59e1d1-396d0e27d7amr18017641a91.2.1787957975248; Fri, 28 Aug 2026 15:59:35 -0700 (PDT) X-Received: by 2002:a17:90b:164b:b0:37f:fdc8:71b4 with SMTP id 98e67ed59e1d1-396d0e27d7amr18017586a91.2.1787957974703; Fri, 28 Aug 2026 15:59:34 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 21/47] hw/riscv: remove DEFINE_MACHINE_{RISCV32,RISCV64} Date: Fri, 28 Aug 2026 22:58:35 +0000 Message-ID: <20260828225901.367438-22-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX5wBTW3Zyjq7k uEbawYGbGEl+7BlVQWmW5fProAbt2Wcz91vpPX0P+T0AQChZXK/v/+jsCQGr9zM1PY0+ct3Xudz UUPDSUVo9n8cUrNBwuLqqp4i7AwAOOE= X-Proofpoint-GUID: ZSTWqeobuHp0aekx66SnTIiNiOaavPH4 X-Proofpoint-ORIG-GUID: ZSTWqeobuHp0aekx66SnTIiNiOaavPH4 X-Authority-Analysis: v=2.4 cv=I5dVgtgg c=1 sm=1 tr=0 ts=6a9212d8 cx=c_pps a=RP+M6JBNLl+fLTcSJhASfg==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=EUspDBNiAAAA:8 a=kt-N5C0VSMjj5JecdnAA:9 a=iS9zxrgQBfv6-_F4QbHw:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX5UKWNypjs1MF TC/5hP+/Fy1lB/ZTOtEpclBULnOz5+n6wavcNo4fxhzczptHOQAlBn2orh30P6H8+FdTnZbbgFO zYxqEBqH1LgEg9VirQMdQpHlPkFw/51nAQRqk9LmQccBC6YGCHtmTX5yV3tRd5bOxKBhd4e2LHW 3zP3EqemDqUiCGllMO+4PRIebU5a6WOp9GuXkpgNKbG1SGyAfeUmhG8ctk8XznUEu6T4QSzimyF GCWfTMM6AYQ2UTVEr6Vy6fAuHcUGWMIxR/LaxmjqCb2noNlzjPKpxUB0Ihxqy3hR2gGJqNMNy4J K5mRh+s73hoG9pUqXu69ez7yoVKp/ieIIp6OaFo6voXL19f4i1amES0EOrx3Lswct8MJ6zq75p+ AzywbK04InR9ZCPGmDR5PZBU20xwRX59PwhftFbWhMMrKxKgEU+K83GH2we8lSmQA9PpeMqvxw4 fkfpddQotiNsmVoiU+A== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 impostorscore=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 clxscore=1015 malwarescore=0 phishscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.180.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0b-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958099219158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- hw/riscv/boston-aia.c | 2 +- hw/riscv/microblaze-v-generic.c | 2 +- include/hw/riscv/machines-qom.h | 17 ----------------- 3 files changed, 2 insertions(+), 19 deletions(-) diff --git a/hw/riscv/boston-aia.c b/hw/riscv/boston-aia.c index 965d0f5699e..30eff10bc5f 100644 --- a/hw/riscv/boston-aia.c +++ b/hw/riscv/boston-aia.c @@ -474,4 +474,4 @@ static void boston_mach_class_init(MachineClass *mc) mc->default_cpu_type =3D TYPE_RISCV_CPU_MIPS_P8700; } =20 -DEFINE_MACHINE_RISCV64("boston-aia", boston_mach_class_init) +DEFINE_MACHINE("boston-aia", boston_mach_class_init) diff --git a/hw/riscv/microblaze-v-generic.c b/hw/riscv/microblaze-v-generi= c.c index d33ac39a68c..503e8e08992 100644 --- a/hw/riscv/microblaze-v-generic.c +++ b/hw/riscv/microblaze-v-generic.c @@ -187,4 +187,4 @@ static void mb_v_generic_machine_init(MachineClass *mc) mc->default_cpus =3D 1; } =20 -DEFINE_MACHINE_RISCV32_64("amd-microblaze-v-generic", mb_v_generic_machine= _init) +DEFINE_MACHINE("amd-microblaze-v-generic", mb_v_generic_machine_init) diff --git a/include/hw/riscv/machines-qom.h b/include/hw/riscv/machines-qo= m.h index e5f45b32e69..79d212eeb7d 100644 --- a/include/hw/riscv/machines-qom.h +++ b/include/hw/riscv/machines-qom.h @@ -11,21 +11,4 @@ =20 #include "hw/core/boards.h" =20 -/* - * Helper macros for defining machines available in qemu-system-riscv32, - * qemu-system-riscv64, or both. - */ - -#define DEFINE_MACHINE_RISCV32(namestr, machine_initfn) \ - DEFINE_MACHINE_WITH_INTERFACE_ARRAY(namestr, machine_initfn, \ - NULL) - -#define DEFINE_MACHINE_RISCV64(namestr, machine_initfn) \ - DEFINE_MACHINE_WITH_INTERFACE_ARRAY(namestr, machine_initfn, \ - NULL) - -#define DEFINE_MACHINE_RISCV32_64(namestr, machine_initfn) \ - DEFINE_MACHINE_WITH_INTERFACE_ARRAY(namestr, machine_initfn, \ - NULL) - #endif --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958255; cv=none; d=zohomail.com; s=zohoarc; b=fLhtkk179Y/C5FCB5Q+vW59Scji339hSFtyi6VoRd2fr9uJw0aOHBJEtgKHA8CzgEcLuTi9+6c9cqUUkM7+naHuAaFGPggVsh99yGJuKmOr4+Il5rXpqexUV965D439qAl+ddnegfd9YiahmCrTNJOVEIlh2B7bTtBbDJVOXiK4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958255; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=eGBFGOFfYPQEsPlo/KgSxDu8+MUTMwH1x+FUzlTDxs8=; b=c4pDHGoxmOLXaZNByj2qviRIBwQEJeQ8UBQimAvPmp/gPcjaMNCeNlu+7eDMez+Y+tL2uEYN0vEVf600QebsUMyFI7GJtn2Qnn80EBa3hvpgrBDbtdZnbZ9c8WQ3jm0k5Mdev6EkzG29mREmXRE9LJhrbVh9Xu+EFf4xGMYGHDw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958255765475.1294891389837; Fri, 28 Aug 2026 16:04:15 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Y0-0000Ok-9o; Fri, 28 Aug 2026 18:59:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xw-0000Ip-Gt for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:40 -0400 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Xu-0005lV-HB for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:40 -0400 Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTUVV4105130 for ; Fri, 28 Aug 2026 22:59:37 GMT Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb3hs3xc2-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:37 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2cfca8558d2so19585105ad.2 for ; Fri, 28 Aug 2026 15:59:37 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=eGBFGOFfYPQ EsPlo/KgSxDu8+MUTMwH1x+FUzlTDxs8=; b=h8jNj7UGlYz1mIt+XJTNAa08+YG 1sRWZqNJeaVQGHl9IS9H7JAi9gqJXIoRAcjWKxJE63sYXRou/qxr9VMsbO4ISr1c L5GPEmUezuWRb7Zci4+BbcD8rCWMnLhWkitB+D9KE90hf08H38etcOwWyn462gI5 GQYJG/wN9fstnXb3D0bmuaTx26Ed1qUtEGNdKYAtiWREAarG+++p3Qmu9siYuj08 9t+YZ2vd2kwkq3hO0i6XlNMVWN8bqsoY6H/YOzzW2FWcKUaZnkm6Z7NGQM1Q898j bYLjEEwjKh9d/3c3wPCPvIN325S6MAXc/etpZNM3lx+EzY0cRgvdSHcpRDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957976; x=1788562776; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=eGBFGOFfYPQEsPlo/KgSxDu8+MUTMwH1x+FUzlTDxs8=; b=LX938wFs0IJL5YiWtvFl5jGNCUhghvAQcFQnZ+r0/8Oqvly2A5h5C+O1mzSKkFqX1T BNJnWKnKvElzBuHrvq9ismfQ2+1eNBZ7s9Bhtk9UVdgLOjz6zEF9N7RdnkEf3Rf70ahK MHzWx1BE19POdmQHWRnSyp0qkG/59Yb9WXPxJaTiznQmqhfVo16jBTy+S70t0Cm942q/ 32eroFf8OxsGLq1zsmsjd9I0bscz9/wYysOz0ANKNRkZ6lrxgO/QKyCIfsAqns9bdVAQ XpPztGNZStVZrhGV3E0cB92EzFn/m3E1m6ZVOiktG8owfbCTSMlLddnsgFa7mU4frHO1 RTLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957976; x=1788562776; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=eGBFGOFfYPQEsPlo/KgSxDu8+MUTMwH1x+FUzlTDxs8=; b=jYP8fxs0YxR4rRZhs+aTssNhpy0Xo1iyiUowTmyzTPM1syUTmOXY70dQw46bm1LXVx eYF/Wx3xzlyajswAe0/izJONaXKAWEFggDBoVRXAOZnYjcdTCXG3y43ag90eZq8Fp2X9 axZ4CsJXPrJ+KYX+NVNXOPUqFDYxf50o2ziUoO7T3W+COrjwyUyMupatC6Oda/Q/cV/8 t0sk1HuBGfurLFZkcEc//a3433aO1zMp7CTCH4Gr1yUArk+ONqsvhyC/Dey6C6OZ8HcL Rtw389/kI1PJyrxoWO/3FeEGaTdqsOdaP8LhSzUts7o8Ya0VT4XsdGzQsjHAc2QsjSKO WKiQ== X-Gm-Message-State: AFuF++kYYhM+IL/gJyiVXzNfHyz1oD9KwD/YLZNTQL7QTaf1xfGG5l// mr3uLJduH6dAi5OeUgfbV+x/QJBIkx3QOPuZJitwXj1qreOaJi7FjwZnIAJQ4ND8v07Szs1IFIX ux8Ej2j/K236QuUBbESnZnej2nJVFJl5NULQySu+yEYEnNO9V3DHhUGCV1nq53cZytw== X-Gm-Gg: AR+sD13kZdCNUd5Z1eL6kM0FJ/RN89mNem18y2zuvGUX+TIcbOLzB8Xc4gfPrH76abp 8+N5p86R0dWZeiXPeLd8cZsQ0Vkbu65gE3SoBgEhsMFmdt5HUGpzotsyiEkS1qj5v6KF+yGTzj5 K8rHMV6La5Xq30mCXWOSh6BeKPK18XHAwd0nZG8xYg/e0TO5l6P3m8pnElgERuEPMBKc4GVfFMN Fbn3P9ggL4lDXgw7qK1EJHgl9xYgOZe1liqBkBXq9duQqbE1iGExH58x+kWO6iGO7pPtVtEV7c7 LhMaCo2tPrqjA0obhlDJo7Vpuod1HO9u+C9Zl/DBoHuJn4deVmwgXwaGTWkYYg6Eu3oTggTZOS9 +mwC6f1Nu67/YjSGx96tAsTzFtrmEDfK9VR0Gb66ETjQ16TAC8DYqheMzpR8= X-Received: by 2002:a05:6a20:158d:b0:3c8:d3a4:7b40 with SMTP id adf61e73a8af0-3d266ebcbb6mr15662773637.2.1787957976470; Fri, 28 Aug 2026 15:59:36 -0700 (PDT) X-Received: by 2002:a05:6a20:158d:b0:3c8:d3a4:7b40 with SMTP id adf61e73a8af0-3d266ebcbb6mr15662731637.2.1787957975985; Fri, 28 Aug 2026 15:59:35 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 22/47] hw/riscv: remove machines-qom.h Date: Fri, 28 Aug 2026 22:58:36 +0000 Message-ID: <20260828225901.367438-23-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=XKYAjwhE c=1 sm=1 tr=0 ts=6a9212d9 cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=EUspDBNiAAAA:8 a=iIsWfukyHDVU2tHd-88A:9 a=324X-CrmTo6CU4MGRt3R:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX5uFYXBmGUg71 uAUeLYeoVWRetvKZC2qweCMfj31381Tk13Xbg8/GFOzB1YRCvbSGE1XYqtp5vL9sm7PWbdc0lXQ Sd2IglLhOYEtgk7R4rsxfP8AYy6RVRkKa6dYsygTkxMc177Ps+uZN9Z9VuWf/dna7Rul9NFTNPw 5LK9J+mye+C0OnMJ9t4IGGbHG708P4kLQl7sG0+JxOvr3vpyonT20bOOq4/MJWf4iOAQjYucwKB 7P77LtyGsZk0DdTfc2hMZbUgc2hIBWaFSx7/FdwCccVGJvmZH4hCn/VaAYqYuhm6KjwmSC6BvnS 1bepnUeLmv2lHoaB5LJ9NGssHX1Zm03NgqlRt7BmHkhwQgj8/rdSRB8sAq7QHGuwE8+Ibx0jTP1 RzYMyCz5Vb4Dg5wqMyiB9gnw8j+wo9bX+KGAZpHEzWRJMkTmFt/jN9bpiIsXFZVcAJ8kxe4pwu3 jwZpGweC6mN10OtPQ3Q== X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXxLjl5SeHkDIT jxYRWoEp1Ytt7xNiNQK/v9j/cl2N3HwkZaIXF4P1zHZZD+Gt4WN5L3zK6DtZzIvgU5pXGWLQdlo AfUr+mm9ei96smzUaLNou884Ix7iORE= X-Proofpoint-GUID: oK44UsmT6k7DLzsEGciKmzVdfEOdZyWV X-Proofpoint-ORIG-GUID: oK44UsmT6k7DLzsEGciKmzVdfEOdZyWV X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 lowpriorityscore=0 clxscore=1015 priorityscore=1501 bulkscore=0 adultscore=0 phishscore=0 suspectscore=0 impostorscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.180.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0b-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958255884158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- hw/core/null-machine.c | 1 - hw/riscv/boston-aia.c | 1 - hw/riscv/k230.c | 1 - hw/riscv/microblaze-v-generic.c | 1 - hw/riscv/microchip_pfsoc.c | 1 - hw/riscv/opentitan.c | 1 - hw/riscv/shakti_c.c | 1 - hw/riscv/sifive_e.c | 1 - hw/riscv/sifive_u.c | 1 - hw/riscv/spike.c | 1 - hw/riscv/tt_atlantis.c | 1 - hw/riscv/virt.c | 1 - hw/riscv/xiangshan_kmh.c | 1 - include/hw/riscv/machines-qom.h | 14 -------------- target-info-qom.c | 1 - target/riscv/machine.c | 1 - 16 files changed, 29 deletions(-) delete mode 100644 include/hw/riscv/machines-qom.h diff --git a/hw/core/null-machine.c b/hw/core/null-machine.c index 2f008c4a702..60254913019 100644 --- a/hw/core/null-machine.c +++ b/hw/core/null-machine.c @@ -16,7 +16,6 @@ #include "hw/core/boards.h" #include "system/address-spaces.h" #include "hw/core/cpu.h" -#include "hw/riscv/machines-qom.h" =20 static void machine_none_init(MachineState *mch) { diff --git a/hw/riscv/boston-aia.c b/hw/riscv/boston-aia.c index 30eff10bc5f..b90da096ea8 100644 --- a/hw/riscv/boston-aia.c +++ b/hw/riscv/boston-aia.c @@ -18,7 +18,6 @@ #include "hw/ide/ahci-pci.h" #include "hw/core/loader.h" #include "hw/riscv/cps.h" -#include "hw/riscv/machines-qom.h" #include "hw/pci-host/xilinx-pcie.h" #include "hw/core/qdev-properties.h" #include "qapi/error.h" diff --git a/hw/riscv/k230.c b/hw/riscv/k230.c index 72d50d369a9..34905bb1702 100644 --- a/hw/riscv/k230.c +++ b/hw/riscv/k230.c @@ -26,7 +26,6 @@ #include "hw/core/sysbus.h" #include "hw/riscv/k230.h" #include "hw/riscv/boot.h" -#include "hw/riscv/machines-qom.h" #include "hw/intc/riscv_aclint.h" #include "hw/intc/sifive_plic.h" #include "hw/char/serial-mm.h" diff --git a/hw/riscv/microblaze-v-generic.c b/hw/riscv/microblaze-v-generi= c.c index 503e8e08992..b0494b1ac50 100644 --- a/hw/riscv/microblaze-v-generic.c +++ b/hw/riscv/microblaze-v-generic.c @@ -25,7 +25,6 @@ #include "system/address-spaces.h" #include "hw/char/xilinx_uartlite.h" #include "hw/misc/unimp.h" -#include "hw/riscv/machines-qom.h" =20 #define LMB_BRAM_SIZE (128 * KiB) #define MEMORY_BASEADDR 0x80000000 diff --git a/hw/riscv/microchip_pfsoc.c b/hw/riscv/microchip_pfsoc.c index 42d4fc39734..60bb96da016 100644 --- a/hw/riscv/microchip_pfsoc.c +++ b/hw/riscv/microchip_pfsoc.c @@ -49,7 +49,6 @@ #include "hw/misc/unimp.h" #include "hw/riscv/boot.h" #include "hw/riscv/riscv_hart.h" -#include "hw/riscv/machines-qom.h" #include "hw/riscv/microchip_pfsoc.h" #include "hw/intc/riscv_aclint.h" #include "hw/intc/sifive_plic.h" diff --git a/hw/riscv/opentitan.c b/hw/riscv/opentitan.c index c58d8993303..8cd660dd415 100644 --- a/hw/riscv/opentitan.c +++ b/hw/riscv/opentitan.c @@ -26,7 +26,6 @@ #include "hw/core/boards.h" #include "hw/misc/unimp.h" #include "hw/riscv/boot.h" -#include "hw/riscv/machines-qom.h" #include "qemu/units.h" #include "system/system.h" #include "system/address-spaces.h" diff --git a/hw/riscv/shakti_c.c b/hw/riscv/shakti_c.c index 9fd7856dc24..a205a213324 100644 --- a/hw/riscv/shakti_c.c +++ b/hw/riscv/shakti_c.c @@ -19,7 +19,6 @@ #include "qemu/osdep.h" #include "hw/core/boards.h" #include "hw/riscv/shakti_c.h" -#include "hw/riscv/machines-qom.h" #include "qapi/error.h" #include "qemu/error-report.h" #include "hw/intc/sifive_plic.h" diff --git a/hw/riscv/sifive_e.c b/hw/riscv/sifive_e.c index ede7cb52f00..1acfea49668 100644 --- a/hw/riscv/sifive_e.c +++ b/hw/riscv/sifive_e.c @@ -40,7 +40,6 @@ #include "hw/riscv/riscv_hart.h" #include "hw/riscv/sifive_e.h" #include "hw/riscv/boot.h" -#include "hw/riscv/machines-qom.h" #include "hw/char/sifive_uart.h" #include "hw/intc/riscv_aclint.h" #include "hw/intc/sifive_plic.h" diff --git a/hw/riscv/sifive_u.c b/hw/riscv/sifive_u.c index 08687cfc363..997ee91aa0e 100644 --- a/hw/riscv/sifive_u.c +++ b/hw/riscv/sifive_u.c @@ -51,7 +51,6 @@ #include "hw/riscv/riscv_hart.h" #include "hw/riscv/sifive_u.h" #include "hw/riscv/boot.h" -#include "hw/riscv/machines-qom.h" #include "hw/riscv/fdt-common.h" #include "hw/char/sifive_uart.h" #include "hw/intc/riscv_aclint.h" diff --git a/hw/riscv/spike.c b/hw/riscv/spike.c index 3786de4b0b7..e36fe996b09 100644 --- a/hw/riscv/spike.c +++ b/hw/riscv/spike.c @@ -34,7 +34,6 @@ #include "hw/riscv/boot.h" #include "hw/riscv/fdt-common.h" #include "hw/riscv/numa.h" -#include "hw/riscv/machines-qom.h" #include "hw/char/riscv_htif.h" #include "hw/intc/riscv_aclint.h" #include "chardev/char.h" diff --git a/hw/riscv/tt_atlantis.c b/hw/riscv/tt_atlantis.c index 5e155726abf..7d02868b222 100644 --- a/hw/riscv/tt_atlantis.c +++ b/hw/riscv/tt_atlantis.c @@ -20,7 +20,6 @@ =20 #include "hw/riscv/boot.h" #include "hw/riscv/fdt-common.h" -#include "hw/riscv/machines-qom.h" #include "hw/riscv/riscv_hart.h" =20 #include "hw/char/serial-mm.h" diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c index d2ae321a376..dd396410178 100644 --- a/hw/riscv/virt.c +++ b/hw/riscv/virt.c @@ -36,7 +36,6 @@ #include "hw/riscv/virt.h" #include "hw/riscv/boot.h" #include "hw/riscv/fdt-common.h" -#include "hw/riscv/machines-qom.h" #include "hw/riscv/numa.h" #include "kvm/kvm_riscv.h" #include "hw/firmware/smbios.h" diff --git a/hw/riscv/xiangshan_kmh.c b/hw/riscv/xiangshan_kmh.c index e02624b62b4..247a0b5d1f2 100644 --- a/hw/riscv/xiangshan_kmh.c +++ b/hw/riscv/xiangshan_kmh.c @@ -41,7 +41,6 @@ #include "hw/riscv/boot.h" #include "hw/riscv/xiangshan_kmh.h" #include "hw/riscv/riscv_hart.h" -#include "hw/riscv/machines-qom.h" #include "system/system.h" =20 static const MemMapEntry xiangshan_kmh_memmap[] =3D { diff --git a/include/hw/riscv/machines-qom.h b/include/hw/riscv/machines-qo= m.h deleted file mode 100644 index 79d212eeb7d..00000000000 --- a/include/hw/riscv/machines-qom.h +++ /dev/null @@ -1,14 +0,0 @@ -/* - * QOM type definitions for riscv32 / riscv64 machines - * - * Copyright (c) rev.ng Labs Srl. - * - * SPDX-License-Identifier: GPL-2.0-or-later - */ - -#ifndef HW_RISCV_MACHINES_QOM_H -#define HW_RISCV_MACHINES_QOM_H - -#include "hw/core/boards.h" - -#endif diff --git a/target-info-qom.c b/target-info-qom.c index f98d3d7698e..6965e4d1169 100644 --- a/target-info-qom.c +++ b/target-info-qom.c @@ -12,7 +12,6 @@ #include "qemu/target-info-impl.h" #include "qemu/target-info-init.h" #include "qemu/target-info-qom.h" -#include "hw/riscv/machines-qom.h" =20 static void target_info_qom_class_init(ObjectClass *oc, const void * data) { diff --git a/target/riscv/machine.c b/target/riscv/machine.c index 22a918cec95..c3f5a255099 100644 --- a/target/riscv/machine.c +++ b/target/riscv/machine.c @@ -24,7 +24,6 @@ #include "migration/cpu.h" #include "exec/icount.h" #include "target/riscv/tcg/debug.h" -#include "hw/riscv/machines-qom.h" #ifdef CONFIG_KVM #include "kvm/kvm_riscv.h" #endif --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958074; cv=none; d=zohomail.com; s=zohoarc; b=PN+U4IboVfhk2Kk8LrtpoJIpjP8WsCpFPifLnRWoA9Fi1F337YtwkHUfyF+pMvJkX6kwBTZc0k7j5cIZEgMARmmbG+E9HHh7z0H/MblFCroLh+r5JyTnhZCE+y8qlScjsyQnpfJ49mIGaPSRXOiyjNAWvEjbwH8e6n4WLijJtNg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958074; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=tK6xnGFy+65sDuPb/j6Sjk/cascMgkkV40PEfapBr3E=; b=hWA+MQBxBR2eDCnQPt+nbtKLUMxAEDMpH55O7NKFrvtmkHkSHua+2reQ6uAcgk9TYbbxhdGxPYuYSsoHvoa2Uwp5Ox2eFCq7Yf0maiURo/vrTyipQW3Lxsj0SNDNDb4N4wYAt2pbjRvpvGtv5tfydPLwtpo1Nva/gcQHggzfWuA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958074071570.6141991413522; Fri, 28 Aug 2026 16:01:14 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YD-0000ez-B6; Fri, 28 Aug 2026 18:59:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Y7-0000YX-Sx for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:52 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Y6-0005li-3V for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:51 -0400 Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTCuM3665672 for ; Fri, 28 Aug 2026 22:59:38 GMT Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb3mubswn-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:38 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-39512608fb1so3768389a91.1 for ; Fri, 28 Aug 2026 15:59:38 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=tK6xnGFy+65 sDuPb/j6Sjk/cascMgkkV40PEfapBr3E=; b=K5klsRKXkBPXGTmzs4WlMKw4TyC 5xSTdCIpePyQELIAHDB8v9J8JeKseambh7xcwS5e4qyXFibwekjKJ9VD8TeYf8nb 9xvFC5gL/tD3/GZs9ysQxiEVFnAAxvGD6dte1IUGzfMo+bwR/VeVA2ZzzktHnVze h0J2Ga6wdQhz0l4kcnIU8HFEPIf+z1RFXOxlS2Rwy1SLRUTtdwFLFJJTH4Eo8onY Z/h6X6G8O67uXBOpF5saWnnylP1dsT9zOIHpqzhtvimxkyEgWvdUDHg73WaJ1q5k rpbl0N2YTMmzXuYd3yrLF5IM8qgdzNSQjmvxohGONMVz+muaqT6tKxVZjmg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957978; x=1788562778; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=tK6xnGFy+65sDuPb/j6Sjk/cascMgkkV40PEfapBr3E=; b=d6KNFoFyobW/siImSHzgXEQuPy9ix/J4xD+V6zQWbMRTYe97b8rQHxBw/IJO3EQ1eq mVgajp1Q2osLppD4zPIyt0Le4+tEUtyGrL7RDpaC9uZ5C4EMyhGnKsCzXVcqry9qnhAY DrxZ/ch8NcfkaqnXHXPZg0ExkDgeoLqfut6tJgALfY39Vxg7Ll5PJr53pfL0TExK8y9B +bL+4NhKOnr1wWYDXUTT7+keaAvLCwY6PCJ8oGdxiSFpE3SXRCPqU52utusuWhbeVPd/ zEEBEx2gxC4sRvX3Vssihkb2nnUMBmn0ybJtbg6p1JajoPNlz+TLJ9ThdEMxNNaOtwNz VglA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957978; x=1788562778; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=tK6xnGFy+65sDuPb/j6Sjk/cascMgkkV40PEfapBr3E=; b=PPEwJFDx80PisGP6rm7gg+8KE7lfdaHLAAfMcopPtQ/u03M+NRF1siAJRI9u6KonWv dVMrX2l18TTD9PlMdgGZjq1jX5QryUG6B9eDqJr5Aqy11wtzA6filJxqvZ2So2jMxGda 7+UGjnO2HR39tkMH+yWFxJQrcvMJdjBq8n8Ukla8oxrk2nSib0eSVE/J8eioBMcNVVPd cDuAOi5McEFWa3IsSnp/ht/xxirwei7eZiUx/OsVRqTky99BC+DFXIBRwoX4JjhQring VmMJcIA+CjPumTJldl79MFsM9qUp/XTKRRYM7KLTY1cqIv1txw84rIo/cPKiVQVP9wgO aMBg== X-Gm-Message-State: AFuF++mlbGUgYtSLmEsmkhEHfMeL4zNYg68jmHbXeK0RzAr/PcVxRsor XyIPzAsn42jk/sHdPNC2Zo0S+O3gZSWbrEJfOC81aN6ioeJFf3o3uafVGZINJsguzfzJ1B377y8 MSkLoGUhqScg2t/i5+mdmLnWqLP2ti7hTID7J6njqL+GF8xpx0kdwDCWzvYxlfySPxg== X-Gm-Gg: AYBFou3b+g64RbbhxkyFHfRvEJcwRGhyFZ5s2ubu299uIkWn/XvPL2X63bEhjEGi+PF peLJnKzgWGMhVqie1yRIGajxsvjxWcda3SqZdTspyOrfPu5YOGmyBWjLpOwM+06vKTVsdCvM52Q rWtfsjtC5BAW7/PYrtJ1BQlcnHbxHmI0+MprR+z9mOVhLw38wPxxTpGngWjDyurQ05O+KpNYAE6 nlYPUexyllBzZk1lZEza+J+50t8/6MUePWDIO/uEH4j7SZLO+HO8bGp6V/AsBMaG1ovgkKojbVU IQFbcBbC9PuFSiYomqrN0nD5xAaSgzr66aNXqXbywIzdte4u9TZU57A4tjwqgeM/ElrzIH8jgVY sZF9LTTkknhbP+Wkx0TnE1DxSD3yeJItpYieFbADiGZEiDFmz7memM/ranl8= X-Received: by 2002:a17:90b:388c:b0:396:5f7f:52f5 with SMTP id 98e67ed59e1d1-396d0e2466fmr18886649a91.3.1787957977695; Fri, 28 Aug 2026 15:59:37 -0700 (PDT) X-Received: by 2002:a17:90b:388c:b0:396:5f7f:52f5 with SMTP id 98e67ed59e1d1-396d0e2466fmr18886601a91.3.1787957977268; Fri, 28 Aug 2026 15:59:37 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 23/47] target-info: add target_config_multiprocess Date: Fri, 28 Aug 2026 22:58:37 +0000 Message-ID: <20260828225901.367438-24-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=ZbMt8MVA c=1 sm=1 tr=0 ts=6a9212da cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=EUspDBNiAAAA:8 a=RCSUDqgnImT0t8oOcR0A:9 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-ORIG-GUID: 7yQwCfGiQBNuu0jCh0I7ESoKum4n4HaP X-Proofpoint-GUID: 7yQwCfGiQBNuu0jCh0I7ESoKum4n4HaP X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXw/Fv8Au6/7MG o/95Xb5LBTjjNr19PdCzFByBEeittxpotXRupJbGRbRNGtvlPnlXh7K+xn48Th3tvXHgMtuX4ea D1RDW2EyzeXRjguov5ISOK7kdks3wEU= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXzHXC0SJIFceS JN/kT6VMsfMBR9I0/MSt4ZvfU2iTj0dkck1xWfuMmezZ0o5ImrURnhNQKz8b1RtI2yHKfYH4F2p SEIej52syujTBtHx3YbedQsK+75dpXJuAcC86Nd8hxHS+7yNhKZFmaipQUlRmZdbzF3FyVvUu+n aMLNsxFrEKeuflpN0/2ouMdDu5rlM2KGHUhBYpGBxKEkZUG/5UKHWU6R0Vr2eGBHW6ZduZoa2JS bTQxLx0yJ1EagqcusNhCdWw23xNpX8dj03ylwE77nEFQ3a0M9voVC3bKP6asBvtC+crOkK3IFox KiunAWFPk6NLg5uY2l3Xx6m7xVmydZiH4kbFGcHtB1IyXeFDp9KN9ha7xP8W5ri7wRzLboeO+sI QzaqsBVYFPgstXrzXQE7R2i3cHsD+35rzbenzEwkRzsoqKmqUTGz9EQJLOv3tPrR+Rd2RvZKohk EsC0/x38Vu2RCASkziw== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 bulkscore=0 adultscore=0 malwarescore=0 suspectscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958075206158500 Content-Type: text/plain; charset="utf-8" For some devices/machines, we'll need to access target configuration, but without relying to target headers. Thus, we add the needed information in target-info. Signed-off-by: Pierrick Bouvier --- include/qemu/target-info-impl.h | 3 +++ include/qemu/target-info.h | 7 +++++++ meson.build | 1 + target-info-def.c | 7 +++++++ target-info.c | 5 +++++ 5 files changed, 23 insertions(+) diff --git a/include/qemu/target-info-impl.h b/include/qemu/target-info-imp= l.h index cf42aabbc8b..dbd7a5a2071 100644 --- a/include/qemu/target-info-impl.h +++ b/include/qemu/target-info-impl.h @@ -30,6 +30,9 @@ typedef struct TargetInfo { unsigned page_bits_init; /* runtime equivalent of TARGET_PAGE_BITS_VARY definition */ bool page_bits_vary; + + /* CONFIG_MULTIPROCESS */ + bool config_multiprocess; } TargetInfo; =20 /** diff --git a/include/qemu/target-info.h b/include/qemu/target-info.h index b23e5bc5865..579c43332fb 100644 --- a/include/qemu/target-info.h +++ b/include/qemu/target-info.h @@ -42,6 +42,13 @@ const char *target_cpu_type(void); */ bool target_big_endian(void); =20 +/** + * target_config_multiprocess: + * + * Returns true if target defines CONFIG_MULTIPROCESS. + */ +bool target_config_multiprocess(void); + /** * target_base_arm: * diff --git a/meson.build b/meson.build index 5da6c15551e..8023da4a147 100644 --- a/meson.build +++ b/meson.build @@ -4259,6 +4259,7 @@ foreach target : target_dirs arch_deps =3D [] c_args =3D ['-DCOMPILING_PER_TARGET', '-DCONFIG_TARGET=3D"@0@-config-target.h"'.format(target), + '-DCONFIG_DEVICES=3D"@0@-config-devices.h"'.format(target), ] link_args =3D emulator_link_args =20 diff --git a/target-info-def.c b/target-info-def.c index d121b8c0170..9d51371f766 100644 --- a/target-info-def.c +++ b/target-info-def.c @@ -15,6 +15,10 @@ #include "exec/cpu-defs.h" #include "exec/page-vary.h" =20 +#ifndef CONFIG_USER_ONLY +#include CONFIG_DEVICES +#endif + /* Validate correct placement of CPUArchState. */ QEMU_BUILD_BUG_ON(offsetof(ArchCPU, parent_obj) !=3D 0); QEMU_BUILD_BUG_ON(offsetof(ArchCPU, env) !=3D sizeof(CPUState)); @@ -39,6 +43,9 @@ static const TargetInfo target_info_stub =3D { .page_bits_vary =3D false, .page_bits_init =3D TARGET_PAGE_BITS, #endif +#ifdef CONFIG_MULTIPROCESS + .config_multiprocess =3D true, +#endif }; =20 target_info_init(target_info_stub) diff --git a/target-info.c b/target-info.c index 012b384036d..5db2a6049ac 100644 --- a/target-info.c +++ b/target-info.c @@ -42,6 +42,11 @@ bool target_big_endian(void) return target_endian_mode() =3D=3D ENDIAN_MODE_BIG; } =20 +bool target_config_multiprocess(void) +{ + return target_info()->config_multiprocess; +} + bool target_base_arm(void) { switch (target_arch()) { --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958218; cv=none; d=zohomail.com; s=zohoarc; b=dgr55biw8DdhmcsPFbEgSNAUSkQE/m77RqWL6c++pm7wFAXqv1yxKPUtV9yN3cDbN9BWNvdbI00sltwkbCIelXNM5uO5KPV+2O5zENcqmDuyzsceex5NIU0yEZMIwji4AbwPE6ngS969T/UsUMhiei88iublKd1cXCmPXzbx+NA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958218; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=P8c9tVc/tsC0VKHJsAmXlBKD5jQLNNKQzVAo3npQ/JM=; b=BjCL2pi64jBo6kyA5DOpnWvp6NiVNSyFQhU+fGNVA+1GGmTikjNjg5byS7AsdKbbjTR/hxfRa6lGMxWD4g5lrWqWP7UD1qNc744/v/wHuYwditSR9xw56hAvJPhQ/if0dEgMX2gs45MSgl84hB7xseUguKb11Sc69+B9O/9OlqU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958218637773.6787554780868; Fri, 28 Aug 2026 16:03:38 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YM-0000pP-R8; Fri, 28 Aug 2026 19:00:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Y8-0000Yp-Rd for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:53 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Y7-0005lp-31 for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:52 -0400 Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTJNf3665796 for ; Fri, 28 Aug 2026 22:59:39 GMT Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb3mubswq-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:39 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-38dc085b0a7so2724934a91.2 for ; Fri, 28 Aug 2026 15:59:39 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=P8c9tVc/tsC 0VKHJsAmXlBKD5jQLNNKQzVAo3npQ/JM=; b=RulfTeIEmtSr9FDCts6f6FSkV2L Hrga5SiEkNRfJiQTKGUypfRYzwqeNqQ2JUnzSdxumlQIq2XIw/NVZsUwQVYaif87 Ojlg0SKuy8aTrzMHKm5MbKKQejDqvErt5TWkmNeGGPOU3nLXXFONeGT2BC1Xrs4K OQFO5KEa+4y2lJvocPUVha1juL+H5CE96+LbEaU0OH1k4dHtW/qwmezrWKyI2j0Y 3twZ/lRd1oKRzrGDe7dVayZTHMJSpmO+AISYTj9/TOND3ot83M/eigwOmkbYgePr F7OM3s/ipOAH0D7PXmJyQe7iHa27okAiWOu9VdK6BhseGZss5enEun8kigw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957979; x=1788562779; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=P8c9tVc/tsC0VKHJsAmXlBKD5jQLNNKQzVAo3npQ/JM=; b=Y730ONVoKF7+wnQ74h4/n/aZTWhdxDX//R3FepliHs7ix1ip/nnPsNIN+fW7JlWQYf JMf2RbrM4+FWF+oAhOZrulze9Wh5sZB60Pi9mp33ppWKypJS+f9tD5kDNDXnxjlqJyCN ioXyMnc8bwnjQggLnH24oI5T87IiPaAdO57A73DCDV282W1q71oyqS04Gk2bUDEhX8su HxPdyRciUJiJCfc7z4nNdWO+rkteGdLQZczwBGR46Hs0dN5VdwGIrQTCGZxALtIpuMa2 EgeMeINQ/gwKGvosISwjvl3cPxe0sNUzfZ162LOpyF3ufH7Xo8Qs4NKc/ZEZevxWF2K3 jFQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957979; x=1788562779; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=P8c9tVc/tsC0VKHJsAmXlBKD5jQLNNKQzVAo3npQ/JM=; b=JYjbdLsZD/EEAtzRHvTXUbtk9ZQmb7qY2i5PaAHxal/FpN2gjzHS0LNCF7U4ypWxZU h+S3jgZy6jI31OlUgYkeZxcqUSvRWbSqWrMnZ+zAW3tN+zqE1oumytzktFrNHaOIdNCQ xEcMPnxjkfmPu99T01W16MRBvYE4b/7CZzT6kEFSI/5Qkn6i1prBzvrooD4NCPzpxXin /jERdR3SlApDX+pjxvO60y+dwSLyp1qkVWqv+6W6F1Wipj7JYpnqgNxq+oSMEaKJWEQk +EMykIVfTKP6ipW4oCN3KfDUMzqYcRt0peMaTqCXrVOyZYUIF/8Q4iTs+ODFHBS2tSei kQ+g== X-Gm-Message-State: AFuF++mvIaNrKw3gbd1oxSwbauJdiW17qpQVeC4AsirQNy2zDXmLTkd8 qBylLA+7CKrxzCR7iZlTJQOMVQGXpdo0NVgxp848TIpQjhacKQKQWADf3ZW0gzCcL+WoJypT4Ia ZaAXXj9TWQ1/lC/7/qL8W9Xm49NR/fRdy1OmwXClA60nBlox6yjyIgh81JFtXbULP9Q== X-Gm-Gg: AYBFou0x/4KfOAP78TQBwik+DQZsld+7zzJHSVsXeokyHnqacXT4jwgVeyZYgkY6tua jaLk9d924ZMK/MmI+gxxeESCV+4KWLydq7zC89nzEgGn2AJnSaF/FWZXyKCVxmowmt0VfEN4d9z TJ+6uOvu8jDy7In33LWSlykJeqTvrDfeuix0jL3ExWVWX9ltm25kb5XFqSxBh4ccKMvEC8xdlRI 9/KlONuUWY/e7HyLVbIISemYIWdh2G7/cWAFZRJr9QZq25p0MXOI/0NxfcsGl7fT8ibGTNTqAKz vbgCpIJQqspUJvQk8fueQaHaI0gNNh1OkPxdD1ktySTDBZIwrGiRIbP2W+oYaQo/s+2i6c3xkIN Eq1CmplrfbQThuLJ5wIas0oSKfcapBwq5F+2F/eQM+sLhCbc2/uPHOLvKajU= X-Received: by 2002:a17:90b:1e05:b0:398:9bd5:490c with SMTP id 98e67ed59e1d1-3989bd54c4emr3718537a91.19.1787957978841; Fri, 28 Aug 2026 15:59:38 -0700 (PDT) X-Received: by 2002:a17:90b:1e05:b0:398:9bd5:490c with SMTP id 98e67ed59e1d1-3989bd54c4emr3718499a91.19.1787957978468; Fri, 28 Aug 2026 15:59:38 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 24/47] hw/remote/machine: filter from CONFIG_MULTIPROCESS Date: Fri, 28 Aug 2026 22:58:38 +0000 Message-ID: <20260828225901.367438-25-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=ZbMt8MVA c=1 sm=1 tr=0 ts=6a9212db cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=EUspDBNiAAAA:8 a=oZKOxlyl4ScGPvpX6VEA:9 a=rl5im9kqc5Lf4LNbBjHf:22 X-Proofpoint-ORIG-GUID: QdNvBPPc241rMuqSLsXKtdIp6_yY1uwo X-Proofpoint-GUID: QdNvBPPc241rMuqSLsXKtdIp6_yY1uwo X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXzvRPUG967Sc3 /huArT3p95vYJcr+0d9aYuKt5HNG4UO4UyOQQcPpmqQh/cz+DKXCJmoT4WOkhiQacDKIIvAQroN n9v/gOwtIQ4EHAwACDJVNYhSss+0cYk= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX3ebQxMgc7gqn yMPu7LOQEcb9x5F25Nga2Og5ikgkj34FOBZq2rimv1h+mkev0o5lo+hBngwfkJzClbWusXyxJmN 39Muugj+Grd+Ur9n0JXyTnCmE/RhOOlXi7Z5VaO/SSVH7UAnGRwHnHsMOhzGb17Zg+PfQJDLt8D MSPt8eCJj71QBlVHSB/ssgKtmzbDeL34TVQMwk2VDbffr9DMHwhsNfqtiJ0eBmmu5OerBI5AuDw DtFu1XIVkiCDkTuKLZ240xg7wCjbl31C+4HP2jv107n30cjWwpTHGwZC15f4/CAaOFRFCjipxrK bXOE25JxIwYltvbCHfxl/k7MLU1Ir2fU6RUSQa9TPHoQtCwtcN9tCm232tHayok6sxkE5dWaPpa dNvX6UtQh7dHPTtz/no1wEDT30h8ng4843XvdhE4UXUoNQC/aFoxBjRRTzDO9Z72aqkiyxmFijD MHw+BPCYhmldLwWtYZw== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 bulkscore=0 adultscore=0 malwarescore=0 suspectscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958219737158501 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- hw/remote/machine.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/remote/machine.c b/hw/remote/machine.c index ced782f6a9c..2068da9d5be 100644 --- a/hw/remote/machine.c +++ b/hw/remote/machine.c @@ -146,6 +146,7 @@ static const TypeInfo remote_machine =3D { .instance_size =3D sizeof(RemoteMachineState), .instance_init =3D remote_machine_instance_init, .class_init =3D remote_machine_class_init, + .is_available =3D target_config_multiprocess, .interfaces =3D (const InterfaceInfo[]) { { TYPE_HOTPLUG_HANDLER }, { } --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958272; cv=none; d=zohomail.com; s=zohoarc; b=h+095VT6dHjh91fAi2I9ZHGNBQknuM/60eWKjCxnZ6jszLWKyDKGXKYMem0QeMcz2ql+besLOKjT8idl/P7khSd5i5BhdN4nTkvZhCtS+zncVq3ZkgNqliuZdwmbHjhqEbSjzCkP6HwYElSmCq2WVbkKC1zFmO9og7dL404xucc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958272; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=LpXMs4Y1UTse6ZM8IlAlfVIcSYQepW7d5n/cp6sjuT4=; b=CiKQLXctj4SoSYMYRPTHkWHfRs2WFyFhbJK6d3QxPsNwSQVtUJL+lmCnWOlbQK2w6dwAhYZrSpg9PNQ+qfMl+DdlE6DijHx27xeQc1oH+dtsNZUGADSQmldJcEz5RZr9KXwvFbXS1TKf328pXdpAE6F4evRgR+4RqAcB9gKI8Tc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958272074109.98102203075723; Fri, 28 Aug 2026 16:04:32 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YR-0001Gu-Tl; Fri, 28 Aug 2026 19:00:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YA-0000cX-1L for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:54 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Y8-0005lz-52 for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:53 -0400 Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTWfU145605 for ; Fri, 28 Aug 2026 22:59:40 GMT Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb7eh2s3k-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:40 +0000 (GMT) Received: by mail-pg1-f198.google.com with SMTP id 41be03b00d2f7-cc18ced1a5aso3215280a12.1 for ; Fri, 28 Aug 2026 15:59:40 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=LpXMs4Y1UTs e6ZM8IlAlfVIcSYQepW7d5n/cp6sjuT4=; b=dM2GrpSnZr9AOaeDYcf+qiw7CPx 4sNHR5XjvKzEeZwRTP9toflsp9A7sZl+M9mStvYuu+Y2Aa+0TYpvzKf2KUnjl6I2 CFwJSVHhen1hSete/RlvJpzLSFGcBmzrbCu3G7W3VWaevr0oysKJMa7HK7ugJmyZ fy7fMAGQxz/KqlAkozBM0ZIGQf31Sb0UGlK4R9N4XflF09yXjvWTR9YKwPu30vQV CRo8KSG/+rEhozwDrbT6Hx8lolzkl+APjI82lLxXndJhv/FAN1CTwNKXL4N49Yo4 DYG9JtNEuZqQBC9Qi/ealRxfqbM32p4PiWWBGwKqoZbqkz+mRJWBJ/hOOdQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957980; x=1788562780; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=LpXMs4Y1UTse6ZM8IlAlfVIcSYQepW7d5n/cp6sjuT4=; b=KuUBoGGg5GyOmRQCA7qm9wcp80SSBMBbclja50j9zQQaAts7res5pIx4ylvpSJtLnt A6bPPvwB9sVCfvfAMkjioNk7lfrc80kVyRB3pTSm1z5ieO+8iZLKV6n+i71nIMGVJcWL nPqn4J+7AaeBYHGzpS5LuFitx6r/XacUHBYzLSJnFYOVBnj5En7kCsK5SGAo/7aUQR76 6kT//cSCzKjMTuonwQYINRvuX6wG0IkABuAPyvg3tDqXTE1F0nntkdVQ9DGwCwHYatL8 uPZMCw0VGDVVhoA+KmamwYPrQ17k2vq1g8YH0yQAztKGzq5pXTQ/gJtXZy8gvFiwr+sr Lufg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957980; x=1788562780; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=LpXMs4Y1UTse6ZM8IlAlfVIcSYQepW7d5n/cp6sjuT4=; b=YDaSxDuVIwJeLFHUv8iRfaMlycWvRtlYKsGLK4JDE8xbWXgeJY4MHSlflKd1eUkQGv vf2FinvUpxEEJYv7zy2/K4ycrxZOoVvV3kP60pr6UL4ttFpr5XDmzTU5RYPToI7WDqhH EuklnPSQ6XMHXBbDrh3N+540D5gm7cfUgwN1EqJoqVgM6cgmL1igEh8ouAufozzRSzhQ M+sPLq47ps4A99thYbzpgw4BhMbhlPNeQqXNOB/+5/pLquxFGusBP6l6IUDBwY5+23Dc NMNqkpcXKNJkTcuIYHVWQkLv2gv4gs9wsQ50lMsw2NQLzH51rb0kzIUTV2VdUJRv4O1a LY3A== X-Gm-Message-State: AFuF++mrACifLVg55PzKFwD5MAneP9eftTLzwYpuuyG0cQj64COZHZip 253R1RjxWFV+wd85DcZNVf85K6D17Azviv1XWdwneFfAx/x4VfrDS2KqQCDJkj7O5YTwUkWerfu qcH8JM09KipeV+7EUcmQcxkPy0ArlkYbKSP1JQwVHPRMPNzu7BGmCpSLsB6zdLufTQA== X-Gm-Gg: AR+sD10vfNccy/X8X2ypzq0DPvvTuwU7bb/bkjpvJIjH3ipXOmicMmI82KbYtevzWp7 XAISjp3Yyh8HXVOrLT1EBbLrZ6JKQ5cNCCPlJy7sYc1edw39m6lcXbzrQiOODnNyBevrcAUhMXP S7D4ug96UtziXraz3zFOcpv8C8dTR6ERkzEt7BQjDFYR0dflEndN+5IY7OQXw3G9Ev16kXOM2C3 oqJsIvnqoplhb3DMQh3gjZNMA/22QMqmLikVfizvSWIwdkPjHEPAgFT0WZzCp406jvDIGC2S4ry eO8FAQojXweO56CDOiskiWiHkWKJeiZmlJPXWkT0bcun0hUH9pLyNcdkJJsAp27trp+mf3tFN1f cXZlyzJ4/hNObAZTrmmE+EYvq6MsCJ9B69m7AsgAIv96sy3J5wjrLIW/T0Ac= X-Received: by 2002:a05:6a21:3482:b0:3c3:bbe6:95c7 with SMTP id adf61e73a8af0-3d267f817cfmr22407261637.17.1787957980020; Fri, 28 Aug 2026 15:59:40 -0700 (PDT) X-Received: by 2002:a05:6a21:3482:b0:3c3:bbe6:95c7 with SMTP id adf61e73a8af0-3d267f817cfmr22407216637.17.1787957979690; Fri, 28 Aug 2026 15:59:39 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 25/47] target-info: add target_config_nitro Date: Fri, 28 Aug 2026 22:58:39 +0000 Message-ID: <20260828225901.367438-26-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: uky0oNDYMr7SMQv10qcMKT6ngNDZOjer X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX1PpP6myDpRQf PN6BoidI+e3V9Cf+3PjsqCcYesqfYwX633zuwCXMDYZQ1h+OvD9+r1ep9itQB4CNcfDTjo8HWGr 9O26KCBVqkmGncPYRY/DTe1EMomwuMzrd9h0tY36gvq+N8ns1wiKlx1xiO8FhWHd3T5YL7pfEIt OhvJEZEeg8dVfB216Ik43sEyRc3ma6zAcGgO39cARvYk9YKDg2akz/FC+zsy8sElTB956b3pSpZ tF646K4+CkiCYrtsUZ/G/usV1iheVJjGSwEroCVmMkmBZW2FZFOPIINxkw4dNhYtYyz8GiZWMl9 9PskDcfuhhEK0dVFCXrSP3N3Ktge7nZYHdGzIzT6e9h3Q6hK2wgIAuWb4pyIWEoJcr+Hj53sieY 6c+7jTe2cBx/E++Rn+xkDsazxIU68vNSVsP1soFeOmVQTABPLip8/5tCakJpQhdqPsMe7HFpdEh BF2ygbUH41rdX8R4DOQ== X-Proofpoint-ORIG-GUID: uky0oNDYMr7SMQv10qcMKT6ngNDZOjer X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXzwTWCKHivCYL Ei7wYnlWOgf7DBYC2E74D/kXU9xAcuniSh5l3+QeoxtcIODCay26KNtgjN8kJD1+0tvpMWlkDnA CCr6P3BUUhym1kfHUyyfEfEsp6hNNv8= X-Authority-Analysis: v=2.4 cv=RoP16imK c=1 sm=1 tr=0 ts=6a9212dc cx=c_pps a=Qgeoaf8Lrialg5Z894R3/Q==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=EUspDBNiAAAA:8 a=WWn8s1WKSOYfKZCqbf8A:9 a=x9snwWr2DeNwDh03kgHS:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 phishscore=0 suspectscore=0 impostorscore=0 malwarescore=0 spamscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958273970158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- include/qemu/target-info-impl.h | 2 ++ include/qemu/target-info.h | 7 +++++++ target-info-def.c | 3 +++ target-info.c | 5 +++++ 4 files changed, 17 insertions(+) diff --git a/include/qemu/target-info-impl.h b/include/qemu/target-info-imp= l.h index dbd7a5a2071..4f6c898c707 100644 --- a/include/qemu/target-info-impl.h +++ b/include/qemu/target-info-impl.h @@ -33,6 +33,8 @@ typedef struct TargetInfo { =20 /* CONFIG_MULTIPROCESS */ bool config_multiprocess; + /* CONFIG_NITRO */ + bool config_nitro; } TargetInfo; =20 /** diff --git a/include/qemu/target-info.h b/include/qemu/target-info.h index 579c43332fb..d775c94d1e3 100644 --- a/include/qemu/target-info.h +++ b/include/qemu/target-info.h @@ -49,6 +49,13 @@ bool target_big_endian(void); */ bool target_config_multiprocess(void); =20 +/** + * target_config_nitro: + * + * Returns true if target defines CONFIG_NITRO. + */ +bool target_config_nitro(void); + /** * target_base_arm: * diff --git a/target-info-def.c b/target-info-def.c index 9d51371f766..96fd1f8c73d 100644 --- a/target-info-def.c +++ b/target-info-def.c @@ -46,6 +46,9 @@ static const TargetInfo target_info_stub =3D { #ifdef CONFIG_MULTIPROCESS .config_multiprocess =3D true, #endif +#ifdef CONFIG_NITRO + .config_nitro =3D true, +#endif }; =20 target_info_init(target_info_stub) diff --git a/target-info.c b/target-info.c index 5db2a6049ac..67127da16fe 100644 --- a/target-info.c +++ b/target-info.c @@ -47,6 +47,11 @@ bool target_config_multiprocess(void) return target_info()->config_multiprocess; } =20 +bool target_config_nitro(void) +{ + return target_info()->config_nitro; +} + bool target_base_arm(void) { switch (target_arch()) { --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958261; cv=none; d=zohomail.com; s=zohoarc; b=jKSHMAhy0Xb/1W/pom2fCV8HLLsRkIs4A1yk84GMi3yhFGvnbk01oY7YZY6bz2W7S0Gt4YFipk10xmsNRVCV0AmjATesLaxBbmCli/pvlWRGnn4Fe0g9ospMuVJK1rv3syUe//4eO2PfKfldrypDVx7kVQTZRJHaNiiH95kemYE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958261; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=U5rPY8rQ2e9osSpbvf4I1bpIoJ6IhrwYY3j4mcamjD4=; b=JmAM+xIQWDw2qHJFQSUKk30I8UBUR9fD/9Z5csrjNBCg/u9hlireI1p4rIAdPis/pAkcTGLTC0HCxJSwzD/XBSLliuy0sdMrNdjqwYBUgwitl/24v5TGECcLpVs2rA1eEuQegVK6MkUY4kc3ojc6/5Zsym4jH6+3GDvtRObwlMo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958261071940.6603345294787; Fri, 28 Aug 2026 16:04:21 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YN-0000rm-Hd; Fri, 28 Aug 2026 19:00:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YB-0000e6-4z for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:55 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Y9-0005mA-8M for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:54 -0400 Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTn0J3666826 for ; Fri, 28 Aug 2026 22:59:41 GMT Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb3mubswu-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:41 +0000 (GMT) Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-cc18ced1a5aso3215309a12.1 for ; Fri, 28 Aug 2026 15:59:41 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=U5rPY8rQ2e9 osSpbvf4I1bpIoJ6IhrwYY3j4mcamjD4=; b=mEudVmm2GU7lTDjW30xfaR41RgY i4BAYDSMQCG7mE4qrBfSOMPQDGXXXKijJjWALzdyhdamnNib78F7i4dIWpcxBVSA QfglefsDonJ3h+XwnEztsqV79RANybDpgFTD1GWKl30P5hjH9UsPWI7oWuyz6ptD sD7gN14Kc9YweAds9N1uERJ/2CIqhX3IqWy2BsgiTvemfjzWgmMdVQkcAyLHZzdB AA+x5jvNzYkgbgBwUMpIZEha9XRW0YZX4mk+Zh/VBUJntf+ikE5KM2z/aMfXiARK zZRGzj4EVQeHygmAENJanL3/dljgEuxl14ys4XOWJhjsPZnYYKR5XKv086A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957981; x=1788562781; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=U5rPY8rQ2e9osSpbvf4I1bpIoJ6IhrwYY3j4mcamjD4=; b=GwbZvJq4j8rKJ+8MFDxFdhHDlhzNHLUeaOBu6Cx2/QqFRVxe0gofHYIuy3IM3goZtM boe44moAh8SOXUHguMBLCiPF2eQc1Wh7SO0xX4oYhhXHFBz6blyMPu/P8oh2jXEooS1s +ZdSaG96fKbekjX5UZxDon0Ao31PSlUy83429YOMHvtuTCDPQACXPklfFKnTvaUGKwcF LHxPhnHlL3XCDChcFryCROfv3ajDYirghd1D3boHoa9XcEAoiF1WkRE36EoFha9ughYc X56ox6Nlp1Da5OaLjLGci4P5jOWC3JfLzC9TyK85bpuTD7yCxZtWRI/1A8KsK/nRuIX0 Zdng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957981; x=1788562781; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=U5rPY8rQ2e9osSpbvf4I1bpIoJ6IhrwYY3j4mcamjD4=; b=MlV4egv/c4zGdVnPxXuQChUmPRVSVioau0spyNiC3p8Kmn3wyFkdaC3GPCgcGdhDoH B6hBqWihca5CNUGFqcUQNi0vtMd75/sbaNmULS6+L5tJdDZWdwjDvcY6ngUkzzBYwhVC KsQVQZ62B+1mdtwzZOM2ByHeBEgCVpzyGOKJ3JtV84RjufhOjkWPmM+6uMkuihlzC54z Bd6QvojE57M/Zda4Wf52gWYw/c8htaNW3sFanJWSX/OyWBnU9s3xjux5lx3mWNW1EOT7 sNMRRy5St1xqpxZbx3JmczvdCTNz4lGNr/ZgbvSAtHp2pZ+6tH72+21zqwY3BWsm5iUf 8bdw== X-Gm-Message-State: AFuF++mY8W35OZvCBe3KbGN7XHLkOrapf/qEBnckkLII9d/Yjumj7EgA Qa/v6TjaE2o0RaLf/0CdrDJn4+xdxrTkZJBUD/RB2ZWL3/R+z7+Zj0Gt8iyG/T1JduwGNxqmLdO 6ChRBeik79irWm9v2WNEBax3oWsDTt4RzyE5k8Or12aLNgCWfoMlt1LthalvaTcSiTg== X-Gm-Gg: AR+sD10hekJm5YRUkI7AKU15Moyd6cFGK1QX6jO0ZMD9S3WntatN513hoaYvt8pngak U84u4yc2khMI9Xn8Gj8UlUgXd1RmbLB6Hyg7+tuOeY1u2vqC+H+yE3SLhJVWdm3S3ZyWL5qALcV lCq4jiqJWA7YOhOz510tC5WKAwNcb9BljSL99oS5fDHXUzW6swu6XtduO2AtcQkQbNEntTJvF0K JZ3JQv7yzYPJgfZhR+jWRsDxbZjzW1ftQnhrIniS1dfkzmjzYKAg8kXrdzAPby2Qcrfum2RtKO8 Nc8s5kudPqbVaYtwk5nzSXHfqRmE6GlIq2AJVuOxJH6DNgBqb5xVF7u9qshMx1f+Tli9bORFSx8 uB5QRxnXw9crVAe+tRCo9EzMG0It7WOYx0RqWAEgZnvfjS6TuEA1Y4inNRs8= X-Received: by 2002:a05:6a20:a123:b0:3d0:d0ed:f141 with SMTP id adf61e73a8af0-3d265329781mr20073811637.2.1787957981187; Fri, 28 Aug 2026 15:59:41 -0700 (PDT) X-Received: by 2002:a05:6a20:a123:b0:3d0:d0ed:f141 with SMTP id adf61e73a8af0-3d265329781mr20073756637.2.1787957980793; Fri, 28 Aug 2026 15:59:40 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 26/47] hw/nitro/machine: filter from CONFIG_NITRO Date: Fri, 28 Aug 2026 22:58:40 +0000 Message-ID: <20260828225901.367438-27-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=ZbMt8MVA c=1 sm=1 tr=0 ts=6a9212dd cx=c_pps a=oF/VQ+ItUULfLr/lQ2/icg==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=EUspDBNiAAAA:8 a=SKPTe5smvNDSqZm5GXQA:9 a=3WC7DwWrALyhR5TkjVHa:22 X-Proofpoint-ORIG-GUID: TZooGfyhyBYoAFvSLn4K_hy5cGGgSj2Q X-Proofpoint-GUID: TZooGfyhyBYoAFvSLn4K_hy5cGGgSj2Q X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX7qmMRkIjZ/8Z B9MSCKiN4fPQZKpp06YMOTuCaY/MDtRcvxDXWz6DKG/dewoLK/VYr4zpJx6WDoCOv6AEV0ULifC 72+7DMBuGNCF2q+cVomkKVhDCbwWjUE= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX36C41gc34Pbm k7gEX6btdZvtX3dG1biN7VfsFxqh0HrsLb6W7asMGPwHKOO1hBMz41DuZsAh775lyowHYi0245k s0rXE3y6RVk0vgxu5RpEZwUv1juduNypzQgFq8q2yghHGn9er5y7sG+KebvQQpd5QiLDa5zE/78 cujhP0NJxd/87pR70dmupYtlnxEuVUVeLK8X3cwVmyCOdY1qn3wfFirwnSr6LjM5gsxa/+KpBzq 8nxf6uvJZFg2t4TJEm0al1UJAwApvJZAcYwns/PWDWVBytaRtPlICf9Wf66R/tQwh++oVxlkEAn 54Dm3HVAa6UwohfmhnuE98tbB75rGpE//JuYI1rvC/7alPJGXi6zabVl808ZBKXAkqQ08pQJ+Ar CB3HkltbdcNuB9EttUmVenv6Nt06OBzzManurts8N2ka0v4CErQCffTlv1ApzcrYoGHW19YDBDl 1Yd5bpTkXZnMieGZFkg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 bulkscore=0 adultscore=0 malwarescore=0 suspectscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958261916158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- hw/nitro/machine.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/nitro/machine.c b/hw/nitro/machine.c index 88d01960a01..e3c8f097661 100644 --- a/hw/nitro/machine.c +++ b/hw/nitro/machine.c @@ -261,6 +261,7 @@ static const TypeInfo nitro_machine_info =3D { .parent =3D TYPE_MACHINE, .instance_size =3D sizeof(NitroMachineState), .class_init =3D nitro_machine_class_init, + .is_available =3D target_config_nitro, }; =20 static void nitro_machine_register(void) --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958157; cv=none; d=zohomail.com; s=zohoarc; b=Mo6LSexrdnQtQKoKZ1eI2yINDaygI2jjogTMay5K6BE1kQXkET1m4lahEtK4O3mFH4gCsX8RvO14R7xH7q2wIZtnNBAUh5HEVD0af5gpWbghQCClFYYm4d42sQB4RVhLEIi3Hn6WAyC/uo188QfivVcrN2ltOJ5xU/bTuw6espc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958157; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=MPke/FrRqqvjoPk4kAXg27sB+UyqhKwA4oS7m5OSx8E=; b=I3CKr6MbLrp3gMipb2CqEGc0q1Ma3lo7V/TEiwpeekfQWpcJte7hVz245E61ZiSbxBGWJsN/ZK21rxvezau090YYiz91GVcoGEj2xN8HiP2x8MssbeGXcmACNCkg1fhJJdf4Gmrbcle4GfOeYTYnwl3Gv+R8LBYH7J5p7tCGlbg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958157287992.1863248689659; Fri, 28 Aug 2026 16:02:37 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YP-00015D-FV; Fri, 28 Aug 2026 19:00:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YC-0000ex-H0 for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:57 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YA-0005mL-Nd for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:56 -0400 Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMUQmi3188763 for ; Fri, 28 Aug 2026 22:59:43 GMT Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbag9t2rs-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:43 +0000 (GMT) Received: by mail-pg1-f198.google.com with SMTP id 41be03b00d2f7-cc11b5dd54dso3258829a12.3 for ; Fri, 28 Aug 2026 15:59:43 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=MPke/FrRqqv joPk4kAXg27sB+UyqhKwA4oS7m5OSx8E=; b=ke3jaN90r4OECPlZzpggTRc92gd taPrPK/ED7GXuglmcOMVMmFxSmY7v3cX1twT57UNtSz5BvLU9ZNCBZDu9Tqo6q0v eYtaR7uuSMQdD3ycZQhwRBVLQ3BVb0YqnOyWm36zHip11J7NMecqQ81KeGtvfvUu XfFnb3mofxw7IeAsOmv3J9P+UG+bKYuTBftnjdPxohLUdXxrp+NAXC/6oHvEh/sq awq8gGURFP523E/5IDM3jM90CfJWLftioW8iIRllvX0YQ8qb9iWvEyjBWkJp7ICn oodAZvcEeT0xgsmHJUoI6sBCcZN9vMYSXLO49exsQxoCYYoXkt4AnmgApLQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957982; x=1788562782; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=MPke/FrRqqvjoPk4kAXg27sB+UyqhKwA4oS7m5OSx8E=; b=QNorCUNpFDD9JWv01+EpkN4VewLcQ159nENImc8FansSlkeq1NxvBd0kDN/8izEOVW xh2tm6pDP2lv4uUfLmzVLJPr/mcAiUq+ZsI3KdOlEPIEhrTn5Jum+jZQmoisyqdenNpN wxHVonWUJH8k3HSHKhzer7F+mOWZlyKcnIOJOLsnKAZvMMzxcHvxMGKIeBMhbhOnchJv 5ShP1NyDekMOJwVQiAwzDEq2rfqwUyYCFYri/0rnYciQI4mpumZiUc/2shp8yR0xxV1I zKdCYWcJCIs+Ui3kf5ge5DnmBsW5L9k/wnmr1gXo0kRmC+V34MxpgrJr54FpmE/LUtZM ABqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957982; x=1788562782; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=MPke/FrRqqvjoPk4kAXg27sB+UyqhKwA4oS7m5OSx8E=; b=oKQNczPBCQcM8tAEqo+yLucGwoCOaZkg0i8Zvd3ZxDpbkRoGO7HiOXwaBGLTSva4nh ET5np5aQSHRc6mM2YK8ZVw6sxxyS+OjgHKQPal0EoC4TqZTN2WsHUM5prjt+sDLUOOau 9i/A2DnBRu1BeqHFecssWqtJKFUwNn8nppUFFfkd9Qtr4CjLJV/7ixxsdnqASrkARA+O zm+mQVnu3jnFYAOb09mjWWsdpHFHT5yJFuK3Jt8Mrw6eK50/sGd9ZJxUICcElQlFHC5v ps/Nr6kiiPAlsXd1O21FQ1h0ARcPSLdjQQio0Xt6dpM99yeZq/m1Aou29CuayzaBRbgv /hXg== X-Gm-Message-State: AFuF++nA2iY7d1GT7OoY6F7MtrtciBPHpcWwnbgGx0Gg2spachapl4bO Po3W2kwnC/u5di3GSt6H3S5URHrM6XVH+WaZx/ZFaEVkroxhk6sK960iaLAO6keHMTXx7FHwAKY cXqO1X4SURogOVAu5/i3N4u5A3LARSwWysNWsCjPxXLgLEcEXqCIv5nLhS0Sb2kFoEg== X-Gm-Gg: AR+sD11K5hiQ4JgB/fvN/GmP5EcdKxAVoDUqSWd+x5jgRV1rRlk1o0NFDmYBwPC8BQc afTrET+XPKvcaktl6pcJEZO01lTV1MvVw54k6MLcmeS67UkNXcRttP3/YdjvOYIfotY/fOP6aEK HGlmtSDRmb1sVh6enHzngRpp3fXcx5nLxZH90x6ilFLpTskYLdRRMaWHSropcdjvDJQnVczpJ4S 7CNMHgjqMQohMFR84hOmRw1CDR6ZsRjtJ/I41Bqk7frSpGQS7tp6Z0rgsx9mUKsNZ52iOiR2ow7 5KH1fsVC/Pa9vTNlAm0PUflJiuvFwY+70eFa9V9PzPcfnK5W+oqLuyhWzhI4zKkOm8Nl9LYhKt3 6Ho7hqDjvRVJmXa1R0EUutp9BPZVp37lyGW9sWdiV0hUaULm8lzHrK/2QtbY= X-Received: by 2002:a05:6a20:2d22:b0:3c4:396d:4a6c with SMTP id adf61e73a8af0-3d265a33636mr22384903637.5.1787957982405; Fri, 28 Aug 2026 15:59:42 -0700 (PDT) X-Received: by 2002:a05:6a20:2d22:b0:3c4:396d:4a6c with SMTP id adf61e73a8af0-3d265a33636mr22384846637.5.1787957981987; Fri, 28 Aug 2026 15:59:41 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 27/47] hw/arm: filter aarch64 only machines Date: Fri, 28 Aug 2026 22:58:41 +0000 Message-ID: <20260828225901.367438-28-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=UalhjqSN c=1 sm=1 tr=0 ts=6a9212df cx=c_pps a=Qgeoaf8Lrialg5Z894R3/Q==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=EUspDBNiAAAA:8 a=a9BU0SSPyKAHbAg0NpwA:9 a=x9snwWr2DeNwDh03kgHS:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX0rXy91u7QQ9L VnFIfzxbTRevXTX7LfZYe7lBxiuzy27h3gkR+Kg6/+Cha2Rald9QOkukNCUBqAVYBKIds8rGgl7 RZxsq8B4p8W+2cpe+dNIFgJ53rBb6rQ= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX1TVEpdHdZziV 65cCkrJkvGIfph5/Us82x6jgxo8WETGhYAuEipWdQIcHGTSzTaPPvpISLPGPYfrEmdT6oqWLpZD YSkZwavFGX9h0HyyH4odpaElHBzvFZA8DbI6T1+wmPpYRzXbIzA8IFYZiKmyRl69lL11y4TUR8E 4IAb8G6WiVjvss8VA4qiz+IHyruZ+X6wNHyfCPyDSKITt1areNMZWC8x1lUqPSpdWCx8YbtWB8O wjRTNVMdGODJgpQoTspLO5dZD6OGURUfFBE2Fv65GYGf1EuX+EQ8X9PjaHUrohE0rJn2bm9+OMD gVsywzKaDN4AYacpgvIS/ZpM/t4rPTrGs8VYO3ipWi6W9jpR3ppzjHZMMTi+eeqU7hqWUct55Xl jJhxbYozDOuOcINFh/TRZsbk4vakM9etAqOseD5WgOZfdvNFabzD1TeiXlhhr5Z6+1Cp7lRdORP ZjFjN87OiRtdjHWa6Dg== X-Proofpoint-ORIG-GUID: 1iDTTYExGQ925Kzq9ia52GLjgOKBZBok X-Proofpoint-GUID: 1iDTTYExGQ925Kzq9ia52GLjgOKBZBok X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 bulkscore=0 clxscore=1015 adultscore=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 phishscore=0 impostorscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958159834154100 Content-Type: text/plain; charset="utf-8" We know have all the machines correctly filtered when mixing arm and aarch64 targets. Signed-off-by: Pierrick Bouvier --- hw/arm/ax3000-evk.c | 1 + hw/arm/imx8mm-evk.c | 18 ++++++++++++++---- hw/arm/imx8mp-evk.c | 1 + hw/arm/npcm8xx_boards.c | 1 + hw/arm/sbsa-ref.c | 1 + hw/arm/xlnx-versal-virt.c | 2 ++ hw/arm/xlnx-zcu102.c | 1 + 7 files changed, 21 insertions(+), 4 deletions(-) diff --git a/hw/arm/ax3000-evk.c b/hw/arm/ax3000-evk.c index a1708488710..191610fc075 100644 --- a/hw/arm/ax3000-evk.c +++ b/hw/arm/ax3000-evk.c @@ -21,6 +21,7 @@ static const TypeInfo ax3000_evk_types[] =3D { .name =3D MACHINE_TYPE_NAME("axiado-scm3003"), .parent =3D TYPE_AX3000_MACHINE, .class_init =3D axiado_scm3003_class_init, + .is_available =3D target_aarch64, } }; =20 diff --git a/hw/arm/imx8mm-evk.c b/hw/arm/imx8mm-evk.c index 8a5737502fd..d1f8c8ee215 100644 --- a/hw/arm/imx8mm-evk.c +++ b/hw/arm/imx8mm-evk.c @@ -122,8 +122,10 @@ static const char *imx8mm_evk_get_default_cpu_type(con= st MachineState *ms) return ARM_CPU_TYPE_NAME("cortex-a53"); } =20 -static void imx8mm_evk_machine_init(MachineClass *mc) +static void imx8mm_evk_machine_class_init(ObjectClass *oc, const void *dat= a) { + MachineClass *mc =3D MACHINE_CLASS(oc); + mc->desc =3D "NXP i.MX 8MM EVK Board"; mc->init =3D imx8mm_evk_init; mc->max_cpus =3D FSL_IMX8MM_NUM_CPUS; @@ -133,6 +135,14 @@ static void imx8mm_evk_machine_init(MachineClass *mc) mc->get_default_cpu_type =3D imx8mm_evk_get_default_cpu_type; } =20 -DEFINE_MACHINE_EXTENDED("imx8mm-evk", MACHINE, Imx8mmEvkMachineState, - imx8mm_evk_machine_init, false, - NULL) +static const TypeInfo imx8mm_evk_machine_types[] =3D { + { + .name =3D TYPE_IMX8MM_EVK_MACHINE, + .parent =3D TYPE_MACHINE, + .class_init =3D imx8mm_evk_machine_class_init, + .instance_size =3D sizeof(Imx8mmEvkMachineState), + .is_available =3D target_aarch64, + }, +}; + +DEFINE_TYPES(imx8mm_evk_machine_types) diff --git a/hw/arm/imx8mp-evk.c b/hw/arm/imx8mp-evk.c index 3f376f86d91..a16243a1e4a 100644 --- a/hw/arm/imx8mp-evk.c +++ b/hw/arm/imx8mp-evk.c @@ -161,6 +161,7 @@ static const TypeInfo imx8mp_evk_machine_types[] =3D { .class_init =3D imx8mp_evk_machine_class_init, .instance_init =3D imx8mp_evk_machine_init, .instance_size =3D sizeof(FslImx8mpEvkState), + .is_available =3D target_aarch64, }, }; =20 diff --git a/hw/arm/npcm8xx_boards.c b/hw/arm/npcm8xx_boards.c index 4b3af165034..ca12ba2d6cb 100644 --- a/hw/arm/npcm8xx_boards.c +++ b/hw/arm/npcm8xx_boards.c @@ -248,6 +248,7 @@ static const TypeInfo npcm8xx_machine_types[] =3D { .name =3D MACHINE_TYPE_NAME("npcm845-evb"), .parent =3D TYPE_NPCM8XX_MACHINE, .class_init =3D npcm845_evb_machine_class_init, + .is_available =3D target_aarch64, }, }; =20 diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c index 158b461eb48..e7e1f93e367 100644 --- a/hw/arm/sbsa-ref.c +++ b/hw/arm/sbsa-ref.c @@ -945,6 +945,7 @@ static const TypeInfo sbsa_ref_info =3D { .instance_finalize =3D sbsa_ref_instance_finalize, .class_init =3D sbsa_ref_class_init, .instance_size =3D sizeof(SBSAMachineState), + .is_available =3D target_aarch64, }; =20 static void sbsa_ref_machine_init(void) diff --git a/hw/arm/xlnx-versal-virt.c b/hw/arm/xlnx-versal-virt.c index 4018f2bf7d1..02fe4794a5e 100644 --- a/hw/arm/xlnx-versal-virt.c +++ b/hw/arm/xlnx-versal-virt.c @@ -401,12 +401,14 @@ static const TypeInfo versal_virt_machine_init_typein= fo =3D { .name =3D TYPE_XLNX_VERSAL_VIRT_MACHINE, .parent =3D TYPE_XLNX_VERSAL_VIRT_BASE_MACHINE, .class_init =3D versal_virt_machine_class_init, + .is_available =3D target_aarch64, }; =20 static const TypeInfo versal2_virt_machine_init_typeinfo =3D { .name =3D TYPE_XLNX_VERSAL2_VIRT_MACHINE, .parent =3D TYPE_XLNX_VERSAL_VIRT_BASE_MACHINE, .class_init =3D versal2_virt_machine_class_init, + .is_available =3D target_aarch64, }; =20 static void versal_virt_machine_init_register_types(void) diff --git a/hw/arm/xlnx-zcu102.c b/hw/arm/xlnx-zcu102.c index bb596218540..04903b59e2b 100644 --- a/hw/arm/xlnx-zcu102.c +++ b/hw/arm/xlnx-zcu102.c @@ -302,6 +302,7 @@ static const TypeInfo xlnx_zcu102_machine_init_typeinfo= =3D { .class_init =3D xlnx_zcu102_machine_class_init, .instance_init =3D xlnx_zcu102_machine_instance_init, .instance_size =3D sizeof(XlnxZCU102), + .is_available =3D target_aarch64, }; =20 static void xlnx_zcu102_machine_init_register_types(void) --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958195; cv=none; d=zohomail.com; s=zohoarc; b=Ia7FE06z9eH9+If/Gp43d1UC9QIVdqcnTdxNALIrTayE+xuuza6Gxh+frizHQBkcKT0Q6OKiJjMJevrpNxt3S1CSWEeUjr03z/iIzlcZM62jfgXPm9dZPk0xDp6zGMf8Tz9mCHzbtZY7VQA1mogRrnRwBdiXbv8I0qe82RYaXsM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958195; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=wls98yMWpMia7sv8dZIcd0gN2kib0AC6hRDwMkJ0sHg=; b=OZLHRQSlTV7OZyl6PKQbdgj/9t2zVbc6EY2/p+wQTDlrcG8Qq8DJLuW5TwhcZ3VWBi/3r46o1xyAHEoK1z88aEcTchngEoP/aXxmF7UKIBo6E5SVz5BsQJrL2vYlKYZDgvq+7PL5LSsQ0CohIyb53auT7o/VRT/4Um9VMSQgX94= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958195276134.43889463479798; Fri, 28 Aug 2026 16:03:15 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05Y6-0000Vr-Di; Fri, 28 Aug 2026 18:59:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Y2-0000U6-VH for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:47 -0400 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Y1-0005mP-DP for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:46 -0400 Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTSqw015055 for ; Fri, 28 Aug 2026 22:59:44 GMT Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbgvfgf4k-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:44 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2d7443e0f0bso26393185ad.1 for ; Fri, 28 Aug 2026 15:59:44 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=wls98yMWpMi a7sv8dZIcd0gN2kib0AC6hRDwMkJ0sHg=; b=b+Ivc85xCbIeP604Ksx0UE0FAnI a6LuGOU9ScS/d5j8q9dkP0fT1wMjhJ8tBdJurSa4Lo/onowmsBd+Yg4wXSYjuAHW jWbw02/H4C8V8bWlWCB/NIw1XoooRbpczuCu8PukzILe9ESYhIVZ0coYkbPH7uRE 4eHkHFQUkf2qdC/kWHqBQty4MUzxgXMz6mB1lzFmM1r8b9Oet6L2qgPzyUA45umx tc9ASos/xal7CRJfTgEhTriH4KrJwhtWe6Fo91CtMc2NmaKq1Z7E3vc5eqKXqY0d F35k/Z7Iifr5jBbjOdkimNNDOaSt6+WOKe46rTl7HWKKPsEtepxp8I8Pvwg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957983; x=1788562783; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=wls98yMWpMia7sv8dZIcd0gN2kib0AC6hRDwMkJ0sHg=; b=aUhOneNZb13XLHFmXeEC9MXZPwWA9xuWLPI4ID/XzhEdzqbmIomldtTqJQYnUSD6Yj OTUoRGheCEy4jewiSvGPAX14k0Xw+6JHB7hxfbk5FvA1fCngS9vjXLQRNsWY33+SMUID V5FDut9nfdS5z2LCUUvyPWWjE3eTVxsCZo2lEeqCwXpC8Ilk2tQt6ZG0HoGvQM/Na7gQ NxhK1RPxjiEcV/tegdEaY0v2E3AUwRx5FnjA5vNm3JigZq1GEKRljNuD3E08Lx8C80rb pu4f56RpQZoalMr2I8K3tEX5aY1QehJdhCXWfNlV6PAf9RwSNTRtcHA7a8I5sqFnC45c jgcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957983; x=1788562783; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=wls98yMWpMia7sv8dZIcd0gN2kib0AC6hRDwMkJ0sHg=; b=FT+wCMEPEB0wupZXsKMB9q8p9KubJ8o7csKqDp7tuMqbxSONpz3wzwUiCHWaCeDrhE 4zLAbrrLlMOFLGzYwcF851IvNLVpeSKAW3halFHJH+IlRpsR4zYj5gdi479C1Wi5SSoo Yjo0StEFS85o0pD9pqzpii8ZC1VpoQ/+m6/W7nmV322DrL4E2otn8lJftWyWeijrLpy+ f7mQzbKmJRcol9ScsV1XRMIGNH2RbuUqdrXyB87yN1meaU3DcpcGNXmDQBwVKEvyZkEd 9/0VsKglHoU9u+mM62qrsO/mrnNjzMSDlSsEtlr0eZQ7EXE7kbsExozU3gSebqhBrWmj hQNg== X-Gm-Message-State: AFuF++mUg3IXzyHffY3UHlt/xz5xCNfzauYO7uMpYzc2WQEqxY1nGDrp cZiyq9vOIgqtjlYI1GXAOt3Nnn+Vjf5FQveGvCOobaFPrYXEq8G7OJRy19UpYwbvHqqP9pZz+WP 2TN5Tx75JHYCMuyxGFFsJoWEJDr++5/llVAmJJ/6TVJSxyvniMY3xJ3ilEaP3A9SY/A== X-Gm-Gg: AYBFou0NCCoUJrbun7Q5jS8atK+IkKO2Wt7tROVSkFi/QsB26ySXXekMeUheYS2bkjn vS4pAwLoD1XpwRp7vkXqnT6OZLU/VrnEzvV9K94vNvt2DX34oCIfS/iw75VY8SRT63eqonWp4+5 aeqkJWzumMWs2ZRFYPdYkgtwpq1WPbmRImnVoF9DGy2tL0Y1LIz1lXwJN3AQu/xu7C5Uv+6kr2U YfiKvthjCQdYk1SQp38c9PHgQ5nlJVpJ0Lnz0wYeZZgpdvrWeCFMa3UxhM+8a5IhJopqx3tJWFc JOn1EYCQQ/+gauXivDLkgcnFjAzxxLK3dlAFmLzylqoEZ/W9w/GjeMYIC2MJKwrVQccS7IgdxOb Vjafs+3i5dXbKFigW7Ui5zfCSl4lNu03juZsbvXHOEwVWQHrYxkY+YWqxXb0= X-Received: by 2002:a17:90b:2e4b:b0:393:19a3:4f1 with SMTP id 98e67ed59e1d1-396d0d7b9bdmr18476299a91.6.1787957983553; Fri, 28 Aug 2026 15:59:43 -0700 (PDT) X-Received: by 2002:a17:90b:2e4b:b0:393:19a3:4f1 with SMTP id 98e67ed59e1d1-396d0d7b9bdmr18476270a91.6.1787957983170; Fri, 28 Aug 2026 15:59:43 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 28/47] target-info: add target_config_dpcd Date: Fri, 28 Aug 2026 22:58:42 +0000 Message-ID: <20260828225901.367438-29-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX71/7M+QM3AsD D4CEP26LpKZz/O+2T0tg0wYm4kOPxtjU4pF8SMCDbzW/8JaY1B4LaK4Sac7rHvqX3s/SBDTQ6zC hVdMwWnh2+IusNI54Awl+rObNPVrJUQfHNFouQFGpOUzBH8doU/29RmI9bj5zo/WdS7Zj+qsRKr n0/XIcw7EN5hkCAeh5QIjZp9vg7fzwWhKFndaBc/Z6zfNWpJzpT0OUeJlDq9Ej5a4PrStwb9stt rc85jCcsyqJ7TdhCN63Wh8wrSah1FttmO27NHMCfI6XOhpL3Nb032jqbSLMjUnTLiTsJOlfLN25 2tbzi0Nn1GD5WIFnO1LZSSg90/VrQC1MyO60IFLdJLywxcHXphMpJaV5zZ84go7KUQWtFYQv9YK KNR5oCFvY4ivt/pWwyh9L+LAb0if5VTqso3mr1wSjwo08K6H/vG0x3FdeOMt2UZxKeQm7xHTf5b jCXQK0gvtjPCyeXMRFQ== X-Proofpoint-ORIG-GUID: loXfy4j0rP6R8Z3hVVBcuibqJcuTYrEW X-Authority-Analysis: v=2.4 cv=UcthjqSN c=1 sm=1 tr=0 ts=6a9212e0 cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=EUspDBNiAAAA:8 a=Ar1EeLoZb0Qve_BY5QEA:9 a=324X-CrmTo6CU4MGRt3R:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXzvC8vY0CcnQE 5EOqdFigrRVZJvNwHXL5Tp1UgY4YiZpIHr/2mk8RBmbEQcpWV2vxs/wCuBs0S24qv0d3gddXjnX xBTlteiHD4La52b3ukHkjOeRVOPT8nY= X-Proofpoint-GUID: loXfy4j0rP6R8Z3hVVBcuibqJcuTYrEW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 spamscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.180.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0b-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958195662158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- include/qemu/target-info-impl.h | 2 ++ include/qemu/target-info.h | 7 +++++++ target-info-def.c | 3 +++ target-info.c | 5 +++++ 4 files changed, 17 insertions(+) diff --git a/include/qemu/target-info-impl.h b/include/qemu/target-info-imp= l.h index 4f6c898c707..045799a771a 100644 --- a/include/qemu/target-info-impl.h +++ b/include/qemu/target-info-impl.h @@ -31,6 +31,8 @@ typedef struct TargetInfo { /* runtime equivalent of TARGET_PAGE_BITS_VARY definition */ bool page_bits_vary; =20 + /* CONFIG_DPCD */ + bool config_dpcd; /* CONFIG_MULTIPROCESS */ bool config_multiprocess; /* CONFIG_NITRO */ diff --git a/include/qemu/target-info.h b/include/qemu/target-info.h index d775c94d1e3..a60751a4ef6 100644 --- a/include/qemu/target-info.h +++ b/include/qemu/target-info.h @@ -42,6 +42,13 @@ const char *target_cpu_type(void); */ bool target_big_endian(void); =20 +/** + * target_config_dpcd: + * + * Returns true if target defines CONFIG_DPCD. + */ +bool target_config_dpcd(void); + /** * target_config_multiprocess: * diff --git a/target-info-def.c b/target-info-def.c index 96fd1f8c73d..543278eb949 100644 --- a/target-info-def.c +++ b/target-info-def.c @@ -43,6 +43,9 @@ static const TargetInfo target_info_stub =3D { .page_bits_vary =3D false, .page_bits_init =3D TARGET_PAGE_BITS, #endif +#ifdef CONFIG_DPCD + .config_dpcd =3D true, +#endif #ifdef CONFIG_MULTIPROCESS .config_multiprocess =3D true, #endif diff --git a/target-info.c b/target-info.c index 67127da16fe..8e9f1823dc0 100644 --- a/target-info.c +++ b/target-info.c @@ -42,6 +42,11 @@ bool target_big_endian(void) return target_endian_mode() =3D=3D ENDIAN_MODE_BIG; } =20 +bool target_config_dpcd(void) +{ + return target_info()->config_dpcd; +} + bool target_config_multiprocess(void) { return target_info()->config_multiprocess; --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958260; cv=none; d=zohomail.com; s=zohoarc; b=bG06pJ21879Luf8sNtKLvlPB/+5dRGp7+uGHAWRQ27PQR24vTkXlcHAJR5HzGOfQOPaVpLOrUrSYyVx+aOwt05DiNmshv0wSmHalQLrXX9AvQGpdHVbd0i5s5o73qFmlavkbJWfoN1Q4Ay76x4tHcvQu4udoL1WTFNOlnxKYMqY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958260; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=QnkpK0vx4bb0HHxbs4uKYPazmmLRmDbX17zayuGppVI=; b=fBsJoq3YpZ+KMnGhRFHbHstpaZ6OkajnDAkTnMY0lheSNxJfhGKEhJnsBRg5s070d4tss61DfIoDTp3av5VGAPXDhET4fxVYHUoZ8Bo4dmc/2pWt60C6IkCuLz47/mFM3iejdwuKX8onq+fMkagNaLNrXbtUZ/LiMkzTCm1DUmw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958260128706.119725536855; Fri, 28 Aug 2026 16:04:20 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YP-00014Y-HX; Fri, 28 Aug 2026 19:00:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YE-0000g4-TG for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:59 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YD-0005ma-3x for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:58 -0400 Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTCBf144962 for ; Fri, 28 Aug 2026 22:59:45 GMT Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb7eh2s3v-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:45 +0000 (GMT) Received: by mail-pg1-f199.google.com with SMTP id 41be03b00d2f7-ca8aee88725so2416701a12.3 for ; Fri, 28 Aug 2026 15:59:45 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=QnkpK0vx4bb 0HHxbs4uKYPazmmLRmDbX17zayuGppVI=; b=J2uQG7m3moMfeOPz6Fnrf5OmhPx fqToc8dtrzgYy/mm19TAUh6NGLBJDiFqoR0Ux/a5YbP2ORJ+wwB1p41J7k24OAcG Ph/wEDmGh51P8loM3v+gA7ASFPpSf6p85WXOMt+OP76kIoq61nYCUmaoJFP5t1sT gvVvRA+rnLFTqmicwZxL/UT9Ss0i0nOUgKkBSxJD5ytbYllVgJQZslaFLkKpXXDW HXddcYkUgZMnhC+dR9cLBwdB6gpXwmjRJ0f0X/+BRs3c/TGXXDPu2PzrBxSa5F0c fpaXrx1ybzMDbndjzK25tboiGR+nsVx7lAKk1GneKFdqYNmApOwTTfMUtMQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957985; x=1788562785; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=QnkpK0vx4bb0HHxbs4uKYPazmmLRmDbX17zayuGppVI=; b=SbzFWA8bWrGl2+VSYbrID5qaMs2zw8oYb5Vs1Eu+8i+v4pYKghvFPAKWuIjcz2+5E0 m0MYS+77Jebu9GHTwZE19fUyOpvQAcIXiG4rwMNLW5zOjEKzPB+u7IO1oW/x1FMKO9xK SnA6S2iX145/EEU4N4spskDU5nitYIowdMPgzYIq70RMcLFG9EI9eO/obW8Y3NAFQ5ky 39KnQUDOlMV5iGv8dTrFKwyMe8uaiTccCFZXdRxR9rsDzxD4V4NR9920gqRUdNFjygbz fJE9Q181+8CzVn4/EQJjzU3atZD2ETjuHML8qKIBXbB8wwWYbgcOf0XoKWzUoPDYOFAL g3nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957985; x=1788562785; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=QnkpK0vx4bb0HHxbs4uKYPazmmLRmDbX17zayuGppVI=; b=bNjfDZP2CzqHjKEcfB4l74rSuzAz66fhsYXWzIegsMsH23ikAEmHA00witVAZSylVN FWng6P/pvy4Zk8nPnu2vCswjOIZAc3kd426Ai7qvCxaTNqEwwoP0UxknHfcbmuxvGbyq 2jmbGpUPbdX3/P4XngoMqzfKAcbb/U1ebcABsg3QgPtoXiJCbe36YGVH3DE4xGdCwkt9 UUso50T52l31lYkECRLPqze+XZOFIb06IN6qJan6b2GXXwe33RP0rUDQn9xEY6jZXP6J g7eaOvYXNt1cceg70LVnjgTmtzeXkNJI/y+Ru/qQujK321hU2JqpHjzg4J2BsJJ5pbAQ 6C3g== X-Gm-Message-State: AFuF++nHsBwWwyd+UyL0gDOcAFK7mtwk0uprr9aZDPPRiKzsq0BNi+6f 3pGdgkZIufuOxuZ0Fn8psMlDNmGI/aDI7akoTL0fx+1VUufAxMEo52HqZxjNe642PP1H1nu+Idz /nUYFPAvN0CFsb0V3G4DAZ1Tbck8Mj2j+xplEcVsgk/61LGT0P54qNspMjWcpVxszvQ== X-Gm-Gg: AR+sD13lkYeIKUPyQv2CwIjxgRAaaltOS8KGeAxHsVlfCn5Sg27NRADJZnbhCCQysKa zo2XHXVvQF/EL7587XIPOCCn36/Lwz1Yy5n/CcG0C6YM1fiHjo+ffwEamR3PGB2KDbkWcR+0dmr 5kLCTxSANGo9THt8ayR/3KCR92Z+aNy3Ac28fyGGbstuNFlbV48iU6fHKpMCqgRJlQuiwc1x6PI uXyZDV2NMKRGcABoSgDfhyfiollUVyFOJdmQ09z2nGFENLVcJZZzf5yV7mWTsKV5gK7hGmYq+ow w0cjB/n7nRYYNLrO1YtIZER3f/hZoWWzkeAictWfSzM3ytgCEh9+FIZ2krGJ2wgmqRk2np6sh6T KgWW5Y+bW6beyxtsunTY+Rz8hXYAJl1jUTshs2a7PI6i2j7KTWr2V4LKtz7Q= X-Received: by 2002:a05:6a20:94c9:b0:3d1:be60:2816 with SMTP id adf61e73a8af0-3d268cf776bmr16625774637.10.1787957984814; Fri, 28 Aug 2026 15:59:44 -0700 (PDT) X-Received: by 2002:a05:6a20:94c9:b0:3d1:be60:2816 with SMTP id adf61e73a8af0-3d268cf776bmr16625729637.10.1787957984402; Fri, 28 Aug 2026 15:59:44 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 29/47] hw/display/dpcd: filter from CONFIG_DPCD Date: Fri, 28 Aug 2026 22:58:43 +0000 Message-ID: <20260828225901.367438-30-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: dyedkWnvOW3okVEijQBk58rUwqHhR6iJ X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX88VdZzQzhaft WIIS/xK1i2yOG50CGStBaUwIDj2ddMxosB3Xz/GoECXw6SKmuhMsTKD9WfbKwv8HL7YsBK2n6XQ 2ZXi5PUdWFiX6otzldKJx1ymuvxpKmGPmID9YkQXv17aZ2r+NcKlXBw5jbOAj/5x0i276YaGS+B qdPGzItN8ZHPVTFY/SVgDV6S5XhCWJFuz7sodcTdPlFNxgQih+D3efB1eO7G8uiZYg58iKHGRpK HZtt907JuIJcnhGzo8bfAAHMONrRsqCmxvYP1r2McUnbhbBLK5TIjDcKBvvHgoQ7AQTQQWs5idf JoNN6m5gJAIAhPOj66Nv/P+e9axCd7KdFmInCU7mw4gXyXk0sYc3L9CDtg6VPxgpexXJvl7sRa3 lpDnmAqdGP+UPFw3UVLE714qnwd6pTdJnPqSMeq9l2o+GAG2FF7t2lBYMfCcG0GTJ9MVhg4NuRc o/FwCBldfAmEgehM7FA== X-Proofpoint-ORIG-GUID: dyedkWnvOW3okVEijQBk58rUwqHhR6iJ X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX5198m53WFv5r xD2rfP4KNAi9QRZTgP4S4SZPyDcql5cBeGHhP4Y2grl81x1ZTr8q6xaTAolTFTfkOR186KdZsYg oEu9u3ZuQL6Blyxvc37pnTx3RTl5EsY= X-Authority-Analysis: v=2.4 cv=RoP16imK c=1 sm=1 tr=0 ts=6a9212e1 cx=c_pps a=Oh5Dbbf/trHjhBongsHeRQ==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=EUspDBNiAAAA:8 a=DpQN1NHFPUbzgAs5xLEA:9 a=_Vgx9l1VpLgwpw_dHYaR:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 phishscore=0 suspectscore=0 impostorscore=0 malwarescore=0 spamscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958261915158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- hw/display/dpcd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/display/dpcd.c b/hw/display/dpcd.c index a157dc64e76..66942e6dd6a 100644 --- a/hw/display/dpcd.c +++ b/hw/display/dpcd.c @@ -155,6 +155,7 @@ static const TypeInfo dpcd_info =3D { .instance_size =3D sizeof(DPCDState), .class_init =3D dpcd_class_init, .instance_init =3D dpcd_init, + .is_available =3D target_config_dpcd, }; =20 static void dpcd_register_types(void) --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958154; cv=none; d=zohomail.com; s=zohoarc; b=d8+CB4dfS9eBllfNHpx+DwV+kIqQ6TK/PPu1QgCp1dmEDRYw9me/4NTzseLenqIMMxBieQJHI/OwTByCKIEMmPOhfvviVWrghQpYuxOFTnaLJT0izVPBizkaDK7phyeuzp0tiNTMg+HA+dtLkNG7HT1n8AMwydYe2mY1fyPAvd4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958154; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=u1OidT2h7bnLOpcy1ivj2IXVBHTzv6v9fwdSK8JDICc=; b=FIGyX7qzTV8Q6NpdH1CGhk/CL4++9LA0LU6ben2JX54iJyxfjqafTgkbqoZdbqxmXBadCfyFjmsfnCp8rZRDwDa7B7Xt+EPJ2CiwZP+x+FRQTixNWJXKZFTJf0xw/AvqvCDiHOm5ZCjGbi34DaLp9dDY8HBdVMa3Tzpd3icabl0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958154393935.5583364360851; Fri, 28 Aug 2026 16:02:34 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YN-0000sP-Pl; Fri, 28 Aug 2026 19:00:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YG-0000h3-HL for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:00:00 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YE-0005mn-Fn for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:59 -0400 Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMT88l144926 for ; Fri, 28 Aug 2026 22:59:46 GMT Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb7eh2s3y-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:46 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-38e54b6556aso1993897a91.2 for ; Fri, 28 Aug 2026 15:59:46 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=u1OidT2h7bn LOpcy1ivj2IXVBHTzv6v9fwdSK8JDICc=; b=Tre/IVNbnaqgIKgndB7DQXPD2cu AoZEQjoW0I4IoosraIAP7d+50rT/ZmDNn23UoOAVa0oZyt3vb4QSsQ+BAFbqGOAU KSsWVYrgjftywR7RWJTlA4M0gubFWC/Fme3UMa4lWRHKVLyKHys8anANJja8Otvj Oc9WvMKXFJBp+af63awDd6nwiZXkXFTZ+J9/dDPxItuT6x1zRU4YGljhr8onJBM5 AE8/TZIoTSwttF423fWko8+BoMjVsrAWSEtGDs6jszCFh+m1NLfR3tpEB/49ESc6 JJgpQvZ/R7jvboJC/zg1z0szSYs2N0nu3s1vrqA63qXOZDdLKFLjtb1x2xQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957986; x=1788562786; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=u1OidT2h7bnLOpcy1ivj2IXVBHTzv6v9fwdSK8JDICc=; b=IQSXBuMNaRcyKVy68Nnmf8UWNGa0QZeaURkzqI6pDqsdSPK5jdqWbC2IZK1F7LH/6V pz5TM7UDbpyHDow37XsxYMGRVGJl7E+0aajjLk5w5sBYjpakBovZWSxynNxCs6I1lb4f BkiGbGYyygh19B5v/ynGepMm0rbFU0BtZ44u3uLnsKyihZu8+213oDoHk9oBAro600a8 Tet3XhZRoMpRKbjohu8vrOHTWdAeHRC6p+9JuN7615kKYlNfl8pTcgZVLbFO5qdtTbrz +djQ/jCzWSvxEuImgOEgxOqIFUJcJGYoM4zVtNTp4dUWbGSh9nP9bXEguDJVz3KFMDVW jfcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957986; x=1788562786; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=u1OidT2h7bnLOpcy1ivj2IXVBHTzv6v9fwdSK8JDICc=; b=XJlzTHUNAbWfOjyfVz6qYIQdiWAFyaQKr6KsKygQZxmIkQnZqyk+Dq/25vgOOSrS1J xwwpnUaaskhel6ACFMPaXdefuEjV3RmfV+deUW8fqwX08bdkd+HxXz8bNqurbLJKli43 8F3MkAGuxCU3LaNaXvU3a6JrUHQp7l95vPvHFiroXpdoJPQDq+i2jZCrKU6zCJXcigZY Vw50/+wBG386FCXp2GolqVfJqiXpyVRlchxI6J7Hnh/a2vXru/cJhnpqTJKLhN4+ps/j Ode1x3Wr6B31f1FPeHqFebFHKgkJj7O4AqGc72Stx28kzxP4wt+FYmIlRJmz/eBclD5O f4jQ== X-Gm-Message-State: AFuF++m1HYp492pmEKnpcKQ8Fp4y2/Bv4ut6vCSiGgOgbW5Ghu2CuvKD 2HooaX+fl9vNLjOMg2HMPQyrazTAWcoWoKPP9O2THgA3fSbe1kGvdyE9/vBULourqyLD0OTpucA jdKdvgqhyhlgOiNdyUWRi7OEQTyYwxGHGKMxkJ47GPYMymwYX3v6Pl8BEwgTQheuKhQ== X-Gm-Gg: AR+sD12z4JOnem7NoDwcU8t+zcseIjL6OgWQQUv5ub7Igq70TFy7Odw+ORjT2retnik auGEiCThRqqiYTgrkoLQz4NAmU2Dn+s8+CqoXtLBNsYNmUL+WLhTq+yRss2oW0EnWvHqxtfSe5P +OaWJfZFLG/ilXy9hbt7zTOQh72ArFE3Iex9SlEWcKlSnj3ZgteHL4UGm8jLR3+lbXfZfXO67ur X04RzHdjkhDmlSOCyqF4xBHK9skcR/YuAfMi34PdDoInrHjNjM2vguNSUpnkX8EeyQ/3FDnLFRJ hWCGNR9oz7OsIyCE7rb5R7pEfFkmSyRt68QcK+Zshi8NhZVy66J4Tn1nkzz6M/kjbUDzL6cLFeW kjYDgiEMaSFeiG5zP7MH8ucdci1TsWSfwjKmoRge2IrhuzplCIKd+/sx4Qb8= X-Received: by 2002:a05:6a20:7488:b0:3c3:bbe6:95de with SMTP id adf61e73a8af0-3d266159a17mr15865181637.6.1787957986020; Fri, 28 Aug 2026 15:59:46 -0700 (PDT) X-Received: by 2002:a05:6a20:7488:b0:3c3:bbe6:95de with SMTP id adf61e73a8af0-3d266159a17mr15865139637.6.1787957985586; Fri, 28 Aug 2026 15:59:45 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 30/47] hw/nitro: filter from CONFIG_NITRO Date: Fri, 28 Aug 2026 22:58:44 +0000 Message-ID: <20260828225901.367438-31-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: _FVq9-5HJ2X1U-Isgc5lQocgVnujj2Rq X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX88gkcOu16Fff g7LD8ucqU723k/x4/HgSpnlvZXwqTny6dLfsuqGcaWT+vv0sdgeNm0mACU6gC7WCBtb2NR8onWb WIEb5S+ptp7Rv2eukvQxEl25N7xP+aFk/PnONIG1I30XJneCTJP4+x3Z+TtCMCDD9a3Zx9WcV8I lSt817RSVqWjY6SPqrV29yF1DJfy1tWUrzF+mrthrNEGNH8eJqR8KjRc1uG6zmsta5GsEiVqzno W6yR61uZxBUoHWD5xfPh9LPf8D7Lq4EFz0PkPwpkLuuXSx33R1EFNjQylp5TcgwlXB1YMTyHNyX o94gHTNaR66lDvi+6ouXx+PUxGlRLzS13U9jR+J/nlBdvq12UIoytb2RNK9Y/NeMJ2n0mIOuhEC WTNUbv9PTA4oNsjtX3TxJSHk45XMfqjjOKXga+8aODInecT5Q3ekDaROtOpCLem45w5YgVk2Wop 7xWbSxNhLLsOINHYLXQ== X-Proofpoint-ORIG-GUID: _FVq9-5HJ2X1U-Isgc5lQocgVnujj2Rq X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX/Y+At75f9M2f i52X8ZJhHw7opH7Mj5yyTdnPDr2tU6KnSwL0pNE3WUetWdj5NnIgI4r2l/3sV5SJJ8kcvNlBWkd 4eF8wyhXx/yrPgHyjVzo33k4iRBBGJc= X-Authority-Analysis: v=2.4 cv=RoP16imK c=1 sm=1 tr=0 ts=6a9212e2 cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=EUspDBNiAAAA:8 a=b7Cdt_Y6EdmMR2nTegkA:9 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 phishscore=0 suspectscore=0 impostorscore=0 malwarescore=0 spamscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958155446158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- hw/nitro/heartbeat.c | 1 + hw/nitro/serial-vsock.c | 1 + 2 files changed, 2 insertions(+) diff --git a/hw/nitro/heartbeat.c b/hw/nitro/heartbeat.c index dc413232667..4f18bde9a68 100644 --- a/hw/nitro/heartbeat.c +++ b/hw/nitro/heartbeat.c @@ -105,6 +105,7 @@ static const TypeInfo nitro_heartbeat_info =3D { .parent =3D TYPE_NITRO_VSOCK_DEVICE, .instance_size =3D sizeof(NitroHeartbeatState), .class_init =3D nitro_heartbeat_class_init, + .is_available =3D target_config_nitro, }; =20 static void nitro_heartbeat_register(void) diff --git a/hw/nitro/serial-vsock.c b/hw/nitro/serial-vsock.c index 1d56c338049..ead27f381a2 100644 --- a/hw/nitro/serial-vsock.c +++ b/hw/nitro/serial-vsock.c @@ -113,6 +113,7 @@ static const TypeInfo nitro_serial_vsock_info =3D { .parent =3D TYPE_NITRO_VSOCK_DEVICE, .instance_size =3D sizeof(NitroSerialVsockState), .class_init =3D nitro_serial_vsock_class_init, + .is_available =3D target_config_nitro, }; =20 static void nitro_serial_vsock_register(void) --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958220; cv=none; d=zohomail.com; s=zohoarc; b=ay9M8Ml2DxLRVAVX3ndQ9BvsGOSuPhtBrnhMXKLqOHZ8I2o67pSAxa1MSOjhIGJLuwQsGEDeAd0zLc0VNaY5HgivisaSvR8yPJAWqJaNQ3AH44Ug00/hEtk9fw7iIQA94J96wHUOi3SZLMrCWUQwKk1VtJ66Sa03b8i0ETe3s0A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958220; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=uD4827XBIuo0NSW6+3ybXY33hV4V4jIzz3ceu3CiJm8=; b=X7jUMkziCOBYrMphE59/SvCDWTHSY0DCCaaPQkrPv7Jjx4wo0ey/3lrszapcweB7aUz49nj01p364AeWAD2O3H5B0TXzdv8Y8st4KOWqXm4jLjNtR8FP+7oneimrfCQqRCLJzP6cmMuw75x3AK8cWIR7kynTTzD6dfWN28wOZCw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958220253847.3453883088644; Fri, 28 Aug 2026 16:03:40 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YM-0000lz-DY; Fri, 28 Aug 2026 19:00:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Y6-0000We-EH for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:50 -0400 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Y4-0005my-Vy for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:50 -0400 Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTPJL4105021 for ; Fri, 28 Aug 2026 22:59:48 GMT Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb3hs3xce-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:48 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-2d54187d8b0so39096245ad.0 for ; Fri, 28 Aug 2026 15:59:47 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=uD4827XBIuo 0NSW6+3ybXY33hV4V4jIzz3ceu3CiJm8=; b=E7+pV5+AlQN2lGwmPa6k3jds+ul hwTA6iu3GePnBWVazEstHMRh50WkJX5FP1Of/K1AEHTA1E6uD3LZgrQa+Jtb6xt7 fsCAKNqf6J31Pt2zweFYhMjB+YeEcvzqd3ER/4BB8c2ImFWTYsyh+PKiE76FnG4a wshUWsthv9dJxcywUjRz4cW/VaYd72rOvqqY4GUtrXSKUnL/Lnw4SFAWRblH5Wzu 9aSwHwLIPS9UV9vTt23Zfx79GVAMU6L3XqWAoOVCBH0O+K2aS7IixhIQS02uub5I jiX6y95Y/IoNSB9fKfD2cleqd3/gs5x8ac3dZcOotr6BeMq8kqWKnorMsfA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957987; x=1788562787; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=uD4827XBIuo0NSW6+3ybXY33hV4V4jIzz3ceu3CiJm8=; b=Rt5UX8hMPGXEI8hJrcbT9onYB87lxBY0OTQm4f7LwqlyEJ6JNOp3M5CES3JrQQ6loH F6qS7pRnhFNpnLNuC7flHh8rfOmY89ZQFqFtj2Crw2PH3Q+txVY03y/uZgf09TlcrB57 eObLO7sd1TFDRGdjPCANAqGm+8By7WeiTHablKXwQcxi0H2rU/sS5YmcEP7k0BeY0369 rNrScGiBjjJP5VNjnkL5U1t0zRAJ1Wd5OJ6dK/VbtA6LvdnkExJ6JjndYdUJ5zhQFVRT rcDlffqP4b0oUfNoaaRGqn7C7iMVTYV+EAo190QN5ff7HVo/vAkov2K4xAecqpXYgEm1 V2bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957987; x=1788562787; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=uD4827XBIuo0NSW6+3ybXY33hV4V4jIzz3ceu3CiJm8=; b=VIvJI6L/bZgZhW7kI5XQh8yUrlwvRNEWOWnL0WrBgdIcrl0Z43DiqtoTc/UXoXNyZu Dyh+tqMy+xC5xHiuPK5T3TndKxAPoFaU0D4wXinDPAo3V82LDpzt1kKLees6s3Mj9Jik MhPjq8bixBxYl0yDGpQklaqUf4j3TarUjtriV0k7iqTuNC59Gq+oKxtMiwqmCcuQGOxg wYvi4uhjmDc5ioWIGNmAdnzhQipM9IBqQbSIrRyxSnzlqxC1EPx3/sbHDt/ee4GWmyMv mma1QT0LU8gLG7r/Erux3nHFuF36/Dr+wAGWl/lNsVeSNRetcJ12x0QYF9+4KHVuVtnq 6NOA== X-Gm-Message-State: AFuF++lyURYbQvysdmYiEMSw7wEPX4hhs6zZfKtFZw8+KhOkU3+gHRCe jbs/KrWfODp8IzED5WKC+f/HBHf30tr3UvKqx0Vx2WKZJq/+UjQASoAQYXhJ67u5nt++CF+QOj8 Je3PicjHMJb8ol8hyxiswB+2Xzh7COoEDP8IaAvdVQsG8YdCHszG8hDaALxKnvLBoyg== X-Gm-Gg: AR+sD11YvDltuzBXGOXeFKxobSlAYZ3jV0LmP1uLBJgvmv4/Uux02pkBIgFmfMNw0gC KyjKyotDCCIz4LZC/nDby7wndIeQLvPm36rY7J1O1Pg6PwznyvjGsJ5GlOtKqqsnFBfHkutBOro xlYJC2bpYoM5Gh7EXVwaYcYaEzP4Fvh/YnSowsQlXJKEcF/B3vlv9w9sFsOjbZdB68lsIeXb+n0 keQV+9ROl5vLbzEOVsAyFA+uUkpFOuCvFe8ReFVk7ZLcCBaQ11w3npHY4TKVfDQ/HyjWZJ95ETv 8YSzHHc0ZXSVXomvpi9+9cq8qtjVNNe/qUxJs6oJHaXrY7TuO9sPOW376ESb3SYmQAQjfCEcg/+ gVfDaxhumT+O36TLnXlycKBrA0Y4hQmkhOnI2c3HWGM5zm4XowVA4y10FB2Y= X-Received: by 2002:a05:6a21:3482:b0:3c3:bbe6:95c7 with SMTP id adf61e73a8af0-3d267f817cfmr22408133637.17.1787957987187; Fri, 28 Aug 2026 15:59:47 -0700 (PDT) X-Received: by 2002:a05:6a21:3482:b0:3c3:bbe6:95c7 with SMTP id adf61e73a8af0-3d267f817cfmr22408088637.17.1787957986802; Fri, 28 Aug 2026 15:59:46 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 31/47] hw/remote/proxy: filter from CONFIG_MULTIPROCESS Date: Fri, 28 Aug 2026 22:58:45 +0000 Message-ID: <20260828225901.367438-32-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=XKYAjwhE c=1 sm=1 tr=0 ts=6a9212e4 cx=c_pps a=cmESyDAEBpBGqyK7t0alAg==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=EUspDBNiAAAA:8 a=97lXeUCQXBHHhISn8AQA:9 a=1OuFwYUASf3TG4hYMiVC:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX5xEUv05Ihd3p pUpu196QASHh9COSdPHZcYq/+XnBDRYagYs93kud5Nb0v6IIE14sQjxdvlg40on6mpYrFEJvjxg jlaFWMdDV8Ikg9fMqmU+tIetLgY1Py2w84sylzD62b4SFBZEIVVZ1JxXRfyJqaicDxUgyU4vIiT pukOVl3R9CEjhErTRwufq9oDTg72l6TXjxD0yZ+6UwogJ1Jb29ooNLjTdW0ichTNWSHdzYlwZIR 9waauwIMqSC71rrEgO2RY9Pq+i/cDLlXRUBBzqd9FDB+Dr+CwaSeNhRZ2NPJAKg+r7Nr6VCKyBl LZula6hZu/78O1e+b02WaNXl4NedmZs7KBIkZJyRN9bZRCl+VViSknM5stUNTIJ5V8LFmLcnHSE ZVNb+9OWSkhEdM+E3GiohjzYPcveynIDVvDBGzbYUzUsJuu3Tonice8ESKM3irBr4Sa98HVyerG KaYXrhFyNpEReHpt9ig== X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX/LjWOByve9aT HPN17Nc3hiQgtpXnBgBpxZ+u6M8wA1L43jfhhykDEiCYIRIWdz0KdZ2rU4eMpMXeAiziOxw57Uo dZn9NmBXgLgz0E1zU8xhECrts3hUKwI= X-Proofpoint-GUID: 93yxNqRJwXFSf9L3O_mlQQgnKm_4_UAv X-Proofpoint-ORIG-GUID: 93yxNqRJwXFSf9L3O_mlQQgnKm_4_UAv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 lowpriorityscore=0 clxscore=1015 priorityscore=1501 bulkscore=0 adultscore=0 phishscore=0 suspectscore=0 impostorscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.180.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0b-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958221738158500 Content-Type: text/plain; charset="utf-8" We now have filtered all devices between arm and aarch64 targets. Signed-off-by: Pierrick Bouvier --- hw/remote/proxy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/remote/proxy.c b/hw/remote/proxy.c index e91566509f3..68df12cd8f5 100644 --- a/hw/remote/proxy.c +++ b/hw/remote/proxy.c @@ -230,6 +230,7 @@ static const TypeInfo pci_proxy_dev_type_info =3D { .parent =3D TYPE_PCI_DEVICE, .instance_size =3D sizeof(PCIProxyDev), .class_init =3D pci_proxy_dev_class_init, + .is_available =3D target_config_multiprocess, .interfaces =3D (const InterfaceInfo[]) { { INTERFACE_CONVENTIONAL_PCI_DEVICE }, { }, --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958254; cv=none; d=zohomail.com; s=zohoarc; b=ni5zGzSa/Xmfm5Myqnnz9VOk7B1UaAoVuuiK6rUG2QCp46GphxcOSC47iG0G9oTp18KSyeXQuUN7ts38Qw3IOr3brA2gLcgveT+8q5dbWSWVkPmJjl1fQdT9i4+hUlNptzZVHkjDk+xsPuNdM+1JIPLRLBlfxtHkmi0n7dYVRaA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958254; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=yA+zVvYMYmIS11ecqLqZUKevDZAwtzLxDa57wEdeW2k=; b=Y4cjgrZiQvEvIGIIAaaXgVI1RqakoA+kzEL628clffW5aVtV3gjmx7MoxFurxZOvFx9cIh7mKI3rLimPWWx58gzB7/9cp2ER7StgvdSM6XM/e4fdsJo6zojLNW/Vi9AytS4sADO+kowzAJYgXij/zzDxZ8wPtyUbDYpac9qh+fs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958254783745.2546517268689; Fri, 28 Aug 2026 16:04:14 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YR-0001HB-Ts; Fri, 28 Aug 2026 19:00:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YI-0000lu-R1 for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:00:04 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YG-0005nM-Pj for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:00:02 -0400 Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMU2DJ1174723 for ; Fri, 28 Aug 2026 22:59:49 GMT Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb8afjk6s-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:49 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-381250979d5so1941538a91.0 for ; Fri, 28 Aug 2026 15:59:49 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=yA+zVvYMYmI S11ecqLqZUKevDZAwtzLxDa57wEdeW2k=; b=HOM34zgjuwsgQQU6fpki2/JMors mKQugpxjqlWzhOPIPl5p5iG1fMaXcgW3NcvutQOlJwEsan+SosYbqP0On/nlZE+y b7stDrgYh1faB10YedBN02n36aBVjDz2fTTQkt4G/JKjHcZYX0cIYxH81tKB29n2 3e790LVOiOUloY8oVM5l+kpRxjRS3I8Gug/Kvk9p5XU3ZWQMdyh9b9XNetFVaLoW VE4UV2nOfXMFBtEIG6oFwbKQgD0c3FLYvO9InIgCyJiK3tqrXPOMd6E0fs8tZMSG Qo3VXKuoAklUjS+a68Hl+Yg5Xr1eUNR7z+XDnDynuU0RFmrHa7NLh4xrU7w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957988; x=1788562788; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=yA+zVvYMYmIS11ecqLqZUKevDZAwtzLxDa57wEdeW2k=; b=XEd+I4kjC9ceIIuo9To9YBKAm4iDLCgSOX956Pbo3RIIsHeDmANTUQn8cshNtt5eir wKlGkB6AJyhIrl5wDH1N93WQJ0iB1MeiKVHcqKqQCiJCDTEtdZ3D7bYB87BVJSMeXUi/ j7qwHMXVtB29rBNv90xIsijvP2OTyQLD9un78Thx/uHVz8gar0tmNihDNQSV6cd56bRT ud7PX4McPaq2vP+fxxyKD4v1fotFocaJZtz5amgSPIzTPywId1x3xjmuCZTTRLNmcIDL VCY4fgWWAmou5LuCdUkYEVK5fXPYP98LFqttP8Iwih/QJLJRPAQGahcpJ8f4bL95d1mk iIsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957988; x=1788562788; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=yA+zVvYMYmIS11ecqLqZUKevDZAwtzLxDa57wEdeW2k=; b=XyNgDrth8xPkIVgThwbClvYdIB5I/nOx3pilzcCsANIRctEh7QHk0Iu14QWga02i5Z Q0qipCK0aIvOUeIj0ufP1Sq4FU/6OeQdCZud4LlmIZbtVayN58npvJ+1KIx9I5A+hD3d fQqrSbhP77Li8Q5jZikUP692yCYQbhcvbp2nkNu4itEVjyFBLfZcrfvq3FpkGgcF8Ca9 bwPOXWbfcD+tjEVbdQHzIfGcDoercT4B+auk6f8l2u0YaTqNu65ikopeYUKCSuSGXRP1 ZAhV1MUAgmDQkNswPP6Ks8kC3OkmsNYd+7q3NYjGhk+FQ2mVJ21n4B9WDL4nFmRriIrg ChEw== X-Gm-Message-State: AFuF++mYuqqbgNqVwiIiUPaYzW8EHhkrXriA4OGwd7FpYdUlYTvXW8iG 9NKKLL5Go/Vfo/8fTJQK+iQVqmjzxFEvmwHusyo/IUULjkOuFBRRfRACROlD1pHoXUENuFGw9KZ Y70DANbDDlloEKp5nnoTWKsrSj+l2o1u1t6C1RkYKkGKXDVgN5b0dndYnaRsImEjRSQ== X-Gm-Gg: AYBFou1ToSs5sNT2pGg/ZRhyWkg1Tm0eAdNFCUv3F511ZjevM3PCXr4tphFRpzlR7+i xNgs0azBygo1JuG50K0LXt0Ys1uT5k2rtB4BmqpQFsXpWPW01GvtfIhmdDqotUKBiianVaj1NTg BA4r64lHoRGPwTsxgUq4+J9bioEEgtKWdrCltC8vp1WKyRMV2iwApIGtLPhW7xO1p8Ir3+Y8+HQ e8FCmyZQBVwn8hiYtiNiQv/RU0ufg5CNyaKzKQNxeeyDwHRcA3zrgpvMN+TlMX2rRxb/S9LXjHy GHHw5aEy3oKakaSpE2FBIbrw2DTPfHZl1IzNtwRaGF62grM3FkBFc0Z+VFRnS34AAH1tCuC5pxN P0zbcMaaVsz5Q3BteyRRjJGnOvdkHMZMn7nA0NsFpujnX81pgm8I+upw7fSs= X-Received: by 2002:a17:90b:4ac4:b0:37f:e1b6:4c7d with SMTP id 98e67ed59e1d1-396d0e20f0bmr16299434a91.6.1787957988501; Fri, 28 Aug 2026 15:59:48 -0700 (PDT) X-Received: by 2002:a17:90b:4ac4:b0:37f:e1b6:4c7d with SMTP id 98e67ed59e1d1-396d0e20f0bmr16299381a91.6.1787957988041; Fri, 28 Aug 2026 15:59:48 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 32/47] target/arm: filter cpus from target Date: Fri, 28 Aug 2026 22:58:46 +0000 Message-ID: <20260828225901.367438-33-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: AERzoXZs8Y2FYj-Q_ZUQViOA6Xq2hUvQ X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX+Aj5W4ueJrz7 aHQ7F7GUwqlEdILntno+sAxng+XtaADVVQ9NxguU94LZXMmj8PDo4eAnkBImFLYU0wXFyAfhb+p ru1G8qAFzLcpxDNmhtcQdjKR2F20H2I= X-Authority-Analysis: v=2.4 cv=IPoyzAvG c=1 sm=1 tr=0 ts=6a9212e5 cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=j3gmtOcTUOW2rAdhTjEA:9 a=rl5im9kqc5Lf4LNbBjHf:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXx+46sOrgk/ep iPa256cucLbjD+s+aE+PtZHQP7su9ShqhfE3sjI1xihg63N/qMrM9ct4fiMvOxBLs8VrfMDkWSd 0BjpJoi0sYhf7RMS2XsV0Ltyq82HikUTT6dao2H2UWQ55p8aikc6vXkhO3CVagD1drkkZQ8E7Pj inIs1cKHys+PIReC0bcH9Id9Tqd2TBkKsnI5nx5fr70U5LAa/i1liTpEbMb1SihzuaNXtfLpDub SVFjw4YDw35mI8UEptUMIrKwnR3GxB8Bh9cZ7uPiBjLcGo0/C64s//ewY2fOFKIpaYlbUam6zXo Gn8/g90aDRjy+6psb2RP2e3zHZXuZgploDZjslW44VGzvLLdHkcOFIwcn2Hajyl5IwK8EVeIapx 90ZOtsBIR2WupHU1dOYDN7nGaMKwSRgmqei4tkLCRrqAVJ27YFkdGSV1qDh0t0zdWqZnV2/IMtM Fkqe/+1XXRBCggIzMSw== X-Proofpoint-ORIG-GUID: AERzoXZs8Y2FYj-Q_ZUQViOA6Xq2hUvQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 bulkscore=0 phishscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 clxscore=1015 adultscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958257217154100 Content-Type: text/plain; charset="utf-8" We add a new callback to arm_cpu_register, that will be used for .is_available field in matching TypeInfo. With this change, we now have filtered all cpus/machines/devices between arm and aarch64 targets. Signed-off-by: Pierrick Bouvier --- target/arm/cpu-max.c | 2 +- target/arm/cpu.c | 3 ++- target/arm/cpu64.c | 2 +- target/arm/internals.h | 2 +- target/arm/tcg/cpu-max-v8.c | 2 +- target/arm/tcg/cpu-v7m.c | 2 +- target/arm/tcg/cpu32.c | 2 +- target/arm/tcg/cpu64.c | 2 +- 8 files changed, 9 insertions(+), 8 deletions(-) diff --git a/target/arm/cpu-max.c b/target/arm/cpu-max.c index 739500a04fc..d55e711acec 100644 --- a/target/arm/cpu-max.c +++ b/target/arm/cpu-max.c @@ -127,7 +127,7 @@ static const ARMCPUInfo arm_max_cpu =3D { =20 static void arm_max_cpu_register_types(void) { - arm_cpu_register(&arm_max_cpu); + arm_cpu_register(&arm_max_cpu, target_base_arm); } =20 type_init(arm_max_cpu_register_types) diff --git a/target/arm/cpu.c b/target/arm/cpu.c index 77aa78f00e2..e062456526c 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -2670,13 +2670,14 @@ static void cpu_register_class_init(ObjectClass *oc= , const void *data) } } =20 -void arm_cpu_register(const ARMCPUInfo *info) +void arm_cpu_register(const ARMCPUInfo *info, bool (*is_available)(void)) { TypeInfo type_info =3D { .parent =3D TYPE_ARM_CPU, .instance_init =3D arm_cpu_instance_init, .class_init =3D info->class_init ?: cpu_register_class_init, .class_data =3D info, + .is_available =3D is_available, }; =20 type_info.name =3D g_strdup_printf("%s-" TYPE_ARM_CPU, info->name); diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index 4e8c4725308..e55275d9661 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -832,7 +832,7 @@ static void aarch64_cpu_register_types(void) size_t i; =20 for (i =3D 0; i < ARRAY_SIZE(aarch64_cpus); ++i) { - arm_cpu_register(&aarch64_cpus[i]); + arm_cpu_register(&aarch64_cpus[i], target_aarch64); } } =20 diff --git a/target/arm/internals.h b/target/arm/internals.h index 1775835ad50..cfe3544054e 100644 --- a/target/arm/internals.h +++ b/target/arm/internals.h @@ -406,7 +406,7 @@ static inline int r14_bank_number(int mode) return (mode =3D=3D ARM_CPU_MODE_HYP) ? BANK_USRSYS : bank_number(mode= ); } =20 -void arm_cpu_register(const ARMCPUInfo *info); +void arm_cpu_register(const ARMCPUInfo *info, bool (*is_available)(void)); =20 void arm_do_plugin_vcpu_discon_cb(CPUState *cs, uint64_t from); void register_cp_regs_for_features(ARMCPU *cpu); diff --git a/target/arm/tcg/cpu-max-v8.c b/target/arm/tcg/cpu-max-v8.c index 65f851f2006..c6cbb90bb86 100644 --- a/target/arm/tcg/cpu-max-v8.c +++ b/target/arm/tcg/cpu-max-v8.c @@ -125,6 +125,6 @@ static void cpu_max_v8_register_type(void) { .name =3D "max-v8", .initfn =3D aarch32_max_v8_tcg_initfn }, { .name =3D "max-v8", .initfn =3D aarch64_max_v8_tcg_initfn }, }; - arm_cpu_register(&max_v8[target_aarch64()]); + arm_cpu_register(&max_v8[target_aarch64()], target_base_arm); } type_init(cpu_max_v8_register_type) diff --git a/target/arm/tcg/cpu-v7m.c b/target/arm/tcg/cpu-v7m.c index dc249ce1f14..9ffd2becb66 100644 --- a/target/arm/tcg/cpu-v7m.c +++ b/target/arm/tcg/cpu-v7m.c @@ -297,7 +297,7 @@ static void arm_v7m_cpu_register_types(void) size_t i; =20 for (i =3D 0; i < ARRAY_SIZE(arm_v7m_cpus); ++i) { - arm_cpu_register(&arm_v7m_cpus[i]); + arm_cpu_register(&arm_v7m_cpus[i], target_base_arm); } } =20 diff --git a/target/arm/tcg/cpu32.c b/target/arm/tcg/cpu32.c index 2d642ef8787..86560d8d254 100644 --- a/target/arm/tcg/cpu32.c +++ b/target/arm/tcg/cpu32.c @@ -748,7 +748,7 @@ static void arm_tcg_cpu_register_types(void) size_t i; =20 for (i =3D 0; i < ARRAY_SIZE(arm_tcg_cpus); ++i) { - arm_cpu_register(&arm_tcg_cpus[i]); + arm_cpu_register(&arm_tcg_cpus[i], target_base_arm); } } =20 diff --git a/target/arm/tcg/cpu64.c b/target/arm/tcg/cpu64.c index 251c4b3cf60..20399d42ef3 100644 --- a/target/arm/tcg/cpu64.c +++ b/target/arm/tcg/cpu64.c @@ -1548,7 +1548,7 @@ static void aarch64_cpu_register_types(void) size_t i; =20 for (i =3D 0; i < ARRAY_SIZE(aarch64_cpus); ++i) { - arm_cpu_register(&aarch64_cpus[i]); + arm_cpu_register(&aarch64_cpus[i], target_aarch64); } } =20 --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958162; cv=none; d=zohomail.com; s=zohoarc; b=ZhZdD2emltU15vSLqJRn6OzA1JAAxZOwkCjNg1mlSpROwhkt+JGFsmOTDgZg9TlYTIb8I7FYwefSrW8QN/KsbKyBqgbhRg7lAW7E2OjQMALIb8NtUpy0fEJcGgqgcaSEDoI5cX4sykeXp7XAub2N/jlk1ZA+AXu+ZGnwBwMoCvw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958162; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=AFxB+6PHHMhiCUfNfln4GAWfFlgvw3YNZc5dgO+oh2k=; b=jnyfeh7yv1DTboinTFfXJNYQqysF8TV/LFQWXAtxrSRbEDbCEkSv3DLHqtcOBFKSmd7HU+7JgEi3l1GT27dqNsdqaxuTetvUqQrLGASTdHI0i7tqTZkNxvwMusfIu8BheAxd5EyAltCtr77eqve5eDcSVlWm1pGMQGZx7exZp70= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958162568570.905056344261; Fri, 28 Aug 2026 16:02:42 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YQ-0001BL-OR; Fri, 28 Aug 2026 19:00:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YJ-0000mX-SY for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:00:05 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YH-0005nj-MF for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:00:03 -0400 Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTv8c146839 for ; Fri, 28 Aug 2026 22:59:50 GMT Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb7eh2s45-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:50 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-38dbf293831so3591287a91.3 for ; Fri, 28 Aug 2026 15:59:50 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=AFxB+6PHHMh iCUfNfln4GAWfFlgvw3YNZc5dgO+oh2k=; b=HUtV7ST87ViGEbbb6vE7vvamOW3 fKC8cMv8/TU28BzxTJF66vsDud5hi7tSNdywqE0tmVc+1HkDVUwh6mHGxwy59NLs 1OLyPmrOBh2a2a83HzTcHBfR9qwjyotWYpn/pGImhwNlzkJCwrl8t1qHrL2twcGS wGaZnF4ca2OvPxsqvqq+2mkAS5nUkyEKkP7NfkK+xIMYbolbTDpBILar7HllcMxs dNYohYTRj6cT4rE+rYNabAlyObdpqZ6UsL+Mt155MMGQ8Pn6CpTXKhx+yQP/tS6C pg/eJNPZarpL2Ve6p43omk4SSaZoDIgRT9ACxxLAQWE8uqczKGNontm1bLA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957989; x=1788562789; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=AFxB+6PHHMhiCUfNfln4GAWfFlgvw3YNZc5dgO+oh2k=; b=BlCXsqzInPKKhjWgrobKdUvgkzl7APXOcos9nM61xpKB4ircTsx/wiJr7eQYRcWgyX TOEwYObyrUQXtlDcP/pHgKmWcZAN7arGWE/9iRuAmzr4cbgUOA3x3vKbYgo9jRlRZzEH 4F7QM1w1te53Z9PrIyKB0mK3tqFUlpznp+RJiT1sL6sQL1bnlHLgH/ZKfV352BNNFQ+e /NHG8ZPqWVifwqDekulehMOs+wGyUnwsEqf8w4VoqENAIoGSsZEt5emRsf1kIl10HW7D /e0UfWPm+Fr7QTjx9E7Ne6qeOhqoLpq3mUC1b/KWd4xoCxVcjRwAryr+hjccsF1HI5yo qG2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957989; x=1788562789; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=AFxB+6PHHMhiCUfNfln4GAWfFlgvw3YNZc5dgO+oh2k=; b=iuWW2+4Vs/IaKD4b3e4PIH63uy92oxZP2LfAKxu4ORQUBc8FnwT8B247n5a2TqDB2Q MlML1qUS1kv2fUe3SR/R0WQrGVrC1o73i+EJY36va4bUugKgs3JDlx04eKWcfglj3yIB gd147JeRVPP5nO/ewRhQYUt4G5MJmUgUGyEE1sCQb1FcdtTkqLTauusJ9tA63w0m1DQ1 5nOJLmM9iPUQBIJU1kxhv24w3pdeSG8RJYrhxyJEaww5XDqADWHv1VnRP1rOZDGbyOWX VUPsVXJrkJj1QiTwCsm62ioNvMOXnYcwR7cOO5s7gvIetEwTP2pHmrxmHhXFopqoZzxp UrxQ== X-Gm-Message-State: AFuF++n+Y4KGv6YtIFQcPwgXgSUAj+xD7kWdoGcbgsMEv+akyzFSEIp6 GxJx9b8vMeBIY6l0funs+WmVY5w2cDze0yRPPdMq+0Qa45UoP61u2exUav9FgBcfkvA1vzuthUW SRFOhMXUL/pakaGFHN92ze/U42lOlYJV/nIAPbBK8G6SQvVtDsXMvXFsY4yl6KjXppQ== X-Gm-Gg: AYBFou04rrYHF7YgDkUHqpv+Nl3rm5gIFYzYcpwMgtOCUNhRXsrAF2xX1KWJfHNKy/7 THn7BlML6mcrZ/PpZDXltHdSIViUuxP0I/BxA0vZstwThzGx+xkeKNWBGJNlJQqrthdKysTQnBs Ea9ZZUId2Nv4iSdCpUs0JCvS+PI8ZHvxWLAX2QVhqG4tZEgHPwWUOZqMSzxnPci8+YkLkgVzP7r tF3sNgEdR+WAKztYVVuqobIZDzjD24KB33OzOI2whuK/yRugqYtIskVI39S1agn7mWYrAjGCx2n i29p0wvhNRYkTJeS3iFEzV/QNpA0ZbYwM8mLwVmmvLNT7NsLKeK6cnxKqHO9IE/5uuzVkV9Cw0a 6o7JJgrS4DF0rTAUz0QEmc9ZDjvqJJKqj21ZCSzGBkoD6XvNub9yaAEbI2t8= X-Received: by 2002:a17:90b:6c7:b0:396:6344:3b63 with SMTP id 98e67ed59e1d1-396d0e25905mr19256247a91.2.1787957989573; Fri, 28 Aug 2026 15:59:49 -0700 (PDT) X-Received: by 2002:a17:90b:6c7:b0:396:6344:3b63 with SMTP id 98e67ed59e1d1-396d0e25905mr19256201a91.2.1787957989201; Fri, 28 Aug 2026 15:59:49 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 33/47] system/vl: add new option -target Date: Fri, 28 Aug 2026 22:58:47 +0000 Message-ID: <20260828225901.367438-34-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: Ad7CmZ1cn6pmUoKTSqkKkFJMqUrI6-W4 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX+fx+B/Sf4y12 lUAVpN4QzxcuWN4hkXf866kROap7FJ5zzj7VLm405bmx5R2+HlqqqvGrh1S0kx5yZJIj1izvgHT pVnc+KxHtGxSrCHntwWSShcYGLpnqK4elnQqHNlZXWrmFu/2n3NzUxJafer5wTWBLaRo+pw00YB WCzwNKOtbLEFMFdEFlb9KhNWBz7bjUSTIkscK+j/RlS12ZvCuFd3LrL0M+ImwkinmXGIXqPJTVv Y2dkIo4+j7PiUddfm+Ny0PUUKmFhrzCbcg0kxBU2GwdGtLWcxrrWL9qfdusTFgqzA3kUWnLiC5J 6Emv2/vivKAhcUYiLjZaZ4eJati5E7UGhiUk++uTFZTpIXlAzbBVzhpZMuZrVpmtgZD/BuVFly+ ZIQH0Chu6waekRhMlXpoEXxvI8VUBxfr85gGAXCEL/g0qSnCzWAKfA6xpnWuiEhQFGuf2D8IS2K FAcE8fKPs/NSHJ8PBBg== X-Proofpoint-ORIG-GUID: Ad7CmZ1cn6pmUoKTSqkKkFJMqUrI6-W4 X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX9RWSulIV/0mH P4iALzsKfOkE+gH4qUdLqrD4d7jVfrk9Py84e+/V/iVjsihfLoXfpxP9if4Jb4GKci44FsUpott /V+quwNpAntVOM2bdE00QqDl+p5QeIg= X-Authority-Analysis: v=2.4 cv=RoP16imK c=1 sm=1 tr=0 ts=6a9212e6 cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=EUspDBNiAAAA:8 a=kemcdkk9OJzm-CMI4xoA:9 a=rl5im9kqc5Lf4LNbBjHf:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 phishscore=0 suspectscore=0 impostorscore=0 malwarescore=0 spamscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958163560158500 Content-Type: text/plain; charset="utf-8" This commit adds a new option -target, which can be allowed to set current target, or retrieve list of targets available with 'help'. This option is the first we need to handle, as all the rest of initialization depends on it. Signed-off-by: Pierrick Bouvier --- include/qemu/target-info-qom.h | 1 + qemu-options.hx | 8 ++++++++ system/vl.c | 34 +++++++++++++++++++++++++++++++++- target-info-qom.c | 33 ++++++++++++++++++++++++++++++++- 4 files changed, 74 insertions(+), 2 deletions(-) diff --git a/include/qemu/target-info-qom.h b/include/qemu/target-info-qom.h index 91be415ed33..87f3a51ccd4 100644 --- a/include/qemu/target-info-qom.h +++ b/include/qemu/target-info-qom.h @@ -26,5 +26,6 @@ typedef struct TargetInfoQomClass { OBJECT_DECLARE_TYPE(TargetInfoQom, TargetInfoQomClass, TARGET_INFO) =20 void target_info_qom_set_target(void); +void target_info_qom_set_target_from_name(const char *name); =20 #endif /* QEMU_TARGET_INFO_QOM_H */ diff --git a/qemu-options.hx b/qemu-options.hx index 562c4c2b035..68d0c1d42da 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -24,6 +24,14 @@ SRST Display version information and exit ERST =20 +DEF("target", HAS_ARG, QEMU_OPTION_target, \ + "-target target selects the target architecture ('-target help' for l= ist)\n", + QEMU_ARCH_ALL) +SRST +``-target target`` + Selects target architecture ('-target help' for list) +ERST + DEF("machine", HAS_ARG, QEMU_OPTION_machine, \ "-machine [type=3D]name[,prop=3Dvalue[,...]]\n" " selects emulated machine ('-machine help' for list)\n" diff --git a/system/vl.c b/system/vl.c index f7f8aabd122..60c5ce85580 100644 --- a/system/vl.c +++ b/system/vl.c @@ -281,6 +281,15 @@ static QemuOptsList qemu_accel_opts =3D { }, }; =20 +static QemuOptsList qemu_target_opts =3D { + .name =3D "target", + .implied_opt_name =3D "target", + .head =3D QTAILQ_HEAD_INITIALIZER(qemu_target_opts.head), + .desc =3D { + { /* end of list */ }, + }, +}; + static QemuOptsList qemu_boot_opts =3D { .name =3D "boot-opts", .implied_opt_name =3D "order", @@ -2891,6 +2900,7 @@ void qemu_init(int argc, char **argv) qemu_add_opts(&qemu_semihosting_config_opts); qemu_add_opts(&qemu_fw_cfg_opts); qemu_add_opts(&qemu_action_opts); + qemu_add_opts(&qemu_target_opts); qemu_add_run_with_opts(); module_call_init(MODULE_INIT_OPTS); =20 @@ -2900,7 +2910,26 @@ void qemu_init(int argc, char **argv) os_setup_limits(); =20 module_call_init(MODULE_INIT_TARGET_INFO); - target_info_qom_set_target(); + + /* + * Identify target: first from option, then from argv[0]. + * This happens even before handling --help option, because it may con= tain + * entries that are target specific. + */ + for (int idx =3D 1; idx < argc;) { + if (argv[idx][0] !=3D '-') { + idx++; + } else { + const QEMUOption *popt =3D lookup_opt(argc, argv, &optarg, &id= x); + if (popt->index =3D=3D QEMU_OPTION_target) { + target_info_qom_set_target_from_name(optarg); + break; + } + } + } + if (!target_info()) { + target_info_qom_set_target(); + } =20 module_init_info(qemu_modinfo); module_allow_arch(target_name()); @@ -2948,6 +2977,9 @@ void qemu_init(int argc, char **argv) exit(1); } switch(popt->index) { + case QEMU_OPTION_target: + /* handled previously, ignore it here */ + break; case QEMU_OPTION_cpu: /* hw initialization will check this */ cpu_option =3D optarg; diff --git a/target-info-qom.c b/target-info-qom.c index 6965e4d1169..a2f506c15ef 100644 --- a/target-info-qom.c +++ b/target-info-qom.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qom/object.h" +#include "qemu/error-report.h" #include "qemu/target-info-impl.h" #include "qemu/target-info-init.h" #include "qemu/target-info-qom.h" @@ -50,6 +51,36 @@ void target_info_qom_set_target(void) "no target-info is available" : "more than one target-info is available"); } - target_info_ptr =3D TARGET_INFO_CLASS(targets->data)->target_info; } + +static void list_targets_available(void) +{ + printf("List of targets available:\n"); + g_autoptr(GSList) targets =3D object_class_get_list_sorted(TYPE_TARGET= _INFO, false); + for (GSList *elem =3D targets; elem; elem =3D elem->next) { + const TargetInfo *ti =3D TARGET_INFO_CLASS(elem->data)->target_inf= o; + printf("- %s\n", ti->target_name); + } +} + +void target_info_qom_set_target_from_name(const char *name) +{ + if (!strcmp(name, "help")) { + list_targets_available(); + exit(0); + } + + g_autoptr(GSList) targets =3D object_class_get_list(TYPE_TARGET_INFO, = false); + for (GSList *elem =3D targets; elem; elem =3D elem->next) { + const TargetInfo *ti =3D TARGET_INFO_CLASS(elem->data)->target_inf= o; + if (!strcmp(name, ti->target_name)) { + target_info_ptr =3D ti; + return; + } + } + + error_report("target '%s' is not available", name); + list_targets_available(); + exit(1); +} --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958219; cv=none; d=zohomail.com; s=zohoarc; b=YXmyLt9Wz/uOG0oMYFtEgXWaCDZdDLi1Cw5Xm6Bn+/J0sEdseluvbka4/wau+VG+17mATT7OcsAJ3JobrDYqiPXtgXFvHsAuv0g3zVkHagSR95nA6VtHPe9DVxYs1p9NODQ5qTFNvDsttB3kclvE7LaRlfFj79eUhtrebKMEJYQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958219; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=fIFG6JbO1mlbQvZnNwow3mImO/O7WxrUTH+Pd4LwHs8=; b=F74a1Xs4OibCddgxZcty+IS6//lX92uEvBkh56X5Ir4SA2Vd05MMUnI2abOdWEt7SD+fmFQ8Y97AuV1uEPo3MRcBnvQ2zCeK4WzyX6RH8ICjz1wQ4PUSUl6eYWojQtp/elrHnLivc5q2BIRh7of+eJTttL4lUDtkw1FAfXJ4K3c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958219486162.04983107627925; Fri, 28 Aug 2026 16:03:39 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YD-0000ew-AU; Fri, 28 Aug 2026 18:59:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YA-0000dk-IA for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:54 -0400 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05Y8-0005nz-Qf for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:54 -0400 Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTrs5503150 for ; Fri, 28 Aug 2026 22:59:52 GMT Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbgpc0gr9-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:51 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-3968bb86fb7so2209360a91.2 for ; Fri, 28 Aug 2026 15:59:51 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=fIFG6JbO1ml bQvZnNwow3mImO/O7WxrUTH+Pd4LwHs8=; b=pGMJc+OvqUdwFv85EnI9JTaXuM5 v6TLwwkmtDuCqt1CsSFtvD0HugIaogoK3rD3oLx4r8RDai770v08TOWdYAD4Jeu0 OtA8RWk07IXhoDpali67d35jM6XffOfgnzwitIQvtzyk8U0iNAuftOlG/mK6vCPh TACzZyuK7uFQhhadQjyByOKyRWxDwOIU9oZxtnXblM5M/btpg5HdCMIY5e8r7vwm QRviI3rR9v37BXQsZF8JQ2HU2mwLUBosAg0Oul5Q6LkzhVudfc0hibuKDuSPLIZI 88gGJdxW3k7lzLB1nCPvJLeDzXyAwiWsMCRLlLi5zFiyEu5uMjs/UCh9fPg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957991; x=1788562791; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=fIFG6JbO1mlbQvZnNwow3mImO/O7WxrUTH+Pd4LwHs8=; b=If0AA6RREvnD4RzekB7Xpaa/jaj/fsBpb01OFpmjfPzp4l5h3BCEgh87tZ8kBUctFB 5ljOsvZ+NxyrjZWukxeQOiEeP2voiEnHQIN8ek5yC6bDaLdDZ25QscenY9WSFaWx580h fkXXu5aS3kB+usMZ2Hsrsa5u7854jOV2Ng7T511ukrg4Oko4TuJ+aSI3S0vKnzIPomxF KCET4FqKKVc3/he52DVm9WjGG2rMSVTcZTfgtYEdz8o3HTpvxb6EDvNW35EURuapY/1q a/ph/EOl8OsqIZs5V0fFTaFoc0bPpXq8xm1GMQh0zPmhF3ic7TCqpMv7LeTKJT3Z15xE nWdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957991; x=1788562791; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=fIFG6JbO1mlbQvZnNwow3mImO/O7WxrUTH+Pd4LwHs8=; b=LFYpYrBOCrjZWcP3re/nPjtskA7cIHQFtQc1h1xyybYaPI/DtQR1TmHdpxys8BAfsa hfe2jFBrb5RXfGkvl0rtqaIOXnktIzHGHvh6Y9gs7wryRufDZ5iViiPq7MryfjupIgGO tZvi23DMjPfdF78oFHPUqaoXGLHqMfsEgeDaE0zRvIzjY8N+GM58nN9VvQrIhEIeg/vc WETTP2q/+T/yZgNxGMPhBVy4dfDo1WEJbk/AINGFwzowWDXSn3tDDKox8lnZKE5Cg5UK P3J5xBfX/QQihN6c2OAiA0/WmAXDJFDr1hUYVWt+vTP8EIo9Ik/bM5mRPD56VYVOmg+S p0Ew== X-Gm-Message-State: AFuF++mG+K/tUyxt6b7vpLlykFJHGzJgD5rP0JDeeXe+jeOuJqIIOjZD K0EtM1vyM3vfVQ4CDXUScvlEGrWOzNSzXDWTABvVsUxz1oAlbvJaBBKp6gE6Dd1FVeZzUT3aaaY 0Q62lA3GoL+4W9KtDBjewHC6y71YP4wm82dc/xnNWu9cadvX3JzBDOfb5UZ04Ih/HRg== X-Gm-Gg: AYBFou3aZaQYkz+vUnzahCSXrvvhY0yeL5Iup50rUbnhpxD4gu2w2fg1LkhxqOvTb/i syyr6FoD6aOI/itaF/pwtyhg8dJUfYkEMsND8kL2peQ1Rwsdsto6Pc8o++dHh8DZRNQ2kafQsIv B78MdjVV1AlewdP6P7j00oB9ldbX196jRC6xAD5VWKEkUeUOP8nAFKmbEOrrRD3N+gx4uQDMaKo ggqF/BGRP4hTSugVZ9SMw4R1NgFdjpLgKsND2m1ehhm3w6wmWKbiBuZi3L5QwBLUfitaUKq5k23 ICbpDXOFl3fOKpf/00UTXoRwMp3ytiiR3CpEQy4kGWdTTIXNZlrnS2hZTod9qusQtECVGGnvWd5 aOCJUh31knsi84F2Lm7lA8gdATswO4V/+FIcmp1Yc+5ffaVz353mYTgewxDY= X-Received: by 2002:a17:90b:50:b0:398:9bd1:3217 with SMTP id 98e67ed59e1d1-3989bd135e2mr4434203a91.24.1787957990815; Fri, 28 Aug 2026 15:59:50 -0700 (PDT) X-Received: by 2002:a17:90b:50:b0:398:9bd1:3217 with SMTP id 98e67ed59e1d1-3989bd135e2mr4434164a91.24.1787957990384; Fri, 28 Aug 2026 15:59:50 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 34/47] system/vl: fallback to detect target from argv[0] Date: Fri, 28 Aug 2026 22:58:48 +0000 Message-ID: <20260828225901.367438-35-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: h8z_WElc5HQC3we3zggaBWThJbYx0YKV X-Proofpoint-GUID: h8z_WElc5HQC3we3zggaBWThJbYx0YKV X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX+PKwWPDe4AN7 loqxQQ3bcL7UWxahr51mqTIrSmBGiVA//Jos/dB8ozU5PWtw/k3pUxt6aN42H7BTgkq+q+kGLVv nxhHaJefRe+Yb7Y2Y31oxAoovExMtp0= X-Authority-Analysis: v=2.4 cv=dtfrzVg4 c=1 sm=1 tr=0 ts=6a9212e7 cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=EUspDBNiAAAA:8 a=NwfIHIH1ne--GP4jnRoA:9 a=rl5im9kqc5Lf4LNbBjHf:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX2q4KvVK3XqFw 5Kez9rgJkWShcilbIiVyeBswpU+L8nJA8SCgOUrg66U+OwHXSPw62i2OIODRZVuEXFv3FVOS7xe 9JvfD4Z3yFy3glK9NeVT15J8SC52nDtpdKWUroQDkQoyyIBzw2pLymG2AgfYsD4ATTUwiHvmA+p eJGkSgIeYB2dLDsmhNFpt0xNeoR0y3eBiH+CAsNTC6wBWr4q/UPH/ZtpZVH6+yPo7iqzthJWM2d ffXnf8DFwjgiV86/5kX8wVVirmKO6giTihxui7lLLrfpY+s+SjkgnSBf9At3vdEqotZ7ypLNURn YSIY4q4kvn9JkKvUjOIDqxn68n9HUxZMoHaO6HxncqEuSm7EAWGzlmbs4n+6x61emTA4G9N0qgo inItDPQY2eLFrdlwXPriFaLBWBS0ZA7nVCvy3fmGdQh2t/Ghkf6lflWOoiVWTf/+c1mDNp4v8bN 76VL4woQ3K1b+MYINMA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 suspectscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 phishscore=0 priorityscore=1501 malwarescore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.180.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0b-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958219800158500 Content-Type: text/plain; charset="utf-8" The existing target_info_qom_set_target() enforces that a single target is available at runtime. Now, we can derive target from current qemu binary name. If a single target is available, select it and ignore binary name. If multiple targets are available, we strip various parts from binary name and check if an available target match this name. In case target is set through -target option, we simply pick this one. Signed-off-by: Pierrick Bouvier --- include/qemu/target-info-qom.h | 1 + system/vl.c | 2 +- target-info-qom.c | 61 ++++++++++++++++++++++++++++++++++ tests/qtest/fuzz/fuzz.c | 2 +- 4 files changed, 64 insertions(+), 2 deletions(-) diff --git a/include/qemu/target-info-qom.h b/include/qemu/target-info-qom.h index 87f3a51ccd4..7643a90d49b 100644 --- a/include/qemu/target-info-qom.h +++ b/include/qemu/target-info-qom.h @@ -27,5 +27,6 @@ OBJECT_DECLARE_TYPE(TargetInfoQom, TargetInfoQomClass, TA= RGET_INFO) =20 void target_info_qom_set_target(void); void target_info_qom_set_target_from_name(const char *name); +void target_info_qom_set_target_from_argv0(const char *argv0); =20 #endif /* QEMU_TARGET_INFO_QOM_H */ diff --git a/system/vl.c b/system/vl.c index 60c5ce85580..dc415bfe02d 100644 --- a/system/vl.c +++ b/system/vl.c @@ -2928,7 +2928,7 @@ void qemu_init(int argc, char **argv) } } if (!target_info()) { - target_info_qom_set_target(); + target_info_qom_set_target_from_argv0(argv[0]); } =20 module_init_info(qemu_modinfo); diff --git a/target-info-qom.c b/target-info-qom.c index a2f506c15ef..069d867ea30 100644 --- a/target-info-qom.c +++ b/target-info-qom.c @@ -84,3 +84,64 @@ void target_info_qom_set_target_from_name(const char *na= me) list_targets_available(); exit(1); } + +void target_info_qom_set_target_from_argv0(const char *argv0) +{ + g_autoptr(GSList) targets =3D object_class_get_list(TYPE_TARGET_INFO, = false); + size_t num_targets =3D g_slist_length(targets); + g_assert(num_targets > 0); + + /* if we have only one target, set it as default */ + if (num_targets =3D=3D 1) { + const TargetInfo *ti =3D TARGET_INFO_CLASS(targets->data)->target_= info; + target_info_ptr =3D ti; + return; + } + + g_autofree char *basename_cstr =3D g_path_get_basename(argv0); + g_autoptr(GString) basename =3D g_string_new(basename_cstr); + + const char *rm_common_patterns[] =3D {"qemu-system", + "qemu-fuzz", + "-target", + "-unsigned", + ".exe", + NULL}; + for (const char **rm =3D rm_common_patterns; *rm; ++rm) { + size_t len =3D strlen(*rm); + char *found =3D strstr(basename->str, *rm); + if (found) { + size_t pos =3D found - basename->str; + g_string_erase(basename, pos, len); + } + } + + /* remove ^[-.] */ + const char *rm_separator[] =3D {"-", ".", NULL}; + for (const char **rm =3D rm_separator; *rm; ++rm) { + size_t len =3D strlen(*rm); + if (!strncmp(basename->str, *rm, len)) { + g_string_erase(basename, 0, len); + } + } + + /* remove [-.]{ok, ko, this-is-my-custom-binary-name, .*} */ + for (const char **rm =3D rm_separator; *rm; ++rm) { + char *end =3D strstr(basename->str, *rm); + if (end) { + size_t pos =3D end - basename->str; + size_t len =3D basename->len - pos; + g_string_erase(basename, pos, len); + } + } + + if (basename->len > 0) { + target_info_qom_set_target_from_name(basename->str); + return; + } + + /* we have a qemu-system single-binary and multiple targets */ + error_report("missing -target parameter"); + list_targets_available(); + exit(1); +} diff --git a/tests/qtest/fuzz/fuzz.c b/tests/qtest/fuzz/fuzz.c index a3a131c80f8..eda899d43ae 100644 --- a/tests/qtest/fuzz/fuzz.c +++ b/tests/qtest/fuzz/fuzz.c @@ -174,7 +174,7 @@ int LLVMFuzzerInitialize(int *argc, char ***argv, char = ***envp) /* Initialize qgraph and modules */ qos_graph_init(); module_call_init(MODULE_INIT_TARGET_INFO); - target_info_qom_set_target(); + target_info_qom_set_target_from_argv0((*argv)[0]); module_call_init(MODULE_INIT_FUZZ_TARGET); module_call_init(MODULE_INIT_QOM); module_call_init(MODULE_INIT_LIBQOS); --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958128; cv=none; d=zohomail.com; s=zohoarc; b=ejKmviCqWY9w+xHlqBC5bBSF6lKH3xmLWCXDbbMWu1z+M86/zS+NHmSxumEpNABUT5EQdHkfsc72MDnIY5qS1wNZdPBtykYEQTtqIkBXZn7oOAJ3keftWX7C+EXNov3/DrJNSJu/gL880DudTLxbVKWj6A/s58xqO0/NuC7fhu0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958128; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=ZCpMWf/PCYT/7u5x3+tgQAIpfRLxx1b2hq7Zeyiep+M=; b=R2KRkbz/e9QV396NeEjI1YYwOSgwk0mvWMyWvoLfEWzfthPCf0R7SWpd5M9yyLuCdg9keMjSj/p8J0GkfH6lzMcYoGRYKgYF1GmX+GL0W5DAB0WxPSni0bZkiZNusvE7zrT3M99AYIBZ2O6ou7NTXyzGIKIIIrvr9j8MgFqKXfM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958128195818.7169986526649; Fri, 28 Aug 2026 16:02:08 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YS-0001Jh-HW; Fri, 28 Aug 2026 19:00:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YB-0000eJ-Po for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:55 -0400 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YA-0005oJ-4b for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:55 -0400 Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTJlR014614 for ; Fri, 28 Aug 2026 22:59:53 GMT Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbgvfgf4s-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:53 +0000 (GMT) Received: by mail-pj1-f70.google.com with SMTP id 98e67ed59e1d1-3968dfff779so535406a91.1 for ; Fri, 28 Aug 2026 15:59:52 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=ZCpMWf/PCYT /7u5x3+tgQAIpfRLxx1b2hq7Zeyiep+M=; b=nvd3zXmtuBlggH+3/sLznm+MRFV zlQOpbe2aLJWskYCFkDGE1FqaJLTQRsb6npseMA4B4kEzo3KxEQX6WnC6xRIrIdY VtOP6EuZsIeJGKAU9vw9MhQqpn7q/++yegEykIBeS9CJEKQcwBl/5NeITTODQXOP uxjdJ2nSdWXUgSgrBu9OYg7tMhOFnVTUtko95Ehuvu+Kky3RhX1wfznFhAp/t+v2 W1PvoJvk6lSnghBj5ftHfzFX6OgfgspwDv4+GyKwXQ1+X/cfbBOW/8pRXI0An2hR 8dAK6cd8cD12RBzXp27yd8+0AgqxS9R/1mFcPv+kiAPHqiyhbii8azkSiEA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957992; x=1788562792; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=ZCpMWf/PCYT/7u5x3+tgQAIpfRLxx1b2hq7Zeyiep+M=; b=DS9hK9Q5Zhm2rXdi4B2+WwiYBvOjX6QEOc9DA+8r/v6mS1Ldx2+h5RQzL7vuT24Fvv Y4NYH7j8euRp3c8PBQRB/mKxn95tfpGa6wTlCtSFw4ggpwtxBNsNCaWQKPhFs4UKnbMO lnEuvFbVUfe5nY7LXhBPcO4wArQ0xKqaj/Nv9W8Vem09cT+6n2O7wKokmQP81sMnBEjj uW9kokbuMukSs185z8eLfLZqFuqfaLLEdKY6NoJ7Yx3Bq1LTZNraOx57afFFK829hewX CNxMsXVxv/ZoeTDxdGg2VLjKHs2/L/axEV21jtlY0gqEKzceDhiPZjJi5+cNV86vwB/0 dsZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957992; x=1788562792; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=ZCpMWf/PCYT/7u5x3+tgQAIpfRLxx1b2hq7Zeyiep+M=; b=UoFTt2FwpFNQkWLZFhvN6OHVtk+XeIaofwfUpE9Zh6f8eM0qHdPy+bmGu1mP9KSptf 4oOFbZOyBFeqW5sElSsX6Aem9o/GNjYwqbtLSxIqkyeoifMAD4EHiZn3UoexWXOL/toZ 3qEDPqNRn5eHgy70c3yytsCIO0Uf9N4PpsJ9/qqL7S0hApCilgA0vlg/5KkuDQPTcvdY NYpJOEoPuVHRuVnWqiEocy+HC+nNyv/aYycqocL4CFfKXfhE3i1m27WjoKAW1aDdNISn QIb6Wk0TJJwAi3E7Hz1q8GEEQcrCcmLfKE3a6GVtIu5OXV9cXvY+DtPGOAg5VMQ9saio jH0Q== X-Gm-Message-State: AFuF++lEt/USA6jJ8i2pMjnMygOniv/pHySU6d1gi0ROHdOjcm0N/6EI /VTj3BHEivm6gptH0S7Lp6ckab5bragjSE3URNZrXVgPYWM2wlI9qgBsJwQyl8yglndWxqdnr3t dvSs55jCBtYBDjOkdt6RvbD00HaSK4nTDeQXVCgUvRmfGO4URj/QRiUuxyVtPV3Vr3w== X-Gm-Gg: AYBFou0WN574wJJighhWHcAhJfhsNUPd/LI+pzCgGW70ebKCAee0yaCgtaLTuPJ7/0/ nrzVcoCZs1HhdpgF0ghvCyR2qt0ze3r+wK1mgEeyxPajm8ZcnxUEL2LNODndcSU4VUUAvhk6ytH VJSr5G2Qz4dlQsuXLz769LSo66BGk0f8+9VuFcMXHg63uOVK0RUDL7Mw2optYteZmbj50Qi2r8d eXm2ciWA3xf96jeUWLTHrbTeabXHEQSaG9nEg1pkVPuXEamCQMQMTEHsArznxNl49JZ71ZLpvpD H3CprMY3eqHgZS4beOGdtRwFOkaUR7QE+fr9wrBcbYcMkwNRQMN/9gVXKiaWwxOkCyjNlLdkFAS kp2iAc2Lj6HxJqKrVgaivuX1AFiRSQYpb9zuGDn1bdj8Sj2EKbLWoOB1aFpc= X-Received: by 2002:a17:90b:2790:b0:396:7c01:553f with SMTP id 98e67ed59e1d1-3969bc967c7mr21966422a91.21.1787957992037; Fri, 28 Aug 2026 15:59:52 -0700 (PDT) X-Received: by 2002:a17:90b:2790:b0:396:7c01:553f with SMTP id 98e67ed59e1d1-3969bc967c7mr21966394a91.21.1787957991604; Fri, 28 Aug 2026 15:59:51 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 35/47] meson: build single binary for arm+aarch64 targets Date: Fri, 28 Aug 2026 22:58:49 +0000 Message-ID: <20260828225901.367438-36-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX34R9VPQ7LKtW Y6uQnu02MmxYCFQb6samD5VMNboxHxOIIdY90GSpO8YNZ2ykznkC+hVlhspe+sYxZpiP2W397l2 yq9nbn/cT1oCmK2oriJfShe9wNtKcLugMasJTEWJ5dvCNUTR/MXd/ptJQ/YbR01cV2/Ztis5fKy iqovyRJt7nL2j1MeC7/6nPZogBhlAnCUcDrCmlbYd0EYgva+fzYpk0sqCP4IYjCSCRYbDTqHbBx RQiSeEfjcMLm3L4nUX4kLK894Sscy5wOAIKieP3DWpyoDCSQT1lfiHZm54FvJE/Cl9HP32FsOCe D2eqAZ+BG2P490lCSGcqP/jPWHck3h8IFLQGCspLq9UHozVJPbmBQbAmqRig4OBHPWLQuaDCqv2 /jXpVpgnIAf2epj3rTkM0PTPmvLfCMi/tFj9fF7wHdEaUZ+DMmKZNZEaa6mDjCdfm/Ux97X+sCy Ney+ylvcqbr8g7JrYTg== X-Proofpoint-ORIG-GUID: uzqKMPMDaY6mFk_JZdZEDopYnCUN8O8E X-Authority-Analysis: v=2.4 cv=UcthjqSN c=1 sm=1 tr=0 ts=6a9212e9 cx=c_pps a=0uOsjrqzRL749jD1oC5vDA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=EUspDBNiAAAA:8 a=Y0GkpZkJ-W3Whwe0E0UA:9 a=mQ_c8vxmzFEMiUWkPHU9:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX/VntS/ZU0SqR Y53Lxp2pEvnQPVcohZ1H+NaP0HQelXiMgOHKV/8bekOXDpproHqEoPYe7bV8FLeYXenN/ic1Yh1 TwkjDy2vRfbT1EYaTjvQpAEnVPV2ycQ= X-Proofpoint-GUID: uzqKMPMDaY6mFk_JZdZEDopYnCUN8O8E X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 spamscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.180.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0b-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958129363158500 Content-Type: text/plain; charset="utf-8" Build with: ninja -C build qemu-system This is not built by default. All available *-softmmu targets are aggregated, ./configure --target-list can be used to restrict which targets are included. Signed-off-by: Pierrick Bouvier Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 --- meson.build | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/meson.build b/meson.build index 8023da4a147..9cf441382d3 100644 --- a/meson.build +++ b/meson.build @@ -4250,6 +4250,16 @@ if host_os =3D=3D 'darwin' endif =20 traceable =3D [] +single_binary_libs =3D [] +single_binary_deps =3D [] +single_binary_crates =3D [] +single_binary_available =3D false + +single_binary_supported_targets =3D [ + 'aarch64-softmmu', + 'arm-softmmu', +] + emulators =3D {} foreach target : target_dirs config_target =3D config_target_mak[target] @@ -4402,6 +4412,13 @@ foreach target : target_dirs build_by_default: false) =20 if target.endswith('-softmmu') + if target in single_binary_supported_targets + single_binary_libs +=3D lib + single_binary_deps +=3D arch_deps + single_binary_deps +=3D target_stubs + single_binary_crates +=3D main_rs + single_binary_available =3D true + endif execs =3D [{ 'name': 'qemu-system-' + target_name, 'win_subsystem': 'console', @@ -4483,6 +4500,33 @@ foreach target : target_dirs endforeach endforeach =20 +single_binary_objects =3D [] +foreach lib: single_binary_libs + single_binary_objects +=3D lib.extract_all_objects(recursive: true) +endforeach + +single_binary_link_args =3D emulator_link_args +single_binary_link_args +=3D enable_modules ? ['@block.syms', '@qemu.syms'= ] : [] + +if single_binary_available + executable('qemu-system', + sources: [single_binary_crates, files('system/main.c')], + dependencies: single_binary_deps, + objects: single_binary_objects, + link_depends: [block_syms, qemu_syms], + link_args: single_binary_link_args, + build_by_default: false) +else + error_str =3D f'''qemu-system only support targets: +@single_binary_supported_targets@ + +use ./configure --target-list=3D to choose at least one of them''' + t =3D custom_target(command: ['sh', '-c', 'echo "' + error_str + '" && e= xit 1'], + output: 'none', + build_by_default: false) + alias_target('qemu-system', t) +endif + # Other build targets =20 if get_option('plugins') --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958264; cv=none; d=zohomail.com; s=zohoarc; b=hoscZuMef90eaN3ihmsn9ihTr296pWF7aDegIduIOg3H74T8gdsUGtefFIwB7nf1DfhkAcVP34oNsTs8F3KdCSzyWPNZeiq3ciEs/3OimFVfHZtb4+oRm2DGpn987RjF0+clTE7qRhcLKNwno4kflww9s5OLTe1lUtebBaxZdMM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958264; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=rBCEKQcDYst8FL+P3lsTLAlKApXUvbVZjTMWLzIPKE0=; b=GCey6oKqigKcH7bpSmPyNZteIpG1hqC3OHTVL661F0X/703fEGKFCJpMQVMVwmNZRh923LYulwCq0X7lqM10hLc3bptgfQgSZvpqgkwf6CYZVM/p8yreUiLp8tmDfDME374XHTNMvj5whExIGOhco8Xy4xgAhR8dZSbm3XDK51c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958264635431.33134386551217; Fri, 28 Aug 2026 16:04:24 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YR-0001Et-98; Fri, 28 Aug 2026 19:00:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YN-0000xx-Vt for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:00:08 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YL-0005oi-Vw for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:00:07 -0400 Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMUB5S3777796 for ; Fri, 28 Aug 2026 22:59:54 GMT Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbj3er84n-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:54 +0000 (GMT) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-38e8fee6af3so2069628a91.1 for ; Fri, 28 Aug 2026 15:59:54 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=rBCEKQcDYst 8FL+P3lsTLAlKApXUvbVZjTMWLzIPKE0=; b=hjHPqB399pbQ3f044iYHyGQkNNp 5Iz1VarMyAiozUmMSc9/gmzJM8XhcwsHIOmTvA5qbUZck4r2h48zZRlIbhbTBMfc UhkcDGASfUU6WYhEwSx4Um0lcoNz71BiQ2B9EZbxQ+tcaOe8uQAsKDtG/L35hHAW 6Y0TbZ3sovcFY5b2GdfX6oiYTjNcKL0iqnBwY9ElDfy4f9MdEyTy8kIUASzBxTb4 T/GMaQxqlBYgSmLLKDd3Rf0KaaTbsWMzQYPT8XhM2Jbr3SO/JxXskUdO/QA4dLxL 33CretKe8ephV814o9CSfSftBAsoSwxoxQZ0r41l9BYhPQ4gbmL2GZlAW4A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957993; x=1788562793; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=rBCEKQcDYst8FL+P3lsTLAlKApXUvbVZjTMWLzIPKE0=; b=US9VsTW+qoZT3kGgTV26ViXnKxWzU64KQvvhyX73xWgXEtcni6Mg7rCmF8JHEk1ydq Mf4QlFLYk00RRLwKM17eI/9kgQWMZyHAzcfwMrKhHh//qgw9O9+gVSWn6mf+c1QzuEZp FFR+FJ34olkTGQ9Hr8AlSIusOzqIB/PU3VbP3wAjIu3tvWIkaKx9KA0zZVOlgAELdFgI D4i7Ixf3QhYM7345idtEwjkWCIhukzMYvW5rZJ/rZ4xB2rZocoDJXGnkLj2Bw+7bflE2 8UjDLzl0MlP19FZgiK2iAeugMchQsXQbjJ/LM7OQAshU9W3AicON0pVyiViDiZi3/U8e Mjbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957993; x=1788562793; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=rBCEKQcDYst8FL+P3lsTLAlKApXUvbVZjTMWLzIPKE0=; b=MGmvZ7ADYKQ/NnTdITxm1yBu25omWn8bh/ROEPoKX1nv3HR/CDaKNeYHSX5giwbY/W QkXmFHmVfJCO3PSbT4H/EuGt5DEqG65S5Hje/ShaQIb14MHDA7cpoAkImsTX7ObwaWmA 735YiuqpiiSZS033tLlAmN8JDLPc17itUfafDDOD9B8A2c/8choTqj4r/rdGlU5v515u lBzZMK+kgTuN6jMl39IU+ptJ+xPu/MIQ0jU88oQYY+O3n+1Mmcbi36p1VLfHQbW3mM88 2yHFeSrZiHWwdasWiH3Ig01Gnyn39wU1tKHMJIHq7OPyNNckL6z3X+a0xzOf16U1cr1x Zc5w== X-Gm-Message-State: AFuF++lF5mJM/PzFQuUHaBp9OPNUA6rN+ysbbFsEhuM8vObdWh9PNThS ZaM+rU0ltnRNpOHFrSqxBNYIg9aFRkvBTVjPPAbkvTzOHHioBmFKU/X0hHhxJuSqXp0Nk9hseAj buZm0UQDZ/RSRS3o8bsn8pyWPHfYRbMuU3ZL3CT37eeSW+yJ41d6J0psdcNOTM5n2Lw== X-Gm-Gg: AYBFou3p6hiKqbMDfVPggnzl+0lH/EAvbEVsbpnkAgoUfJRpMaFY8OFe8knW+Gzrq2r NY6yLXzs2YSkLQ4bA6GFYNQ0r3IFBgP89mOvCNMUrPUgpCkHoyhVCGY9ZteHhPKnpJf6V/y+tKv KVl8B17p+oiQGoD2ZYkvqp99L50vzKzDxAh2HkHAneEtsGYyeh9BC7LR3at/7TmM9jCo/CbTB+Z ektmWbqaMdl0zqdIEKj3TssPdQGKDJ1vj4O5YPLNAT3PaggR5rMtUz5J07aa9H59edw4WoKDzYC 41ipwrLe1o3o/Kk3eJDDaXIUdUshDz24Qc/ab4Pa56vCT5IjBw8dE2foJvf27iqa8TcdYnH6ia5 FwIDgVUss5E1j11Hk5F2SFADV0wdVUv2LDInBrngY7hxKIcYPoJfFzu3rIkw= X-Received: by 2002:a17:90a:2ca4:b0:398:a2a3:b631 with SMTP id 98e67ed59e1d1-398a2a3b659mr1798001a91.19.1787957993230; Fri, 28 Aug 2026 15:59:53 -0700 (PDT) X-Received: by 2002:a17:90a:2ca4:b0:398:a2a3:b631 with SMTP id 98e67ed59e1d1-398a2a3b659mr1797968a91.19.1787957992761; Fri, 28 Aug 2026 15:59:52 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 36/47] scripts: add single-binary-compare-cmdline.sh Date: Fri, 28 Aug 2026 22:58:50 +0000 Message-ID: <20260828225901.367438-37-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: peWzvxuj78NxF9PX5FFaBPuuHpv9XaBT X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX8Zi2MkU/lIdj guhLMyiiqhTK+hT/PwEeVMcPS4UK083wjQJQJjU/Agt8KxQZxLyJ23NC5Yn8T6WL4c3LKibbr26 4R+/1WeA1SDx1vzQXsfkvaSiUYpTYVSj+30lN+jJ4I0JHM039MLB77iEz51Bkptqa2BEEUcT6Tw 8hYSPRD+9a8WYFFcIrG2pqQeDP6WEYQZ2hM+kHvpuE+8IPnB/04emzty52atLI57hWDhwPdP1qT VQlX+O62QKrkeIUWFiyYcsQesxSLN/x0JabEytUdkh5GlU08IK4lToe4/xZVGjS0mWkHmq0wnGt g5ajnN46f669KVwbwhVZNKwgWCvby1XbMBnLoBIqiG1uOPex/D6TKOhkKXU6bUH7bYQM2kjqE7l 4uUnNJEaRX1UJy3O2qu1zIMMswZIBA0MrI21hMT4tLRi64/a98Q5vpvSWxcTuRmwtBtEWnJZ31X uPdkiAydR5AXosUgIBw== X-Authority-Analysis: v=2.4 cv=QLVYgALL c=1 sm=1 tr=0 ts=6a9212ea cx=c_pps a=RP+M6JBNLl+fLTcSJhASfg==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=XUr69sVFxOoefRFJqTUA:9 a=iS9zxrgQBfv6-_F4QbHw:22 X-Proofpoint-GUID: peWzvxuj78NxF9PX5FFaBPuuHpv9XaBT X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXxOhzKOvGsTSh qEEXWLmao26V4Fo61+8QIY1iEoDahrQ9/0Bsm3GtOIju/ET/1XqvSzM48J1V126QpO+2ZIk7sY3 d8Qp1aNIDrKc16wTTuVVahmjFCkxvLs= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 spamscore=0 clxscore=1015 malwarescore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958267335154100 Content-Type: text/plain; charset="utf-8" This script compares output of single-binary for each target with original binary. We compare cpus, devices and machines. Signed-off-by: Pierrick Bouvier --- scripts/single-binary-compare-cmdline.sh | 51 ++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100755 scripts/single-binary-compare-cmdline.sh diff --git a/scripts/single-binary-compare-cmdline.sh b/scripts/single-bina= ry-compare-cmdline.sh new file mode 100755 index 00000000000..a9d4cb4fe43 --- /dev/null +++ b/scripts/single-binary-compare-cmdline.sh @@ -0,0 +1,51 @@ +#!/usr/bin/env bash +# SPDX-License-Identifier: GPL-2.0-or-later + +set -euo pipefail + +targets() +{ + ./build/qemu-system -target help |& grep '^-' | sed -e 's/-//g' +} + +filter_version() +{ + grep -v 'QEMU emulator version' +} + +filter_usage() +{ + grep -v '^usage:' | grep -v '^-target' || true +} + +filter_trailing_whitespace() +{ + sed -e 's/\s+$//' +} + +f() +{ + filter_version | filter_usage | filter_trailing_whitespace +} + +ninja -C build all qemu-system + +ref=3Dcmdline_ref +err=3D0 +for t in $(targets); do + echo ------------------------------------------------------------------ + git diff --color-words --no-index \ + <(./build/qemu-system-$t -help |& f) \ + <(./build/qemu-system -target $t -help |& f) || err=3D1 + git diff --color-words --no-index \ + <(./build/qemu-system-$t -cpu help |& f) \ + <(./build/qemu-system -target $t -cpu help |& f) || err=3D1 + git diff --color-words --no-index \ + <(./build/qemu-system-$t -machine help |& f) \ + <(./build/qemu-system -target $t -machine help |& f) || err=3D1 + git diff --color-words --no-index \ + <(./build/qemu-system-$t -device help |& f) \ + <(./build/qemu-system -target $t -device help |& f) || err=3D1 +done + +exit $err --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958192; cv=none; d=zohomail.com; s=zohoarc; b=dv3RPrwYXpwAJ3fqa4hO1ZNCz9dOi3ye/Rou1diRawZxPC+IK08z6GvIKtRdbE99hp5JT/0bTypLl64T5QFCEqagThJ7J4jgl3goxlnfAtqCtx8giqefDRwu22RxrIC2P9M8pVUMjvGlvMGvtGSn1xUSFXYYbTCuiIEqreOPFmE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958192; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=8qJP0WUIKumvhNB6y8r27scL/w5mIWitjEjQIjp2rBQ=; b=V74EGXKUk70yqVS0XWNn1RIeZ5E39sGN3kwEK8YJ9NSLTQb19zTI5uMFjfeb9hY5MbkNO9QtuchtvWuOBzxRAQR49PQt6PlHGdQVidL9EFcmS28kIqFEzojAStCKU+bFNXUuNga1fAWERikoZKcqFaXINWviLyxxJkqch1yZw7M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958192607556.4933830163177; Fri, 28 Aug 2026 16:03:12 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YQ-0001Al-KE; Fri, 28 Aug 2026 19:00:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YE-0000fn-Ab for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:59 -0400 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YC-0005p8-Ln for qemu-devel@nongnu.org; Fri, 28 Aug 2026 18:59:58 -0400 Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTEVd501634 for ; Fri, 28 Aug 2026 22:59:55 GMT Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbgpc0gre-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:55 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2d7151120d6so28374775ad.3 for ; Fri, 28 Aug 2026 15:59:55 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=8qJP0WUIKum vhNB6y8r27scL/w5mIWitjEjQIjp2rBQ=; b=aqUvI+paQJg2Bt2hXsva0y+lakf ZyMgf2Eokp2gEqmFG1wi4bMJtEP2gxeYvKOJBnw7kj4xI1WqWMCxzEOr+JzKr2Hn tgN/8StNbQmTodcVEfsUP+Hd7/SfRav1l3dhxdLk75orpeb2W4IcLuAwpgCokxzg TqgginzOaJDoQFu/icCOsjWMKjDTncuR2ejWbSuFgusLnC3UymS4cznC0jQwvqJw GCkTHJavWmvQyvzlVkNEBFqB/P8Fr453OmOEQe1wswP7DEpUTnyg6Sgwp5e8xJl/ 8yPpMeJFesq4DUtyF9NGHsaTMekT4b+JTPVTg/oCw6v//KIrtXoc1KXnhZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957995; x=1788562795; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=8qJP0WUIKumvhNB6y8r27scL/w5mIWitjEjQIjp2rBQ=; b=IRVKqIvPp/v1LmcMssqHhoJ/f4avS8gB7UkejDY3+XdlvzTmY/1fpdfpfZYUnFRHfx +KOHOysrjojULJDbPkYWH0PY6vowra/1om10dmcjT6fysqcEh7VyjNWyggErOVCyoRdV 9fS12omR5RjgjyQTZXAieaYYnNO/pr38k0xBOBdp2NqhVVNzCka4DDseOltltZ24m2aO e+fCc3nE2dqCpmgRaHjmgyEP3/t6JeED3YCsT1THyZoqf9tjQ3RzyreJp4SXvJ4f8v4O fGXfNrWnkLQAm8hTwkMrSAQdoyJmqW8vCkpL27G/JS4soGag8p/Jp2j/UMbNlUiE4id8 zC5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957995; x=1788562795; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=8qJP0WUIKumvhNB6y8r27scL/w5mIWitjEjQIjp2rBQ=; b=SL/ywzLx3KiC30eSMwUQ48BJ8tZhL+QRDN6uWUTxghvHXX9GtLnFcavb4L5jhJCKkn YB/NMLGs5KD82X9lq1QmMKxVqZd1IqOaiNnK/ehxZ/9Q1glhdtsGJQcMlmixEhez9ZUt Xqjhjb5ObwvekD6IHGD2xvcSe8CDuw0kGtJNF5DFvgzXD3sX51gvWjlo4PYUx5lgf2Xh 5XSR/oZH4eU0NgLRnPcS8tdaqoDwlZ4kiButSylot+Vm9Iic12TyrVE8YdNKoRJQDQiK DbFjcukqXjBvXan33c5ociLVYhTphcglYj2v59KMKwkGjEGzwqTCYdUCrDb7cdG44VSq bmwA== X-Gm-Message-State: AFuF++m7zy4UrHYjtmwtqDkQBFJYmvACoHtGSUWDwb7LzDr0N6tdR9Nb ckMrN8qDYFw0ClcMAwJWslMHd/kmYoMGMmxrvbu7HTSNIXzEA9qF3LGwhKVqepGkVyjXpKiVDeN SNTJT0t3OB4CbFu2GqKSwWouRglcCHj5uJgOLCFyRmjnCy+NntL9qzxXtymK1MqQC2A== X-Gm-Gg: AR+sD13arikxKGqlyX6LJG/gOAuZw45YtYj6kVNvIo+DVZce91hysSvdJv/+ebXWihL YO7MAh8mrs8jF81JY3qC2x/mrj/yOspACCUrYOKCj5/KLsiwz8R5hddQfah+bdPRRErapLIdmkN C7vN2PI1oasTAl2X+jUJv+ePJiolBaOCMbQkb/A28x1PIhOH8inbdZNtxhlxTflbGTAmIwwrCIZ 6CBEmH+hHzWFS6tkO2HoVdXk72tluQE0HaBE/xHCoFlWeLjQAQ3O5xFElm0WpoEcxMd1yba0Uys flDGBfo9JGNJPfCUGNF/Ry37PXSTykb02Aq0GYRLmVQ3+iBbyhxEsjAXs37B8kiRkZrPM2CU53g TBjY+osOsVYXWfm2IuY63GhjBy7yBZdHgzvfsUxnX+ZTHph12nv8nWUVDlyY= X-Received: by 2002:a05:6a21:e58d:b0:3d1:af47:5f74 with SMTP id adf61e73a8af0-3d266eb83ffmr21263834637.6.1787957994699; Fri, 28 Aug 2026 15:59:54 -0700 (PDT) X-Received: by 2002:a05:6a21:e58d:b0:3d1:af47:5f74 with SMTP id adf61e73a8af0-3d266eb83ffmr21263801637.6.1787957994297; Fri, 28 Aug 2026 15:59:54 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 37/47] hw/core/boards.h: add available callback to DEFINE_MACHINE_EXTENDED Date: Fri, 28 Aug 2026 22:58:51 +0000 Message-ID: <20260828225901.367438-38-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: bmEusbFsg9LxRkeNkflPFlLnxq80lroP X-Proofpoint-GUID: bmEusbFsg9LxRkeNkflPFlLnxq80lroP X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX4Q72x8GmaIoD 08NDaqss8ygM7SMuT9v6Q4FbmFGSo7smEUl/kNMS+9BBw1MvoXpwnZ7fwORPBbo9xIXPvNsILIB mHj7jZFVovP4MwfOrYRduoDXt3zXKrQ= X-Authority-Analysis: v=2.4 cv=dtfrzVg4 c=1 sm=1 tr=0 ts=6a9212eb cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=EUspDBNiAAAA:8 a=E4SIj56ecO4WXdA6mQYA:9 a=324X-CrmTo6CU4MGRt3R:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXw3BFaNmXHhpN sgyuE9wZqhd+l3hxuMW2URugKfAmg95ZXKL9NpNEAxTxjS64M53O5eNGX8B8jrTHag1mczfapcN dseY3C4x2qnnbO5XG28vbasCIkxKiv/meUmXUxIWI8EjorhViwdShM3q4X3TxpfsIhcZyjj+mNf LITelyqGoyRaUqquHZeuk0mhxK3fcM714A4KKu+dIr4y9pEqQqmcZNIU/aMNp/ZlJDHMfq1/yeu mJaZYurSQP0qaj54ieQ//IzK7sJxo7ucWBsxM77em/6XlzgrZVUa5s6iPbj9EbUaq26fjGQPWO6 r9xWAX4vZuJhvbQPHhnfr6dx8zXkmJjy2tc6V/nI55DMvD/l7vVmQHX0r/efjwdkhwG4iuI5Xpc tuimKYBX2kYHw3uN23vqqXNFW6iZhSjL/PgnQn7+2NGFDRWPM0fVSTs72WQUCC6IeZO7CJ1RCri Vl6kWRI26N8U8v4aDWw== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 suspectscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 phishscore=0 priorityscore=1501 malwarescore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.180.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0b-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958193686158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- hw/arm/bananapi_m2u.c | 2 +- hw/arm/cubieboard.c | 2 +- hw/arm/integratorcp.c | 2 +- hw/arm/mcimx7d-sabre.c | 2 +- hw/arm/musicpal.c | 2 +- hw/arm/orangepi.c | 2 +- hw/ppc/pegasos.c | 2 +- include/hw/core/boards.h | 10 ++++++---- 8 files changed, 13 insertions(+), 11 deletions(-) diff --git a/hw/arm/bananapi_m2u.c b/hw/arm/bananapi_m2u.c index 8f59111fd4e..7b86986efb1 100644 --- a/hw/arm/bananapi_m2u.c +++ b/hw/arm/bananapi_m2u.c @@ -153,4 +153,4 @@ static void bpim2u_machine_init(MachineClass *mc) } =20 DEFINE_MACHINE_EXTENDED("bpim2u", MACHINE, Bpim2uMachineState, - bpim2u_machine_init, false, NULL) + bpim2u_machine_init, false, NULL, NULL) diff --git a/hw/arm/cubieboard.c b/hw/arm/cubieboard.c index ae27056938f..da45bb2be52 100644 --- a/hw/arm/cubieboard.c +++ b/hw/arm/cubieboard.c @@ -134,4 +134,4 @@ static void cubieboard_machine_init(MachineClass *mc) =20 DEFINE_MACHINE_EXTENDED("cubieboard", MACHINE, CubieboardMachineState, cubieboard_machine_init, false, - NULL) + NULL, NULL) diff --git a/hw/arm/integratorcp.c b/hw/arm/integratorcp.c index 382ea7850d8..6314bbb6c13 100644 --- a/hw/arm/integratorcp.c +++ b/hw/arm/integratorcp.c @@ -705,7 +705,7 @@ static void integratorcp_machine_init(MachineClass *mc) =20 DEFINE_MACHINE_EXTENDED("integratorcp", MACHINE, IntegratorcpMachineState, integratorcp_machine_init, false, - NULL) + NULL, NULL) =20 static const Property core_properties[] =3D { DEFINE_PROP_UINT32("memsz", IntegratorCMState, memsz, 0), diff --git a/hw/arm/mcimx7d-sabre.c b/hw/arm/mcimx7d-sabre.c index db8a62e5f6c..2c884b5c78f 100644 --- a/hw/arm/mcimx7d-sabre.c +++ b/hw/arm/mcimx7d-sabre.c @@ -87,4 +87,4 @@ static void mcimx7d_sabre_machine_init(MachineClass *mc) =20 DEFINE_MACHINE_EXTENDED("mcimx7d-sabre", MACHINE, Mcimx7dSabreMachineState, mcimx7d_sabre_machine_init, false, - NULL) + NULL, NULL) diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c index e1a336e861a..52805e41892 100644 --- a/hw/arm/musicpal.c +++ b/hw/arm/musicpal.c @@ -1365,7 +1365,7 @@ static void musicpal_machine_init(MachineClass *mc) =20 DEFINE_MACHINE_EXTENDED("musicpal", MACHINE, MusicPalMachineState, musicpal_machine_init, false, - NULL) + NULL, NULL) =20 static void mv88w8618_wlan_class_init(ObjectClass *klass, const void *data) { diff --git a/hw/arm/orangepi.c b/hw/arm/orangepi.c index 7a19732f5df..87ed2ef4b69 100644 --- a/hw/arm/orangepi.c +++ b/hw/arm/orangepi.c @@ -134,4 +134,4 @@ static void orangepi_machine_init(MachineClass *mc) =20 DEFINE_MACHINE_EXTENDED("orangepi-pc", MACHINE, OrangePiMachineState, orangepi_machine_init, false, - NULL) + NULL, NULL) diff --git a/hw/ppc/pegasos.c b/hw/ppc/pegasos.c index 9d7e279123b..ad8aca85ab3 100644 --- a/hw/ppc/pegasos.c +++ b/hw/ppc/pegasos.c @@ -788,7 +788,7 @@ static void pegasos2_machine_class_init(ObjectClass *oc= , const void *data) } =20 DEFINE_MACHINE_EXTENDED("pegasos", MACHINE, PegasosMachineState, - pegasos_machine_init, true, (const InterfaceInfo[]= ) { + pegasos_machine_init, true, NULL, (const Interface= Info[]) { { TYPE_PPC_VIRTUAL_HYPERVISOR }, { TYPE_VOF_MACHINE_IF }, { } }) =20 diff --git a/include/hw/core/boards.h b/include/hw/core/boards.h index a436d48c8e5..2e2acdb6867 100644 --- a/include/hw/core/boards.h +++ b/include/hw/core/boards.h @@ -514,7 +514,8 @@ struct MachineState { */ =20 #define DEFINE_MACHINE_EXTENDED(namestr, PARENT_NAME, InstanceName, \ - machine_initfn, ABSTRACT, ifaces...) \ + machine_initfn, ABSTRACT, available_cb, \ + ifaces...) \ static void machine_initfn##_class_init(ObjectClass *oc, const void *d= ata) \ { \ MachineClass *mc =3D MACHINE_CLASS(oc); \ @@ -526,6 +527,7 @@ struct MachineState { .class_init =3D machine_initfn##_class_init, \ .instance_size =3D sizeof(InstanceName), \ .abstract =3D ABSTRACT, \ + .is_available =3D available_cb, \ .interfaces =3D ifaces, \ }; \ static void machine_initfn##_register_types(void) \ @@ -536,14 +538,14 @@ struct MachineState { =20 #define DEFINE_MACHINE(namestr, machine_initfn) \ DEFINE_MACHINE_EXTENDED(namestr, MACHINE, MachineState, machine_initfn= , \ - false, NULL) + false, NULL, NULL) =20 #define DEFINE_MACHINE_WITH_INTERFACE_ARRAY(namestr, machine_initfn, iface= s...)\ DEFINE_MACHINE_EXTENDED(namestr, MACHINE, MachineState, machine_initfn= , \ - false, ifaces) + false, NULL, ifaces) =20 #define DEFINE_MACHINE_WITH_INTERFACES(namestr, machine_initfn, ...) \ - DEFINE_MACHINE_WITH_INTERFACE_ARRAY(namestr, machine_initfn, \ + DEFINE_MACHINE_WITH_INTERFACE_ARRAY(namestr, machine_initfn, NULL, \ (const InterfaceInfo[]) { __VA_ARG= S__ }) =20 /* --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958125; cv=none; d=zohomail.com; s=zohoarc; b=Wott2RbMubdDjuaIVk/b3VjTny/XBspdn/TjmxPZRM2cAgggLmOSH68hq7dqxHftonR30vjYrkjEkm/x6AJ0wEofemThHPduy9lgfr3IEAciyvuKyB3UqGrN8g09ZTbi/uIjzIGy/IFnPfOAcuWrM4n1ZdcunTX69+rbPvdSt+8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958125; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=s1rVLBMIWHxKnsT6S0IlxsaEj4BE12BpOyuaebWPi1M=; b=RTGjR8BKCy3idJIhmxXPLte4NPmmpXt7v2OYWp3oAKEUpZM1iDuX9H/BldI9ax6GOUGZqH4E7G5n/hgMGp1BQyuP7x904diHTjSDG4UK133APJRAs1/u/OHwfrP9UX3EreumMUOf5pfiUaNwVRjmZge24mvLezOzeUjWnk6qscU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958125563711.2800618890949; Fri, 28 Aug 2026 16:02:05 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YU-0001LW-6o; Fri, 28 Aug 2026 19:00:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YP-00018G-Sb for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:00:09 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YO-0005pG-1O for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:00:09 -0400 Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTv8d146839 for ; Fri, 28 Aug 2026 22:59:56 GMT Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb7eh2s4u-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:56 +0000 (GMT) Received: by mail-pg1-f198.google.com with SMTP id 41be03b00d2f7-cb6cf425e86so1829444a12.1 for ; Fri, 28 Aug 2026 15:59:56 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=s1rVLBMIWHx KnsT6S0IlxsaEj4BE12BpOyuaebWPi1M=; b=dggRfikJxxkZ8qu4Rkcf6awh2X1 j4mlKy44LxS/QeESkH4DD+V1cAIeWJLyCjHSOh5KHGqO/QQHGI58YhUb8tQkz1ad vp5VSsp/qYnYjLXZRMzexJO3uf73WItGGRbdUnshfJ9eSyAXiPydMaI/URT5iK5q NRnu9k1DiFqrBq2kG84MKFK3pvSdHXi+4xQsLGLVe+QvQNF1u1ZxpcjGKKrHYM+g cMxCap6P8LaULxICcLm+xx4hEZcrRyAAGGgB0SW9oRQBvvCMRBmGFw39/QzTZxn2 +07QCrfaivwdkYO68UnB0Wvjh9vqCkoIJVb42tjk9K9k2QXBLASwtc7ImKQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957996; x=1788562796; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=s1rVLBMIWHxKnsT6S0IlxsaEj4BE12BpOyuaebWPi1M=; b=d2r1D1shiQsHKiQG5wkByBwZ11gBVbGrZ/74Q8n2TYNbxCbmgrj39HxYpmc3sAGaLg /hQU0X75VogcAaq5/MgWPrsL9QlubZ6hEG2/jYDigHiK2tgz/R41/oHqWDiOpafUgBG1 DbtFRlS/b1pFywrnpdSMWV0u3/QdXsYyjYvVrwAM3Pxxq9/GPN7HAfp/ZH2vn3fN4bRg 0wtjQpzFVIS3PoH2y9zjcqWWeZfWH9TLeSrBgFfdfamwoVKJfOIMZ6WRcYkAL9VE6xHA XZLamN/fGFQBW7kOmatwApM8J1Tyipqmlvq3ZxJBYdw+80HUntAY+qols6FIF1sbru+a 5OVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957996; x=1788562796; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=s1rVLBMIWHxKnsT6S0IlxsaEj4BE12BpOyuaebWPi1M=; b=T5ge5tgxMj8eUU27wSOqlavekMHuNY86Zyn9eWMkq8viHM5wXCdciO2GfLaOiPbfgq +5wBXld4O3P/O+Nb9SFejcle/X392MPxUEUx6ojZcbO4BA+off40F/YnPeMGmnLiyWb6 W7G3EYyfvC5zWh/JTAFhYacMWGGYm4/7LiteX5U3FogsUx7hnIVSiLKjXCOJ7BPOC+/I vxraOW8QCTXk7FsqFY5Cwf0iKpfARMv1XpXZj80+MPdtkgyr6EmQJq+j3VHHA0dLIhsu 90lVHwUHX8m340oP2OUsfLRwEmWRE0YSSWMs9uueta1ufIexy1YXLVYKl1ZJ/ILg3OTL t+QA== X-Gm-Message-State: AFuF++kCD5jpZUE9Z/yacdMnabUgtQj1zU/Er+pyLIWnDBzS9kIuWIbY sEgSWAZ71Z+HUHo7set0tHlc4XgfYWjFmzjJZPrKf3ztA7lpT8MOGj1+c8m7813AcgZSfzz38IL RG1CeMmYI+izxebPrEDcywLg90nyYY5F3NvrkJ0kOiSMeuBOpLLLNssnDIPm25svhEQ== X-Gm-Gg: AR+sD135XT4Qa0KEwSxPvJvzY8oOhBJJ9Nu0HCyjzvFNfeNbiUIG2xI0oRH9kDkq2Gq bmYJG1XSMquxRFUb0WGjwYtAP3zxniA+p5qxs+JQDobQnGWq6H80rApeDoWO/SjOgUIMXblgega to5iUNfzqZgmkf8jGOlVcdh8kHSUL5JocdShTuZzvlsudmftQaA6HTz+M6M3Fjoq4v6UxPGj19S 5Q1a+P8oHU248oupxf+m8XhWFYHwrn7g0Suj/jc7iOZef/UpdnU54wbwz8IBX+6IF86woEBud4S ph1Aj7qxY/55VLQtkLpSXgG0YXlQfsyGAD70gVR4mcz7+kxt5JLuh3gqaQ2L9si49chVRyeICKf fG2ePxw8Ln9ijPP5fFQtcPITqyG+r0i98bfY9Jbq7aBdtbyHHVbpr1menClk= X-Received: by 2002:a05:6a20:3944:b0:3d3:ae40:51df with SMTP id adf61e73a8af0-3d3ae4055famr3399242637.19.1787957995900; Fri, 28 Aug 2026 15:59:55 -0700 (PDT) X-Received: by 2002:a05:6a20:3944:b0:3d3:ae40:51df with SMTP id adf61e73a8af0-3d3ae4055famr3399209637.19.1787957995463; Fri, 28 Aug 2026 15:59:55 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 38/47] hw/core/boards.h: remove unused DEFINE_MACHINE_WITH_INTERFACE* Date: Fri, 28 Aug 2026 22:58:52 +0000 Message-ID: <20260828225901.367438-39-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: U1htTDIVYwICP1pNaffhlVTR_6l0qFec X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXzFRcB23RmS4N 0cwiWofCpBBKe1CLX/W4U2ciZWVy73P8ObG8pdrukkAXcXT0iBJHPUjpOBRwDcQzTviC3vTW/cO MVCn8z6k6c2GJXNyq7DgYI6UmsZYVWqzBcqRozx8kXz0tzBG6ilZeXPYPvWW7EsNO+CbFOtxG82 OzVsuX9JAUSG/ya5/I0qz3igyn7jURJ9wpAjJczlO+Z3aV6JZ9QTDYZXbOG8skLlZwJZSIrRcML 9Mwb5C0kztbIbPGqCi4dHPysjSrQvABkoukx2K8Z1vOjbc9EBl0PEG7XJXSV5CMeWyqh+7pa0Oo kf7oVriGPsPFg2nwBC41QrVG+myfltG4IXKWBXe6M5FRXrSilZ+SnsTdW1WdAhI6DJAazhbGG3g AmMZcHswjmcOvShrpp5daJxry2rCwYtMVP7/4trnHVwWQbFcVkzBZWwJZhcYMGDLWjeHibVfALk B/X/NxTNfdZkr9OQBUg== X-Proofpoint-ORIG-GUID: U1htTDIVYwICP1pNaffhlVTR_6l0qFec X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX3CpcJgg95b7a IrwQZc9YUiKLbzK+CADoq3maUxWaWGQ/QSFeHhxy7zMmPeCKplEeqiV0905g24Nq6CVigY+Y9Mz Pcw3SliFnAd5CsQlgY2aN8PsAnYnNgI= X-Authority-Analysis: v=2.4 cv=RoP16imK c=1 sm=1 tr=0 ts=6a9212ec cx=c_pps a=Qgeoaf8Lrialg5Z894R3/Q==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=EUspDBNiAAAA:8 a=Drpi8JZk3zr7esNuAscA:9 a=x9snwWr2DeNwDh03kgHS:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 phishscore=0 suspectscore=0 impostorscore=0 malwarescore=0 spamscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958127311154100 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- include/hw/core/boards.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/hw/core/boards.h b/include/hw/core/boards.h index 2e2acdb6867..a745187847c 100644 --- a/include/hw/core/boards.h +++ b/include/hw/core/boards.h @@ -540,14 +540,6 @@ struct MachineState { DEFINE_MACHINE_EXTENDED(namestr, MACHINE, MachineState, machine_initfn= , \ false, NULL, NULL) =20 -#define DEFINE_MACHINE_WITH_INTERFACE_ARRAY(namestr, machine_initfn, iface= s...)\ - DEFINE_MACHINE_EXTENDED(namestr, MACHINE, MachineState, machine_initfn= , \ - false, NULL, ifaces) - -#define DEFINE_MACHINE_WITH_INTERFACES(namestr, machine_initfn, ...) \ - DEFINE_MACHINE_WITH_INTERFACE_ARRAY(namestr, machine_initfn, NULL, \ - (const InterfaceInfo[]) { __VA_ARG= S__ }) - /* * Helper for dispatching different macros based on how * many __VA_ARGS__ are passed. Supports 1 to 5 variadic --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958102; cv=none; d=zohomail.com; s=zohoarc; b=YOLQ9k5i64x7cxybUEZgI4V8X+1eKXmbAPnWUGYUWhEt5OzkShFA7JPNInG6SIe/3sOWu3WL6o21v/OGvrly/Xvc59GHzNY2oaugr345nNrmgZ1BKRLmkNH41RzFXXyu+fU/lpIwtzbYFJ7WKK7QR664VZBiDqWdlwn28tIbKsA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958102; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=rT1TNI4nyyjFa2TmSsXf12bEzyRWuDfamSyO6S/wR88=; b=QMWNyqDjOYbDUVyZz/EkbM8/q4B0zMDRJelJdBPRPRxbYZLsKXWzU9CUiVlzGBcmUb3lcA+mXINrpiMjz/7h0ZrZXWQxPGA9qg3YuDolIzqQuEHNJSrmUkAA2K2DlbFW4m8+r68Ryvk3nKz1amRoPJwGiO7GVNgRNBfvs/EUhyI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958102734192.5153847154769; Fri, 28 Aug 2026 16:01:42 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05YT-0001LD-QV; Fri, 28 Aug 2026 19:00:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YS-0001IR-4V for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:00:12 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05YP-0005pT-BC for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:00:11 -0400 Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTCuQ3665672 for ; Fri, 28 Aug 2026 22:59:58 GMT Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb3mubsy5-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 22:59:57 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-38fa7b09921so2822362a91.1 for ; Fri, 28 Aug 2026 15:59:57 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-142e0de4de3sm12862827c88.12.2026.08.28.15.59.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 15:59:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=rT1TNI4nyyj Fa2TmSsXf12bEzyRWuDfamSyO6S/wR88=; b=AQiV0FsK3vc4KtElWFV0jvmTCRm LlRO1GGtn+OIS97u9f2ksYu6Zmu/w/BNCsGLQ8bprqN3mjoEqkoiKZCL8UW8iQ27 i/0j9h5drZpI0+YBsKXAyPnsve1WQ6gz4Z0UlvKYVctN9bSMEH2GyKufSiKrmDPa ncEkHLhsgTNgo2lOmMqzDvNvcw9qHnU7bqQhiV87QnB+/uzGTQ9R34DdbtOcUBfx k0PHAsZdtOwlqXCXVJuOah+EzXDBnH0RQvnJDsB4kHH/dY/H0624AdH0ubDv12a4 uU7jeigoOfkFOfCOCmLL1YnMRRpzFLrTJUjE+S9bjJc511fm2oMOlUvDsBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787957997; x=1788562797; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=rT1TNI4nyyjFa2TmSsXf12bEzyRWuDfamSyO6S/wR88=; b=jqjrZvGBz28VeIQJkh0xCd72zQARI431KhIWu1W45fpZNgMvUR3MJS21UV+TZ8AUVN 7OIEZi/94RZaYsFBxfTNSip6ciDdD8OFQnLeNaPKW1C1JMze2PKkbombcDrEAxEI86IJ MNvkj4E0UIXByPHCeG/m4NkrUu4fEdL0DEyrpmOwZ85MZy52bnGI0Pm34mUHEhpVQj4L NzWObVJnwQYoJkUsaPdPwM8UuTr5pGlE1zd0jjsi/ZQ7jYp5TN///vo9S5I80nQn7bDY 87QqFZDrw20KR/bym89NF6WHCCxyY7CKJv7dqiMkAzz7xmADcwPo7uENVYKLuSs56JjI w1Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787957997; x=1788562797; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=rT1TNI4nyyjFa2TmSsXf12bEzyRWuDfamSyO6S/wR88=; b=rTmORJt5Add/COZOViN1rHsiAIpuU65w7waVbpYbhYudC7vftodPFxGS3Pg03e4lCL kE9o5RVbxI3S0WE+wMUjy6EbOXpSK4zgepCgkao9KkMaCTRK7bPGwTd8OQXuQgULNH+8 t8ASi5ivv2ulbwIx3bW3NRiZrZb9IMVvW15XR80OjuU2uCYJ88lS7EoyYGtO8oAO7+k+ mwsfoYcyzMrKZtiAMHFo8zFDQPNF8PU7X37SRItWtclZsnluR2bZ3jowv1C6a8rxgSnr g4lLWdT5CvEeDbkev/VAdcNBZxWukv1cUscRVT7kZUYoYmybxOHY8JxYKiOuYSN02I7i ia5A== X-Gm-Message-State: AFuF++nGCMByWmN+ucn3iWcv+RjW+XoJ88vsjAtrEbZ3dpRg/m83QUoM jNvNKMuz/baL5ygUQ6S0bdh1A/APawbTaNRJwRJYGbUwX+SlWxmCPvP82vgTo1f52lGb0vS2/kN bix2WAMtYoPo9bOLlJaV/sLUOprIsW1b7iz0+PHRm7DXCzW8H8Sq2Okvp5OBAuwSpnQ== X-Gm-Gg: AYBFou0dLsBUG1kBPa7uMD6FFF01uFzTFwgPSnQfofHZJ6WBuG79+tWuMXuuWTNg/pp xQ2QWgYfGhJkVsDi7Yyr9syApV/A4Mth5Sa6tECFG3A/j9eI+tb0fhrnXfjBTZLpqTd2mPR0h5o ByEIM9pVME80/iSif9BkzWFTSGPmKYEp6rkDRpuIOft+6Tm4Qvugy9PwM6v9JCNvJjlR8qNv9pf 7+yyj5T4E4II+hhV7A9dy+7KgMvksalA0dMw4Trw+ToS3Whoxe47RIvC6yW/qFjNkHutrCeKhEU c7PPEcX42vEgwJt4n4B7JoyOpL1q3ZRVrAGQ2+5OMNl/KFtT7i7PbATaBsYCr0ayZeD3ukWbuIY W3a+xea9T1UpATBpuMegGxw3LGsoLzdkMiIrSe2FVXjhKPYWjQzSaNjuGLTM= X-Received: by 2002:a17:90b:1806:b0:398:9be8:ea68 with SMTP id 98e67ed59e1d1-3989be8eaafmr3667057a91.21.1787957997260; Fri, 28 Aug 2026 15:59:57 -0700 (PDT) X-Received: by 2002:a17:90b:1806:b0:398:9be8:ea68 with SMTP id 98e67ed59e1d1-3989be8eaafmr3667005a91.21.1787957996755; Fri, 28 Aug 2026 15:59:56 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 39/47] hw/core/boards.h: add available callback to DEFINE_MACHINE Date: Fri, 28 Aug 2026 22:58:53 +0000 Message-ID: <20260828225901.367438-40-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=ZbMt8MVA c=1 sm=1 tr=0 ts=6a9212ee cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=EUspDBNiAAAA:8 a=zoqp7TUp9j7u2cceVAMA:9 a=rl5im9kqc5Lf4LNbBjHf:22 X-Proofpoint-ORIG-GUID: vsbSupxyZ4pV7C095R9PHccyuvaMW0jS X-Proofpoint-GUID: vsbSupxyZ4pV7C095R9PHccyuvaMW0jS X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXyFfbmw7/kvE5 7inG2DGWHwc20dme5F9oz7FEb+QjoNyRRUkckiYlkHWEXMRicKMluEF1HzaB0LE1YkKVosZPsyV MfpjPZNBkUY8URd1kieapYYmFr8WXH0= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXw/X1dBnKKBU6 XKSmYAd9q8RBDbgNvkQHJs4x96bkVwc8B+aNB+WKDsiSNVDmdYKxu8Q4WnoSYyeitvdRbPfkhcl odII8GuFCylyyA5D/YKEhbYOc3lf05cb6ZyBnJlvmogRvCEu2u1hbPTlyR7NYDQeFnM5JjHSbsC 4MCW1ocPH9jMZZJHWM3qeVDGQDO2TeiAHPrfot1mSWCk57Y6GAG02j7ei2V6SpP2KOMy86Tlh/e 30ZusBjF5r33HLdgFnhCFxo4LMAxXEwB+9I/1la+SKAlbTGybcoNWmiUjLaefoNnEP2eFd4AyuM 5SqUMzFi4POgFj/xcOyoW9b3d3B+E44t4i8ICstHWzwtjLUVeDbi+uzmb8O0Ag4pAaPb8CGr6ds 7acBG5P9Xcbe+xV8iM3XtA3sWeW/90uC5phg2onbkLKHfaBOzwMxG3ZOA08iNAukuzup+71PosA PR2i/xRacCiAPHu0D+A== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 bulkscore=0 adultscore=0 malwarescore=0 suspectscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958105073154100 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- hw/alpha/dp264.c | 2 +- hw/arm/digic_boards.c | 2 +- hw/arm/imx25_pdk.c | 2 +- hw/arm/kzm.c | 2 +- hw/arm/max78000fthr.c | 2 +- hw/arm/mcimx6ul-evk.c | 2 +- hw/arm/msf2-som.c | 2 +- hw/arm/netduino2.c | 2 +- hw/arm/netduinoplus2.c | 2 +- hw/arm/olimex-stm32-h405.c | 2 +- hw/arm/stm32vldiscovery.c | 2 +- hw/core/null-machine.c | 2 +- hw/m68k/an5206.c | 2 +- hw/m68k/mcf5208.c | 2 +- hw/microblaze/petalogix_ml605_mmu.c | 2 +- hw/microblaze/xlnx-zynqmp-pmu.c | 2 +- hw/mips/boston.c | 2 +- hw/mips/fuloong2e.c | 2 +- hw/mips/malta.c | 2 +- hw/ppc/amigaone.c | 2 +- hw/ppc/ppc440_bamboo.c | 2 +- hw/ppc/prep.c | 2 +- hw/ppc/sam460ex.c | 2 +- hw/ppc/virtex_ml507.c | 2 +- hw/riscv/boston-aia.c | 2 +- hw/riscv/microblaze-v-generic.c | 2 +- hw/sh4/r2d.c | 2 +- hw/sparc/leon3.c | 2 +- hw/tricore/tricore_testboard.c | 2 +- hw/xenpv/xen_machine_pv.c | 2 +- hw/xtensa/sim.c | 2 +- hw/xtensa/virt.c | 2 +- include/hw/core/boards.h | 4 ++-- 33 files changed, 34 insertions(+), 34 deletions(-) diff --git a/hw/alpha/dp264.c b/hw/alpha/dp264.c index f928e0cee82..b145a76dc61 100644 --- a/hw/alpha/dp264.c +++ b/hw/alpha/dp264.c @@ -213,4 +213,4 @@ static void clipper_machine_init(MachineClass *mc) mc->default_nic =3D "e1000"; } =20 -DEFINE_MACHINE("clipper", clipper_machine_init) +DEFINE_MACHINE("clipper", clipper_machine_init, NULL) diff --git a/hw/arm/digic_boards.c b/hw/arm/digic_boards.c index 90c19106ad0..5fd7ed5dc42 100644 --- a/hw/arm/digic_boards.c +++ b/hw/arm/digic_boards.c @@ -145,4 +145,4 @@ static void canon_a1100_machine_init(MachineClass *mc) mc->default_ram_id =3D "ram"; } =20 -DEFINE_MACHINE("canon-a1100", canon_a1100_machine_init) +DEFINE_MACHINE("canon-a1100", canon_a1100_machine_init, NULL) diff --git a/hw/arm/imx25_pdk.c b/hw/arm/imx25_pdk.c index 243c30a67e7..50e53585447 100644 --- a/hw/arm/imx25_pdk.c +++ b/hw/arm/imx25_pdk.c @@ -149,4 +149,4 @@ static void imx25_pdk_machine_init(MachineClass *mc) mc->auto_create_sdcard =3D true; } =20 -DEFINE_MACHINE("imx25-pdk", imx25_pdk_machine_init) +DEFINE_MACHINE("imx25-pdk", imx25_pdk_machine_init, NULL) diff --git a/hw/arm/kzm.c b/hw/arm/kzm.c index 387bf54ced1..2353e73b243 100644 --- a/hw/arm/kzm.c +++ b/hw/arm/kzm.c @@ -137,4 +137,4 @@ static void kzm_machine_init(MachineClass *mc) mc->default_ram_id =3D "kzm.ram"; } =20 -DEFINE_MACHINE("kzm", kzm_machine_init) +DEFINE_MACHINE("kzm", kzm_machine_init, NULL) diff --git a/hw/arm/max78000fthr.c b/hw/arm/max78000fthr.c index ed50bb91979..a182e1379b9 100644 --- a/hw/arm/max78000fthr.c +++ b/hw/arm/max78000fthr.c @@ -47,4 +47,4 @@ static void max78000_machine_init(MachineClass *mc) mc->valid_cpu_types =3D valid_cpu_types; } =20 -DEFINE_MACHINE("max78000fthr", max78000_machine_init) +DEFINE_MACHINE("max78000fthr", max78000_machine_init, NULL) diff --git a/hw/arm/mcimx6ul-evk.c b/hw/arm/mcimx6ul-evk.c index 40071d2c7b9..f7e654b6228 100644 --- a/hw/arm/mcimx6ul-evk.c +++ b/hw/arm/mcimx6ul-evk.c @@ -77,4 +77,4 @@ static void mcimx6ul_evk_machine_init(MachineClass *mc) mc->auto_create_sdcard =3D true; } =20 -DEFINE_MACHINE("mcimx6ul-evk", mcimx6ul_evk_machine_init) +DEFINE_MACHINE("mcimx6ul-evk", mcimx6ul_evk_machine_init, NULL) diff --git a/hw/arm/msf2-som.c b/hw/arm/msf2-som.c index 1372d7f628a..92f36ce3785 100644 --- a/hw/arm/msf2-som.c +++ b/hw/arm/msf2-som.c @@ -108,4 +108,4 @@ static void emcraft_sf2_machine_init(MachineClass *mc) mc->valid_cpu_types =3D valid_cpu_types; } =20 -DEFINE_MACHINE("emcraft-sf2", emcraft_sf2_machine_init) +DEFINE_MACHINE("emcraft-sf2", emcraft_sf2_machine_init, NULL) diff --git a/hw/arm/netduino2.c b/hw/arm/netduino2.c index 0db8798b4bd..47e9e55213c 100644 --- a/hw/arm/netduino2.c +++ b/hw/arm/netduino2.c @@ -65,4 +65,4 @@ static void netduino2_machine_init(MachineClass *mc) mc->ignore_memory_transaction_failures =3D true; } =20 -DEFINE_MACHINE("netduino2", netduino2_machine_init) +DEFINE_MACHINE("netduino2", netduino2_machine_init, NULL) diff --git a/hw/arm/netduinoplus2.c b/hw/arm/netduinoplus2.c index 5ac0eb81637..40701f47f09 100644 --- a/hw/arm/netduinoplus2.c +++ b/hw/arm/netduinoplus2.c @@ -65,4 +65,4 @@ static void netduinoplus2_machine_init(MachineClass *mc) mc->valid_cpu_types =3D valid_cpu_types; } =20 -DEFINE_MACHINE("netduinoplus2", netduinoplus2_machine_init) +DEFINE_MACHINE("netduinoplus2", netduinoplus2_machine_init, NULL) diff --git a/hw/arm/olimex-stm32-h405.c b/hw/arm/olimex-stm32-h405.c index de9ac4978ce..4630f78617b 100644 --- a/hw/arm/olimex-stm32-h405.c +++ b/hw/arm/olimex-stm32-h405.c @@ -71,4 +71,4 @@ static void olimex_stm32_h405_machine_init(MachineClass *= mc) mc->default_ram_size =3D 0; } =20 -DEFINE_MACHINE("olimex-stm32-h405", olimex_stm32_h405_machine_init) +DEFINE_MACHINE("olimex-stm32-h405", olimex_stm32_h405_machine_init, NULL) diff --git a/hw/arm/stm32vldiscovery.c b/hw/arm/stm32vldiscovery.c index d899a134b38..35c16bda411 100644 --- a/hw/arm/stm32vldiscovery.c +++ b/hw/arm/stm32vldiscovery.c @@ -68,4 +68,4 @@ static void stm32vldiscovery_machine_init(MachineClass *m= c) mc->valid_cpu_types =3D valid_cpu_types; } =20 -DEFINE_MACHINE("stm32vldiscovery", stm32vldiscovery_machine_init) +DEFINE_MACHINE("stm32vldiscovery", stm32vldiscovery_machine_init, NULL) diff --git a/hw/core/null-machine.c b/hw/core/null-machine.c index 60254913019..c95ac0aba38 100644 --- a/hw/core/null-machine.c +++ b/hw/core/null-machine.c @@ -55,4 +55,4 @@ static void machine_none_machine_init(MachineClass *mc) mc->no_cdrom =3D 1; } =20 -DEFINE_MACHINE("none", machine_none_machine_init) +DEFINE_MACHINE("none", machine_none_machine_init, NULL) diff --git a/hw/m68k/an5206.c b/hw/m68k/an5206.c index 1acd2fbdfb3..3d8d63bc68b 100644 --- a/hw/m68k/an5206.c +++ b/hw/m68k/an5206.c @@ -101,4 +101,4 @@ static void an5206_machine_init(MachineClass *mc) mc->default_ram_id =3D "an5206.ram"; } =20 -DEFINE_MACHINE("an5206", an5206_machine_init) +DEFINE_MACHINE("an5206", an5206_machine_init, NULL) diff --git a/hw/m68k/mcf5208.c b/hw/m68k/mcf5208.c index a8068c91f24..379ff2e68fc 100644 --- a/hw/m68k/mcf5208.c +++ b/hw/m68k/mcf5208.c @@ -398,4 +398,4 @@ static void mcf5208evb_machine_init(MachineClass *mc) mc->default_ram_id =3D "mcf5208.ram"; } =20 -DEFINE_MACHINE("mcf5208evb", mcf5208evb_machine_init) +DEFINE_MACHINE("mcf5208evb", mcf5208evb_machine_init, NULL) diff --git a/hw/microblaze/petalogix_ml605_mmu.c b/hw/microblaze/petalogix_= ml605_mmu.c index 8f9f54ff1e2..240f5a31aa5 100644 --- a/hw/microblaze/petalogix_ml605_mmu.c +++ b/hw/microblaze/petalogix_ml605_mmu.c @@ -220,4 +220,4 @@ static void petalogix_ml605_machine_init(MachineClass *= mc) mc->init =3D petalogix_ml605_init; } =20 -DEFINE_MACHINE("petalogix-ml605", petalogix_ml605_machine_init) +DEFINE_MACHINE("petalogix-ml605", petalogix_ml605_machine_init, NULL) diff --git a/hw/microblaze/xlnx-zynqmp-pmu.c b/hw/microblaze/xlnx-zynqmp-pm= u.c index 00154236bf8..59d34f5846e 100644 --- a/hw/microblaze/xlnx-zynqmp-pmu.c +++ b/hw/microblaze/xlnx-zynqmp-pmu.c @@ -185,4 +185,4 @@ static void xlnx_zynqmp_pmu_machine_init(MachineClass *= mc) mc->init =3D xlnx_zynqmp_pmu_init; } =20 -DEFINE_MACHINE("xlnx-zynqmp-pmu", xlnx_zynqmp_pmu_machine_init) +DEFINE_MACHINE("xlnx-zynqmp-pmu", xlnx_zynqmp_pmu_machine_init, NULL) diff --git a/hw/mips/boston.c b/hw/mips/boston.c index 4579df23eb7..dcb23b6f558 100644 --- a/hw/mips/boston.c +++ b/hw/mips/boston.c @@ -850,4 +850,4 @@ static void boston_mach_class_init(MachineClass *mc) mc->default_cpu_type =3D MIPS_CPU_TYPE_NAME("I6400"); } =20 -DEFINE_MACHINE("boston", boston_mach_class_init) +DEFINE_MACHINE("boston", boston_mach_class_init, NULL) diff --git a/hw/mips/fuloong2e.c b/hw/mips/fuloong2e.c index 9a712ee9309..a72b10b46b9 100644 --- a/hw/mips/fuloong2e.c +++ b/hw/mips/fuloong2e.c @@ -339,4 +339,4 @@ static void mips_fuloong2e_machine_init(MachineClass *m= c) machine_add_audiodev_property(mc); } =20 -DEFINE_MACHINE("fuloong2e", mips_fuloong2e_machine_init) +DEFINE_MACHINE("fuloong2e", mips_fuloong2e_machine_init, NULL) diff --git a/hw/mips/malta.c b/hw/mips/malta.c index 38c71f66f2e..aabe18dcdeb 100644 --- a/hw/mips/malta.c +++ b/hw/mips/malta.c @@ -1301,7 +1301,7 @@ static void mips_malta_machine_init(MachineClass *mc) compat_props_add(mc->compat_props, malta_compat, malta_compat_len); } =20 -DEFINE_MACHINE("malta", mips_malta_machine_init) +DEFINE_MACHINE("malta", mips_malta_machine_init, NULL) =20 static void mips_malta_register_types(void) { diff --git a/hw/ppc/amigaone.c b/hw/ppc/amigaone.c index 2e94e80b569..9cf789ddec8 100644 --- a/hw/ppc/amigaone.c +++ b/hw/ppc/amigaone.c @@ -427,4 +427,4 @@ static void amigaone_machine_init(MachineClass *mc) mc->default_ram_size =3D 512 * MiB; } =20 -DEFINE_MACHINE("amigaone", amigaone_machine_init) +DEFINE_MACHINE("amigaone", amigaone_machine_init, NULL) diff --git a/hw/ppc/ppc440_bamboo.c b/hw/ppc/ppc440_bamboo.c index 2dde008b0e4..64ecb5b2281 100644 --- a/hw/ppc/ppc440_bamboo.c +++ b/hw/ppc/ppc440_bamboo.c @@ -265,4 +265,4 @@ static void bamboo_machine_init(MachineClass *mc) mc->default_nic =3D "e1000"; } =20 -DEFINE_MACHINE("bamboo", bamboo_machine_init) +DEFINE_MACHINE("bamboo", bamboo_machine_init, NULL) diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c index 2672eb9e7a7..6f155f5af05 100644 --- a/hw/ppc/prep.c +++ b/hw/ppc/prep.c @@ -456,4 +456,4 @@ static void ibm_40p_machine_init(MachineClass *mc) machine_add_audiodev_property(mc); } =20 -DEFINE_MACHINE("40p", ibm_40p_machine_init) +DEFINE_MACHINE("40p", ibm_40p_machine_init, NULL) diff --git a/hw/ppc/sam460ex.c b/hw/ppc/sam460ex.c index b13dd224ba1..5031022e244 100644 --- a/hw/ppc/sam460ex.c +++ b/hw/ppc/sam460ex.c @@ -519,4 +519,4 @@ static void sam460ex_machine_init(MachineClass *mc) mc->default_ram_id =3D "ppc4xx.sdram"; } =20 -DEFINE_MACHINE("sam460ex", sam460ex_machine_init) +DEFINE_MACHINE("sam460ex", sam460ex_machine_init, NULL) diff --git a/hw/ppc/virtex_ml507.c b/hw/ppc/virtex_ml507.c index 09686360e16..0e7257ad4a7 100644 --- a/hw/ppc/virtex_ml507.c +++ b/hw/ppc/virtex_ml507.c @@ -289,4 +289,4 @@ static void virtex_machine_init(MachineClass *mc) mc->default_ram_id =3D "ram"; } =20 -DEFINE_MACHINE("virtex-ml507", virtex_machine_init) +DEFINE_MACHINE("virtex-ml507", virtex_machine_init, NULL) diff --git a/hw/riscv/boston-aia.c b/hw/riscv/boston-aia.c index b90da096ea8..d90216eb4b1 100644 --- a/hw/riscv/boston-aia.c +++ b/hw/riscv/boston-aia.c @@ -473,4 +473,4 @@ static void boston_mach_class_init(MachineClass *mc) mc->default_cpu_type =3D TYPE_RISCV_CPU_MIPS_P8700; } =20 -DEFINE_MACHINE("boston-aia", boston_mach_class_init) +DEFINE_MACHINE("boston-aia", boston_mach_class_init, NULL) diff --git a/hw/riscv/microblaze-v-generic.c b/hw/riscv/microblaze-v-generi= c.c index b0494b1ac50..d6f3a8ce635 100644 --- a/hw/riscv/microblaze-v-generic.c +++ b/hw/riscv/microblaze-v-generic.c @@ -186,4 +186,4 @@ static void mb_v_generic_machine_init(MachineClass *mc) mc->default_cpus =3D 1; } =20 -DEFINE_MACHINE("amd-microblaze-v-generic", mb_v_generic_machine_init) +DEFINE_MACHINE("amd-microblaze-v-generic", mb_v_generic_machine_init, NULL) diff --git a/hw/sh4/r2d.c b/hw/sh4/r2d.c index 99afe3618e8..9c68ccdcf00 100644 --- a/hw/sh4/r2d.c +++ b/hw/sh4/r2d.c @@ -387,4 +387,4 @@ static void r2d_machine_init(MachineClass *mc) mc->default_nic =3D "rtl8139"; } =20 -DEFINE_MACHINE("r2d", r2d_machine_init) +DEFINE_MACHINE("r2d", r2d_machine_init, NULL) diff --git a/hw/sparc/leon3.c b/hw/sparc/leon3.c index d4a6e917598..30d9bb7adab 100644 --- a/hw/sparc/leon3.c +++ b/hw/sparc/leon3.c @@ -443,4 +443,4 @@ static void leon3_generic_machine_init(MachineClass *mc) mc->max_cpus =3D MAX_CPUS; } =20 -DEFINE_MACHINE("leon3_generic", leon3_generic_machine_init) +DEFINE_MACHINE("leon3_generic", leon3_generic_machine_init, NULL) diff --git a/hw/tricore/tricore_testboard.c b/hw/tricore/tricore_testboard.c index d5d796c8eec..40d8dd76324 100644 --- a/hw/tricore/tricore_testboard.c +++ b/hw/tricore/tricore_testboard.c @@ -113,4 +113,4 @@ static void ttb_machine_init(MachineClass *mc) mc->default_cpu_type =3D TRICORE_CPU_TYPE_NAME("tc1796"); } =20 -DEFINE_MACHINE("tricore_testboard", ttb_machine_init) +DEFINE_MACHINE("tricore_testboard", ttb_machine_init, NULL) diff --git a/hw/xenpv/xen_machine_pv.c b/hw/xenpv/xen_machine_pv.c index c406821c34c..02bd32dd0f4 100644 --- a/hw/xenpv/xen_machine_pv.c +++ b/hw/xenpv/xen_machine_pv.c @@ -69,4 +69,4 @@ static void xenpv_machine_init(MachineClass *mc) mc->default_machine_opts =3D "accel=3Dxen"; } =20 -DEFINE_MACHINE("xenpv", xenpv_machine_init) +DEFINE_MACHINE("xenpv", xenpv_machine_init, NULL) diff --git a/hw/xtensa/sim.c b/hw/xtensa/sim.c index 835cd04fe01..7649bde9cdb 100644 --- a/hw/xtensa/sim.c +++ b/hw/xtensa/sim.c @@ -131,4 +131,4 @@ static void xtensa_sim_machine_init(MachineClass *mc) mc->default_cpu_type =3D XTENSA_DEFAULT_CPU_TYPE; } =20 -DEFINE_MACHINE("sim", xtensa_sim_machine_init) +DEFINE_MACHINE("sim", xtensa_sim_machine_init, NULL) diff --git a/hw/xtensa/virt.c b/hw/xtensa/virt.c index 271f06e0953..4f6418ff44a 100644 --- a/hw/xtensa/virt.c +++ b/hw/xtensa/virt.c @@ -124,4 +124,4 @@ static void xtensa_virt_machine_init(MachineClass *mc) mc->default_nic =3D "virtio-net-pci"; } =20 -DEFINE_MACHINE("virt", xtensa_virt_machine_init) +DEFINE_MACHINE("virt", xtensa_virt_machine_init, NULL) diff --git a/include/hw/core/boards.h b/include/hw/core/boards.h index a745187847c..d51b49ec860 100644 --- a/include/hw/core/boards.h +++ b/include/hw/core/boards.h @@ -536,9 +536,9 @@ struct MachineState { } \ type_init(machine_initfn##_register_types) =20 -#define DEFINE_MACHINE(namestr, machine_initfn) \ +#define DEFINE_MACHINE(namestr, machine_initfn, available_cb) \ DEFINE_MACHINE_EXTENDED(namestr, MACHINE, MachineState, machine_initfn= , \ - false, NULL, NULL) + false, available_cb, NULL) =20 /* * Helper for dispatching different macros based on how --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958255; cv=none; d=zohomail.com; s=zohoarc; b=gL37RP/fYxkA5sG6DWP4vmWR/+lhvsiPJap7ewGRlTpwYfe4PpDb9mGMJwGppWDlKhi0qKIVMYNj7SrI7D9MCeIXnyYSI3O/6hcDdAY03QFwnAgtC2Z5YdjoEyOzYrQtOXX7V8ihn5ArmErs5wFrjBF9TCteQ73OxRh/+8HOT3k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958255; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=QeWBktAU6S2oup2ejQFV23RQa+NzrG9ajGmawoBV5Og=; b=U52/8S4Pzn7Xvsft8hIrqRpgz1O6pbuphx2wM/duUzZ2R52mTEpFFMneqvn5kL/HDPe3pLvuNSWAvwF3OwN0eLj4vqDkS2cNiphuuY4HmVj14uiuyvU9uZPLpw8x31VKlD8LAhRz3/Blsd8ieudvSDfRrzqU95h0egGRlNo7FXI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 17879582553631006.8851980910575; Fri, 28 Aug 2026 16:04:15 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05bV-0001Yl-S2; Fri, 28 Aug 2026 19:03:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05bG-0000vC-In for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:03:09 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05bC-0006BW-CH for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:03:06 -0400 Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTVSQ1173247 for ; Fri, 28 Aug 2026 23:03:01 GMT Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb8afjkgn-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 23:03:00 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-2cf7dd9fd91so17962505ad.1 for ; Fri, 28 Aug 2026 16:03:00 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3286f99585csm8448569eec.21.2026.08.28.16.02.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 16:02:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=QeWBktAU6S2 oup2ejQFV23RQa+NzrG9ajGmawoBV5Og=; b=CO7g5erZnIOZf7ZfTdd0jYXPO8c 1eeGXV9ppIRWxV3XbpEvY8Y0HyWW3kOObmGm8x5zYofxD9Rmm65exAQr3crC5V3z haEkoRfN8WRafTKB4aqxbmILr4qMDz+E3PL0IXlL8+JeZCaEKT1X8Rt40igdkkey D5S7zE9dnd7Sn1wjS+oj0RMC3SFJPZ9tToh5o23QXLxOCGgEGy4bI+sJYHQD0/CM M8srsOh6HqlPWU0DUhT399vekOVn0LKV4owKciWqI6wrTE/RdtpOeZAQSiMwLJOY bPtL6SXyWZ33Yt8G12IOu+1psXCtkeocK9mCT8yn0Il2LvRCWuAa8Sxkhdg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787958180; x=1788562980; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=QeWBktAU6S2oup2ejQFV23RQa+NzrG9ajGmawoBV5Og=; b=LD99vhJlMEABktkhYr+1DsY8wcFAcfZYa48HU8MyuhVHPv3s+N+gVUG++xRNd5prna DUGkZH+N58H5LgjnN2bnGXZcH9ocCZlhaFD/TeDpc1eQbiQGN1Xchyi9ok99ZxyulTCq VzDvxBEtuFGfGNZRF2tIIAVJTGewjKbUYaqHWn7Gg1SJSpdNt53QBst8r3wTZXRgz2p/ PsqMHfXb5XAL4N95xFlFdYqbaMbCfOjUMg/VGu93m8DFWm/fF6VfYMsEIEZ0UK/nV/+i Nu3pb8PvEc4Mfhn1S5xxYK2u/H/ZWWIrSMJ1meCaTxz829MEdQwwvkywahEI6cpBr5UQ wuIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787958180; x=1788562980; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=QeWBktAU6S2oup2ejQFV23RQa+NzrG9ajGmawoBV5Og=; b=ITFlIpapJf9ZZ5CQ+RoOpQQoTNNcK6DQ7vYjUneR0VPxpmoVr7J1rj76HIeFJBhu2X EpD6NyWFe/wNFQPyHrZT8sD+tKEyICFItN+mN8GFrsL4kEdKbT72JPtcKfzc+K/rbsKu F10SCJjwQgVn7Jv/Q1X4HHtbsQLD2kkR3k+0sJAmRYDL5WfwSFzGR91BEWLYa5alv+F5 GsLsDACM9HA/tYX9D0hRRbWDzcg3liK9iacW1mCW7OGGzfiKd/d/8uKn24/RPGkAwtWK z6nf0hc8/km/XniSNCw3q64I2g+EI7FA1yevkyMUq1c5xyH43PhuTCcMFQE+FsADBnFE 0n/w== X-Gm-Message-State: AFuF++mRFaCwnzcy/3VXeNY3YNVkPNj8CaWiFWTqcHGjytI44Kd5EykM 0VflDFIC5FztsQAluksVwfZmx6/DlS9sFC5QJaymKTwoItnH4zi0DyiQI/WCroQPS4onae1dCnb e5YQzetKJ70k9qqUXZkf5NYQC5vD8CdbpdL8yhStq/T1IWtY3+LeYcjQAkvFLDfq9XQ== X-Gm-Gg: AYBFou2IclfJHW3N17DQQkwwQmtwBFAzXzIyXMV3dtx11uVBAPHWdgXmfOiZwZuPhy4 7m8rgkVXor59w0JfUe6uCcjSsgJ1YYcYZQL6ypiZoTFh/3XLgUiG/7rOervnf7wLMi2BHwqrVw5 I/xEvqtossBw1jn3WbtjHAyjIylvsurDWC5ePkTqBDYhahxxvrmgdNh+adwoZu9Y+j+ckPq37B5 nZvYf4kCd4DykDcLAy+BrBFDiI+nbXL9YKmp9aVJZYeykEFuH+sKprejGLJnkkX9GfniBuClWD1 2cQ/a0+oxcot/aP9pghfj5+DQKU9JpdHprOymwne8n8ayw+NB5fvqKUh/zuljDPBpX+gTe9YQHu qz4UN/9CWXaULE2wdpwbWldGKXfn991CnzR+cbgRlp14Fguc9WnR8JEa4izg= X-Received: by 2002:a17:903:324c:b0:2c2:62ee:5a0d with SMTP id d9443c01a7336-2d74df1c634mr202995645ad.14.1787958179970; Fri, 28 Aug 2026 16:02:59 -0700 (PDT) X-Received: by 2002:a17:903:324c:b0:2c2:62ee:5a0d with SMTP id d9443c01a7336-2d74df1c634mr202994215ad.14.1787958179208; Fri, 28 Aug 2026 16:02:59 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 40/47] hw/arm: filter arm machines Date: Fri, 28 Aug 2026 22:58:54 +0000 Message-ID: <20260828225901.367438-41-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: FkzhLrAtbi0hsH-eChyPLoYCDHXrd92F X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXySSx4JX/biCs dZSDcwVXSRCJVn7O3DuhZZx0ykakFnYEilgxEPUanJFqk1xcoIlqqgvN0RqcPNleN7+xUJEiF7m 7G88VPOkUlt1wbKYxDMFLyUQ64Nz9kI= X-Authority-Analysis: v=2.4 cv=IPoyzAvG c=1 sm=1 tr=0 ts=6a9213a4 cx=c_pps a=cmESyDAEBpBGqyK7t0alAg==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=hFwvlY6mVM_t17AuBOgA:9 a=1OuFwYUASf3TG4hYMiVC:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX9+L18iHK7VpO 6RaIckc6rv2Zm53Td2CznKOpdIxBKCVtOaFKgZ+TbByvJMCf8waW63hRMsabeQ0MVEWmAI+cWFb aRuiWmsnE1RnMpxYmgM0qdw7IArTyyd5oddBH0Lqum/qEYEbs4mOTCqVn5xwkSxXw1SSSjmqwPf Rf2Qk+C26sa5q6lvJQlwEeiHMyCldgrxkOL8KTJoRz30OpW4FnFhwGd+MhZwPzrVxWuSv5C0X5H WXbrpBFMoWmUQ1Wbq3HsZ8W3vCUf02MiEZy0obe25AFj1Jy8nrN93eAKPYn5hpAhIckQNbxLZkC LSZPZkFuh7CbbLvMFDXdiFGFDIW/5Vqv8066X9AYAJrwsGgu4kS9M0PlwJTY47im6E4OR+3NFtC j6m+EvsH/OpTe8TsV3kxvpWiZzBXD3TUtPCBaZqH8zzTIzMOz63CN1yb2axjZlnhy6I8zu5G96N X/mwiJgS4O9btr4p2DQ== X-Proofpoint-ORIG-GUID: FkzhLrAtbi0hsH-eChyPLoYCDHXrd92F X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 bulkscore=0 phishscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 clxscore=1015 adultscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958256060158500 Content-Type: text/plain; charset="utf-8" This ensures those machines are not visible from other targets having a different base architecture. Signed-off-by: Pierrick Bouvier --- hw/arm/aspeed_ast1040_evb.c | 1 + hw/arm/aspeed_ast10x0_evb.c | 2 ++ hw/arm/aspeed_ast2400_palmetto.c | 1 + hw/arm/aspeed_ast2400_quanta-q71l.c | 1 + hw/arm/aspeed_ast2400_supermicrox11.c | 1 + hw/arm/aspeed_ast2500_evb.c | 1 + hw/arm/aspeed_ast2500_g220a.c | 1 + hw/arm/aspeed_ast2500_romulus.c | 1 + hw/arm/aspeed_ast2500_supermicro-x11spi.c | 1 + hw/arm/aspeed_ast2500_tiogapass.c | 1 + hw/arm/aspeed_ast2500_witherspoon.c | 1 + hw/arm/aspeed_ast2500_yosemitev2.c | 1 + hw/arm/aspeed_ast2600_anacapa.c | 1 + hw/arm/aspeed_ast2600_bletchley.c | 1 + hw/arm/aspeed_ast2600_catalina.c | 1 + hw/arm/aspeed_ast2600_evb.c | 1 + hw/arm/aspeed_ast2600_fby35.c | 1 + hw/arm/aspeed_ast2600_fuji.c | 1 + hw/arm/aspeed_ast2600_gb200nvl.c | 1 + hw/arm/aspeed_ast2600_rainier.c | 1 + hw/arm/b-l475e-iot01a.c | 1 + hw/arm/bananapi_m2u.c | 2 +- hw/arm/collie.c | 1 + hw/arm/cubieboard.c | 2 +- hw/arm/digic_boards.c | 2 +- hw/arm/exynos4_boards.c | 2 ++ hw/arm/imx25_pdk.c | 2 +- hw/arm/integratorcp.c | 2 +- hw/arm/kzm.c | 2 +- hw/arm/max78000fthr.c | 2 +- hw/arm/mcimx6ul-evk.c | 2 +- hw/arm/mcimx7d-sabre.c | 2 +- hw/arm/microbit.c | 1 + hw/arm/mps2-tz.c | 4 ++++ hw/arm/mps2.c | 4 ++++ hw/arm/mps3r.c | 1 + hw/arm/msf2-som.c | 2 +- hw/arm/musca.c | 2 ++ hw/arm/musicpal.c | 2 +- hw/arm/netduino2.c | 2 +- hw/arm/netduinoplus2.c | 2 +- hw/arm/npcm7xx_boards.c | 5 +++++ hw/arm/olimex-stm32-h405.c | 3 ++- hw/arm/omap_sx1.c | 2 ++ hw/arm/orangepi.c | 2 +- hw/arm/raspi.c | 3 +++ hw/arm/realview.c | 4 ++++ hw/arm/sabrelite.c | 1 + hw/arm/stellaris.c | 2 ++ hw/arm/stm32vldiscovery.c | 3 ++- hw/arm/versatilepb.c | 2 ++ hw/arm/vexpress.c | 2 ++ hw/arm/virt.c | 1 + hw/arm/xilinx_zynq.c | 1 + 54 files changed, 78 insertions(+), 16 deletions(-) diff --git a/hw/arm/aspeed_ast1040_evb.c b/hw/arm/aspeed_ast1040_evb.c index 486f0f6a1ba..f8bdd22b5b7 100644 --- a/hw/arm/aspeed_ast1040_evb.c +++ b/hw/arm/aspeed_ast1040_evb.c @@ -80,6 +80,7 @@ static const TypeInfo aspeed_ast1040_evb_types[] =3D { .name =3D MACHINE_TYPE_NAME("ast1040-evb"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_ast1040_evb_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast10x0_evb.c b/hw/arm/aspeed_ast10x0_evb.c index c937bb74665..38a3dbb946d 100644 --- a/hw/arm/aspeed_ast10x0_evb.c +++ b/hw/arm/aspeed_ast10x0_evb.c @@ -118,10 +118,12 @@ static const TypeInfo aspeed_ast10x0_evb_types[] =3D { .name =3D MACHINE_TYPE_NAME("ast1030-evb"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_minibmc_machine_ast1030_evb_class_init, + .is_available =3D target_base_arm, }, { .name =3D MACHINE_TYPE_NAME("ast1060-evb"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_minibmc_machine_ast1060_evb_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2400_palmetto.c b/hw/arm/aspeed_ast2400_palme= tto.c index e2350e5b6ca..d4de48343d8 100644 --- a/hw/arm/aspeed_ast2400_palmetto.c +++ b/hw/arm/aspeed_ast2400_palmetto.c @@ -72,6 +72,7 @@ static const TypeInfo aspeed_ast2400_palmetto_types[] =3D= { .name =3D MACHINE_TYPE_NAME("palmetto-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_palmetto_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2400_quanta-q71l.c b/hw/arm/aspeed_ast2400_qu= anta-q71l.c index e8cbbb8a052..2a34d7a5158 100644 --- a/hw/arm/aspeed_ast2400_quanta-q71l.c +++ b/hw/arm/aspeed_ast2400_quanta-q71l.c @@ -78,6 +78,7 @@ static const TypeInfo aspeed_ast2400_quanta_q71l_types[] = =3D { .name =3D MACHINE_TYPE_NAME("quanta-q71l-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_quanta_q71l_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2400_supermicrox11.c b/hw/arm/aspeed_ast2400_= supermicrox11.c index c75898cc6d1..d45cee6ed76 100644 --- a/hw/arm/aspeed_ast2400_supermicrox11.c +++ b/hw/arm/aspeed_ast2400_supermicrox11.c @@ -73,6 +73,7 @@ static const TypeInfo aspeed_ast2400_supermicrox11_types[= ] =3D { .name =3D MACHINE_TYPE_NAME("supermicrox11-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_supermicrox11_bmc_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2500_evb.c b/hw/arm/aspeed_ast2500_evb.c index 6ca2a36322c..7b46434bd93 100644 --- a/hw/arm/aspeed_ast2500_evb.c +++ b/hw/arm/aspeed_ast2500_evb.c @@ -59,6 +59,7 @@ static const TypeInfo aspeed_ast2500_evb_types[] =3D { .name =3D MACHINE_TYPE_NAME("ast2500-evb"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_ast2500_evb_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2500_g220a.c b/hw/arm/aspeed_ast2500_g220a.c index 00bb1c61053..81181f49f19 100644 --- a/hw/arm/aspeed_ast2500_g220a.c +++ b/hw/arm/aspeed_ast2500_g220a.c @@ -84,6 +84,7 @@ static const TypeInfo aspeed_ast2500_g220a_types[] =3D { .name =3D MACHINE_TYPE_NAME("g220a-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_g220a_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2500_romulus.c b/hw/arm/aspeed_ast2500_romulu= s.c index 340a74408b6..680ea27279e 100644 --- a/hw/arm/aspeed_ast2500_romulus.c +++ b/hw/arm/aspeed_ast2500_romulus.c @@ -54,6 +54,7 @@ static const TypeInfo aspeed_ast2500_romulus_types[] =3D { .name =3D MACHINE_TYPE_NAME("romulus-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_romulus_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2500_supermicro-x11spi.c b/hw/arm/aspeed_ast2= 500_supermicro-x11spi.c index 5a7e49d6ccd..2b27c5791f5 100644 --- a/hw/arm/aspeed_ast2500_supermicro-x11spi.c +++ b/hw/arm/aspeed_ast2500_supermicro-x11spi.c @@ -69,6 +69,7 @@ static const TypeInfo aspeed_ast2500_supermicro_x11spi_ty= pes[] =3D { .name =3D MACHINE_TYPE_NAME("supermicro-x11spi-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_supermicro_x11spi_bmc_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2500_tiogapass.c b/hw/arm/aspeed_ast2500_tiog= apass.c index 6cb567526c4..6e611e65a44 100644 --- a/hw/arm/aspeed_ast2500_tiogapass.c +++ b/hw/arm/aspeed_ast2500_tiogapass.c @@ -82,6 +82,7 @@ static const TypeInfo aspeed_ast2500_tiogapass_types[] = =3D { .name =3D MACHINE_TYPE_NAME("tiogapass-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_tiogapass_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2500_witherspoon.c b/hw/arm/aspeed_ast2500_wi= therspoon.c index 26ddb673470..acf5d19c2b1 100644 --- a/hw/arm/aspeed_ast2500_witherspoon.c +++ b/hw/arm/aspeed_ast2500_witherspoon.c @@ -104,6 +104,7 @@ static const TypeInfo aspeed_ast2500_witherspoon_types[= ] =3D { .name =3D MACHINE_TYPE_NAME("witherspoon-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_witherspoon_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2500_yosemitev2.c b/hw/arm/aspeed_ast2500_yos= emitev2.c index 3ba1ed5f6fa..94066ddda2e 100644 --- a/hw/arm/aspeed_ast2500_yosemitev2.c +++ b/hw/arm/aspeed_ast2500_yosemitev2.c @@ -83,6 +83,7 @@ static const TypeInfo aspeed_ast2500_yosemitev2_types[] = =3D { .name =3D MACHINE_TYPE_NAME("yosemitev2-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_yosemitev2_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2600_anacapa.c b/hw/arm/aspeed_ast2600_anacap= a.c index 697be58b0e4..4c1172a2c9e 100644 --- a/hw/arm/aspeed_ast2600_anacapa.c +++ b/hw/arm/aspeed_ast2600_anacapa.c @@ -367,6 +367,7 @@ static const TypeInfo aspeed_ast2600_anacapa_types[] = =3D { .name =3D MACHINE_TYPE_NAME("anacapa-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_anacapa_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2600_bletchley.c b/hw/arm/aspeed_ast2600_blet= chley.c index 2822f6bdf5a..f4579f12764 100644 --- a/hw/arm/aspeed_ast2600_bletchley.c +++ b/hw/arm/aspeed_ast2600_bletchley.c @@ -89,6 +89,7 @@ static const TypeInfo aspeed_ast2600_bletchley_types[] = =3D { .name =3D MACHINE_TYPE_NAME("bletchley-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_bletchley_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2600_catalina.c b/hw/arm/aspeed_ast2600_catal= ina.c index 23636ab6985..4e79120d542 100644 --- a/hw/arm/aspeed_ast2600_catalina.c +++ b/hw/arm/aspeed_ast2600_catalina.c @@ -674,6 +674,7 @@ static const TypeInfo aspeed_ast2600_catalina_types[] = =3D { .name =3D MACHINE_TYPE_NAME("catalina-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_catalina_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2600_evb.c b/hw/arm/aspeed_ast2600_evb.c index 8a17c4453e9..7e59e94c9e4 100644 --- a/hw/arm/aspeed_ast2600_evb.c +++ b/hw/arm/aspeed_ast2600_evb.c @@ -57,6 +57,7 @@ static const TypeInfo aspeed_ast2600_evb_types[] =3D { .name =3D MACHINE_TYPE_NAME("ast2600-evb"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_ast2600_evb_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2600_fby35.c b/hw/arm/aspeed_ast2600_fby35.c index 65d98fafec6..6c17999fa14 100644 --- a/hw/arm/aspeed_ast2600_fby35.c +++ b/hw/arm/aspeed_ast2600_fby35.c @@ -170,6 +170,7 @@ static const TypeInfo aspeed_ast2600_fby35_types[] =3D { .name =3D MACHINE_TYPE_NAME("fby35-bmc"), .parent =3D MACHINE_TYPE_NAME("ast2600-evb"), .class_init =3D aspeed_machine_fby35_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2600_fuji.c b/hw/arm/aspeed_ast2600_fuji.c index 8a87c2dbee3..84b96a4d108 100644 --- a/hw/arm/aspeed_ast2600_fuji.c +++ b/hw/arm/aspeed_ast2600_fuji.c @@ -132,6 +132,7 @@ static const TypeInfo aspeed_ast2600_fuji_types[] =3D { .name =3D MACHINE_TYPE_NAME("fuji-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_fuji_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2600_gb200nvl.c b/hw/arm/aspeed_ast2600_gb200= nvl.c index 311feb82023..47eb53dd912 100644 --- a/hw/arm/aspeed_ast2600_gb200nvl.c +++ b/hw/arm/aspeed_ast2600_gb200nvl.c @@ -103,6 +103,7 @@ static const TypeInfo aspeed_ast2600_gb200nvl_types[] = =3D { .name =3D MACHINE_TYPE_NAME("gb200nvl-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_gb200nvl_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/aspeed_ast2600_rainier.c b/hw/arm/aspeed_ast2600_rainie= r.c index 43a8f01a9e7..4e000ae98b1 100644 --- a/hw/arm/aspeed_ast2600_rainier.c +++ b/hw/arm/aspeed_ast2600_rainier.c @@ -190,6 +190,7 @@ static const TypeInfo aspeed_ast2600_rainier_types[] = =3D { .name =3D MACHINE_TYPE_NAME("rainier-bmc"), .parent =3D TYPE_ASPEED_MACHINE, .class_init =3D aspeed_machine_rainier_class_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/b-l475e-iot01a.c b/hw/arm/b-l475e-iot01a.c index de19212ab85..1b93eb1b30f 100644 --- a/hw/arm/b-l475e-iot01a.c +++ b/hw/arm/b-l475e-iot01a.c @@ -131,6 +131,7 @@ static const TypeInfo bl475e_machine_type[] =3D { .parent =3D TYPE_MACHINE, .instance_size =3D sizeof(Bl475eMachineState), .class_init =3D bl475e_machine_init, + .is_available =3D target_base_arm, } }; =20 diff --git a/hw/arm/bananapi_m2u.c b/hw/arm/bananapi_m2u.c index 7b86986efb1..c72e55d6f18 100644 --- a/hw/arm/bananapi_m2u.c +++ b/hw/arm/bananapi_m2u.c @@ -153,4 +153,4 @@ static void bpim2u_machine_init(MachineClass *mc) } =20 DEFINE_MACHINE_EXTENDED("bpim2u", MACHINE, Bpim2uMachineState, - bpim2u_machine_init, false, NULL, NULL) + bpim2u_machine_init, false, target_base_arm, NULL) diff --git a/hw/arm/collie.c b/hw/arm/collie.c index ca6b3addb7b..a849c04b86e 100644 --- a/hw/arm/collie.c +++ b/hw/arm/collie.c @@ -84,6 +84,7 @@ static const TypeInfo collie_machine_typeinfo =3D { .parent =3D TYPE_MACHINE, .class_init =3D collie_machine_class_init, .instance_size =3D sizeof(CollieMachineState), + .is_available =3D target_base_arm, }; =20 static void collie_machine_register_types(void) diff --git a/hw/arm/cubieboard.c b/hw/arm/cubieboard.c index da45bb2be52..929d4c8267f 100644 --- a/hw/arm/cubieboard.c +++ b/hw/arm/cubieboard.c @@ -134,4 +134,4 @@ static void cubieboard_machine_init(MachineClass *mc) =20 DEFINE_MACHINE_EXTENDED("cubieboard", MACHINE, CubieboardMachineState, cubieboard_machine_init, false, - NULL, NULL) + target_base_arm, NULL) diff --git a/hw/arm/digic_boards.c b/hw/arm/digic_boards.c index 5fd7ed5dc42..e600a647d62 100644 --- a/hw/arm/digic_boards.c +++ b/hw/arm/digic_boards.c @@ -145,4 +145,4 @@ static void canon_a1100_machine_init(MachineClass *mc) mc->default_ram_id =3D "ram"; } =20 -DEFINE_MACHINE("canon-a1100", canon_a1100_machine_init, NULL) +DEFINE_MACHINE("canon-a1100", canon_a1100_machine_init, target_base_arm) diff --git a/hw/arm/exynos4_boards.c b/hw/arm/exynos4_boards.c index 78632877df8..f45bd419fb5 100644 --- a/hw/arm/exynos4_boards.c +++ b/hw/arm/exynos4_boards.c @@ -168,6 +168,7 @@ static const TypeInfo nuri_type =3D { .name =3D MACHINE_TYPE_NAME("nuri"), .parent =3D TYPE_MACHINE, .class_init =3D nuri_class_init, + .is_available =3D target_base_arm, }; =20 static void smdkc210_class_init(ObjectClass *oc, const void *data) @@ -188,6 +189,7 @@ static const TypeInfo smdkc210_type =3D { .name =3D MACHINE_TYPE_NAME("smdkc210"), .parent =3D TYPE_MACHINE, .class_init =3D smdkc210_class_init, + .is_available =3D target_base_arm, }; =20 static void exynos4_machines_init(void) diff --git a/hw/arm/imx25_pdk.c b/hw/arm/imx25_pdk.c index 50e53585447..03f1fd5078e 100644 --- a/hw/arm/imx25_pdk.c +++ b/hw/arm/imx25_pdk.c @@ -149,4 +149,4 @@ static void imx25_pdk_machine_init(MachineClass *mc) mc->auto_create_sdcard =3D true; } =20 -DEFINE_MACHINE("imx25-pdk", imx25_pdk_machine_init, NULL) +DEFINE_MACHINE("imx25-pdk", imx25_pdk_machine_init, target_base_arm) diff --git a/hw/arm/integratorcp.c b/hw/arm/integratorcp.c index 6314bbb6c13..d575c8856e2 100644 --- a/hw/arm/integratorcp.c +++ b/hw/arm/integratorcp.c @@ -705,7 +705,7 @@ static void integratorcp_machine_init(MachineClass *mc) =20 DEFINE_MACHINE_EXTENDED("integratorcp", MACHINE, IntegratorcpMachineState, integratorcp_machine_init, false, - NULL, NULL) + target_base_arm, NULL) =20 static const Property core_properties[] =3D { DEFINE_PROP_UINT32("memsz", IntegratorCMState, memsz, 0), diff --git a/hw/arm/kzm.c b/hw/arm/kzm.c index 2353e73b243..aabc38c6052 100644 --- a/hw/arm/kzm.c +++ b/hw/arm/kzm.c @@ -137,4 +137,4 @@ static void kzm_machine_init(MachineClass *mc) mc->default_ram_id =3D "kzm.ram"; } =20 -DEFINE_MACHINE("kzm", kzm_machine_init, NULL) +DEFINE_MACHINE("kzm", kzm_machine_init, target_base_arm) diff --git a/hw/arm/max78000fthr.c b/hw/arm/max78000fthr.c index a182e1379b9..b5e46da1444 100644 --- a/hw/arm/max78000fthr.c +++ b/hw/arm/max78000fthr.c @@ -47,4 +47,4 @@ static void max78000_machine_init(MachineClass *mc) mc->valid_cpu_types =3D valid_cpu_types; } =20 -DEFINE_MACHINE("max78000fthr", max78000_machine_init, NULL) +DEFINE_MACHINE("max78000fthr", max78000_machine_init, target_base_arm) diff --git a/hw/arm/mcimx6ul-evk.c b/hw/arm/mcimx6ul-evk.c index f7e654b6228..eb9215f5225 100644 --- a/hw/arm/mcimx6ul-evk.c +++ b/hw/arm/mcimx6ul-evk.c @@ -77,4 +77,4 @@ static void mcimx6ul_evk_machine_init(MachineClass *mc) mc->auto_create_sdcard =3D true; } =20 -DEFINE_MACHINE("mcimx6ul-evk", mcimx6ul_evk_machine_init, NULL) +DEFINE_MACHINE("mcimx6ul-evk", mcimx6ul_evk_machine_init, target_base_arm) diff --git a/hw/arm/mcimx7d-sabre.c b/hw/arm/mcimx7d-sabre.c index 2c884b5c78f..84b293c256a 100644 --- a/hw/arm/mcimx7d-sabre.c +++ b/hw/arm/mcimx7d-sabre.c @@ -87,4 +87,4 @@ static void mcimx7d_sabre_machine_init(MachineClass *mc) =20 DEFINE_MACHINE_EXTENDED("mcimx7d-sabre", MACHINE, Mcimx7dSabreMachineState, mcimx7d_sabre_machine_init, false, - NULL, NULL) + target_base_arm, NULL) diff --git a/hw/arm/microbit.c b/hw/arm/microbit.c index c1a3f6903fe..e82ed9901d6 100644 --- a/hw/arm/microbit.c +++ b/hw/arm/microbit.c @@ -74,6 +74,7 @@ static const TypeInfo microbit_info =3D { .parent =3D TYPE_MACHINE, .instance_size =3D sizeof(MicrobitMachineState), .class_init =3D microbit_machine_class_init, + .is_available =3D target_base_arm, }; =20 static void microbit_machine_init(void) diff --git a/hw/arm/mps2-tz.c b/hw/arm/mps2-tz.c index d767207e2e1..4f9a5dfe53b 100644 --- a/hw/arm/mps2-tz.c +++ b/hw/arm/mps2-tz.c @@ -1484,24 +1484,28 @@ static const TypeInfo mps2tz_an505_info =3D { .name =3D TYPE_MPS2TZ_AN505_MACHINE, .parent =3D TYPE_MPS2TZ_MACHINE, .class_init =3D mps2tz_an505_class_init, + .is_available =3D target_base_arm, }; =20 static const TypeInfo mps2tz_an521_info =3D { .name =3D TYPE_MPS2TZ_AN521_MACHINE, .parent =3D TYPE_MPS2TZ_MACHINE, .class_init =3D mps2tz_an521_class_init, + .is_available =3D target_base_arm, }; =20 static const TypeInfo mps3tz_an524_info =3D { .name =3D TYPE_MPS3TZ_AN524_MACHINE, .parent =3D TYPE_MPS2TZ_MACHINE, .class_init =3D mps3tz_an524_class_init, + .is_available =3D target_base_arm, }; =20 static const TypeInfo mps3tz_an547_info =3D { .name =3D TYPE_MPS3TZ_AN547_MACHINE, .parent =3D TYPE_MPS2TZ_MACHINE, .class_init =3D mps3tz_an547_class_init, + .is_available =3D target_base_arm, }; =20 static void mps2tz_machine_init(void) diff --git a/hw/arm/mps2.c b/hw/arm/mps2.c index 35d867328a9..d721cc1a436 100644 --- a/hw/arm/mps2.c +++ b/hw/arm/mps2.c @@ -567,24 +567,28 @@ static const TypeInfo mps2_an385_info =3D { .name =3D TYPE_MPS2_AN385_MACHINE, .parent =3D TYPE_MPS2_MACHINE, .class_init =3D mps2_an385_class_init, + .is_available =3D target_base_arm, }; =20 static const TypeInfo mps2_an386_info =3D { .name =3D TYPE_MPS2_AN386_MACHINE, .parent =3D TYPE_MPS2_MACHINE, .class_init =3D mps2_an386_class_init, + .is_available =3D target_base_arm, }; =20 static const TypeInfo mps2_an500_info =3D { .name =3D TYPE_MPS2_AN500_MACHINE, .parent =3D TYPE_MPS2_MACHINE, .class_init =3D mps2_an500_class_init, + .is_available =3D target_base_arm, }; =20 static const TypeInfo mps2_an511_info =3D { .name =3D TYPE_MPS2_AN511_MACHINE, .parent =3D TYPE_MPS2_MACHINE, .class_init =3D mps2_an511_class_init, + .is_available =3D target_base_arm, }; =20 static void mps2_machine_init(void) diff --git a/hw/arm/mps3r.c b/hw/arm/mps3r.c index eedb877e4bc..0f78cb6ccfb 100644 --- a/hw/arm/mps3r.c +++ b/hw/arm/mps3r.c @@ -634,6 +634,7 @@ static const TypeInfo mps3r_machine_types[] =3D { .name =3D TYPE_MPS3R_AN536_MACHINE, .parent =3D TYPE_MPS3R_MACHINE, .class_init =3D mps3r_an536_class_init, + .is_available =3D target_base_arm, }, }; =20 diff --git a/hw/arm/msf2-som.c b/hw/arm/msf2-som.c index 92f36ce3785..f8f188574cb 100644 --- a/hw/arm/msf2-som.c +++ b/hw/arm/msf2-som.c @@ -108,4 +108,4 @@ static void emcraft_sf2_machine_init(MachineClass *mc) mc->valid_cpu_types =3D valid_cpu_types; } =20 -DEFINE_MACHINE("emcraft-sf2", emcraft_sf2_machine_init, NULL) +DEFINE_MACHINE("emcraft-sf2", emcraft_sf2_machine_init, target_base_arm) diff --git a/hw/arm/musca.c b/hw/arm/musca.c index 571bee1b72b..67cfd92f279 100644 --- a/hw/arm/musca.c +++ b/hw/arm/musca.c @@ -657,12 +657,14 @@ static const TypeInfo musca_a_info =3D { .name =3D TYPE_MUSCA_A_MACHINE, .parent =3D TYPE_MUSCA_MACHINE, .class_init =3D musca_a_class_init, + .is_available =3D target_base_arm, }; =20 static const TypeInfo musca_b1_info =3D { .name =3D TYPE_MUSCA_B1_MACHINE, .parent =3D TYPE_MUSCA_MACHINE, .class_init =3D musca_b1_class_init, + .is_available =3D target_base_arm, }; =20 static void musca_machine_init(void) diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c index 52805e41892..4720377629d 100644 --- a/hw/arm/musicpal.c +++ b/hw/arm/musicpal.c @@ -1365,7 +1365,7 @@ static void musicpal_machine_init(MachineClass *mc) =20 DEFINE_MACHINE_EXTENDED("musicpal", MACHINE, MusicPalMachineState, musicpal_machine_init, false, - NULL, NULL) + target_base_arm, NULL) =20 static void mv88w8618_wlan_class_init(ObjectClass *klass, const void *data) { diff --git a/hw/arm/netduino2.c b/hw/arm/netduino2.c index 47e9e55213c..bb16dec169c 100644 --- a/hw/arm/netduino2.c +++ b/hw/arm/netduino2.c @@ -65,4 +65,4 @@ static void netduino2_machine_init(MachineClass *mc) mc->ignore_memory_transaction_failures =3D true; } =20 -DEFINE_MACHINE("netduino2", netduino2_machine_init, NULL) +DEFINE_MACHINE("netduino2", netduino2_machine_init, target_base_arm) diff --git a/hw/arm/netduinoplus2.c b/hw/arm/netduinoplus2.c index 40701f47f09..47cef82fda6 100644 --- a/hw/arm/netduinoplus2.c +++ b/hw/arm/netduinoplus2.c @@ -65,4 +65,4 @@ static void netduinoplus2_machine_init(MachineClass *mc) mc->valid_cpu_types =3D valid_cpu_types; } =20 -DEFINE_MACHINE("netduinoplus2", netduinoplus2_machine_init, NULL) +DEFINE_MACHINE("netduinoplus2", netduinoplus2_machine_init, target_base_ar= m) diff --git a/hw/arm/npcm7xx_boards.c b/hw/arm/npcm7xx_boards.c index 9c526a26839..6c4297b4a0f 100644 --- a/hw/arm/npcm7xx_boards.c +++ b/hw/arm/npcm7xx_boards.c @@ -549,22 +549,27 @@ static const TypeInfo npcm7xx_machine_types[] =3D { .name =3D MACHINE_TYPE_NAME("npcm750-evb"), .parent =3D TYPE_NPCM7XX_MACHINE, .class_init =3D npcm750_evb_machine_class_init, + .is_available =3D target_base_arm, }, { .name =3D MACHINE_TYPE_NAME("quanta-gsj"), .parent =3D TYPE_NPCM7XX_MACHINE, .class_init =3D gsj_machine_class_init, + .is_available =3D target_base_arm, }, { .name =3D MACHINE_TYPE_NAME("quanta-gbs-bmc"), .parent =3D TYPE_NPCM7XX_MACHINE, .class_init =3D gbs_bmc_machine_class_init, + .is_available =3D target_base_arm, }, { .name =3D MACHINE_TYPE_NAME("kudo-bmc"), .parent =3D TYPE_NPCM7XX_MACHINE, .class_init =3D kudo_bmc_machine_class_init, + .is_available =3D target_base_arm, }, { .name =3D MACHINE_TYPE_NAME("mori-bmc"), .parent =3D TYPE_NPCM7XX_MACHINE, .class_init =3D mori_bmc_machine_class_init, + .is_available =3D target_base_arm, }, }; =20 diff --git a/hw/arm/olimex-stm32-h405.c b/hw/arm/olimex-stm32-h405.c index 4630f78617b..eed4e387f5e 100644 --- a/hw/arm/olimex-stm32-h405.c +++ b/hw/arm/olimex-stm32-h405.c @@ -71,4 +71,5 @@ static void olimex_stm32_h405_machine_init(MachineClass *= mc) mc->default_ram_size =3D 0; } =20 -DEFINE_MACHINE("olimex-stm32-h405", olimex_stm32_h405_machine_init, NULL) +DEFINE_MACHINE("olimex-stm32-h405", olimex_stm32_h405_machine_init, + target_base_arm) diff --git a/hw/arm/omap_sx1.c b/hw/arm/omap_sx1.c index a7e469ea6a3..de70f21aa77 100644 --- a/hw/arm/omap_sx1.c +++ b/hw/arm/omap_sx1.c @@ -225,6 +225,7 @@ static const TypeInfo sx1_machine_v2_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D sx1_machine_v2_class_init, .instance_size =3D sizeof(Sx1MachineState), + .is_available =3D target_base_arm, }; =20 static void sx1_machine_v1_class_init(ObjectClass *oc, const void *data) @@ -245,6 +246,7 @@ static const TypeInfo sx1_machine_v1_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D sx1_machine_v1_class_init, .instance_size =3D sizeof(Sx1MachineState), + .is_available =3D target_base_arm, }; =20 static void sx1_machine_init(void) diff --git a/hw/arm/orangepi.c b/hw/arm/orangepi.c index 87ed2ef4b69..dada6d95417 100644 --- a/hw/arm/orangepi.c +++ b/hw/arm/orangepi.c @@ -134,4 +134,4 @@ static void orangepi_machine_init(MachineClass *mc) =20 DEFINE_MACHINE_EXTENDED("orangepi-pc", MACHINE, OrangePiMachineState, orangepi_machine_init, false, - NULL, NULL) + target_base_arm, NULL) diff --git a/hw/arm/raspi.c b/hw/arm/raspi.c index fadbacb2534..9c223efaa3f 100644 --- a/hw/arm/raspi.c +++ b/hw/arm/raspi.c @@ -391,14 +391,17 @@ static const TypeInfo raspi_machine_types[] =3D { .name =3D MACHINE_TYPE_NAME("raspi0"), .parent =3D TYPE_RASPI_MACHINE, .class_init =3D raspi0_machine_class_init, + .is_available =3D target_base_arm, }, { .name =3D MACHINE_TYPE_NAME("raspi1ap"), .parent =3D TYPE_RASPI_MACHINE, .class_init =3D raspi1ap_machine_class_init, + .is_available =3D target_base_arm, }, { .name =3D MACHINE_TYPE_NAME("raspi2b"), .parent =3D TYPE_RASPI_MACHINE, .class_init =3D raspi2b_machine_class_init, + .is_available =3D target_base_arm, }, { .name =3D MACHINE_TYPE_NAME("raspi3ap"), .parent =3D TYPE_RASPI_MACHINE, diff --git a/hw/arm/realview.c b/hw/arm/realview.c index ceba0331b08..63f0a9bcbaa 100644 --- a/hw/arm/realview.c +++ b/hw/arm/realview.c @@ -436,6 +436,7 @@ static const TypeInfo realview_eb_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D realview_eb_class_init, .instance_size =3D sizeof(RealViewMachineState), + .is_available =3D target_base_arm, }; =20 static void realview_eb_mpcore_class_init(ObjectClass *oc, const void *dat= a) @@ -458,6 +459,7 @@ static const TypeInfo realview_eb_mpcore_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D realview_eb_mpcore_class_init, .instance_size =3D sizeof(RealViewMachineState), + .is_available =3D target_base_arm, }; =20 static void realview_pb_a8_class_init(ObjectClass *oc, const void *data) @@ -478,6 +480,7 @@ static const TypeInfo realview_pb_a8_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D realview_pb_a8_class_init, .instance_size =3D sizeof(RealViewMachineState), + .is_available =3D target_base_arm, }; =20 static void realview_pbx_a9_class_init(ObjectClass *oc, const void *data) @@ -499,6 +502,7 @@ static const TypeInfo realview_pbx_a9_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D realview_pbx_a9_class_init, .instance_size =3D sizeof(RealViewMachineState), + .is_available =3D target_base_arm, }; =20 static void realview_machine_init(void) diff --git a/hw/arm/sabrelite.c b/hw/arm/sabrelite.c index 05dfabd9376..57c2fda362e 100644 --- a/hw/arm/sabrelite.c +++ b/hw/arm/sabrelite.c @@ -151,6 +151,7 @@ static const TypeInfo sabrelite_machine_init_typeinfo = =3D { .instance_init =3D sabrelite_machine_instance_init, .instance_size =3D sizeof(SabreliteMachineState), .abstract =3D false, + .is_available =3D target_base_arm, }; =20 static void sabrelite_machine_init_register_types(void) diff --git a/hw/arm/stellaris.c b/hw/arm/stellaris.c index f41315e1928..5c13a29b95e 100644 --- a/hw/arm/stellaris.c +++ b/hw/arm/stellaris.c @@ -1427,6 +1427,7 @@ static const TypeInfo lm3s811evb_type =3D { .name =3D MACHINE_TYPE_NAME("lm3s811evb"), .parent =3D TYPE_MACHINE, .class_init =3D lm3s811evb_class_init, + .is_available =3D target_base_arm, }; =20 /* @@ -1448,6 +1449,7 @@ static const TypeInfo lm3s6965evb_type =3D { .name =3D MACHINE_TYPE_NAME("lm3s6965evb"), .parent =3D TYPE_MACHINE, .class_init =3D lm3s6965evb_class_init, + .is_available =3D target_base_arm, }; =20 static void stellaris_machine_init(void) diff --git a/hw/arm/stm32vldiscovery.c b/hw/arm/stm32vldiscovery.c index 35c16bda411..4bab9340942 100644 --- a/hw/arm/stm32vldiscovery.c +++ b/hw/arm/stm32vldiscovery.c @@ -68,4 +68,5 @@ static void stm32vldiscovery_machine_init(MachineClass *m= c) mc->valid_cpu_types =3D valid_cpu_types; } =20 -DEFINE_MACHINE("stm32vldiscovery", stm32vldiscovery_machine_init, NULL) +DEFINE_MACHINE("stm32vldiscovery", stm32vldiscovery_machine_init, + target_base_arm) diff --git a/hw/arm/versatilepb.c b/hw/arm/versatilepb.c index f94bf96599e..c75448f12b7 100644 --- a/hw/arm/versatilepb.c +++ b/hw/arm/versatilepb.c @@ -437,6 +437,7 @@ static const TypeInfo versatilepb_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D versatilepb_class_init, .instance_size =3D sizeof(VersatileMachineState), + .is_available =3D target_base_arm, }; =20 static void versatileab_class_init(ObjectClass *oc, const void *data) @@ -459,6 +460,7 @@ static const TypeInfo versatileab_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D versatileab_class_init, .instance_size =3D sizeof(VersatileMachineState), + .is_available =3D target_base_arm, }; =20 static void versatile_machine_init(void) diff --git a/hw/arm/vexpress.c b/hw/arm/vexpress.c index 914cda66d20..a75a80f38b5 100644 --- a/hw/arm/vexpress.c +++ b/hw/arm/vexpress.c @@ -849,6 +849,7 @@ static const TypeInfo vexpress_a9_info =3D { .parent =3D TYPE_VEXPRESS_MACHINE, .class_init =3D vexpress_a9_class_init, .instance_init =3D vexpress_a9_instance_init, + .is_available =3D target_base_arm, }; =20 static const TypeInfo vexpress_a15_info =3D { @@ -856,6 +857,7 @@ static const TypeInfo vexpress_a15_info =3D { .parent =3D TYPE_VEXPRESS_MACHINE, .class_init =3D vexpress_a15_class_init, .instance_init =3D vexpress_a15_instance_init, + .is_available =3D target_base_arm, }; =20 static void vexpress_machine_init(void) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 0871a35e11f..583b5edf9a6 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -132,6 +132,7 @@ static void arm_virt_compat_default_set(MachineClass *m= c) .name =3D MACHINE_VER_TYPE_NAME("virt", __VA_ARGS__), \ .parent =3D TYPE_VIRT_MACHINE, \ .class_init =3D MACHINE_VER_SYM(class_init, virt, __VA_ARGS__), \ + .is_available =3D target_base_arm, \ }; \ static void MACHINE_VER_SYM(register, virt, __VA_ARGS__)(void) \ { \ diff --git a/hw/arm/xilinx_zynq.c b/hw/arm/xilinx_zynq.c index c1897ab1cf3..d18b6b1cd8c 100644 --- a/hw/arm/xilinx_zynq.c +++ b/hw/arm/xilinx_zynq.c @@ -478,6 +478,7 @@ static const TypeInfo zynq_machine_type =3D { .parent =3D TYPE_MACHINE, .class_init =3D zynq_machine_class_init, .instance_size =3D sizeof(ZynqMachineState), + .is_available =3D target_base_arm, }; =20 static void zynq_machine_register_types(void) --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958271; cv=none; d=zohomail.com; s=zohoarc; b=YX3lU/M2UCqtXVeM3qkegKkXn5VAa3yFHhEMKDhcHRWSfKR/yL2/nD4wT7zxD8aJJrkx/oGQAOCAh+1MjmPYkMQV3oWKOhBB2bxnK/BHpR2lWjZwHn/Gpf598OH8gEBAtvYHnPzgOiagiZ3AczoGxBNFNH4Ogrn6dzqWKXPqTpk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958271; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=BI9lzGV7CdEiHTI8GC3Mv+uu0jG3uaMxbadWrl4HUEc=; b=Ho3M03uECSCqOxfFV/BgrgKJvKly9CSu4q5SdmJnJppLFInVHYNdff1zq3dQC8/a4qybNvHSpEja8bYBtiqF0GTcoIdMXOFuv8K7jyTGaxLq7j4jNE2qGON4P7+jiK6Y8ZHgKWuqmWahQB4ADyPgTbuCRlZUaiF632Gwf5JvFIM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958271822475.79437770127856; Fri, 28 Aug 2026 16:04:31 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05bP-0001E0-Vt; Fri, 28 Aug 2026 19:03:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05bJ-0000wV-4Z for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:03:09 -0400 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05bC-0006Ba-VT for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:03:07 -0400 Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMU2P0170016 for ; Fri, 28 Aug 2026 23:03:02 GMT Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbhgq8crm-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 23:03:01 +0000 (GMT) Received: by mail-pj1-f70.google.com with SMTP id 98e67ed59e1d1-38ec0f510a9so3688356a91.2 for ; Fri, 28 Aug 2026 16:03:01 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3286f99585csm8448569eec.21.2026.08.28.16.02.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 16:03:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=BI9lzGV7CdE iHTI8GC3Mv+uu0jG3uaMxbadWrl4HUEc=; b=pNSO/P2fSz91H9yr65T1nQnKACo gabz1OSRvM05kkKLyVp5c2mKM59aDTHH4Dvv9lPmJ1ndBYAFxhf50z523WR4zLq1 Ql5Mq4fENNpxsEks8HLRNgKwXX5EdWRIncO58YLGEIYC+oIb+eJTtxv5qbLxhcHI R4I354h7ZprLLDHhiutzDuNlQcPEfhQ/SknF1nYsTBpERFDc1oaegBBcYajGsYWH A6BLzxsmS1w7/VqL23Ac2B+lGfOVOwJg8zhj9yQbJPCiwnxasVuJ0fENHehU3rAj 1RuncSXc33uksefoGSfMkTH3Btkb/xry4Coejt4iWQYNYXVKblyWLV8NvYA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787958181; x=1788562981; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=BI9lzGV7CdEiHTI8GC3Mv+uu0jG3uaMxbadWrl4HUEc=; b=AYSkAacW2XJo/j8RkCt5B2uNMP2ly03Tikr6WjSOhvii42AqK1gJDbVFyAe1DZNzRh pJ5Vy/JBpHqeSZ/ST0CeEXrycZdqVkBVLmmSfGEYapH7yhlggE/6hfvrdor61X8BCUKJ Kgap8ugvn07TO1ocLbfsb1az5qFtiB6M97kQH/lJAp7PVJbRNaWZ0eajFlreHIC8oUs7 d2pE8E+0rU0eJ1+TN1hUG7mKejO0A/w7dhtOuHA60YLOM/WMlcFGqRfEzYK++Q8AoTkS ElLfIjx1Vin1BX8v7spK0t9pzFuCiGmsm93QhVF0LRK1o1EH7uF/zLt+iP2AYENbAe1M O1dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787958181; x=1788562981; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=BI9lzGV7CdEiHTI8GC3Mv+uu0jG3uaMxbadWrl4HUEc=; b=nSeYUNfg67e1OQanIzxUT9AaRzFrOdWZLUDRxM0wbgAPBzfXi3PX/HLLaN8KCYZh7s Qg1K2SXjRlj89XJuu115kH0cD2sodXD22aubX7aBtxxWOHmwgcFmNPVLXadfO1exvz0M HqkKKO7CFmBQ7mE1c2ZbXGmJ/YFaM9CJUhoedyFYAcwvz5Z2bMMno4zjECALyeJN1s60 7X5qZOR9yO6e9PLUeuEZoQ46rkwjIAEb4OrAaNmnpsICpWp+YONVfUSWC69JITn4O7ue Iwpcv4YzhUGCcKJvCepAldpP3eWkDprRRAfCT6UhI9lloTUJ83ex+GqwOWZOb6xPOdPM 31bw== X-Gm-Message-State: AFuF++kn3QE8uiTn+fmozphO4q92TmY5nsZW2FqC+TzyfvdSjhOMXeJV dKjk51wQIJMAjAGSDb0XU2cmrwptmUTU8QsUEb6KYo8qU0VjsVDc5yCXGeeMAspaqRHj4Gs2InT +Yc9wiI4W0Ro8C4yfYnUjiPsWZ8MpvaKte2eOJoWq9rlMbmV0AsE6iken/ti1uFTMVw== X-Gm-Gg: AYBFou3/gNDnPBk7IJxsC2AEka7kRGheNDy58ZqSwDVm6TiwjQpYfPQKBxld7VTXKPh W7LYcBTHWtaSubs8jmZdkg/iFQN5srQXFB9Yg6JuebrMvVvHcCqcklJY/r30K7P6OOCgnCzMSP2 wNaSPM0qqBY4XlJbKJzCx+k+ul/Th3vG2vwxw9ZZxgm5AaJXnkB5vF200ATor/VrP3frB3B0qUz x6lt6iIDQTVvH2aPc3W6ViYmT9fpGQNuv2cE9Sse0eZqvIyUEomyoADbkE/bBfuN+IDMzqt/hWN a9tSfiSghSOHEYWgAx09KmbPybMTT45UHPVm26ivLPqfZe2qaRYF+q7KdplKtckZJxS0Bi0VL4+ /2eJ+hhgTV+MoGDv/2igfAEJzT+qBM1a6w9BDER91Dq0Oj2lx4BVLAIhCrtE= X-Received: by 2002:a17:90a:114f:b0:398:9be5:b41e with SMTP id 98e67ed59e1d1-3989be5b50emr2705379a91.25.1787958180996; Fri, 28 Aug 2026 16:03:00 -0700 (PDT) X-Received: by 2002:a17:90a:114f:b0:398:9be5:b41e with SMTP id 98e67ed59e1d1-3989be5b50emr2705342a91.25.1787958180589; Fri, 28 Aug 2026 16:03:00 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 41/47] target-info: add target_microblaze Date: Fri, 28 Aug 2026 22:58:55 +0000 Message-ID: <20260828225901.367438-42-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: nwyjvrrNJzYZay6lL5dK7R0YRdJNuOGR X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX9dK+vlXefy3b aDJcskeXo2OMV34O+bZCssezj21YL7yZZ0oF1e+NUL3Yj5IF1tAW2bUM7kRoU6vbrLOlJ5/K2hy I6w/9le+wGbNn/ANaUAfjqBXHgaxxaM= X-Proofpoint-ORIG-GUID: nwyjvrrNJzYZay6lL5dK7R0YRdJNuOGR X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX2o4AvrvJ2OPz 6TTL3YJ3Z8bDsFl9HWEtah/o773TxuRAYk6e9iYqcQKLwTTHzBfFl8bLwG/lvAOliFxIGYPD+d7 w0iRHIf7PQh1QuQXfJtqfk3xg9J+NwgmJ9nmrTUwX1Tt+nW30NH2Mug4UDCrmt98PjaJIntuyu2 4JSrAzzxROt0BJvnvhNM9RBlJ/RsF6/HECGXs8fhtTlgv7GqEZwMh20ETqzAG1/fscrXVPug7Sf 6e6WFExF7+hV5BSWrrXnrZw6u3qV6cDYTmEr//+ugwNY8qeMtModTlnc97/Am2I6QISQImMCPTf jVVOH2DwrcK7OMnWjbcP4mUwfe+6MGtNsJL2MRax/OnM1tkdZfje3vzR4T+xadTkhFijvEidbOL ejGJrnIKNc90WeGLCeFm5POWn9fd0JzEOus58ZtXreEU1aHN28gvsRLp3+oIjVuim6lCF9xubvS KRkbhRGHDMilodWXFxQ== X-Authority-Analysis: v=2.4 cv=CsGPtH4D c=1 sm=1 tr=0 ts=6a9213a5 cx=c_pps a=0uOsjrqzRL749jD1oC5vDA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=EUspDBNiAAAA:8 a=upjuZsUD9oIM7hwv7PIA:9 a=mQ_c8vxmzFEMiUWkPHU9:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 suspectscore=0 bulkscore=0 spamscore=0 malwarescore=0 impostorscore=0 adultscore=0 clxscore=1015 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.180.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0b-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958273434154100 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 --- include/qemu/target-info.h | 7 +++++++ target-info.c | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/include/qemu/target-info.h b/include/qemu/target-info.h index a60751a4ef6..e6524a8001e 100644 --- a/include/qemu/target-info.h +++ b/include/qemu/target-info.h @@ -84,6 +84,13 @@ bool target_arm(void); */ bool target_aarch64(void); =20 +/** + * target_microblaze: + * + * Returns whether the target architecture is Microblaze. + */ +bool target_microblaze(void); + /** * target_base_ppc: * diff --git a/target-info.c b/target-info.c index 8e9f1823dc0..1124aa5f780 100644 --- a/target-info.c +++ b/target-info.c @@ -78,6 +78,12 @@ bool target_aarch64(void) return target_arch() =3D=3D SYS_EMU_TARGET_AARCH64; } =20 +bool target_microblaze(void) +{ + return target_arch() =3D=3D SYS_EMU_TARGET_MICROBLAZE; +} + + bool target_base_ppc(void) { switch (target_arch()) { --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958253; cv=none; d=zohomail.com; s=zohoarc; b=LkJqI3qEEOeevIvnUaBQXXtlGnh85B7gYFFPuPrT4eLJPe7ma08E3DNcV8mjR85AXsy24YhwT/XdSHvqG6KKeoALJSH1oYnlJU1HAG5XGMMpo8CXpoNjbPmcoELF7ksE9GRicDLzhgCjPZhAf9itLURF2062O4BjSXgXXOPzhpg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958253; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=TeetWftlAGXBkOJee/oDQgs6FaMP4zcR7C6EslaV/gc=; b=Zc33GRDhH85Tv/WQ/H8o8wtGxYDU9GriOfZuyU9S6mUhNsQBvKFEbZ4K7iv1kbMDJ3Jd1ESUNeC1UjsAX+cxnw+yOSCOKpb+z1a0SwB+RgPhJTWLL1RMts0hkQK7hSJlJ3tz2iCl5LpV+IIN98PJIIHDUvz8KbqZ0jhu8O8J9lM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958253427764.9339730922522; Fri, 28 Aug 2026 16:04:13 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05bc-0001rn-BU; Fri, 28 Aug 2026 19:03:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05bJ-0000wj-AR for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:03:09 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05bE-0006Bi-Bq for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:03:07 -0400 Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTU6G1173226 for ; Fri, 28 Aug 2026 23:03:03 GMT Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb8afjkgs-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 23:03:02 +0000 (GMT) Received: by mail-pg1-f199.google.com with SMTP id 41be03b00d2f7-cbee6bb8408so1804734a12.3 for ; Fri, 28 Aug 2026 16:03:02 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3286f99585csm8448569eec.21.2026.08.28.16.03.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 16:03:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=TeetWftlAGX BkOJee/oDQgs6FaMP4zcR7C6EslaV/gc=; b=XYknu2u/lvgVH14sSPX+TECBnQe gFbc7YK8jyyQqairnHR9WOtcjzl7vI6gIR9fKv+m21H4Bdc2bjsqI7SYg0mgi8cr mBv9iVJALmSFl/gg17vpZ6yEDDsguMhmkIradCVTcFh72OUibB/+eOahpDC12ILG eikyxsRJ54w5veomJFlssSSyI1tPLKPa9RwDu3lJLLxIWpUR2ImIR1VAes6V3kuR jQzkSr7wyypgugHs3s9TOkL8QfQj+Y3+v3N9WET1djgT/smkEgyjFSQwqDN/gI1Z dgvPpu2lf1Z6WRONcPuse98lQhHRtHexXj2F5uff3E7pg5M+TkNo7IE81Xg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787958182; x=1788562982; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=TeetWftlAGXBkOJee/oDQgs6FaMP4zcR7C6EslaV/gc=; b=Z/IeBYEo7k4QtAte13xOFg0XICvOhZ+Q4tpa8bPz/j4Etb1lQ3YBPvXwFTxg5FcB87 CHExEpYLlB7ByFHYwWhjUCClQdJvYtI1xi47uLEhKPWXDX4sw4UhjSMoI5gs/4dtCrFf UcIrdV79e4X1Tq9Rg8Lf+Lhi/7rVT4naDa+Meb8tIVw/fDXBRNnNGsJ0IFiCMH9F+94j FkP3RFk0ew3avAZqKl0WoNfwrnwZAiZyXNwXdaIMIDCdeUJFDwGHJjv+UPGW4R+9eZKF GwXGbdhsiB4MMk6St9qU0Vcr91z6ahhhoFpfv44xuSXbZHO1L2ANXx2m65G5KXgqjuxx Oltg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787958182; x=1788562982; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=TeetWftlAGXBkOJee/oDQgs6FaMP4zcR7C6EslaV/gc=; b=ERZ5uzga5+RaUyssskBCoODB6OBPX800s8Tpjtje1YBw3vn+p1OaX6wC2RcxZ0OqnT H+1YjktA1HIjOMSDF+SmpsAMG/IugnsE2FwIGD7RPLA6UfT7tHQv7Q7Hv7R/RzYvCDf9 I9hwozD0NLbNfWV/r/1jGY8xaM2D5rqqvpYS7DjfpsEylDLOd5XJfTwC/uKI6+Eq3niR x82tSSTnezi84Qxrplyhcyhw/IfFEjV9cnH3QdJRQBsDZ2hCOeb3ARZDwr/xRTiR1JfM aN5vWzfIH04mAV7kQjbzIqsxs2GvCQ0PnOeBKuYcgL9Z1VVpUfN2GFhg1OMENEZPAG7i eVwQ== X-Gm-Message-State: AFuF++khkdpMujMgOnVj4Mf9GfxowGpG0qrpkoBFgyYjoJD9qh5qkz7y rUthZm/zpkKD3TghkL/W98dNnyeRVyGG5YAQYomU6Wcjc22GKDeyTS7Z96f2YearBeQL4NF4P/C iRhVQMu5wGzMC2NTaqQAw7W1nZVX9UvtR238C3R3Qp0Z6hrGx7eyD+et0q+qTytPSNg== X-Gm-Gg: AR+sD10YR/XkqzpMFXbmfrvfreVK7E2aFd2b8Q92oekBXnYAdKKbMsCGIHtgw2pMkeo gCeZPDDGucqRdpcdVGwjZF+gAI+SK9hoyOWzgXQQQJgI4ziRrGSh0nx5oLlkG1kTtZoMV49Twqo y6cciqgQcYJ2wJPUB3sD5cwaKRC3ri3SPxdOIhhJVkiOpiuVMmc67AbbbE4Wf1hv6kVcJ8uleEg C1GiLhVd40j387E0CZL+L9iwo73QhEJII3V21Aoi/H/lMRTdMVBT5eNcMzgkfxzAQMZZnJxdK5Q 3+zJ8CArP25cbzZKi4t5jUguE5jO0l+Gk/XuCU6xW2AiONrT7CyStvFPrF63TT7jJEzL0+mO3VM YpJt2AQ26qmUQ+CHQ+LLPkby5oddqZxx7+cd7vuGEiCySO3PpMSCWKYZoCyY= X-Received: by 2002:a05:6a20:9f90:b0:3cc:9620:5816 with SMTP id adf61e73a8af0-3d266571fbemr21302787637.8.1787958182216; Fri, 28 Aug 2026 16:03:02 -0700 (PDT) X-Received: by 2002:a05:6a20:9f90:b0:3cc:9620:5816 with SMTP id adf61e73a8af0-3d266571fbemr21302718637.8.1787958181708; Fri, 28 Aug 2026 16:03:01 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 42/47] hw/microblaze: filter microblaze machines Date: Fri, 28 Aug 2026 22:58:56 +0000 Message-ID: <20260828225901.367438-43-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: 41TuonxQ1tkXD_fgkfd4YHfI4FMJR8K0 X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX3Y2mfniagemX N2Rx+vTp8XNKe2k+XW7mPzW/rrH6vmKiBMH6PqgUr4Wtck/O/C1PDeAkWZvQBA6jl2piPn9klwl y5AfXPcdwNCghEMveskSmmz+h2nV+hk= X-Authority-Analysis: v=2.4 cv=IPoyzAvG c=1 sm=1 tr=0 ts=6a9213a6 cx=c_pps a=Oh5Dbbf/trHjhBongsHeRQ==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=Qq-BRxnSyYkDEyn2zA4A:9 a=_Vgx9l1VpLgwpw_dHYaR:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX2h4LfDe0WX9x J/mtgGrQY1LfWPWYOfAuGLLze3c/Q6VHMXkAmbHsUZk+7WdZXORD940C7nWWSIDboJ6rYfYxy9l mJBvUW/DEdu/0TpidLLsD3hr42Klxaopbe31iFyb1SOfQxf7qwOItBmrlTAIxuY7UfKXzsKEbhK mxrSQu2UhvhL7HThFzxmbX3GG6yokswn09CpVq6s7ZaGodU2LJ+hP+W5mLIiHvWlebgj/f429au 13VtmwdmaxHitjjd45tt9ScoumsO7JrwYuBc+nbWzxjNKw916p5zgH65q4Yy7WseCfkO1tKxSYI jtw4SS8fNF7MCiKlTq+SgWBBMbQnu/fbGvvDp8SMO8a9ZVHa3yfYqe8Ro5yJWW/R4h84/dms3P9 XgXh2lYTPq/NYoMNzuhNtlhkK2gHSlMzhhE4L1xUw+QnOMhiqboqVfmMRrH5BdYzf6ySWKlCvrA X3LYwkixvFyJ5ClHfeA== X-Proofpoint-ORIG-GUID: 41TuonxQ1tkXD_fgkfd4YHfI4FMJR8K0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 bulkscore=0 phishscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 clxscore=1015 adultscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958255170154100 Content-Type: text/plain; charset="utf-8" This ensures other base architecture than microblaze don't see these machines. Signed-off-by: Pierrick Bouvier Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/microblaze/petalogix_ml605_mmu.c | 3 ++- hw/microblaze/petalogix_s3adsp1800_mmu.c | 1 + hw/microblaze/xlnx-zynqmp-pmu.c | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hw/microblaze/petalogix_ml605_mmu.c b/hw/microblaze/petalogix_= ml605_mmu.c index 240f5a31aa5..28180804afe 100644 --- a/hw/microblaze/petalogix_ml605_mmu.c +++ b/hw/microblaze/petalogix_ml605_mmu.c @@ -220,4 +220,5 @@ static void petalogix_ml605_machine_init(MachineClass *= mc) mc->init =3D petalogix_ml605_init; } =20 -DEFINE_MACHINE("petalogix-ml605", petalogix_ml605_machine_init, NULL) +DEFINE_MACHINE("petalogix-ml605", petalogix_ml605_machine_init, + target_microblaze) diff --git a/hw/microblaze/petalogix_s3adsp1800_mmu.c b/hw/microblaze/petal= ogix_s3adsp1800_mmu.c index c5f64319009..9e584104db9 100644 --- a/hw/microblaze/petalogix_s3adsp1800_mmu.c +++ b/hw/microblaze/petalogix_s3adsp1800_mmu.c @@ -190,6 +190,7 @@ static const TypeInfo petalogix_s3adsp1800_machine_type= s[] =3D { .parent =3D TYPE_MACHINE, .class_init =3D petalogix_s3adsp1800_machine_class_init, .instance_size =3D sizeof(S3Adsp1800MachineState), + .is_available =3D target_microblaze, }, }; =20 diff --git a/hw/microblaze/xlnx-zynqmp-pmu.c b/hw/microblaze/xlnx-zynqmp-pm= u.c index 59d34f5846e..fe82acb965b 100644 --- a/hw/microblaze/xlnx-zynqmp-pmu.c +++ b/hw/microblaze/xlnx-zynqmp-pmu.c @@ -185,4 +185,5 @@ static void xlnx_zynqmp_pmu_machine_init(MachineClass *= mc) mc->init =3D xlnx_zynqmp_pmu_init; } =20 -DEFINE_MACHINE("xlnx-zynqmp-pmu", xlnx_zynqmp_pmu_machine_init, NULL) +DEFINE_MACHINE("xlnx-zynqmp-pmu", xlnx_zynqmp_pmu_machine_init, + target_microblaze) --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958225; cv=none; d=zohomail.com; s=zohoarc; b=mulER/XgDnCT5LH0xNsLEu5UMdkZmWXnYB2okxOCYKzspdEiEdzHb4RNndrbBAuYU+W3cZ8OnFpiwG++7ZGrDnYTlg2Kv9YNfMKaARgmMqEgo0oihGSMPKcP8Y+YGxzoODUr85V6iSpFTIhVi2mT/Ty4e9WSu+ByM/p8p1RvBQA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958225; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=aL5RhYdURMMYgn1YbJPqYea7+tKkaMUklWj7jK2ghaU=; b=QSdVJ5LQ8JpsARcvX7rbrwgV4onWNjiRP1GhGmaxo9iYMdA7kUADzzfN6aRPV44RtVP2a2FofrpnFTd6tmg9LJR+ZbpGTcinvFVRCUG1deo23dpmHIR8Y9MsBcYfzWh0jxo7DHLzV4/4cFGK67wnkibt5XcZbKSPhPqA3/KAZT8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958225502925.7822455956957; Fri, 28 Aug 2026 16:03:45 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05bf-00020R-Vo; Fri, 28 Aug 2026 19:03:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05bJ-0000wo-Cs for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:03:09 -0400 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05bF-0006Bs-AG for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:03:07 -0400 Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTRbe014762 for ; Fri, 28 Aug 2026 23:03:04 GMT Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbgvfgfc7-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 23:03:04 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2cf1c86963bso3999275ad.0 for ; Fri, 28 Aug 2026 16:03:04 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3286f99585csm8448569eec.21.2026.08.28.16.03.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 16:03:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=aL5RhYdURMM Ygn1YbJPqYea7+tKkaMUklWj7jK2ghaU=; b=E3T8naIjPXCGwlYT5eR29JPz6Pz LfOdfR4qNpMM0fvtX2q+FBtbf42zJnCjx4vjnO+9yf9U0lDee1YsYbmldlj3EzbE 0v/DaugG/5JLgIsWlnbkUO1OUVO9nMGShafGVSePYocmE5AGrjO3Gv7JFeMKvECq lO+GL91Vya3ZmgupFN+EyicE5tH1+GPwkt1cFemcuZ5+0mfcaIjA/TNwPuAcFoib HR8AMc9vQF8UGIBGEyZU0NZNsbo/ZA52fsM+yKIz+jrKa5aLT0WbTu2Tmo0Ng6mo eMoD81TuNWkVO5ERK1pU7JMqWaeudTBAc8yxhoYK7WB6zOw66Cew8s/NszA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787958183; x=1788562983; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=aL5RhYdURMMYgn1YbJPqYea7+tKkaMUklWj7jK2ghaU=; b=WCO3EHzFi59ns1+BAqSrOmmdy2NTAxtSwoTAhy6+a9qER4CjuPp4n4TVxWnWZKwE9w c1RjJJOTLmHi+m/+C3o+Ni3qYWaQukitWgpREU0dYoSD/Y5lzueRbNx4PqWy+9kRnpzt +mf7ovq1H7ayEUkKqegcMpVoLFLSE5K4ziCEVd/4kk6T10oj17bvA3hee7qSwkPoxirR H/OfDzoFO6sO6tGyCX9x5A026YsQuaadPmxPcO6t+rjfh8ZSX39P/8XszLg1BC/hNUs8 r3ItxfiCA5OfgDbjd6epBa6G5rzHInz14OAO8SBg6SLU9jb/RBUTljr2nvopgrgYcmRt 9TKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787958183; x=1788562983; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=aL5RhYdURMMYgn1YbJPqYea7+tKkaMUklWj7jK2ghaU=; b=kC1ZwRaWxB2OMSgs7iWt8wdDvJ+oy/9dJleuzfR1Wm22PRe+tGkcRSbMlpt0ywZUgC lLLdyiD0lzNViDWN8tpMEossUdtbCmhY4G42Uj5wtXqmre4K/nbrfDubwPNpx3WiZQn8 EjE1OIOly3winDKDxCE40yquCSFtyC9c8okF/QFVo6w3kKDiurKFIKJ9WhKF6I/yO5k5 iWJxRO61i5JbaFITBf+YQ8Z8tEglbV5DMn0IQabWSvUm2wzlI1sWQ8VkOVeMIgs/rsBX NGFHI09qJ0toVg75/4H5OTSiLl+4fn/Az9Ze25C3cG+yd8cGbQ71d7rgcCwrca/B4t5d y2pg== X-Gm-Message-State: AFuF++mR4wm3zEFRmLxk8nwoiUSUFhhkORiVUwnTq0zauocvYjlV9lEK zGvDHWtOWKOx1gF0aTaCs+wF8M48OfMiopBR66WWsJP2LkbHeH52/2fRcTs43WLhtpE54cjPT3L J+JxIJdWuAD0M9kf/5zWJQOUC+x87yXIjn7nKYr0Xr12pVGaeOUcfStT3d84jZ+/Ufw== X-Gm-Gg: AYBFou3ju1Sf90rxeK2Vf2IEXB/Kr0YjwY8qPnmh2WRm7w5bBzjWF0KJ5qMeYsyvjQ7 9LvrFgIJ6pYSusv0bGs/9ljAmXzOTdoYrN5/8c06BIDlvr9XM45eCyBIvZ8mAUDK2EqPdutH2qV v2keZNlmSwF4BgyQVELOzrCqcFJ0qlDQvVm2HV09cLMey4J/esDnP/8O+4DmTWxd9Ita5p3QoM2 2ua4iTf6uozKtJhJzn8lxVwNnFDmgVjcO7DnDSsXC9qUhSy1ia6zwPscnuAHIagHi6FUbYL3iGM Ar4iskA5BadnDuj52bFTEFwG+qao6db6YuF4aEzCM+NL3aSmrvEgfOhU8ap3TdX+7tyxs/rBeOC 07O6zW4U+Q5OEohWtPfuefymLesugJlIi3icfTLK/qWrgAP55ATM4GNg5J2o= X-Received: by 2002:a17:902:d48d:b0:2d8:d4d2:d13a with SMTP id d9443c01a7336-2d8d4d2dce2mr23339025ad.22.1787958183495; Fri, 28 Aug 2026 16:03:03 -0700 (PDT) X-Received: by 2002:a17:902:d48d:b0:2d8:d4d2:d13a with SMTP id d9443c01a7336-2d8d4d2dce2mr23338565ad.22.1787958183045; Fri, 28 Aug 2026 16:03:03 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 43/47] target/microblaze/cpu: filter microblaze cpu Date: Fri, 28 Aug 2026 22:58:57 +0000 Message-ID: <20260828225901.367438-44-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX12f61HfLzBJ7 gkZqvbWy/CBWletvITEQqtFQ09wwStlBWf/6ezM7MtuA52YwT2nHHrzX993uVeL6WkEvC/INSba NgLjgK2rCg/vRDXqqoz89HIy5+XyP5j4Qt9zQCPgWhuJseWzwxSfc3JA102xDI8uwmC5jS0rS2g CR4zfjwyI00OcxzWDB5I1NDpKJDwM6WsSBQ9ElkIE+9PQXuG8utldWAN23lwSlmY+v0ltEmqZL2 v4TvFX1hw8ZhVLv9DrCXuf1X1iFXhJvgLwlPhP3sORCCYIKmUMo5g/fcQYyfbd4NodmX2KWMgum CszdWjeE+HFiwM1VSIy8l4HdPB+bTMSnUB2yuzlntiMg7LAmZsTaDPqFEVrkAdUTMQ+QYACYA+5 foUJIJeCunTFbxRWtXL0rLKcfC6uJ35pLwQNVHSNuenaCuBU5yRWzqgamnd1aPGC/3SK8AF7pVH RVYuNUz4KNvyx8GPn2A== X-Proofpoint-ORIG-GUID: vfHsqjRNs-KSgYipNHlTQ_Yl5A96GUPU X-Authority-Analysis: v=2.4 cv=UcthjqSN c=1 sm=1 tr=0 ts=6a9213a8 cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=EUspDBNiAAAA:8 a=r6yfPn4tIeM-FYsiuHsA:9 a=324X-CrmTo6CU4MGRt3R:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX5RN7US2GBUnx e1pUqkPEmVTIo5y24pjtddluK1AHS+QoO/m9wEGBxWG80FG4YQTkFQnkgz8K/tkI5hkmhCcM6fl 5Uur7YcYYnREkaKMZcWaIpIUpY4PoTs= X-Proofpoint-GUID: vfHsqjRNs-KSgYipNHlTQ_Yl5A96GUPU X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 spamscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.180.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0b-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958228801154100 Content-Type: text/plain; charset="utf-8" This ensures this cpu is not visible for other targets. Signed-off-by: Pierrick Bouvier Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- target/microblaze/cpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/microblaze/cpu.c b/target/microblaze/cpu.c index 389a5124b12..4038325efbe 100644 --- a/target/microblaze/cpu.c +++ b/target/microblaze/cpu.c @@ -494,6 +494,7 @@ static const TypeInfo mb_cpu_type_info =3D { .instance_init =3D mb_cpu_initfn, .class_size =3D sizeof(MicroBlazeCPUClass), .class_init =3D mb_cpu_class_init, + .is_available =3D target_microblaze, }; =20 static void mb_cpu_register_types(void) --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958259; cv=none; d=zohomail.com; s=zohoarc; b=PmyYb1ruyO+VEpLAX8ob0oYmggujnWbNmxFSXKNfn87kRLJEzBjgI/0KA9RbAGJSW4euQfQckcoP1gnaa3cO29zqpKPX0HrTOaiWqGPL9nkxpR/PMScvSGfT7UwZ6SJCS4qUsEBKwXC7Z75NwHW6LxvJQURXhBt38p/6FawAV98= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958259; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=X/HavCRScZPSzLLGgj7kCSUdvF+tlBG6BSRHE6v9TFU=; b=HsacYKhC8qPTC6ZKV8119Fy+bWnL6l5mlg1aMswIBIIEZPQfciYdZ0tnD/7qgFRLEVBXAARqeKfpwkiBBFfPnFzpsu3gfIdZCOorV5X0QTXl0vnv3JMlFuZ/3L1r1IZ15td0IiwrTVhGMq5PY88EHbw02BHKJfYAE2ERHcTgYuI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 17879582590581023.8477482571753; Fri, 28 Aug 2026 16:04:19 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05bT-0001Vs-TT; Fri, 28 Aug 2026 19:03:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05bJ-0000wq-Cr for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:03:09 -0400 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05bG-0006C3-GX for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:03:08 -0400 Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMU6pF170106 for ; Fri, 28 Aug 2026 23:03:05 GMT Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbhgq8crr-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 23:03:05 +0000 (GMT) Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-2d6fb956002so21038815ad.1 for ; Fri, 28 Aug 2026 16:03:05 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3286f99585csm8448569eec.21.2026.08.28.16.03.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 16:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=X/HavCRScZP SzLLGgj7kCSUdvF+tlBG6BSRHE6v9TFU=; b=kZ6mXX1f1z6Xl7hji47REYeB1KL EZecWmHPavSx6NF3Tg4TmzXWkUKNKkdkaTUlmR1UyVW2J4FEfAb0r+KFEt4BbAkM E8D0FLEz7HMUyRs4lA+CNETW9Kqf31tEeNEFuLyX5sZEoOwC0/+FlSDF3jMHG/rI C3IM3/P8l+4Ibx6IDE0/3FKAap72Hkpyg5ygVchKNSkNr0otP9zoMUJYdhQshqQ9 z/a5w8wLvKyyCi7WcTfd44IvEsCfok8kp8V4alXGbeYd/6rqM/uVXnI7HsTfZiJk OgQNA98yU2qTeSxawOpW6KzOyE0acTWaKoqxRTabrnPmVn5jKCAFqLG3Qow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787958185; x=1788562985; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=X/HavCRScZPSzLLGgj7kCSUdvF+tlBG6BSRHE6v9TFU=; b=kHCFND/a0I1vAkYhl5w684U4WJGtuL3TgM7YMh/YvYkgqDtBT1ijw1ylm3NmGzFopt FPNagTF0gnP733U69zAMP1sRp1Kdd+nls8d/XQzklZII9UHB9Fef9u/s2K0x3K9pBzCj kv3gBbqM5FrEuz79V/kNeo+eamCYqTHhTGP2gSLePImHojXDAfOs+R70e4nMdLHIiaA/ pidqB5JINF39m/K8jMM/FYdn6alMivm5PUJr7SajUL7lXQ9Xz4jBf2v7ftqKiSTYRrJA w0nhI62s/x8Bcdz2hog7Z1YFMLBFmiYgqDIMSy71qWzxQd5HBi3DQHV0OIA3Tzkkt/iV +p4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787958185; x=1788562985; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=X/HavCRScZPSzLLGgj7kCSUdvF+tlBG6BSRHE6v9TFU=; b=hpjuCi2zzK0hDgHkSJ0pRggDhYEfOboWrgfkOCVnvKJFsS6d4fTqph9PmjEq84uO4f ujy6ChUp8YJ2MpkIgRsmlv8Q/jvP5q/G28hFxrCMsaLwEEh3hc5nt/V6iOzf0L17YZGK p04TOZBNCzIUEN+WeQOm/tHoru5jOSbDjKAG2eKjxFzQ3SpEHhLROoJ5SVRbNXvPdCBY yXO1FHBZ/wZ4esiifAZibv5v+SO8QXLNVQKKpizT1Q3Oy9UinSlIC4fPhrdkSzq1nPCg +sxxsANYeQxuViBIXAZOmAEC3NaVRlIk3mEAKF1P+4ixs1xMbPI1OfD+QRNvlmCuZbVr JD4w== X-Gm-Message-State: AFuF++mj49bERQTZ/ZublcJ46LZ2gcrrDnYiVcEqWceZ5ZNqtiRsZDP7 USUSb79x2YLWwJXAz+1MK8vukOx4SUgPQO+rRM1Ttjj6ZMz9wI96BlEtAHuQtnVNpx0ExgYDN5Y xaafhMjL2NAvIdoHr98pYtZ6dQsgixevbHqAbzXsGlpj30An/yX0IKvnOh4pFbh9yPg== X-Gm-Gg: AYBFou0OsKuqJfPA0e7rkyK5RwV4jdHqH/Wa7XdE9IX+zHAOwgGguWY2uZ7L0aRNQYW Z1LqicG3UTMSc+jt+jx2+e9bP3j8PK+tgq4TqTUVRxHgFKWE4DAUiUD3diiTAhXr/DYLn5f26So 49Sh7CwtG/CS4Ov7/I2dNiMyOU+1na1Sr4HH8LEyk3e1h74pBTHaPq10Vpq7YRuI7NVIZ9akVv+ F9VDUKfwnH3+26ksHWxwWlBxs7FqtKuEvva7sC3p1WJmWAZcSvT0mV2Vz4zMcJDUJnv3mDSMFfM /iKYpmILYn3jxEMyEzoTTm6PGEle4xR+C4LRYzGkkO0ygBVpyJ3lwD4yhLu77k1YtydmsqMwaic VPHxZyBUvFoEBx8HxDI7JhiOG3q3zc/RbIsX/GZ7IfT4DnnFnK/vYbrEoaqc= X-Received: by 2002:a17:903:390f:b0:2d8:d4d3:3fbd with SMTP id d9443c01a7336-2d8d4d340a4mr44520835ad.17.1787958184654; Fri, 28 Aug 2026 16:03:04 -0700 (PDT) X-Received: by 2002:a17:903:390f:b0:2d8:d4d3:3fbd with SMTP id d9443c01a7336-2d8d4d340a4mr44520195ad.17.1787958184174; Fri, 28 Aug 2026 16:03:04 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 44/47] hw: filter arm devices Date: Fri, 28 Aug 2026 22:58:58 +0000 Message-ID: <20260828225901.367438-45-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: 9KiHU7HjhpdjVEZNEoazCHEYwmrIo_4z X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX8gTxjSzR9aI8 ieHONjPbUNoRrc6+e5Z6ZTYLvzNCbxGeUpctLdSW1AMdXvplMEHK90gamPoDHjDgaIXIMXuDXdk GJkRWfmklmd/tcJ2rAB0OSO3WIZa2WE= X-Proofpoint-ORIG-GUID: 9KiHU7HjhpdjVEZNEoazCHEYwmrIo_4z X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX3d/EpZxs39JI mxuRXrH/xjPWSO3Sg5xiMtQy2HcoIQAYep7ZSFqqtBKbUAkD3dTBy/cxvxKfNbEVQ6BILvN61cu bPmXfCZ+7StQcp3lg0b2gHBwSdN6sJoWALz+BWrD6mPZG29XkhDTuZqjWpXRmc7pOITW+Ie05KN WuioOGY/2KcGNwkOhPAbk/+IKH2OCzKT+wJPC/QZ57obzkea4nv4da6ogG70A1XGzUfRICOW9af c9a6IkSckoWz4zQhGilJJi+/QBlOtQw+5zw4OBYrXywyZSPLj5xP3QoPE0UwqUMs7EBHfo/CeFF hnrs04clV0nsax+v+ZtNZ7CrxyZiE6Gm+fymxlvbKPuDehuE2Pam6ni3XGAJpchzpoo+vkgY+Cp QZPx/yku4aC2GmIHIImqGrl59bfKckEAvnftWvGb0UsDBEafENy6AaszQ3ILID97pEJWRhSXprB Mh5jyJP3o0MTxhvkXyw== X-Authority-Analysis: v=2.4 cv=CsGPtH4D c=1 sm=1 tr=0 ts=6a9213a9 cx=c_pps a=IZJwPbhc+fLeJZngyXXI0A==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=EUspDBNiAAAA:8 a=puOgDgsJGWQbpN4s_bYA:9 a=uG9DUKGECoFWVXl0Dc02:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 suspectscore=0 bulkscore=0 spamscore=0 malwarescore=0 impostorscore=0 adultscore=0 clxscore=1015 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.180.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0b-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958259903158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- hw/pci-host/aspeed_pcie.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/pci-host/aspeed_pcie.c b/hw/pci-host/aspeed_pcie.c index b46eb74234b..6a9afd9403b 100644 --- a/hw/pci-host/aspeed_pcie.c +++ b/hw/pci-host/aspeed_pcie.c @@ -936,6 +936,7 @@ static const TypeInfo aspeed_pcie_types[] =3D { .parent =3D TYPE_PCIE_ROOT_PORT, .instance_size =3D sizeof(AspeedPCIERootPortState), .class_init =3D aspeed_pcie_root_port_class_init, + .is_available =3D target_base_arm, }, { .name =3D TYPE_ASPEED_PCIE_CFG, --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958253; cv=none; d=zohomail.com; s=zohoarc; b=UmZl76qi0vCYwpxMHrTPpCMcqj5gSkzJFskw21Xl0GB8Qj9fw46Z0kXiB8zbR6hYvEx5eCTcDrZXH4VuN0tZ5niP311KWL0FO+8u3fbDaF8mt1Lgiso84cf2EJT4YjecSdXTzyFfgPNqP7gLI50P0k38pyqqOfW4EfDlgF7I3bQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958253; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=ulZ0BDaGxuXB9oX4K5vkbOWFmnyC0ry6YcHUyCAlRWI=; b=Qz/5RAQaefmLaYKxjD4c8Ilh9IZvJihGQ37wV91JV40mp2wPKlKgp4/i9HHCQ5sgypFru0UfTRNVLb4cEeDH16vgaeHJfqcJ9NeL1VkDKfJibJ0Ums4lKMxzIWdUlXC9TOszDkFBxct9JiFFoby5ccu1w8VMQRcLbZQ+Vz66ues= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 178795825372556.674782570741854; Fri, 28 Aug 2026 16:04:13 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05bi-0002Es-CS; Fri, 28 Aug 2026 19:03:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05bP-0001Kh-79 for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:03:15 -0400 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05bM-0006Cu-CM for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:03:14 -0400 Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTD9i501579 for ; Fri, 28 Aug 2026 23:03:11 GMT Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbgpc0h00-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 23:03:06 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-2d55d8cd938so24128185ad.1 for ; Fri, 28 Aug 2026 16:03:06 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3286f99585csm8448569eec.21.2026.08.28.16.03.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 16:03:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=ulZ0BDaGxuX B9oX4K5vkbOWFmnyC0ry6YcHUyCAlRWI=; b=hb+d6AiJe6PKyoFnN/LH8s9KgZx oq0VKeT++YfOMvS5OPkyXVBWKW3Qilv5KhgbVatvtm9yBUSkgSs3n9yt8bAY2QeG w0a30vKcGP+D3q+7J6x+Md+e8mctig7RaC5MJvJT4ym0zH+osljc+XIL4SsE+mMV 46fnBJ48t7vhJyt6AC8PTH4rz5xiv1TjYB/7yb64QBrXqjLLr3JcVDE63+BKp4Vh 41kgvM0OeIBXSLUhlhLAEGZIBbxE1A59UW+wMf28d4RzAm6FpB6xAZE/ukBEMqyU zcs1Zcah+VT9Z1Yx0rNaQl3rAfgfnBOzKXx4IGqOwOS3iw8e8FOUyXLytGQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787958186; x=1788562986; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=ulZ0BDaGxuXB9oX4K5vkbOWFmnyC0ry6YcHUyCAlRWI=; b=D/0HkB8pLg2JgCpczaKAYS9vMtPXKSaHORwcBU4BkrP6j3gtlPn4yiBnSM6Ucl7Ltu sez13gJExFvGvrzjgj4SwSeifMD8np8vjOOeNmPRLgZxwQSU2FfCTnoxap6Q6msTdJn8 h6T4XWyFC8e0OChNHXW+gxV4frQEn9YOc+ocQ4SHd3oafZeBdcUPyKtu0Yvy//Tfr7lO PfX3Y8vX9rEoPkHnfJDGz6jtpH0dxIA5f2R+Zc73nK7DQB2LLI/s7DPV8XzulcgNRxqU Hjsy9EQNlLgrSvMVNDUWYuouEuFqZqAnqYPlcPOSDmRLm+jEszYP5/AwoESe+nyPh4Qz xN9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787958186; x=1788562986; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=ulZ0BDaGxuXB9oX4K5vkbOWFmnyC0ry6YcHUyCAlRWI=; b=Y3GCp4fi3raQUZmlr7phTQBF1UQfcD0J5YFtQaVMJlf22ZeNYGOptTh1+1Z93DUkMM ynDFEstJVZGB5ceXlw8aTOYxhJwQ7f7sktBEYZl6NUp4A+YLfJ6Es/TWT7BAZJu+6zvK sDXJvoFMzeyk4oM5KLrfsTanlPYlqgYY4fbd1SnKe3WwLmNMFHANCCf/8NRCYAIjjpfT fINuPEggD9sbvytl/2lDeismyueX5S0lcOteJobm+8GjRjW+VCNcc2RZIIJ4N+28saGL kRbzojDX3BdqY5EsyK0lpX9jutsDiY8oPBsu5utzEvgvPSQ0LoSaiwmAcNlAFH57Mih1 3onQ== X-Gm-Message-State: AFuF++nqeN91AROaxw9AxW7728EivZQDRF6gz6viPjsvo9YNnZ3aQdQp aRtgFZjuxLyW5dV/b3eLPdayULsWMBy9+0ouL+pGYuM9iNFPSISuBum5RNmMHINB3ADq0V+vpZg GgPl6KnEkBsyvD2a3C3RxIlyQqT+xjdWpxPBDrEH96vEn8r/aS79Ks6Q3umcpOM1i5Q== X-Gm-Gg: AYBFou3LH54GIz9wkekNGmc9nBiBtIpxl1eTcD0Gg6sEEMcXfIxM5m9a43jFE/t6ZyV FOr3HKkLmJxD9ZQd1me4CA12jIrqmGhi1brWlInp9KKIxaluNNza76C1P1+zNOkFupCG1LDHoVq SiKsniw+wYkgZhoMYL8S0sNUjAlr9Cxpzo/v4y3IwjmTg/ROZiy+1v2AIb+NL4cSRqS8vlFzwXG OmQ51ZNjIBSTxBS7gMbRkZ7XLNfnyLErAKQBB28c0+fWRvvMVKWcpdo2SrX8PD+fcV2/i80Jx09 NfCdI6p0Buq3ddaWtu8xqStnaz4oqLXAdi6L1n/W5TIICJiu32VmHe/fHHvgyFpAHXmYtAajZYl AGpD37VabEDnx6UQ4P9lU3g4dA7z5GqkjH5Z6yVlXHWATIsiUADRZbVv976w= X-Received: by 2002:a17:903:124e:b0:2d8:d4ce:7e3b with SMTP id d9443c01a7336-2d8d4ce8378mr38887155ad.16.1787958185803; Fri, 28 Aug 2026 16:03:05 -0700 (PDT) X-Received: by 2002:a17:903:124e:b0:2d8:d4ce:7e3b with SMTP id d9443c01a7336-2d8d4ce8378mr38886525ad.16.1787958185352; Fri, 28 Aug 2026 16:03:05 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 45/47] target-info: add target_config_cxl Date: Fri, 28 Aug 2026 22:58:59 +0000 Message-ID: <20260828225901.367438-46-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: wwaKyYqsGlD8QynFWdxnQEoQ1R23fDHp X-Proofpoint-GUID: wwaKyYqsGlD8QynFWdxnQEoQ1R23fDHp X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX9ymO7PaWsBiW i05SaOoA0IJn18M43NX6ZY9IY1sCp8BRRc+keuCTlLknMvjzVIK77zmhm0XCOFQw1J1YvinqOLi mrxwYbYftTTW4xgR++0VtzDTOQ8aDKY= X-Authority-Analysis: v=2.4 cv=dtfrzVg4 c=1 sm=1 tr=0 ts=6a9213aa cx=c_pps a=cmESyDAEBpBGqyK7t0alAg==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=EUspDBNiAAAA:8 a=Ar1EeLoZb0Qve_BY5QEA:9 a=1OuFwYUASf3TG4hYMiVC:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX29LkgqyeVmdg jIIyKxUdkZ6NkrRd5iaCjbN5xM7jdsrJE34WENjMqiy+anG2qiJkGmnh5VcIP/D4liTyQmclhPh 8xKXNl5MdJRc3kxsD22+2MIewcmIq5jp3rS69iBgHDhFzHoy9caZoXME3XlYZchA+Znr0qcnzAD ty/iiN6QGYbEf1lPwNKxb6xJcwFnk0YedV23mtJgsmVgoSXkIZj0pJ7GXYmB+/tv/P7hfk8stoy jbDGx6Pv8krpkfmTn5KfqRtELaal0dtVK1fQm6BbhSeZugiKGO1hmBLp8YAYb4Gljuq/j370QkD yl/xVuivSqOqFa5hlNxPyvClMsRll9k7njm4RHAK3Wo2kW5S+KOerefjh5GOE1Bh/wQVywtoLAw NhuOXsqMHRCq63qPhby8HF2mMg/IyDMKvGIdL7b30VLk+gwRHVU2/SZN+D0dXsmwwfM5pf+t0ho r4GyLOdSCMKHj0/whGA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 suspectscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 phishscore=0 priorityscore=1501 malwarescore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.180.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0b-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958253873158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- include/qemu/target-info-impl.h | 2 ++ include/qemu/target-info.h | 7 +++++++ target-info-def.c | 3 +++ target-info.c | 5 +++++ 4 files changed, 17 insertions(+) diff --git a/include/qemu/target-info-impl.h b/include/qemu/target-info-imp= l.h index 045799a771a..cf3c967e845 100644 --- a/include/qemu/target-info-impl.h +++ b/include/qemu/target-info-impl.h @@ -31,6 +31,8 @@ typedef struct TargetInfo { /* runtime equivalent of TARGET_PAGE_BITS_VARY definition */ bool page_bits_vary; =20 + /* CONFIG_CXL */ + bool config_cxl; /* CONFIG_DPCD */ bool config_dpcd; /* CONFIG_MULTIPROCESS */ diff --git a/include/qemu/target-info.h b/include/qemu/target-info.h index e6524a8001e..38a419490b0 100644 --- a/include/qemu/target-info.h +++ b/include/qemu/target-info.h @@ -42,6 +42,13 @@ const char *target_cpu_type(void); */ bool target_big_endian(void); =20 +/** + * target_config_cxl: + * + * Returns true if target defines CONFIG_CXL. + */ +bool target_config_cxl(void); + /** * target_config_dpcd: * diff --git a/target-info-def.c b/target-info-def.c index 543278eb949..96ed0c7b998 100644 --- a/target-info-def.c +++ b/target-info-def.c @@ -43,6 +43,9 @@ static const TargetInfo target_info_stub =3D { .page_bits_vary =3D false, .page_bits_init =3D TARGET_PAGE_BITS, #endif +#ifdef CONFIG_CXL + .config_cxl =3D true, +#endif #ifdef CONFIG_DPCD .config_dpcd =3D true, #endif diff --git a/target-info.c b/target-info.c index 1124aa5f780..ba25112dd38 100644 --- a/target-info.c +++ b/target-info.c @@ -42,6 +42,11 @@ bool target_big_endian(void) return target_endian_mode() =3D=3D ENDIAN_MODE_BIG; } =20 +bool target_config_cxl(void) +{ + return target_info()->config_cxl; +} + bool target_config_dpcd(void) { return target_info()->config_dpcd; --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958227; cv=none; d=zohomail.com; s=zohoarc; b=A9E0+1xFOvtr57y6vstq4DBq+Cyxbw9A1Q2Bs8/j4SDVJjwYRU+m8LalWV4kTsfIMaJl6mzdEV6WA9EyjK4JjVjRCq9r+eRbMY0kV/i8TOoS5u9u5aaPKm09HgFxks1zDk0Vzt+GN+ojNqvN+H5nzR1uIPqLfUhwddcQWqrz6Tg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958227; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=DqtIG53AlRezvlq7vSu/yJbQEUyPOvahOZe+3M3x+9A=; b=YVMR3UlEliMB9qmLKpH0dfnMZ85dFvzR2sfc+8gI9wc4NmpSgdmhYanSu4iP0nAU4SIfR3n5plXeYuD0ecYAMapi+c6dPpZ9JDUMiGEaeHDB8mLK2qPdGpDy2sF/J99zUYzw3+PNw9hgBwmbxj701WKq6+w1OP/doJFjn5PWYIY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958227956970.2583695871506; Fri, 28 Aug 2026 16:03:47 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05bb-0001oG-Gj; Fri, 28 Aug 2026 19:03:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05bL-0001Bf-H6 for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:03:11 -0400 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05bJ-0006CK-2L for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:03:10 -0400 Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTJjK014615 for ; Fri, 28 Aug 2026 23:03:08 GMT Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gbgvfgfcb-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 23:03:07 +0000 (GMT) Received: by mail-pg1-f199.google.com with SMTP id 41be03b00d2f7-cbedb8673ceso1782792a12.0 for ; Fri, 28 Aug 2026 16:03:07 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3286f99585csm8448569eec.21.2026.08.28.16.03.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 16:03:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=DqtIG53AlRe zvlq7vSu/yJbQEUyPOvahOZe+3M3x+9A=; b=l11tLpnc3zRz+RepKLqOxv/eu35 2eoyvQvwhulpgSDJyKkNXMgxrFZ5XP2BPDV5i5MWFXEb0FhtSmJIgKEwGImbGza4 aoGCLAscC2IuNgyLMiKdS6bTNdWS+jBWU/xUZ8eeCHmHrDRiPYEC6OXfIJYhE/SQ tTQw/OYwU9Mo0Q7nsIpRcnyor+2bsqmLTbeQ/4F9JUGdmfQpiR6xuUKAcRRKEkYv TpSAEWv2VSrjcMixojhX6PEQqsba3uHRFpl4+xd1rM1HlvL35gFdD1wa1jLBwTcT JdHnT2qpC/PLPShyVzeugTyAq4Ob7VPLIGUhSdpN/qx1lxMlVR3kce/qQQQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787958187; x=1788562987; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=DqtIG53AlRezvlq7vSu/yJbQEUyPOvahOZe+3M3x+9A=; b=bl47CurX0udflnna5bco1T4JE+/znBw2nLqvpSR/kfJDS31w8MPalSD6LRhv+LDS7j 8Z4JOiEkJDtpEb5G6WcrWvWn8ZFsycmxr7G6rds+gy8j0aT0N9suYAkmzwdqs+sZfz4N fH/bQtN4Nyc2W/rja7Kwu/6kfjGgUcv23PRCunOJgLZurZloakLxGD85Oi2ZK5v+vIbL iRLSWhrSvnnEn2Lg92/rT84MbXEGoLw7RWRdpz0/z/pC2D1q5t+9PM8wdYOJmuzlgHTd zwD4l5JnNdypGYnlMahoyDm2yGR2qwmAx/8H4x32vkMtega6S1E4SJbHmFOL+qkwgLyr OqJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787958187; x=1788562987; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=DqtIG53AlRezvlq7vSu/yJbQEUyPOvahOZe+3M3x+9A=; b=cfB83+7qYG7Xi3+WvWWoK+38/FdWQPurgLoDIX7nvumVaUlRMUn4NlVhSkQVU0w/W8 KVCadMHo6KaINIS3I8DQG5rsTHIbLKYak027WC1kaZdNPGQ+IEA2ZRR+ynKfUGITcWiW 6v15FKWdLDxg6jVVREcNaz+UTMw1ThSCEL0fekEsCW/INbwEJuc2icotXk1nbsAanTp1 vfW94SWnFn+fB8QUUWPOAAz7VYvkGbGef2syudcq963zKzJn+usmJjRMx8NDj1Sh107V DSEbT0w7H5ss59AjAgQB6TJisidKsiVJRLXU4soO9DW6F7Xvq6Sl/4ZvVvKQXeK/6ab1 ddGw== X-Gm-Message-State: AFuF++nleBSlm+0Pssg0qpCh3ODCefG2wj8z+lw7rtaoPyB96MyZRdXJ oDFA1Hxn3Xa/fi4TOCvSlrGkH6NWkOer7fy510vbDHKy8SGqe0Fd3UDhC81j5kTBq2IGO7620Hy cd0HdBJ7TDa4w7IgsZoBjoggYsGkCDXnCqdqJ4cQo7tPrT98Lmzi8CUMqVgPet6/cbg== X-Gm-Gg: AR+sD13p97Mr2C7f6cz9dOgLcAVw+199C7UFQc6aXqEEl+SBO7fuMJnomKZFqzBHrs9 30i1I7evfXNAOuyDqVSrBr+YlqHe+qvlQ/jwyWxQ8y71OJ5jjQU1xe0u1Tx0nf45rnztO/u8KX/ Mq+nF3N1cCDxWDTiaockgd17eqZz8nDWy5fcFTTLMF1qopKO87xe+inAlI55L7obCMJVniHsGI6 CP71ajn3p3zRhDp30vBEjbAyS9g+hBtGS2tUN0U8jwPe8lADszG3bPlgUmKwa4lxYF4v9a/suNr aqZ3fnSbPl6eLzbIKiWZuKsQJkSRNeFizQd7I+s6vcHGjqwVhI/6cwL7sO0db/sSHdWtd7XOQO/ 8N4TLpTLzbN5rZfHiwUV+UvBnVVrRWy27Zi/k13yG4XIiQ+nAo/zk+k1zPPg= X-Received: by 2002:a05:6a20:6a27:b0:3d3:ae1f:d7f5 with SMTP id adf61e73a8af0-3d3ae2013d9mr3626016637.21.1787958187009; Fri, 28 Aug 2026 16:03:07 -0700 (PDT) X-Received: by 2002:a05:6a20:6a27:b0:3d3:ae1f:d7f5 with SMTP id adf61e73a8af0-3d3ae2013d9mr3625962637.21.1787958186565; Fri, 28 Aug 2026 16:03:06 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 46/47] hw/pci-bridge: filter from CONFIG_CXL Date: Fri, 28 Aug 2026 22:59:00 +0000 Message-ID: <20260828225901.367438-47-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfXzD5PKKDVRUhk RVgsf5ScUvxfCD6GZBzDt57OHHhzrNA5xokxwMyOeUxWoFwf716+clyz/ii70xJQTB0XmxrlajG D5JMxuW9ugtZJjBdPjbLlvQmwpRvJK/H+SK2dga6tW3JpKBNDJ1hLX/tnR1A/In64RIQKRzStIE TpV7JEc3HZz0mPAHoTlZ3sFpkWoDCtw4Qph7ricvijaaVC02k0Er8ipvad/3T5fEAIN+3VL/va0 u9bx3tLlbGQV9P8FzA9DG7KVVwqAvYw4JW55rhnA7X5Aq4/KByuVUHPTwX4UpOMrZRr10tDb5Tj qEx/WEiXttzXcC1xOgEGS1AjdiKzmx59oIPtHQ5MiHVEoe9suztSsu7D1X8+Ji65nHu3xJg3o6O qav4NCl5vs58R36qD6+3QbdKGuie/F1uN21E+kFGd1uGa3c9XxTVAlDV0qqbDzTmzSHgD3FCdmc C65tpqCLnddJ8fe1G9w== X-Proofpoint-ORIG-GUID: iyCGFIIwf68sOMLsXVBDq8Nq4_UkwSIY X-Authority-Analysis: v=2.4 cv=UcthjqSN c=1 sm=1 tr=0 ts=6a9213ab cx=c_pps a=Oh5Dbbf/trHjhBongsHeRQ==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=EUspDBNiAAAA:8 a=vbsKY5us0WoHdvgjJyMA:9 a=_Vgx9l1VpLgwpw_dHYaR:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX72TosqYUNdHe 3eW4ps2Bv/p7ntUO59QcbbQHIH05ZtS0oNXIa8K+P+I6JaBA5hgU3uYZELsCRrjXgmitherU794 kaDyIaR9cZndiFHVKIb/rvqwRVV5pHk= X-Proofpoint-GUID: iyCGFIIwf68sOMLsXVBDq8Nq4_UkwSIY X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 spamscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.180.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0b-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958229795158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier --- hw/pci-bridge/cxl_downstream.c | 1 + hw/pci-bridge/cxl_root_port.c | 1 + hw/pci-bridge/cxl_upstream.c | 1 + 3 files changed, 3 insertions(+) diff --git a/hw/pci-bridge/cxl_downstream.c b/hw/pci-bridge/cxl_downstream.c index ec450d1aa09..a8aad11d4e5 100644 --- a/hw/pci-bridge/cxl_downstream.c +++ b/hw/pci-bridge/cxl_downstream.c @@ -252,6 +252,7 @@ static const TypeInfo cxl_dsp_info =3D { .instance_size =3D sizeof(CXLDownstreamPort), .parent =3D TYPE_PCIE_SLOT, .class_init =3D cxl_dsp_class_init, + .is_available =3D target_config_cxl, .interfaces =3D (const InterfaceInfo[]) { { INTERFACE_PCIE_DEVICE }, { INTERFACE_CXL_DEVICE }, diff --git a/hw/pci-bridge/cxl_root_port.c b/hw/pci-bridge/cxl_root_port.c index e2093ac39ee..dfa2af7d86b 100644 --- a/hw/pci-bridge/cxl_root_port.c +++ b/hw/pci-bridge/cxl_root_port.c @@ -297,6 +297,7 @@ static const TypeInfo cxl_root_port_info =3D { .parent =3D TYPE_PCIE_ROOT_PORT, .instance_size =3D sizeof(CXLRootPort), .class_init =3D cxl_root_port_class_init, + .is_available =3D target_config_cxl, .interfaces =3D (const InterfaceInfo[]) { { INTERFACE_CXL_DEVICE }, { } diff --git a/hw/pci-bridge/cxl_upstream.c b/hw/pci-bridge/cxl_upstream.c index 69773ff1638..d0398588e1b 100644 --- a/hw/pci-bridge/cxl_upstream.c +++ b/hw/pci-bridge/cxl_upstream.c @@ -400,6 +400,7 @@ static const TypeInfo cxl_usp_info =3D { .parent =3D TYPE_PCIE_PORT, .instance_size =3D sizeof(CXLUpstreamPort), .class_init =3D cxl_upstream_class_init, + .is_available =3D target_config_cxl, .interfaces =3D (const InterfaceInfo[]) { { INTERFACE_PCIE_DEVICE }, { INTERFACE_CXL_DEVICE }, --=20 2.43.0 From nobody Thu Sep 10 13:25:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1787958265; cv=none; d=zohomail.com; s=zohoarc; b=S72InVeZB+jjMsJp3UTH0eU9zBRhKsD7ldvss6lmpSqyBYouCgOg1QGDoWU6DnzTZ9zvCYNesJZpX+gajSX4oDOgswKfMiyhHcw+y+NxENAEiYBQmaI9b9AWeEsIzAiCiSOCBIG3zzB1de93yDl9YvrTfY8XFFo1+3crnKKtttM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1787958265; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=Nino6JBH84AZ2+4nAKHJPw/s41dW82dnegwr06zpYCE=; b=RMzYG9a0ihJgoet2PV6btLz+gZw39dGxzj4JYGueBoGK9TcYZAgnU9hYtvMtsZ34tihwqOu+FTvTO729SSRGQMCmqyLR9MgH5jczMcG08fvA+f3xPrCmkPR3pDqWQE6AziRem3ercL2D+b5VJSb96bS8Xo+m1dRQoVRQIvNlg/o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1787958265494154.31605010121575; Fri, 28 Aug 2026 16:04:25 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x05bX-0001ek-4Q; Fri, 28 Aug 2026 19:03:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05bO-0001Gr-7W for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:03:15 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x05bL-0006Cg-1f for qemu-devel@nongnu.org; Fri, 28 Aug 2026 19:03:13 -0400 Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67SMTU6H1173226 for ; Fri, 28 Aug 2026 23:03:09 GMT Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gb8afjkh7-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 28 Aug 2026 23:03:09 +0000 (GMT) Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-2ccb6823efcso15788115ad.0 for ; Fri, 28 Aug 2026 16:03:09 -0700 (PDT) Received: from debian.qualcomm.com (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3286f99585csm8448569eec.21.2026.08.28.16.03.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 16:03:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=Nino6JBH84A Z2+4nAKHJPw/s41dW82dnegwr06zpYCE=; b=eBkUHuOwrpAD/N73iIHM+RaIl87 2tcwvVNGO8VoWbQGJP6sxDIhbROq6D1PMcaA6hC4GTvyy0kQUgQnNllESnmOoING 6GREhf4yFPe46oXt2BPF5tZmjbbSsufshxWvQLAmAKLCE66K/tBVtC7HlAdyENuc ssx8xt6Imf6/RGm628Zr7LdmvJ5Mcw06wFFTf81RPB6ZNh06k8OiY22Zy0LvC7N1 Qsk3bYUE9ODXooH4xq4hrouC9SBqElDcSF6YX+uYgz/uR99fE0Mzlgyr7VUH0BzI WbG45YbACjFepl/Z0IGM7L1G5NCSclOkTkVxaTQEKZoiVwUllW4MkdBUkvg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787958189; x=1788562989; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Nino6JBH84AZ2+4nAKHJPw/s41dW82dnegwr06zpYCE=; b=feGKqZgCZbmbrmbks2eSWztRbzSbTPL2YmwCenuL6gMELMn1UDC5Xlo15PE5zY3PFv Wzk4OHn4ui3EnUIwJhwotEZe1oPgeSithVp2Nv77nnz7AEDXrFxMusr3KB9KRuNhjQcB GqC4YJPFy6aWSkRNljPT5tQ2aVdTFl8bVZBif9wZPv2xQaynTukbQE8a2h6jiHTberPL Gd4blkwahxsMPvemm8+E/rNY1fbljsWuH3SG5V6xo3qGI4+9YHl+mnmB43baVlUxvzb4 mt+hzhr1c+vMMQB+7DeFdT1miVFAnsrqYhde/uL5jYFJtfv5mtyVrGpFbT/ckJ0rtaa3 9+Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787958189; x=1788562989; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=Nino6JBH84AZ2+4nAKHJPw/s41dW82dnegwr06zpYCE=; b=D8IMrgtA5uSwabBaUeOnEr+ol6h0VUf3cekEE3lo+52QyXESpFDvsudb2r02Qbrxju uwdgd1Hzy9Hd/96jDWMgwqXifoiyv7qJh0zHepQmKGSpaxd3NgoP0UQJJXukK4K2fIKA gDEsQLOyecLgqKViC5T4RL9SVVnz4H1Ts+g5aA82p3GFq0erPo14zzZ+H9jfQHO/h0vR 9xstlVGP+CPlkhJmbu0lYw2OobIl8ffxMBZrYid6sI2rcwQbBLAQR36M9jQl21YxvL9C yD9whwhAJgD+lNZ7llenpm3Hb4nNRKHAdc8RVemeugTe6RXlkBPqM29w4+SypprKt+LI oKHQ== X-Gm-Message-State: AFuF++moBGpDBQ3JTeyxloO6lnGK8CEoNtnoKOHgh5yX82RyoV9m8669 +opZHapRRnqUs25HUFPQmT1Jdi2qa4J7BXWnxWdzZwCrP9CtbOs4gaKxYPA+4Y6CsFp7nG3CU/P BNisdu04I3mktmAFeVqRCtLs2z6xZIOYP+n7/eOs81UexnDkJJTaAqauiNfYwYaBXrQ== X-Gm-Gg: AYBFou0W2qz9bvcPFMZTKlMYVrrRLgbrB6wE/U+AgpbczWQIBYfbnSFbV6amFzpqqP7 xc+xBbMm1m/MZy9jrovRsKWSFzX1UKmGHkw5AaNWixIdzbXzvuV5lkQBQUyOl/3+7QCEFkeQpHU FDjtGciqxANbJFXm9LYVnIOwvYr6X14hQp57L0QXHn3VQKQ8Pd2gq3Kb0DGmUSuUetaGISnekJv YX0AphyLUL2co7I8LJ+phQWATDHYHH+srwalnj/ifuAePlM22kNBw9zT23BxcyJRxfQ1xLnlSyE wLrdHA2h2LmyhciTeUzgOffWowhfGaiw2Ntw9gBS7hTtSGXd0VNCivOqolQJtU8pt5VfbxAbSXP Enm5FNyERlRyFo7ZRhsGZ9rcsjODYXWkf7gNJG9CO322Vb8YwO4mzQb29zCk= X-Received: by 2002:a17:90a:6c90:b0:398:9beb:5c1a with SMTP id 98e67ed59e1d1-3989beb638amr2593313a91.21.1787958188711; Fri, 28 Aug 2026 16:03:08 -0700 (PDT) X-Received: by 2002:a17:90a:6c90:b0:398:9beb:5c1a with SMTP id 98e67ed59e1d1-3989beb638amr2593263a91.21.1787958188208; Fri, 28 Aug 2026 16:03:08 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Daniel Henrique Barboza , philmd@oss.qualcomm.com, Peter Maydell , Pierrick Bouvier , Paolo Bonzini , Richard Henderson , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 47/47] meson: add microblaze to single-binary Date: Fri, 28 Aug 2026 22:59:01 +0000 Message-ID: <20260828225901.367438-48-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> References: <20260828225901.367438-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: 6H3byTPRd87ZhnhQ47owXZBMvQlOrNbC X-Proofpoint-Spam-Info: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX180N1TvjiYho xEuzyVPorRXM34/0x+wM0uDhlOMgtztHRKaDulOV0xru8ft10SC4bWxLg9gToYN20W+6HGtY44B edyCbflELCAL3CGa3eCxpYzB3GATGCs= X-Authority-Analysis: v=2.4 cv=IPoyzAvG c=1 sm=1 tr=0 ts=6a9213ad cx=c_pps a=IZJwPbhc+fLeJZngyXXI0A==:117 a=iLqgmErQAxjCjdq5jj1Aqg==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=-xtC0e7rNwfgX3VXp6gA:9 a=uG9DUKGECoFWVXl0Dc02:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODI4MDIwMCBTYWx0ZWRfX6Rcfoyn2ZKg+ AXfcl6vpmfPoTr2BcwgEJQH7rpsfxyN8btoKWw+vBUv70Ae4x3V2dPgJLU7T0HwWlUig6m0kWk+ juTQkno4NV81eiCwXymSfiCIk7nVnZsq8PlTVhcujmUGneuKZqs5+laeINsP7RV24ATZk2n7w4S wxPUG/RO/EbK+drA9RgNlU5SQjyUfQ0nYF6sLKt3RSEx/+DGKIvjMO2H6ZZARSd2+nKjpo+lmdU DR1teTFfGSnHgwXwPq7OdL2/DM223qDEroLJaOGSe+/bQm8VtpDf2w6oYAgPh+BaccgW9u3xJsV AkVQZHxrobEsLDsoXxsQ7A3ERPIL+8gq//0SaUcxiEe99dFp0UllnRWX4bV50OC1BhIiFhSlAPF WVlCUqyPlbZfkKDfzhmTnV05woRN/8kHazR82/Lbqg9PBEmay6fssXX1A0f7k2p0dqZ96X8YIk0 +E421aJRgIYf44RSc6Q== X-Proofpoint-ORIG-GUID: 6H3byTPRd87ZhnhQ47owXZBMvQlOrNbC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-28_07,2026-08-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 bulkscore=0 phishscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 clxscore=1015 adultscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608280200 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @qualcomm.com) X-ZM-MESSAGEID: 1787958267323154100 Content-Type: text/plain; charset="utf-8" We still have many devices that are not yet filtered for target microblaze, but the goal is to expose them. Signed-off-by: Pierrick Bouvier --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 9cf441382d3..9b9f7271194 100644 --- a/meson.build +++ b/meson.build @@ -4258,6 +4258,7 @@ single_binary_available =3D false single_binary_supported_targets =3D [ 'aarch64-softmmu', 'arm-softmmu', + 'microblaze-softmmu', ] =20 emulators =3D {} --=20 2.43.0