Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A5FFC31E44 for ; Mon, 17 Jun 2019 05:25:22 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 4E27721855 for ; Mon, 17 Jun 2019 05:25:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4E27721855 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kaod.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:44364 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hck8v-0004Kc-Iw for qemu-devel@archiver.kernel.org; Mon, 17 Jun 2019 01:25:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35809) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hck8R-0003qd-Ns for qemu-devel@nongnu.org; Mon, 17 Jun 2019 01:24:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hck8Q-0004G8-L8 for qemu-devel@nongnu.org; Mon, 17 Jun 2019 01:24:51 -0400 Received: from 10.mo179.mail-out.ovh.net ([46.105.79.46]:56505) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hck8Q-0004FP-EP for qemu-devel@nongnu.org; Mon, 17 Jun 2019 01:24:50 -0400 Received: from player756.ha.ovh.net (unknown [10.109.160.93]) by mo179.mail-out.ovh.net (Postfix) with ESMTP id 61124133116 for ; Mon, 17 Jun 2019 07:24:47 +0200 (CEST) Received: from kaod.org (lns-bzn-46-82-253-208-248.adsl.proxad.net [82.253.208.248]) (Authenticated sender: groug@kaod.org) by player756.ha.ovh.net (Postfix) with ESMTPSA id 5DEA16140138; Mon, 17 Jun 2019 05:24:37 +0000 (UTC) Date: Mon, 17 Jun 2019 07:20:44 +0200 From: Greg Kurz To: Yongji Xie Message-ID: <20190617072044.3e95124f@bahia.lan> In-Reply-To: References: <20190614093121.5580-1-xieyongji@baidu.com> <20190614093121.5580-2-xieyongji@baidu.com> <20190614134452.7924f135@bahia.lan> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 2602517636438858029 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrudeiiedgledtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddm X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.105.79.46 Subject: Re: [Qemu-devel] [PATCH v3 1/5] virtio: add "use-started" property X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eduardo Habkost , "Michael S. Tsirkin" , "Dr. David Alan Gilbert" , qemu-devel , Alex Williamson , pbonzini@redhat.com, Xie Yongji Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Mon, 17 Jun 2019 10:14:30 +0800 Yongji Xie wrote: > On Fri, 14 Jun 2019 at 19:45, Greg Kurz wrote: > > > > On Fri, 14 Jun 2019 17:31:17 +0800 > > elohimes@gmail.com wrote: > > > > > From: Xie Yongji > > > > > > In order to avoid migration issues, we introduce a "use-started" > > > property to the base virtio device to indicate whether use > > > "started" flag or not. This property will be true by default and > > > set to false when machine type <= 4.0.1. > > > > > > Suggested-by: Greg Kurz > > > Signed-off-by: Xie Yongji > > > --- > > > hw/block/vhost-user-blk.c | 4 ++-- > > > hw/core/machine.c | 8 ++++++-- > > > > This patch conflicts with latest upstream changes to hw_compat_4_0_1[]. > > > > It seems you need to rebase. Also, I'm still not sure how we're supposed > > to handle hw_compat_4_0_1[] versus hw_compat_4_0[]... nobody commented > > on: > > > > https://lists.gnu.org/archive/html/qemu-devel/2019-06/msg00637.html > > https://lists.gnu.org/archive/html/qemu-devel/2019-06/msg00641.html > > > > Maybe worth to sort that out before re-posting. > > > > If hw_compat_4_0_1[] is introduced only for q35, I think this patch > should be OK. If not, maybe we should handle hw_compat_4_0_1[] in > other machine types (i440fx, arm, ppc, s390)? > It turns out that hw_compat_4_0_1[] isn't needed at all. Please see: https://lists.gnu.org/archive/html/qemu-devel/2019-06/msg03054.html > Hi Alex and Paolo, > > Any comment for this? > > Thanks, > Yongji