qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/2] net: Drop the legacy "name" parameter from the -net o


From: Eric Blake
Subject: Re: [PATCH v2 1/2] net: Drop the legacy "name" parameter from the -net option
Date: Tue, 12 May 2020 09:26:53 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On 5/12/20 7:31 AM, Thomas Huth wrote:
It's been deprecated since QEMU v3.1, so it's time to finally
remove it. The "id" parameter can simply be used instead.

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>
---
  docs/system/deprecated.rst | 15 +++++++++------
  net/net.c                  | 10 +---------
  qapi/net.json              |  3 ---
  3 files changed, 10 insertions(+), 18 deletions(-)


+++ b/qapi/net.json
@@ -474,8 +474,6 @@
  #
  # @id: identifier for monitor commands
  #
-# @name: identifier for monitor commands, ignored if @id is present
-#
  # @opts: device type specific properties (legacy)
  #
  # Since: 1.2
@@ -483,7 +481,6 @@
  { 'struct': 'NetLegacy',
    'data': {
      '*id':   'str',
-    '*name': 'str',
      'opts':  'NetLegacyOptions' } }

Why is 'id' left optional? I'd expect it to be mandatory, now.

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]