Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 627EFC433F5 for ; Tue, 24 May 2022 13:20:51 +0000 (UTC) Received: from localhost ([::1]:44408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntUSw-0004tE-1q for qemu-devel@archiver.kernel.org; Tue, 24 May 2022 09:20:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntUMR-0002V1-UG for qemu-devel@nongnu.org; Tue, 24 May 2022 09:14:08 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:58245) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntUML-0003Gv-6G for qemu-devel@nongnu.org; Tue, 24 May 2022 09:14:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653398038; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=U82O03qo7I7vlWCy2wV7LTksBZrpj+hN3/dltsjw8TQ=; b=FQZhEc1Q/KrCqB14nHVPeeNNwdrrTthZ+UHntKyECJ1CFYCDkfM9Z/FgOIZCpmAoCZiHgN XJVq5VkU0mjdp7WsMKSfy2XNwqb+en8EipadNZgaBE2QRHuwF/gWbLxc9RRi+MiKiuSV+K +9CBzXGEZnBTMMUuAvTrZhK/AHMufwk= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-635-ZDtEDm-PN5C08PFRNltc5A-1; Tue, 24 May 2022 09:13:20 -0400 X-MC-Unique: ZDtEDm-PN5C08PFRNltc5A-1 Received: by mail-wr1-f72.google.com with SMTP id a4-20020adfe5c4000000b0020ffb06bcaaso102711wrn.2 for ; Tue, 24 May 2022 06:13:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=U82O03qo7I7vlWCy2wV7LTksBZrpj+hN3/dltsjw8TQ=; b=nOw8CXO53+I9ueCvDPoZeg5W9hTwPMGRKJXauJkGdWcZi/ofvQShj119OjlfkTfb1l zVFIGchXs6ERFSEiRBxcJQ+f39jtJ7NldE6uaPwIidukilApM1a4IM0sm/RPDWGx+2qZ mMc9EHPQ4p+DkewABecbc/7WtyprJ1sRbgGHzfAiom8sA+fA5dDnT1IQJ46MeQLL+ij3 1C2+hD/sWKmmyzsI38L8e4APHl60Ast9CrBXQBbaEp79wn6IcPOlFZpuX0QZW45ymK9N CrEpJHCjXX9LMiPnhG97D+Pg5dNqdjgwdD9daTChifDBMGduNm0IjkQw4ueBwJrSSU0C g6Dg== X-Gm-Message-State: AOAM532aLGcdTrzuw/PPB5oY6dYvmr+nL4TRj3XgxbJJOC/VXnz0fAFe jNOM420oucQNRfE+NgsYZYmIRtzg862oIAzaVSoXbQAcXVNg+mabURLdVKy0r7LLBzpCNM930RW m/pvsacZKPXa2Pa4= X-Received: by 2002:a5d:498d:0:b0:20d:692:5ac0 with SMTP id r13-20020a5d498d000000b0020d06925ac0mr22522090wrq.273.1653397999503; Tue, 24 May 2022 06:13:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyC1MnyvkuiEKZFdYVwU0bozhuKIiUb0B5/IX9k9R5UxIqP4WF/YmlVBBuEfgVEPVMA9meqnw== X-Received: by 2002:a5d:498d:0:b0:20d:692:5ac0 with SMTP id r13-20020a5d498d000000b0020d06925ac0mr22522069wrq.273.1653397999283; Tue, 24 May 2022 06:13:19 -0700 (PDT) Received: from [10.33.192.183] (nat-pool-str-t.redhat.com. [149.14.88.106]) by smtp.gmail.com with ESMTPSA id t13-20020adfba4d000000b0020fe86d340asm4370612wrg.98.2022.05.24.06.13.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 May 2022 06:13:18 -0700 (PDT) Message-ID: <449f117b-32c9-e066-55dd-1208313bce3f@redhat.com> Date: Tue, 24 May 2022 15:13:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PULL 2/3] qga-win32: Add support for NVME but type Content-Language: en-US To: Konstantin Kostiuk Cc: =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , Stefan Weil , Richard Henderson , QEMU , Peter Maydell References: <20220523194111.827805-1-kkostiuk@redhat.com> <20220523194111.827805-3-kkostiuk@redhat.com> <541f46cf-fc45-f7bb-e121-2aad216e11d5@linaro.org> From: Thomas Huth In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.129.124; envelope-from=thuth@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.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, 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: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 24/05/2022 15.00, Konstantin Kostiuk wrote: > > > > > On Tue, May 24, 2022 at 1:24 PM Thomas Huth > wrote: > > On 24/05/2022 12.14, Marc-André Lureau wrote: > > Hi > > > > On Tue, May 24, 2022 at 12:02 PM Konstantin Kostiuk > > wrote: > >> > >> Hi Richard and Marc-André > >> > >> I looked into the compilation problem and have 2 solutions: > >> 1. We can add some conditions to the win2qemu definition and > >> skip NVME support when old mingw-headers are used. > >> 2. We can bump the version of the Fedora docker image to 36 or 37 > >> that is used for cross-compilation tests. > >> > >> I think the second option is more valuable because we remove > >> pregenerated qga-vss.tlb file and now we can check VSS build only > >> at Fedora 37. > >> > >> What do you think? > > > > I'd try to do both: fix compilation with older headers, and bump our > > CI to f36. I don't know if our windows build environment has strict > > requirements like the unix/distro (build on old-stable for 2y). > > See https://www.qemu.org/docs/master/about/build-platforms.html#windows > : > > "The project supports building QEMU with current versions of the MinGW > toolchain, either hosted on Linux (Debian/Fedora) or via MSYS2 on Windows." > > Since Fedora 35 is still a supported build host, I think you should make > sure that it works with the MinGW toolchain from that distro, too. > > > Currently, CI uses Fedora 33 which is already EOL. Fedora 35 has updated > mingw-headers and the current version of code compiles without any errors. > So if we want to support only Fedora 35+, we can just bump the CI docker image. Ah, right, I was looking at the wrong file. So yes, in that case, please simply update the docker image. What about Debian (since this is mentioned on the support page, too)? I think we don't have to worry about Debian 10 anymore, since Debian 10 will already be EOL once we release QEMU 7.1 ... but what about Debian 11? Do the MinGW packages there contain the updated headers, too? Thomas