We have eighteen QAPI type names starting with Netdev. Commit
854ee02b222 (net: Add passt network backend) added a first one
starting with NetDev. Rename it for consistency.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
qapi/net.json | 6 +++---
net/passt.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/qapi/net.json b/qapi/net.json
index 118bd34965..8ed51b665c 100644
--- a/qapi/net.json
+++ b/qapi/net.json
@@ -115,7 +115,7 @@
'str': 'str' } }
##
-# @NetDevPasstOptions:
+# @NetdevPasstOptions:
#
# Unprivileged user-mode network connectivity using passt
#
@@ -191,7 +191,7 @@
#
# Since: 10.1
##
-{ 'struct': 'NetDevPasstOptions',
+{ 'struct': 'NetdevPasstOptions',
'data': {
'*path': 'str',
'*quiet': 'bool',
@@ -877,7 +877,7 @@
'discriminator': 'type',
'data': {
'nic': 'NetLegacyNicOptions',
- 'passt': { 'type': 'NetDevPasstOptions',
+ 'passt': { 'type': 'NetdevPasstOptions',
'if': 'CONFIG_PASST' },
'user': 'NetdevUserOptions',
'tap': 'NetdevTapOptions',
diff --git a/net/passt.c b/net/passt.c
index 4ff94ee509..f1f59d50c4 100644
--- a/net/passt.c
+++ b/net/passt.c
@@ -499,7 +499,7 @@ static int net_passt_vhost_user_init(NetPasstState *s, Error **errp)
}
#endif
-static GPtrArray *net_passt_decode_args(const NetDevPasstOptions *passt,
+static GPtrArray *net_passt_decode_args(const NetdevPasstOptions *passt,
gchar *pidfile, Error **errp)
{
GPtrArray *args = g_ptr_array_new_with_free_func(g_free);
--
2.54.0