From mboxrd@z Thu Jan 1 00:00:00 1970 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=-4.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 F0471C433DB for ; Tue, 16 Mar 2021 18:58:07 +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 3D3EA65140 for ; Tue, 16 Mar 2021 18:58:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3D3EA65140 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:47716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMEtK-0006Og-0C for qemu-devel@archiver.kernel.org; Tue, 16 Mar 2021 14:58:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMEX9-00082Q-4w; Tue, 16 Mar 2021 14:35:15 -0400 Received: from conssluserg-05.nifty.com ([210.131.2.90]:55646) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMEX4-0006jm-4s; Tue, 16 Mar 2021 14:35:10 -0400 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 12GIYWEj017022; Wed, 17 Mar 2021 03:34:32 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 12GIYWEj017022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1615919672; bh=bbJmYIfUVQIpxeym60+pI3Ext9dWhJxDwEhJwRGb9R0=; h=From:Date:Subject:To:From; b=ENTKQZMfjtkGZLLKMANHUbA2zD80Dy4f3N5D5jgSFyp9moLKkFhdU8+HJnGY3l5iO vZ0PMkO/gVpb5plewWs/1+I2QZaQdzclaTVVaNSI6fOS+5YE8NdAAiSJuaMRUiRh4a O12cqiHfYS5PtqMZOQSoi+EiwB3rgRZmZ0Qzx2QABBO9j9GYsqUzSmkA1DUPOst48K 9RyuHJOvdQ4WO225LWc4K3er73zLVtNZDCwuRu16y3F/n2zuNPq2U2183ad0BFgUHC oB27/yDSWJywIwHCjdx2cfXkr+CuDdlfmfbBkSnJla8IPaRWHwhFXwFiV7PVN1E6K/ YA/LnKozdKr3Q== X-Nifty-SrcIP: [209.85.210.179] Received: by mail-pf1-f179.google.com with SMTP id e26so9407710pfd.9; Tue, 16 Mar 2021 11:34:32 -0700 (PDT) X-Gm-Message-State: AOAM530x/RqsrBI1jvwvZ41cHzdw2CilxthBdKK3fZYQd+qnbddQYIDo gypzHxVRKI4KdapbeCjiH+MEM373VzVO1YBivLA= X-Google-Smtp-Source: ABdhPJyIP5qpcdxgiL5bcjrD1G/o7BBFWF1tKXkO2Ay/BNdWaVmOZi6CetpmYFgkZRuKNJ/rXiNi2+OTIquNNh6twj4= X-Received: by 2002:a65:41c6:: with SMTP id b6mr874213pgq.7.1615919671845; Tue, 16 Mar 2021 11:34:31 -0700 (PDT) MIME-Version: 1.0 From: Masahiro Yamada Date: Wed, 17 Mar 2021 03:33:55 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Question about two option formats for netdev To: qemu-devel@nongnu.org, qemu-arm@nongnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: softfail client-ip=210.131.2.90; envelope-from=masahiroy@kernel.org; helo=conssluserg-05.nifty.com X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action 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: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Hi. I have a question about adding a network device. qemu-system-arm -machine vexpress-a9 \ -net nic,model=lan9118 -net user ... works for me, but 'man qemu-system-arm' says this is "Legacy option". Is there any new (or recommended) form to use a lan9118 device? If I understand correctly, -netdev user,id= \ -device ,netdev= is the new option form. For example, I can use the new form for virtio-net-device. But, it does not work for lan9118, and actually I cannot see lan9118 in "qemu-system-arm -machine vexpress-a9 -device help". So, the two options are different worlds, we need to choose appropriate form to use a particular device, correct? -- Best Regards Masahiro Yamada