Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2233941ybi; Mon, 1 Jul 2019 08:27:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqwSj8bTSi5VWC9QxwA0CQvIAmWuPjlCYogPcCUunOSGoEw93noi2g711j3vbeFrDYJA0IsW X-Received: by 2002:a63:c0f:: with SMTP id b15mr25319920pgl.33.1561994875505; Mon, 01 Jul 2019 08:27:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561994875; cv=none; d=google.com; s=arc-20160816; b=tAALrh+HGMrza69kYmi6vUNqBYgakxfkEKxCMwBQjUb/4t0xb5mjWI5uIZsH6xv+xx behfg42ZW96ZSVlQFLCJkzkqHk83SNXQpvTkdMpsCQ88jeQq75Zai8XNgzZmBNYud7Jy lv9XeLFSTibuBYyIF7ZCEcEbIoDdRqsRnZmgl3b/M1WoKgamRvctT9//WuSge5wOrqnZ bG2Pl780In9dzpy8yniRJueiv4Agq5GTT0e1NOTSAMb+/KSEk/mENJtWEYQcClVhDidS y+3QkqV+piLgC+08tqcFrn4R8k4yRXEycG7ztCMLu4Nfls8EL1pgnl5jiM6szLJCwTKM /C6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=YINPfktv7kA/rIjO+Od90qPPmCseH3mnLZRR1IdPF7U=; b=pRqwT/OAtvD0DHkWG9T8ioCKUrCfNcVRrwAIMcuMVOChNkqI1tebIK9Y4Jjjs/ZAgW BWjNtJBJ5wJtSi1OspchnvuxmK8p4E9uOEpbQHhUKAjD2tTlemHBDnTzLFex5ECO3iNc KhwpoyjmBUz0KuH3ufjFTEKeUeiru6cx+Va355ShrgcxkOgs9H6lL4rr5LWnXYT9l09l 8LocJ2gsbnUnn06wQN2sdj6vXpW3neogc/QAKyndaF7eo+KgkLJCWGT0gU0rS2IHeN91 ZZbz+DvSPhYyIPKngdp8bwEu7bBuzVHAbtjL/NouwjGGDSPcmYVmOxs3Q33sB/OQicFr vkog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=P0m+0Pg5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s29si11522858pfd.147.2019.07.01.08.27.39; Mon, 01 Jul 2019 08:27:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=P0m+0Pg5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729450AbfGAOOG (ORCPT + 99 others); Mon, 1 Jul 2019 10:14:06 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:37919 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726076AbfGAOOG (ORCPT ); Mon, 1 Jul 2019 10:14:06 -0400 Received: by mail-pf1-f196.google.com with SMTP id y15so6662897pfn.5 for ; Mon, 01 Jul 2019 07:14:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=YINPfktv7kA/rIjO+Od90qPPmCseH3mnLZRR1IdPF7U=; b=P0m+0Pg5zUKQchHletu/G/Y+dNejGuQsWLqu87B4A6eMz/sjyy81hitHFOR6fXzhPz AMN5nlo6Uy6MMzsJaLz8vgHnGDnk+5OwHIB/wFbp5UlRcnXkTQap8n1x6/809h8GnhKJ 4W1Ny7IBkYis2w/3iZ1w5tLUKuOdOoRUjJPI8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=YINPfktv7kA/rIjO+Od90qPPmCseH3mnLZRR1IdPF7U=; b=nxi3O+UnfMJOOIoZ54KdeRjXcB5FDIhESKXRK/VcNAzpi8HmTnxAPpAfhAHCtsX2xv dG4Xie059WYMUR5wUQSYBkZ1B2MBQuHhdq32fGVHz2o39prVXjz2QnHtPtcl5hf3STMb rbKw/YDVyUj0C7g1xYraazLplWGjz+kJwqpY1/+XKBd/C/+2PYSPPU0OKI2yxZgihigA 3sbWFVkpeO+2MPWZkSdCHNfQg6cdYkH+sopBMnlZqLMj+3JbaSVmyA9IxaooVtC/hUL/ IDEYqhXZBiBMIlGMYC8b6FIccd0JVwX988SnWuZNvKlEL+dzfxHked2a4AgKtudmI9ho RXwQ== X-Gm-Message-State: APjAAAXwv07Mw1oCfqheOOmupgQxXY3Q2wdpKUTdXCKP111P6/o/87Ra oQvDkMuDI08xW0EygRh47EHDDw== X-Received: by 2002:a17:90a:d681:: with SMTP id x1mr30838291pju.13.1561990445430; Mon, 01 Jul 2019 07:14:05 -0700 (PDT) Received: from localhost ([2620:15c:6:12:9c46:e0da:efbf:69cc]) by smtp.gmail.com with ESMTPSA id a16sm16528335pfd.68.2019.07.01.07.14.04 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 07:14:04 -0700 (PDT) Date: Mon, 1 Jul 2019 10:14:03 -0400 From: Joel Fernandes To: Sebastian Andrzej Siewior Cc: linux-kernel@vger.kernel.org, Josh Triplett , kernel-team@android.com, Lai Jiangshan , linux-kselftest@vger.kernel.org, Mathieu Desnoyers , "Paul E. McKenney" , rcu@vger.kernel.org, Shuah Khan , Steven Rostedt , dvyukov@google.com Subject: Re: [RFC 3/3] Revert "rcutorture: Tweak kvm options" Message-ID: <20190701141403.GA246562@google.com> References: <20190701040415.219001-1-joel@joelfernandes.org> <20190701040415.219001-3-joel@joelfernandes.org> <20190701122358.nzebpuunp6o5jxhx@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190701122358.nzebpuunp6o5jxhx@linutronix.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 01, 2019 at 02:23:58PM +0200, Sebastian Andrzej Siewior wrote: > On 2019-07-01 00:04:15 [-0400], Joel Fernandes (Google) wrote: > > This reverts commit a6fda6dab93c2c06ef4b8cb4b9258df6674d2438 which > > causes kvm.sh to not run on my machines. The qemu-system-x86_64 command > > runs but does nothing. > > Nope. I would like to know *why* you need 'noapic' to work. Is it a > brand new or old qemu-system-x86_64? I did not have time to debug yesterday and I posted this particular revert as an 'RFC' just to make aware of this problem. I spent some more time just now, it looks like this has nothing to do with 'noapic' and appears to be a problem on debian distros with the e1000e NIC. May be this NIC was added to the virtual hardware because of -machine in the patch? Any if I add the following to the qemu command that kvm.sh runs, it works again: -net nic,model=e1000 Without it I get: qemu-system-x86_64: Initialization of device e1000e failed: failed to find romfile "efi-e1000e.rom" Seems to be mentioned here: https://bugs.launchpad.net/ubuntu/+source/ipxe/+bug/1737211 And in syzkaller as well: https://github.com/google/syzkaller/blob/master/vm/qemu/qemu.go#L88 Adding Dmitry who is syzkaller owner for any thoughts as well. I'm happy to write a patch to set the nic model as e1000 and send it out if we agree this solution is good enough. - Joel