From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mx.groups.io with SMTP id smtpd.web12.5511.1628675749211342059 for ; Wed, 11 Aug 2021 02:55:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=I0FVVFhl; spf=pass (domain: gmail.com, ip: 209.85.216.48, mailfrom: 475.chris.willing@gmail.com) Received: by mail-pj1-f48.google.com with SMTP id w13-20020a17090aea0db029017897a5f7bcso3830110pjy.5 for ; Wed, 11 Aug 2021 02:55:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:reply-to:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=+dzQhZ0/0YKhMPhF3WCohgwmh73WsocdaWDEA4dfUJc=; b=I0FVVFhln4OL6PVOSY8zOLzQ6UPlEMMHYc3/aDQ6ubx4KrVIpOQ/DpN5UJ2I4J3QNx JOfRXnu+gudlyg0hwGFBXfMQ5xtzrh5MVb1WHjzCu4j/NYY0yl5zA/PLckqrvKZdoCLE 6EJVI6m6rDy08Mc0YlPSsQGdFIzcxPOpGb4u5Of3JeAadq7t1S2ahtgqhWeqdsKYYG8n ddeQrkwAAmlE4WyzyP7rKs4Uh7Q1r120AVqrHqu/vaENutzyFvVuRrHSWI8DwVTq0fGs 8PgdzMo7CC7u1R6xW66vx+CizM2U+n0C/d1rTNcJs6JTje1f2wPY4EGyBRLwIEARVoBi fnpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:reply-to:subject:to:cc:references :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=+dzQhZ0/0YKhMPhF3WCohgwmh73WsocdaWDEA4dfUJc=; b=ZkDblLZEyyXqzw8IUAfnknPvsH6OGfEfVc4RveWmVhVqbBNf6NxP1fHxtvpEQIXeTv EmN/9fYhU12dOzwc9SZuxwGD+wcMRA4NyPN9BaCw9VtlAiMa13BtUoD2t6HbZMm/AlHi QKCtvko9tzeJPmS+lGt23Nmh+FCmuW7rpCeCRLBKKT3l1wXd+dxclyfKcaTsBltG8N7l yD05ol3jvtBLWArTX3uvaX4+LLr1gph4lt/ri9PZ4dK9p5mXr4gnir8krOBzxQ/3cSh2 yVMcqfkK51UJS2nACmrpT5azic34XCp9GaWUyiWKJSeQIIljX7RZAoaJ53EYXOmHRmpR lRHw== X-Gm-Message-State: AOAM5330cPuAhUa7MLrNvwc3viWbfRue2EmqyejGbEjE2NJ7HWkl1Ni8 bbc94k7ooN+8um1qaZuWrUM= X-Google-Smtp-Source: ABdhPJyqYtcz1zIwhy8gpvbLUfj6mkNb1lDunIm8TTOLGFC+PEu0HsLy8Dd+0MflBOCZ3Lm8sC29Hw== X-Received: by 2002:a17:90a:5305:: with SMTP id x5mr9374940pjh.135.1628675748650; Wed, 11 Aug 2021 02:55:48 -0700 (PDT) Return-Path: <475.chris.willing@gmail.com> Received: from d8.hgw.net.au (pa49-197-140-170.pa.qld.optusnet.com.au. [49.197.140.170]) by smtp.gmail.com with ESMTPSA id m5sm22349836pgn.70.2021.08.11.02.55.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 Aug 2021 02:55:48 -0700 (PDT) From: "Christoph Willing" X-Google-Original-From: Christoph Willing Reply-To: chris.willing@linux.com Subject: Re: [edk2-devel] [PATCH 1/1] OvmfPkg PlatformBootManagerLib: Move TryRunningQemuKernel() To: Gerd Hoffmann , devel@edk2.groups.io Cc: James Bottomley , ardb+tianocore@kernel.org, jiewen.yao@intel.com References: <20210728020232.127332-1-chris.willing@linux.com> <1695D2E15A92C8E7.3876@groups.io> <62f9ffa0-786f-09dd-9546-c4c118fa2a17@linux.com> <1b544f28-b5b9-c08c-bab7-8c1f41778dce@linux.com> <5c85a3f963d1ab7d20e177db9a07a73e82a0eed0.camel@HansenPartnership.com> <7dc3b9d2-5ebb-c261-46b4-658dcbbfd0f4@linux.com> <8286f815812caccbffaa3696f5e884a62ec0a046.camel@HansenPartnership.com> <20210811061223.prihfxnufka6gzxp@sirius.home.kraxel.org> Message-ID: <5eb58219-758c-e12b-8bd3-5d646dba72bc@linux.com> Date: Wed, 11 Aug 2021 19:55:43 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210811061223.prihfxnufka6gzxp@sirius.home.kraxel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 11/8/21 4:12 pm, Gerd Hoffmann wrote: > Hi, > >> I amended my script to have: >> >> -drive if=none,id=sd00,file=disk.img,format=raw \ >> -device virtio-scsi-pci,id=scsi \ >> -device scsi-hd,bus=scsi.0,drive=sd00 \ > > That switches storage from ide to virtio-scsi. > > Which is a good idea from the performance point of view. Will obviously > also workaround ide problems. But might fail now due to virtio-scsi > driver not being part of your initrd. > Thank you James & Gerd, Your suggestions & comments led me to reconsider the contents of the initrd and the problem is now fixed. I had been using an initrd that worked perfectly in a non-UEFI boot and half worked with UEFI boot (the working half being when code was patched). However when I generated a completely new initrd after installing a new system in UEFI mode, I could see many virtio modules being added which were not part of the old initrd I had been using. Booting with the new initrd works perfectly in all boot modes using OVMF files created without any code patching. Is there a particular procedure to withdraw my patch request, or does it die a quiet death by being ignored now? Thanks again, chris