Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nJxWc-0002MQ-6a for mharc-grub-devel@gnu.org; Tue, 15 Feb 2022 08:05:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJxWa-0002LZ-IW for grub-devel@gnu.org; Tue, 15 Feb 2022 08:05:44 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:39561) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJxWV-0002Lk-Ui for grub-devel@gnu.org; Tue, 15 Feb 2022 08:05:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644930338; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9C47//3Yxr7c6tJhPCE/pEkU2qc5gbA3Ic5er87ZiMc=; b=JO5mSRgJKPTHXDf3PSDQx5NviW/JtMjqckBdWihHeEFTZXTbBErIo9vb6xMVzLgN/7GeMh w5ZJiz+iHHQSRsHCQhMGvgFDmetTzIJUXrQThIPqYHNtTtR4DPD+7Shfa8oCcWynAhGpkl Ux/RbwE4ac82VFr8tWElo/BFhetrRr8= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-84-ViNaIRyaOV2IA6slxl56Ig-1; Tue, 15 Feb 2022 08:05:32 -0500 X-MC-Unique: ViNaIRyaOV2IA6slxl56Ig-1 Received: by mail-wr1-f69.google.com with SMTP id e1-20020adfa741000000b001e2e74c3d4eso8289897wrd.12 for ; Tue, 15 Feb 2022 05:05:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=9C47//3Yxr7c6tJhPCE/pEkU2qc5gbA3Ic5er87ZiMc=; b=t8k7l1y/rFUR5a/KUIl3pKSbxDRncy+9o2e2BP8b64NL4ktKeVuOp4MQ4vmn+V9so8 mV1v359WIlPrYMCiHkNjRl881pASKJMG1SwbY1auIG1ZZ2gkP2QcdjG51LUsK2SQc6G7 tf+4SBSpaTxYlTrxq3+g4dogQMjXPjA1W11vmzV0dLjLFitejabzXlUM6m7qMLy1frl2 kzrFZiy2hefWETpbcC7fdUactqb/BfpJm+3cPYIWHjp2A0bzzv8/rjxqHfTyXuQNt7UO Bx3U9zw2/9P6VKxpnMjQAhFWMa5LZCcLCsWdZbOFYkMFHfUq1np3nJKngF6IQ3VSD5JH Esvw== X-Gm-Message-State: AOAM531S53fOjoKL3ck6pIKDXuQcauniTiW5aHujqI9Vowayd9T45IAX dgT7ZJwKBlfUbzIOSzphfRGVPzZ+7hhUFeRhpxw1KH4wMWkhJIyWyvxtAMlox924kKZlbHC7iHg yR1HE2VQ+HQB+peAxBSSPsKq9IngcKI/8KuduIxnRFdnQL+aG6eyaa0hzzIbRJJM= X-Received: by 2002:a05:600c:1506:: with SMTP id b6mr3156434wmg.30.1644930330588; Tue, 15 Feb 2022 05:05:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJwsNQKp8pEIeP+KmCXzEtkltj8gQosfTIgdLe8nQriyxPN8li+GMb4cO1qu0P60qOjvyW21pg== X-Received: by 2002:a05:600c:1506:: with SMTP id b6mr3156410wmg.30.1644930330236; Tue, 15 Feb 2022 05:05:30 -0800 (PST) Received: from t590.redhat.com (lfbn-gre-1-180-51.w90-112.abo.wanadoo.fr. [90.112.144.51]) by smtp.gmail.com with ESMTPSA id x11sm14919094wmi.37.2022.02.15.05.05.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 05:05:29 -0800 (PST) From: =?UTF-8?q?Renaud=20M=C3=A9trich?= To: grub-devel@gnu.org Subject: efi: new 'connectefi' command Date: Tue, 15 Feb 2022 14:05:20 +0100 Message-Id: <20220215130522.88835-1-rmetrich@redhat.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=rmetrich@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.133.124; envelope-from=rmetrich@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.083, 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2022 13:05:44 -0000 This set of patches fixes a memory leak in 'lsefi' command and introduces a new 'connectefi pciroot|scsi' command which recursively connects the corresponding EFI handles. This is required on VMWare with efi.quickBoot enabled when chainloading to grub on the harddisk from a network boot, otherwise none of the hard disks are found (and sometimes the hard disk is found but not the underneath partitions). This is closely related to the following patchset: [PATCH v3 1/2] search: fixed bug stopping iteration when --no-floppy is used [PATCH v3 2/2] search: new --efidisk-only option on EFI systems