From patchwork Wed Feb 12 13:52:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arkadiusz Bokowy X-Patchwork-Id: 864589 Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9CD6C2557C for ; Wed, 12 Feb 2025 13:52:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739368367; cv=none; b=XTZ1VFkNryiYVcWzLXau7GvNC1c1zCm3wgMytggigF82Zy92sAbG4UPeBN/TL7yAbRP9WrTvNxBEUUoQMAxn8AMgcYhC4aEUSH2yg09DTMS5RZWeWeb9t9a9X6s1kebSaD5m2g3wvAFoSl18Kb+RePOkuX2oWzsqF4kD8U1xpiU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739368367; c=relaxed/simple; bh=FA0RH7sa1frVBvqfGINmd4c3JKMT3Ro+MyBJJvypS3Q=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=UbQtdPSVZvMlOOPpr+5mZDWmCvr+Ow2EtBibImRrYKSvng+WJ8KdhTjdg5MCYkWkKAVp1Cq1vtPxtW8NPmK/xnmGSCD/+fshSoJ8MhEDggo6rEGrrl4r4C5+Fyjj7cYE7Hk/uDZO1tci1k7Svtw28FkA0+njTf11ULN8YfXwLFc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=fXWi9X1I; arc=none smtp.client-ip=209.85.208.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fXWi9X1I" Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-5de56ff9851so9068906a12.2 for ; Wed, 12 Feb 2025 05:52:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739368364; x=1739973164; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=wdw54P7t4XFkeo35lZ8ncbndAnMZUttw5XcXZIycs+k=; b=fXWi9X1IABo38gOt5Dc0CJu8ElOloIMbxrUWTPUwraf9JZCc5kv6+785El20CwrtbY tR4kT/cA8GBfaA/dOne+QaLmIp1m9cA0Jr9BkxMhnMSctFrGxMrD191hjzb3DxcAQ/3B efh+RItuvKpiroiCjf70229q8X8wYU0l04Xqrc5buRc5AcZfd7BmDG94Ke+SiTWe0M+x xN1VBie6cQwCSLlikRIpRWbwbFim8o5pxxzJXmujYDjv6XyVw7u/kONYcU5ADg466kUw WZLPQp+23jaZQdyzCGSz4RfLSdTl5P2Z2Z+i46uszKgeSKrUzST62Kb8RjlDEvHdcb// DFoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739368364; x=1739973164; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wdw54P7t4XFkeo35lZ8ncbndAnMZUttw5XcXZIycs+k=; b=nBJ4rxPcsKiHb9thjkJbKl/L3zdfJNwStpWyDoX4/RWffyxgGEODIh+SIrUxi9Hcu0 ksKEMUr5j0vbKZiZjkBcXU7PDU6UwNCamCWGKsXGEkF4vq/MqNwSj5Q6EDrOVgYVm3dG X/VaEAEHZaLFrw3t0/9g0IJm2E2aEzuCjo9ENLdOHkniTHNVnxaojhHzksJ7ziI5CAee V25pQgL5HNfdkyMZlBswgYG5+5mQ5xHjKx+mIH2G1ysEh3CADGuKERJH+o5usmhmuTf+ YaO+R26C23++DeAw//fvcPTjlsmopAPmnd06itMKjkO1pIEtH7glMCIBQIQrMDYSQ3CG NVVw== X-Gm-Message-State: AOJu0YyQ1kppAxKXiTp2/8zFMzF9MN9u35vIXsTTKak9fxaMFXoRelm7 551f5PeEjBWaa5ZXmIW83Pvbybiup3wy/VcHH0qvBLGWr1doUxtiA2nsl1UN X-Gm-Gg: ASbGncud+9vNPYoOgDlFDAARS83zOE8XQjMTrwkBA8Cvu65Oyx4hHg94tjMJGSQzIDC i+3ZkYMS38DpvetNTz6x8Wl2p2u7Ub2IipDqDEmkjQQpezJZ+Xyv7eWjSuFyFLTkiJA9D8wMjo2 vln+rWseg3B05xfgraVF82TY77OW21MtuMYa8w+UbjkQgiRnCOaN5qCcLD3J+UO/ob+eTIPJOrG PjcJuU12SaRsXXVZaC/tFx+4gZdskVcMT5IxsFzHCzt5B4PBYx6URNyv11vWR4vLWgtYRo+pkf/ YPdJwRG8u58XXou00cJg0tlPkMRpjd3rdzni4XH9yuUIOBc3wcYQgQDIwDqX0GUQz0Od+feGz++ Y8k71BoMa6qM= X-Google-Smtp-Source: AGHT+IGS6FPsC+BwMDoNxgZdZstW2u/G4mpvkk6HER9gI5wl7XMYunkCjTb5FtipE861R16+TrzUjw== X-Received: by 2002:a17:907:3f17:b0:ab7:f0fb:3110 with SMTP id a640c23a62f3a-ab7f3714ad2mr287240166b.5.1739368363530; Wed, 12 Feb 2025 05:52:43 -0800 (PST) Received: from localhost.localdomain (46.205.193.135.nat.ftth.dynamic.t-mobile.pl. [46.205.193.135]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab786aa2c60sm1169870166b.102.2025.02.12.05.52.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Feb 2025 05:52:42 -0800 (PST) From: Arkadiusz Bokowy To: linux-bluetooth@vger.kernel.org Cc: Arkadiusz Bokowy Subject: [PATCH 1/4] test-runner: Increase amount of RAM available in VM Date: Wed, 12 Feb 2025 14:52:06 +0100 Message-Id: <20250212135209.129361-1-arkadiusz.bokowy@gmail.com> X-Mailer: git-send-email 2.39.5 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 When using default kernel configuration from Ubuntu 24.04 patched with the configuration from tester.config, the kernel image is too big to run on 192M bytes of RAM. As a result the test-runner exits without any message (because of the "quite" kernel command line option). --- tools/test-runner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test-runner.c b/tools/test-runner.c index cd8b86d7a..77c89f3f9 100644 --- a/tools/test-runner.c +++ b/tools/test-runner.c @@ -211,7 +211,7 @@ static char *const qemu_argv[] = { "-monitor", "none", "-display", "none", "-machine", "type=q35,accel=kvm:tcg", - "-m", "192M", + "-m", "256M", "-nographic", "-net", "none", "-no-reboot", From patchwork Wed Feb 12 13:52:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arkadiusz Bokowy X-Patchwork-Id: 864894 Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BFCD42557C for ; Wed, 12 Feb 2025 13:52:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739368373; cv=none; b=LxcEtPdLdUW/Nz+qW8R1Lcw9/wPaFdaeDE7R2YEcXtlT+6eOH7KbcVn35TNghdTxcGKm9u5ZUgD5BbRHHjuaNvQ9djyciWtTwolsjqolHhnOhxy8Qt4m4bEkcztZHAR6INteb0qvPDaWyc6Oki/IuCsO9bhav8ICGi5F8OUylOk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739368373; c=relaxed/simple; bh=4AqJz2GxdLNgwoy9AfUFMP0vf8NBsM0TpwDcC9Jj2nE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=HHrU8Md+bXGbYlpnMgP7whNRQbxT9Swet7SZD/q26RPzJ8rA3w6s98DKh4axK2WzZXQl1Qj4hnT+LXmapOqtIMHnTdNP7o2ndpcUYQsiYNTZFZ+7ssRAc4yy2hc4kFPywU7kemS8G5PG8KB4ZymEp+ifKyXFkYBHo31RZKXGiVA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=hDACJW/j; arc=none smtp.client-ip=209.85.218.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hDACJW/j" Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-ab7e1286126so355584566b.0 for ; Wed, 12 Feb 2025 05:52:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739368370; x=1739973170; darn=vger.kernel.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; bh=ISwwgnX80JzQg3/9lm4K7vPp4s9UZIGv/HLJ82kUl2g=; b=hDACJW/jZTPSiXWPqPWCRJJL4Dzg2xlIrk1OHORJl98/Qc9JmvrGIf64USK2oLAeCo ZCDP2nYRr0/KHRWGpqiSxzzIjI01ZM7kDBk5ljbLN/dZN8uNjsRzFHiMYeooJNNKwBjy CidKOhTvLQMKsXMuBLzV83hoyGT9RE9WERSIuNa7GhFG9OAhj58lx/N+ZBmJP+hxXFyG tDIman+LeKEgO8UuWjgtqWlCW2bjWZ/YyERAgcklCkovQ8bDrpjk/POqsUw+NIiovGd6 e6f0lBJQ1EbA6wSqsCI9uMsi1TEjCH2+vViQ2ajj1JPel/+SrF8/txltbP9XEmlEkVsY d9Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739368370; x=1739973170; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ISwwgnX80JzQg3/9lm4K7vPp4s9UZIGv/HLJ82kUl2g=; b=S6oSi52hRoiioMaUcYzA26/DwGqvoc+kj69Z+rJB9wZWNJxmAxMWAZdDztdeWbf4go /8lwpOFI7/OMeUowdE5R007hz2v/4IIRe9QjdPF3Q5vV0yYUiMMKjrRf6jkI3d+93lNE /GO3qA5Qd0BlY9UExpol29Xrcenp5qrIWxQs8NE12kmCS7BWJAdS8DQSPkORa1dTUtN4 7R1lg0d8OG1Ju6SqU50McpjaB0JQ6CbdWmE0rmR11KErKHaViwrWoVoLogRCNgTd5FkI etlnr2SOcdoJyxsnWPjJ91rqYJrqzSvYw/hAN/0Ch4gK47jAtvb119IOVSgRs4RHriBS YK0Q== X-Gm-Message-State: AOJu0YxshIpS5LUeMdgSOcdI9/pqtS7kTafdqafGfPIqRtjUM1fLXZKN dr34y9XKOXDLHdETyhNkO7ziC9VkA68/GN9BT0vvQBXoCZap1uvxfo5dIey7 X-Gm-Gg: ASbGncvVeU2Mhvv5xjFkzI68d+jplkwMDnrcCpgPzTMG9YET25aFUqNO/lLFgP76jZw OAwgF4DNP5UW5642s7PRuQ82Gu0vaW2M2Yd2GqVzLTbTMCtf5KmSkxD+vtZiACy7S/UeWyT7csF ptaSbLXXO8QRgMknQQq6NSAiVzeyREUVhhmnvtEuoO8fGtX+vB1rKDbUGVzppbW6LSuTWeBlTQz 8xy20VtlkUI24O+eu6Xhmr53P/qG3FHMC6pboelJUaMItKGh/+8aPezRmRNSg0JZrRNlef5Wfb9 1qcAMWanxJH5n2MPC6U6eAWSX1N0ZQjasO084j9swgL9WizhMDGgFhHw9JfOJ5UR/QzH5MeBWc6 sSXMP0irorZA= X-Google-Smtp-Source: AGHT+IGTGo6UTsHbKEO7BaqeI5tJC3TQ1nd/q6hYnjFDMzsZ1bb1Hz8+LKfNJTcIJvBkk8NgCRSfRQ== X-Received: by 2002:a17:907:a08a:b0:ab7:ca44:feb8 with SMTP id a640c23a62f3a-ab7f34ab834mr306125766b.52.1739368369446; Wed, 12 Feb 2025 05:52:49 -0800 (PST) Received: from localhost.localdomain (46.205.193.135.nat.ftth.dynamic.t-mobile.pl. [46.205.193.135]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab786aa2c60sm1169870166b.102.2025.02.12.05.52.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Feb 2025 05:52:49 -0800 (PST) From: Arkadiusz Bokowy To: linux-bluetooth@vger.kernel.org Cc: Arkadiusz Bokowy Subject: [PATCH 2/4] test-runner: Remove the "-nographic" option passed to QEMU Date: Wed, 12 Feb 2025 14:52:07 +0100 Message-Id: <20250212135209.129361-2-arkadiusz.bokowy@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250212135209.129361-1-arkadiusz.bokowy@gmail.com> References: <20250212135209.129361-1-arkadiusz.bokowy@gmail.com> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This option causes QEMU to redirect monitor and serial to the terminal, but also it modifies the terminal settings and clears it before printing anything. Such behavior might be annoying because it might clear some warning messages printed before clearing the screen. Since test-runner disables QEMU monitor and redirects serial to stdio in an explicit way, the "-nographic" option can be dropped. --- tools/test-runner.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/test-runner.c b/tools/test-runner.c index 77c89f3f9..13a5de465 100644 --- a/tools/test-runner.c +++ b/tools/test-runner.c @@ -212,7 +212,6 @@ static char *const qemu_argv[] = { "-display", "none", "-machine", "type=q35,accel=kvm:tcg", "-m", "256M", - "-nographic", "-net", "none", "-no-reboot", "-fsdev", "local,id=fsdev-root,path=/,readonly,security_model=none," From patchwork Wed Feb 12 13:52:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arkadiusz Bokowy X-Patchwork-Id: 864588 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A9532557C for ; Wed, 12 Feb 2025 13:52:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739368376; cv=none; b=M18I9MDAwBar71qv8RNBY53nSA58X7WfMokxAwKzIqfOv2LV/TO5e0cbwqyAG250obXIanJN6EnptEBSMzH/Bk5MNyJYm7QdNRQ0OVcE+ttau7Pax4S66LYJ+pr+6BDbMiPrT7WLLemXEod8fYcxrDOV7XcgJvLJX/eMtk/lESY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739368376; c=relaxed/simple; bh=JYH+lQmcYlhd0HJTX7ATIrNPwCFIMRx/Vb8zPfOVevQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=cF94yE0IxqpuhRMT0N57mUuGRhl5/dlykr2MwuIZs3KS47YqRoXZyS2Bp3X8XmLX8l6oGAGSrzCYxCOknSpy3/Dt+9Pyn8DUpuGuvwuz685lbXppU1lUJKKctTJ3y3jkIHCTUmhsoyHQHLkGymMORQ/t3ppX1tXdZtj05o3WiWQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=IXVh3otT; arc=none smtp.client-ip=209.85.218.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IXVh3otT" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-ab7483b9bf7so995921166b.3 for ; Wed, 12 Feb 2025 05:52:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739368372; x=1739973172; darn=vger.kernel.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; bh=80VizGpb4sfwA3diabh5+C6N3XovCJ2VIUH3URVV6Og=; b=IXVh3otT9zNE5o7cKE2gY1eTiR9+CuQldh8rQlyZ9ea9tiSPdq4+L53Z6L4JzWRPn9 Np2hUOO93iODvQ30+PyevrGdpLptijbIHhFkTyzeO/mlOQW3/W9VnedVpr9VJeV03EIU bV3aHjM2YSdt/2i6U5jW4G0rYu6YqvyKfaJAaqkrWEuNn3ufZjPqpxnmQ8Yc/3cH7z7K JKc0QQDgBh5SkQLsp8UWxPWRUt9USgJyvqDjUDfk3RJ7afHm1+iBd8iqFM68ZoNfCt+q EbOvHi6VnldtvuUrDxzNiMjxMfb/SVA3I2BEsO5LG0Z5GxffbYQIpTP3uOfASxbRhUv0 N3Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739368372; x=1739973172; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=80VizGpb4sfwA3diabh5+C6N3XovCJ2VIUH3URVV6Og=; b=GNKCR5VzVYNEaCovgOfl1a2uJ4r10AirPm3rBgOD5n/k8MG5dLdGMfxyWZkaJRKLl7 /RQ9PAc1NakLnfjjgXQ/6QhS6iKcdS77UtbHMsGwzcHcQhY9lW1GeaS8HafJdPnlQqfE z/iPkTE2y8PfxQbSQs+8MeNZnYdS7O+KQXudtQfZoi4WpLEn6d6tkqP0zonTG+o4ejeX WNBq/0WhJ0Jw1D/RdfyWOHyfnZ1F6UkamUTSnint/HnawjQsqaOqkn/SUbSmbhv0DdCC D6oSXKXvKGVZEcy7sB4gBZZM4DeBOQmIrz+Im8AgDS5zHcOyH2JBRzJcJdbqxJLLCCSj 04dA== X-Gm-Message-State: AOJu0YzKqYQYVZhBcahGKIjQE0WMDZkRm+1/PamVkE4shvvb2YZ8HJwZ zhTeqEqhTzN4JV7gHCp81CzVhfM8S6kAyYR59op6bwzVxvwK3ruSgjEiDkmL X-Gm-Gg: ASbGncuQTKT6cZ2Tk9QEugfg2hauFHGggWI2EVyF8T252xwBIQi7stOEvwnqD3C47uS RhTh+wuV7ZQbI70hwWkA0X97OCEfYa/ehBIq537Mh1mjElrOTilCBU6E0Re4ZewpywZauTv4QT+ +ATKXqtANzjIe0Ix+NKN8Wiu2alxdXPvpnxYfAl6fAJdUgRNkx2T7iq8C0lh9By2ZdW7ype6eIQ zwgaIfRW3dKrjAI1XNRy+btr+mm8DZRT6f00V5VeCrLBIR6ZnZTcA8N8Ekqyvyl5VUvOvJ57q4x s20TcUwJ6JcIm89vki6bfO/AJQnH4gxl1PSR9rMVcYc9gVIEz29PaTgn8+s5LdtqfEhwGCrZCYM /7Q9IqLpjqiI= X-Google-Smtp-Source: AGHT+IHL3Pj6K7j+LrGl2bcPpdD5y1fpOXEwL+eAYoMfNujn83mZxw1HJ/3xovXjvfEACm6bysnQHA== X-Received: by 2002:a17:907:1909:b0:ab3:ed0:8d7 with SMTP id a640c23a62f3a-ab7f339d423mr309883766b.23.1739368371965; Wed, 12 Feb 2025 05:52:51 -0800 (PST) Received: from localhost.localdomain (46.205.193.135.nat.ftth.dynamic.t-mobile.pl. [46.205.193.135]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab786aa2c60sm1169870166b.102.2025.02.12.05.52.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Feb 2025 05:52:51 -0800 (PST) From: Arkadiusz Bokowy To: linux-bluetooth@vger.kernel.org Cc: Arkadiusz Bokowy Subject: [PATCH 3/4] test-runner: Do not use short-form of readonly option Date: Wed, 12 Feb 2025 14:52:08 +0100 Message-Id: <20250212135209.129361-3-arkadiusz.bokowy@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250212135209.129361-1-arkadiusz.bokowy@gmail.com> References: <20250212135209.129361-1-arkadiusz.bokowy@gmail.com> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Arkadiusz Bokowy qemu-system-x86_64: warning: short-form boolean option 'readonly' deprecated Please use readonly=on instead --- tools/test-runner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test-runner.c b/tools/test-runner.c index 13a5de465..1fc95d33f 100644 --- a/tools/test-runner.c +++ b/tools/test-runner.c @@ -214,7 +214,7 @@ static char *const qemu_argv[] = { "-m", "256M", "-net", "none", "-no-reboot", - "-fsdev", "local,id=fsdev-root,path=/,readonly,security_model=none," + "-fsdev", "local,id=fsdev-root,path=/,readonly=on,security_model=none," "multidevs=remap", "-device", "virtio-9p-pci,fsdev=fsdev-root,mount_tag=/dev/root", "-chardev", "stdio,id=con,mux=on", From patchwork Wed Feb 12 13:52:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arkadiusz Bokowy X-Patchwork-Id: 864893 Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B6E982557C for ; Wed, 12 Feb 2025 13:52:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739368379; cv=none; b=g5qrDC96zetN3QQsJMUjCChJcBXCcYoQ0WPAjSgvTsk+nnla/DsTO/E7UhwRZusMyoNaQhEz7avaZWRwzdYGmsMJhGeG2ULcAPiDiLJ1lWNZLf7aNW/Wx47ibBkjboO8Asn3NjD0Liv21oAg5rMhpN9lp2UL53+H1FNO4SWNiiA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739368379; c=relaxed/simple; bh=tbIX3S4X5GkceDSqbkwtmfR4ZtWze+U8rGdMFDFSyy0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=rLhbnW0jY52ExhYvSMWqdrmLoRSaEyQ0FabLOIeQkJTuXZq0pnit8li3UGp5gJ7erfD9UyUKIbbgclEOUxrJ6MO72tvGi89dhGHSpIsL4Or7IR31y+nSMchchcY49goxAc/TOo23iwOxgPGv+U5Lser4TCi3GkJwnJXfI/TKjnw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=fKqwb2Fa; arc=none smtp.client-ip=209.85.208.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fKqwb2Fa" Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-5deae16ab51so1521399a12.1 for ; Wed, 12 Feb 2025 05:52:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739368375; x=1739973175; darn=vger.kernel.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; bh=JYGo/bEB2uDStepJ0jKx+iF8uJTswY4rtjzzGBu1SMo=; b=fKqwb2Fau2XYqGpc3b43pNAoPZhgTXf/qAYIigcJkdG0ku3J+WLvmJj0Oo2/QYjs/z xW1Ar6x+baezbvWdUMHKRwCTFPZOsa3eUEey+X+2YVLc4amVyOzvlfeIE5L6T+GAuSuT o6w51t/lHcCx6l1GuaTXnDCzv/WtHyLJfVQrO9qVGuu87AVsXxxAhgsrUOcUAZN/Ytce +Afbv1jLzN5zzBhrwV5vQaZKQtMW3P0WMF19P6CzBvce+QoAo0pg916BUBMeE13SGQbE KhTLnQ+4xejZcmzT6lylzilmqigrTS3huQfqXrBCj5fVwm2a83gRPoveXG8SFSbgpyGL y3xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739368375; x=1739973175; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JYGo/bEB2uDStepJ0jKx+iF8uJTswY4rtjzzGBu1SMo=; b=WmbfV48HwObZ+ZFFOnOinNGwhhKS4XEXMrmL+cmmRw9CM/7XAniWjCg5KMTcg1z2T5 PW/Qqp7efsM/UrdQw9heyJH/SyhCtZo2cbn3hNUMj+fskg/peRzLE1Nnh9SWkqq4IZpc vLXF/SLpo4fdNDomRTqNZb+Xo7YUAMPzngFxWduGpk+J1xI43QnKMcOYegG+bpacnb4a Kh/LmOYefB9NsGjcvt2V+CwGiXhgoD0my/j9/T45VxFQcxMzCjfWsyPodlBz0GwFAa/E lX+gOh1zHnR0OOXu0UDK+jdBRRcELPAIfV2n8hg92xXjL6TnKNNW/c1xJi/mzssFelQ+ Gp4Q== X-Gm-Message-State: AOJu0Yw026CLw4SU9oSFJhOyEj5/W+e1LOINskyWf8oeW1p7bfna37JU 1Fj89Altd0ffu4oum3VVeUqJYHmXEj75sDYzkvPUEbELpxmAJ7ITxP2MKsKI X-Gm-Gg: ASbGncvE18FELcVU0eUHNHKM3zS6Lv/c63j5ZWl5ty7YqKL892TJQK6ycxDPzwQ1QfF s6TAhKThIsunRm3lrJCL58Zh1Oj0qdseFHqBpqslIda6uUiTedGARUWfq6/P4kvrySyoER1GiuU KJCWxOC7ZDo0qdCttMQ4JJWT3GbxljewHdiWIQXk7WrMzHqspCz8Y7Hn19p9EXhMOLuS6w//Bot uBWwEINRfndcU18Nz2LReGkvGgcmHpMkH/Aj48b212OpCcOVFij15z6+BUJFj5MATkGdPI+DOGa rDfaI2j2EGXZqTsiRbvkEPeKPE/tayEM73kq7lpW05iKkWMVPjlBWdYX05ksMS6/unWVZgnVHqK Z2K+PWVICHSU= X-Google-Smtp-Source: AGHT+IHHkxXTdRMU7hrUc1Kt7J5ZiWqowPgbRE5mS9gMZcsIPH0EF0JXe9XIRuyr2BvFyIhkwCgN6w== X-Received: by 2002:a05:6402:51cf:b0:5dc:796f:fc86 with SMTP id 4fb4d7f45d1cf-5deadd9d31cmr8073260a12.16.1739368374450; Wed, 12 Feb 2025 05:52:54 -0800 (PST) Received: from localhost.localdomain (46.205.193.135.nat.ftth.dynamic.t-mobile.pl. [46.205.193.135]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab786aa2c60sm1169870166b.102.2025.02.12.05.52.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Feb 2025 05:52:54 -0800 (PST) From: Arkadiusz Bokowy To: linux-bluetooth@vger.kernel.org Cc: Arkadiusz Bokowy Subject: [PATCH 4/4] test-runner: Use host CPU when starting VM Date: Wed, 12 Feb 2025 14:52:09 +0100 Message-Id: <20250212135209.129361-4-arkadiusz.bokowy@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250212135209.129361-1-arkadiusz.bokowy@gmail.com> References: <20250212135209.129361-1-arkadiusz.bokowy@gmail.com> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 When running test-runner on Ubuntu 24.04 with mainline kernel compiled from Ubuntu default configuration with applied tester.config options, the QEMU is not able to start the test-runner application due to illegal instruction. Passing '-cpu host' fixes that issue. > $ tools/test-runner -k linux/arch/x86/boot/bzImage -- tools/mgmt-tester > Using QEMU binary /usr/bin/qemu-system-x86_64 > Using kernel image [...]/linux/arch/x86/boot/bzImage > Found support for Virtual Machine eXtensions > [...] > [ 0.000000] Linux version 6.14.0-rc2+ (gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 [...] > [...] > Running command tools/mgmt-tester > New process 74 created > Illegal instruction > Process 74 exited with status 132 > [ 0.881239] reboot: Restarting system > [ 0.881431] reboot: machine restart Potential caveat: In case when the KVM is not available on the host, the QEMU will not start with the warning: CPU model 'host' requires KVM or HVF --- tools/test-runner.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/test-runner.c b/tools/test-runner.c index 1fc95d33f..48e114174 100644 --- a/tools/test-runner.c +++ b/tools/test-runner.c @@ -211,6 +211,7 @@ static char *const qemu_argv[] = { "-monitor", "none", "-display", "none", "-machine", "type=q35,accel=kvm:tcg", + "-cpu", "host", "-m", "256M", "-net", "none", "-no-reboot",