* [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches
@ 2014-05-07 22:41 Hani Benhabiles
2014-05-07 22:41 ` [Qemu-devel] [PATCH 1/6] monitor: Convert sendkey to use command_completion Hani Benhabiles
` (8 more replies)
0 siblings, 9 replies; 12+ messages in thread
From: Hani Benhabiles @ 2014-05-07 22:41 UTC (permalink / raw)
To: qemu-devel; +Cc: kraxel, lcapitulino
Compared to v1:
* Dropped patch 02/07 for help completion conversion.
* Nothing else changed. 04,05 and 06 are R-b by Stefan.
Hani Benhabiles (6):
monitor: Convert sendkey to use command_completion.
monitor: Add chardev-remove command completion.
monitor: Add chardev-add backend argument completion.
monitor: Add set_link arguments completion.
monitor: Add netdev_add type argument completion.
monitor: Add netdev_del id argument completion.
hmp-commands.hx | 8 ++-
hmp.h | 6 +++
monitor.c | 153 ++++++++++++++++++++++++++++++++++++++++++++++++++++----
net/net.c | 2 +-
4 files changed, 158 insertions(+), 11 deletions(-)
--
1.8.3.2
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Qemu-devel] [PATCH 1/6] monitor: Convert sendkey to use command_completion.
2014-05-07 22:41 [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches Hani Benhabiles
@ 2014-05-07 22:41 ` Hani Benhabiles
2014-05-07 22:41 ` [Qemu-devel] [PATCH 2/6] monitor: Add chardev-remove command completion Hani Benhabiles
` (7 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Hani Benhabiles @ 2014-05-07 22:41 UTC (permalink / raw)
To: qemu-devel; +Cc: kraxel, lcapitulino
Signed-off-by: Hani Benhabiles <hani@linux.com>
---
hmp-commands.hx | 1 +
hmp.h | 1 +
monitor.c | 32 +++++++++++++++++++++++---------
3 files changed, 25 insertions(+), 9 deletions(-)
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 8971f1b..b4b23c8 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -556,6 +556,7 @@ ETEXI
.params = "keys [hold_ms]",
.help = "send keys to the VM (e.g. 'sendkey ctrl-alt-f1', default hold time=100 ms)",
.mhandler.cmd = hmp_send_key,
+ .command_completion = sendkey_completion,
},
STEXI
diff --git a/hmp.h b/hmp.h
index 20ef454..12e21e7 100644
--- a/hmp.h
+++ b/hmp.h
@@ -97,5 +97,6 @@ void object_add_completion(ReadLineState *rs, int nb_args, const char *str);
void object_del_completion(ReadLineState *rs, int nb_args, const char *str);
void device_add_completion(ReadLineState *rs, int nb_args, const char *str);
void device_del_completion(ReadLineState *rs, int nb_args, const char *str);
+void sendkey_completion(ReadLineState *rs, int nb_args, const char *str);
#endif
diff --git a/monitor.c b/monitor.c
index 2d3fb3f..7ef251c 100644
--- a/monitor.c
+++ b/monitor.c
@@ -4359,6 +4359,28 @@ void object_del_completion(ReadLineState *rs, int nb_args, const char *str)
qapi_free_ObjectPropertyInfoList(start);
}
+void sendkey_completion(ReadLineState *rs, int nb_args, const char *str)
+{
+ int i;
+ char *sep;
+ size_t len;
+
+ if (nb_args != 2) {
+ return;
+ }
+ sep = strrchr(str, '-');
+ if (sep) {
+ str = sep + 1;
+ }
+ len = strlen(str);
+ readline_set_completion_index(rs, len);
+ for (i = 0; i < Q_KEY_CODE_MAX; i++) {
+ if (!strncmp(str, QKeyCode_lookup[i], len)) {
+ readline_add_completion(rs, QKeyCode_lookup[i]);
+ }
+ }
+}
+
static void monitor_find_completion_by_table(Monitor *mon,
const mon_cmd_t *cmd_table,
char **args,
@@ -4427,15 +4449,7 @@ static void monitor_find_completion_by_table(Monitor *mon,
break;
case 's':
case 'S':
- if (!strcmp(cmd->name, "sendkey")) {
- char *sep = strrchr(str, '-');
- if (sep)
- str = sep + 1;
- readline_set_completion_index(mon->rs, strlen(str));
- for (i = 0; i < Q_KEY_CODE_MAX; i++) {
- cmd_completion(mon, str, QKeyCode_lookup[i]);
- }
- } else if (!strcmp(cmd->name, "help|?")) {
+ if (!strcmp(cmd->name, "help|?")) {
monitor_find_completion_by_table(mon, cmd_table,
&args[1], nb_args - 1);
}
--
1.8.3.2
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [Qemu-devel] [PATCH 2/6] monitor: Add chardev-remove command completion.
2014-05-07 22:41 [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches Hani Benhabiles
2014-05-07 22:41 ` [Qemu-devel] [PATCH 1/6] monitor: Convert sendkey to use command_completion Hani Benhabiles
@ 2014-05-07 22:41 ` Hani Benhabiles
2014-05-07 22:41 ` [Qemu-devel] [PATCH 3/6] monitor: Add chardev-add backend argument completion Hani Benhabiles
` (6 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Hani Benhabiles @ 2014-05-07 22:41 UTC (permalink / raw)
To: qemu-devel; +Cc: kraxel, lcapitulino
Signed-off-by: Hani Benhabiles <hani@linux.com>
---
hmp-commands.hx | 1 +
hmp.h | 1 +
monitor.c | 23 +++++++++++++++++++++++
3 files changed, 25 insertions(+)
diff --git a/hmp-commands.hx b/hmp-commands.hx
index b4b23c8..ba88e2a 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1639,6 +1639,7 @@ ETEXI
.params = "id",
.help = "remove chardev",
.mhandler.cmd = hmp_chardev_remove,
+ .command_completion = chardev_remove_completion,
},
STEXI
diff --git a/hmp.h b/hmp.h
index 12e21e7..affc2b6 100644
--- a/hmp.h
+++ b/hmp.h
@@ -98,5 +98,6 @@ void object_del_completion(ReadLineState *rs, int nb_args, const char *str);
void device_add_completion(ReadLineState *rs, int nb_args, const char *str);
void device_del_completion(ReadLineState *rs, int nb_args, const char *str);
void sendkey_completion(ReadLineState *rs, int nb_args, const char *str);
+void chardev_remove_completion(ReadLineState *rs, int nb_args, const char *str);
#endif
diff --git a/monitor.c b/monitor.c
index 7ef251c..6316a29 100644
--- a/monitor.c
+++ b/monitor.c
@@ -4322,6 +4322,29 @@ static void device_del_bus_completion(ReadLineState *rs, BusState *bus,
}
}
+void chardev_remove_completion(ReadLineState *rs, int nb_args, const char *str)
+{
+ size_t len;
+ ChardevInfoList *list, *start;
+
+ if (nb_args != 2) {
+ return;
+ }
+ len = strlen(str);
+ readline_set_completion_index(rs, len);
+
+ start = list = qmp_query_chardev(NULL);
+ while (list) {
+ ChardevInfo *chr = list->value;
+
+ if (!strncmp(chr->label, str, len)) {
+ readline_add_completion(rs, chr->label);
+ }
+ list = list->next;
+ }
+ qapi_free_ChardevInfoList(start);
+}
+
void device_del_completion(ReadLineState *rs, int nb_args, const char *str)
{
size_t len;
--
1.8.3.2
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [Qemu-devel] [PATCH 3/6] monitor: Add chardev-add backend argument completion.
2014-05-07 22:41 [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches Hani Benhabiles
2014-05-07 22:41 ` [Qemu-devel] [PATCH 1/6] monitor: Convert sendkey to use command_completion Hani Benhabiles
2014-05-07 22:41 ` [Qemu-devel] [PATCH 2/6] monitor: Add chardev-remove command completion Hani Benhabiles
@ 2014-05-07 22:41 ` Hani Benhabiles
2014-05-07 22:41 ` [Qemu-devel] [PATCH 4/6] monitor: Add set_link arguments completion Hani Benhabiles
` (5 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Hani Benhabiles @ 2014-05-07 22:41 UTC (permalink / raw)
To: qemu-devel; +Cc: kraxel, lcapitulino
Signed-off-by: Hani Benhabiles <hani@linux.com>
---
hmp-commands.hx | 1 +
hmp.h | 1 +
monitor.c | 23 +++++++++++++++++++++++
3 files changed, 25 insertions(+)
diff --git a/hmp-commands.hx b/hmp-commands.hx
index ba88e2a..93fa534 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1623,6 +1623,7 @@ ETEXI
.params = "args",
.help = "add chardev",
.mhandler.cmd = hmp_chardev_add,
+ .command_completion = chardev_add_completion,
},
STEXI
diff --git a/hmp.h b/hmp.h
index affc2b6..f8e16a8 100644
--- a/hmp.h
+++ b/hmp.h
@@ -99,5 +99,6 @@ void device_add_completion(ReadLineState *rs, int nb_args, const char *str);
void device_del_completion(ReadLineState *rs, int nb_args, const char *str);
void sendkey_completion(ReadLineState *rs, int nb_args, const char *str);
void chardev_remove_completion(ReadLineState *rs, int nb_args, const char *str);
+void chardev_add_completion(ReadLineState *rs, int nb_args, const char *str);
#endif
diff --git a/monitor.c b/monitor.c
index 6316a29..dacff19 100644
--- a/monitor.c
+++ b/monitor.c
@@ -4252,6 +4252,29 @@ static const char *next_arg_type(const char *typestr)
return (p != NULL ? ++p : typestr);
}
+void chardev_add_completion(ReadLineState *rs, int nb_args, const char *str)
+{
+ size_t len;
+ ChardevBackendInfoList *list, *start;
+
+ if (nb_args != 2) {
+ return;
+ }
+ len = strlen(str);
+ readline_set_completion_index(rs, len);
+
+ start = list = qmp_query_chardev_backends(NULL);
+ while (list) {
+ const char *chr_name = list->value->name;
+
+ if (!strncmp(chr_name, str, len)) {
+ readline_add_completion(rs, chr_name);
+ }
+ list = list->next;
+ }
+ qapi_free_ChardevBackendInfoList(start);
+}
+
void device_add_completion(ReadLineState *rs, int nb_args, const char *str)
{
GSList *list, *elt;
--
1.8.3.2
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [Qemu-devel] [PATCH 4/6] monitor: Add set_link arguments completion.
2014-05-07 22:41 [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches Hani Benhabiles
` (2 preceding siblings ...)
2014-05-07 22:41 ` [Qemu-devel] [PATCH 3/6] monitor: Add chardev-add backend argument completion Hani Benhabiles
@ 2014-05-07 22:41 ` Hani Benhabiles
2014-05-07 22:41 ` [Qemu-devel] [PATCH 5/6] monitor: Add netdev_add type argument completion Hani Benhabiles
` (4 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Hani Benhabiles @ 2014-05-07 22:41 UTC (permalink / raw)
To: qemu-devel; +Cc: kraxel, lcapitulino
Make it possible to query all net clients without specifying an ID when calling
qemu_find_net_clients_except().
This also adds the add_completion_option() function which is to be used for
other commands completions as well.
Signed-off-by: Hani Benhabiles <hani@linux.com>
---
hmp-commands.hx | 1 +
hmp.h | 1 +
monitor.c | 34 ++++++++++++++++++++++++++++++++++
net/net.c | 2 +-
4 files changed, 37 insertions(+), 1 deletion(-)
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 93fa534..3e7b29c 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1340,6 +1340,7 @@ ETEXI
.params = "name on|off",
.help = "change the link status of a network adapter",
.mhandler.cmd = hmp_set_link,
+ .command_completion = set_link_completion,
},
STEXI
diff --git a/hmp.h b/hmp.h
index f8e16a8..91c9c85 100644
--- a/hmp.h
+++ b/hmp.h
@@ -100,5 +100,6 @@ void device_del_completion(ReadLineState *rs, int nb_args, const char *str);
void sendkey_completion(ReadLineState *rs, int nb_args, const char *str);
void chardev_remove_completion(ReadLineState *rs, int nb_args, const char *str);
void chardev_add_completion(ReadLineState *rs, int nb_args, const char *str);
+void set_link_completion(ReadLineState *rs, int nb_args, const char *str);
#endif
diff --git a/monitor.c b/monitor.c
index dacff19..5ead568 100644
--- a/monitor.c
+++ b/monitor.c
@@ -4252,6 +4252,17 @@ static const char *next_arg_type(const char *typestr)
return (p != NULL ? ++p : typestr);
}
+static void add_completion_option(ReadLineState *rs, const char *str,
+ const char *option)
+{
+ if (!str || !option) {
+ return;
+ }
+ if (!strncmp(option, str, strlen(str))) {
+ readline_add_completion(rs, option);
+ }
+}
+
void chardev_add_completion(ReadLineState *rs, int nb_args, const char *str)
{
size_t len;
@@ -4427,6 +4438,29 @@ void sendkey_completion(ReadLineState *rs, int nb_args, const char *str)
}
}
+void set_link_completion(ReadLineState *rs, int nb_args, const char *str)
+{
+ size_t len;
+
+ len = strlen(str);
+ readline_set_completion_index(rs, len);
+ if (nb_args == 2) {
+ NetClientState *ncs[255];
+ int count, i;
+ count = qemu_find_net_clients_except(NULL, ncs,
+ NET_CLIENT_OPTIONS_KIND_NONE, 255);
+ for (i = 0; i < count; i++) {
+ const char *name = ncs[i]->name;
+ if (!strncmp(str, name, len)) {
+ readline_add_completion(rs, name);
+ }
+ }
+ } else if (nb_args == 3) {
+ add_completion_option(rs, str, "on");
+ add_completion_option(rs, str, "off");
+ }
+}
+
static void monitor_find_completion_by_table(Monitor *mon,
const mon_cmd_t *cmd_table,
char **args,
diff --git a/net/net.c b/net/net.c
index 9db4dba..0ff2e40 100644
--- a/net/net.c
+++ b/net/net.c
@@ -633,7 +633,7 @@ int qemu_find_net_clients_except(const char *id, NetClientState **ncs,
if (nc->info->type == type) {
continue;
}
- if (!strcmp(nc->name, id)) {
+ if (!id || !strcmp(nc->name, id)) {
if (ret < max) {
ncs[ret] = nc;
}
--
1.8.3.2
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [Qemu-devel] [PATCH 5/6] monitor: Add netdev_add type argument completion.
2014-05-07 22:41 [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches Hani Benhabiles
` (3 preceding siblings ...)
2014-05-07 22:41 ` [Qemu-devel] [PATCH 4/6] monitor: Add set_link arguments completion Hani Benhabiles
@ 2014-05-07 22:41 ` Hani Benhabiles
2014-05-07 22:41 ` [Qemu-devel] [PATCH 6/6] monitor: Add netdev_del id " Hani Benhabiles
` (3 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Hani Benhabiles @ 2014-05-07 22:41 UTC (permalink / raw)
To: qemu-devel; +Cc: kraxel, lcapitulino
Also update the command's documentation.
Signed-off-by: Hani Benhabiles <hani@linux.com>
---
hmp-commands.hx | 3 ++-
hmp.h | 1 +
monitor.c | 15 +++++++++++++++
3 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 3e7b29c..a7f9b2f 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1234,9 +1234,10 @@ ETEXI
{
.name = "netdev_add",
.args_type = "netdev:O",
- .params = "[user|tap|socket|hubport|netmap],id=str[,prop=value][,...]",
+ .params = "[user|tap|socket|vde|bridge|hubport|netmap],id=str[,prop=value][,...]",
.help = "add host network device",
.mhandler.cmd = hmp_netdev_add,
+ .command_completion = netdev_add_completion,
},
STEXI
diff --git a/hmp.h b/hmp.h
index 91c9c85..bcecd0d 100644
--- a/hmp.h
+++ b/hmp.h
@@ -101,5 +101,6 @@ void sendkey_completion(ReadLineState *rs, int nb_args, const char *str);
void chardev_remove_completion(ReadLineState *rs, int nb_args, const char *str);
void chardev_add_completion(ReadLineState *rs, int nb_args, const char *str);
void set_link_completion(ReadLineState *rs, int nb_args, const char *str);
+void netdev_add_completion(ReadLineState *rs, int nb_args, const char *str);
#endif
diff --git a/monitor.c b/monitor.c
index 5ead568..a4c429c 100644
--- a/monitor.c
+++ b/monitor.c
@@ -4286,6 +4286,21 @@ void chardev_add_completion(ReadLineState *rs, int nb_args, const char *str)
qapi_free_ChardevBackendInfoList(start);
}
+void netdev_add_completion(ReadLineState *rs, int nb_args, const char *str)
+{
+ size_t len;
+ int i;
+
+ if (nb_args != 2) {
+ return;
+ }
+ len = strlen(str);
+ readline_set_completion_index(rs, len);
+ for (i = 0; NetClientOptionsKind_lookup[i]; i++) {
+ add_completion_option(rs, str, NetClientOptionsKind_lookup[i]);
+ }
+}
+
void device_add_completion(ReadLineState *rs, int nb_args, const char *str)
{
GSList *list, *elt;
--
1.8.3.2
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [Qemu-devel] [PATCH 6/6] monitor: Add netdev_del id argument completion.
2014-05-07 22:41 [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches Hani Benhabiles
` (4 preceding siblings ...)
2014-05-07 22:41 ` [Qemu-devel] [PATCH 5/6] monitor: Add netdev_add type argument completion Hani Benhabiles
@ 2014-05-07 22:41 ` Hani Benhabiles
2014-05-08 8:16 ` [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches Gerd Hoffmann
` (2 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Hani Benhabiles @ 2014-05-07 22:41 UTC (permalink / raw)
To: qemu-devel; +Cc: kraxel, lcapitulino
Signed-off-by: Hani Benhabiles <hani@linux.com>
---
hmp-commands.hx | 1 +
hmp.h | 1 +
monitor.c | 26 ++++++++++++++++++++++++++
3 files changed, 28 insertions(+)
diff --git a/hmp-commands.hx b/hmp-commands.hx
index a7f9b2f..2e462c0 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1252,6 +1252,7 @@ ETEXI
.params = "id",
.help = "remove host network device",
.mhandler.cmd = hmp_netdev_del,
+ .command_completion = netdev_del_completion,
},
STEXI
diff --git a/hmp.h b/hmp.h
index bcecd0d..aba59e9 100644
--- a/hmp.h
+++ b/hmp.h
@@ -102,5 +102,6 @@ void chardev_remove_completion(ReadLineState *rs, int nb_args, const char *str);
void chardev_add_completion(ReadLineState *rs, int nb_args, const char *str);
void set_link_completion(ReadLineState *rs, int nb_args, const char *str);
void netdev_add_completion(ReadLineState *rs, int nb_args, const char *str);
+void netdev_del_completion(ReadLineState *rs, int nb_args, const char *str);
#endif
diff --git a/monitor.c b/monitor.c
index a4c429c..7f68549 100644
--- a/monitor.c
+++ b/monitor.c
@@ -4476,6 +4476,32 @@ void set_link_completion(ReadLineState *rs, int nb_args, const char *str)
}
}
+void netdev_del_completion(ReadLineState *rs, int nb_args, const char *str)
+{
+ int len, count, i;
+ NetClientState *ncs[255];
+
+ if (nb_args != 2) {
+ return;
+ }
+
+ len = strlen(str);
+ readline_set_completion_index(rs, len);
+ count = qemu_find_net_clients_except(NULL, ncs, NET_CLIENT_OPTIONS_KIND_NIC,
+ 255);
+ for (i = 0; i < count; i++) {
+ QemuOpts *opts;
+ const char *name = ncs[i]->name;
+ if (strncmp(str, name, len)) {
+ continue;
+ }
+ opts = qemu_opts_find(qemu_find_opts_err("netdev", NULL), name);
+ if (opts) {
+ readline_add_completion(rs, name);
+ }
+ }
+}
+
static void monitor_find_completion_by_table(Monitor *mon,
const mon_cmd_t *cmd_table,
char **args,
--
1.8.3.2
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches
2014-05-07 22:41 [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches Hani Benhabiles
` (5 preceding siblings ...)
2014-05-07 22:41 ` [Qemu-devel] [PATCH 6/6] monitor: Add netdev_del id " Hani Benhabiles
@ 2014-05-08 8:16 ` Gerd Hoffmann
2014-05-15 18:33 ` Luiz Capitulino
2014-05-15 19:42 ` Hani Benhabiles
8 siblings, 0 replies; 12+ messages in thread
From: Gerd Hoffmann @ 2014-05-08 8:16 UTC (permalink / raw)
To: Hani Benhabiles; +Cc: qemu-devel, lcapitulino
On Mi, 2014-05-07 at 23:41 +0100, Hani Benhabiles wrote:
> Compared to v1:
> * Dropped patch 02/07 for help completion conversion.
> * Nothing else changed. 04,05 and 06 are R-b by Stefan.
>
> Hani Benhabiles (6):
> monitor: Convert sendkey to use command_completion.
> monitor: Add chardev-remove command completion.
> monitor: Add chardev-add backend argument completion.
Don't know much about readline completion internals, but the way the
valid choices are figured in these three patches looks sane to me.
cheers,
Gerd
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches
2014-05-07 22:41 [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches Hani Benhabiles
` (6 preceding siblings ...)
2014-05-08 8:16 ` [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches Gerd Hoffmann
@ 2014-05-15 18:33 ` Luiz Capitulino
2014-05-15 19:42 ` Hani Benhabiles
8 siblings, 0 replies; 12+ messages in thread
From: Luiz Capitulino @ 2014-05-15 18:33 UTC (permalink / raw)
To: Hani Benhabiles; +Cc: qemu-devel, kraxel
On Wed, 7 May 2014 23:41:26 +0100
Hani Benhabiles <kroosec@gmail.com> wrote:
> Compared to v1:
> * Dropped patch 02/07 for help completion conversion.
> * Nothing else changed. 04,05 and 06 are R-b by Stefan.
>
> Hani Benhabiles (6):
> monitor: Convert sendkey to use command_completion.
> monitor: Add chardev-remove command completion.
> monitor: Add chardev-add backend argument completion.
> monitor: Add set_link arguments completion.
> monitor: Add netdev_add type argument completion.
> monitor: Add netdev_del id argument completion.
>
> hmp-commands.hx | 8 ++-
> hmp.h | 6 +++
> monitor.c | 153 ++++++++++++++++++++++++++++++++++++++++++++++++++++----
> net/net.c | 2 +-
> 4 files changed, 158 insertions(+), 11 deletions(-)
>
Applied to the qmp branch, thanks.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches
2014-05-07 22:41 [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches Hani Benhabiles
` (7 preceding siblings ...)
2014-05-15 18:33 ` Luiz Capitulino
@ 2014-05-15 19:42 ` Hani Benhabiles
2014-05-15 20:10 ` Luiz Capitulino
8 siblings, 1 reply; 12+ messages in thread
From: Hani Benhabiles @ 2014-05-15 19:42 UTC (permalink / raw)
To: qemu-devel; +Cc: kraxel, lcapitulino
On Wed, May 07, 2014 at 11:41:26PM +0100, Hani Benhabiles wrote:
> Compared to v1:
> * Dropped patch 02/07 for help completion conversion.
> * Nothing else changed. 04,05 and 06 are R-b by Stefan.
>
> Hani Benhabiles (6):
> monitor: Convert sendkey to use command_completion.
> monitor: Add chardev-remove command completion.
> monitor: Add chardev-add backend argument completion.
> monitor: Add set_link arguments completion.
> monitor: Add netdev_add type argument completion.
> monitor: Add netdev_del id argument completion.
>
Ping.
Luiz, is there anything still holding this series ? All 6 patches are
Reviewed/Acked.
> hmp-commands.hx | 8 ++-
> hmp.h | 6 +++
> monitor.c | 153 ++++++++++++++++++++++++++++++++++++++++++++++++++++----
> net/net.c | 2 +-
> 4 files changed, 158 insertions(+), 11 deletions(-)
>
> --
> 1.8.3.2
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches
2014-05-15 19:42 ` Hani Benhabiles
@ 2014-05-15 20:10 ` Luiz Capitulino
2014-05-15 20:56 ` Hani Benhabiles
0 siblings, 1 reply; 12+ messages in thread
From: Luiz Capitulino @ 2014-05-15 20:10 UTC (permalink / raw)
To: Hani Benhabiles; +Cc: qemu-devel, kraxel
On Thu, 15 May 2014 20:42:03 +0100
Hani Benhabiles <kroosec@gmail.com> wrote:
> On Wed, May 07, 2014 at 11:41:26PM +0100, Hani Benhabiles wrote:
> > Compared to v1:
> > * Dropped patch 02/07 for help completion conversion.
> > * Nothing else changed. 04,05 and 06 are R-b by Stefan.
> >
> > Hani Benhabiles (6):
> > monitor: Convert sendkey to use command_completion.
> > monitor: Add chardev-remove command completion.
> > monitor: Add chardev-add backend argument completion.
> > monitor: Add set_link arguments completion.
> > monitor: Add netdev_add type argument completion.
> > monitor: Add netdev_del id argument completion.
> >
>
> Ping.
>
> Luiz, is there anything still holding this series ? All 6 patches are
> Reviewed/Acked.
I applied them a little more than one hour ago.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches
2014-05-15 20:10 ` Luiz Capitulino
@ 2014-05-15 20:56 ` Hani Benhabiles
0 siblings, 0 replies; 12+ messages in thread
From: Hani Benhabiles @ 2014-05-15 20:56 UTC (permalink / raw)
To: Luiz Capitulino; +Cc: qemu-devel, kraxel
On Thu, May 15, 2014 at 04:10:11PM -0400, Luiz Capitulino wrote:
> On Thu, 15 May 2014 20:42:03 +0100
> Hani Benhabiles <kroosec@gmail.com> wrote:
>
> > On Wed, May 07, 2014 at 11:41:26PM +0100, Hani Benhabiles wrote:
> > > Compared to v1:
> > > * Dropped patch 02/07 for help completion conversion.
> > > * Nothing else changed. 04,05 and 06 are R-b by Stefan.
> > >
> > > Hani Benhabiles (6):
> > > monitor: Convert sendkey to use command_completion.
> > > monitor: Add chardev-remove command completion.
> > > monitor: Add chardev-add backend argument completion.
> > > monitor: Add set_link arguments completion.
> > > monitor: Add netdev_add type argument completion.
> > > monitor: Add netdev_del id argument completion.
> > >
> >
> > Ping.
> >
> > Luiz, is there anything still holding this series ? All 6 patches are
> > Reviewed/Acked.
>
> I applied them a little more than one hour ago.
Thanks, just noticed it.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2014-05-15 20:56 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-07 22:41 [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches Hani Benhabiles
2014-05-07 22:41 ` [Qemu-devel] [PATCH 1/6] monitor: Convert sendkey to use command_completion Hani Benhabiles
2014-05-07 22:41 ` [Qemu-devel] [PATCH 2/6] monitor: Add chardev-remove command completion Hani Benhabiles
2014-05-07 22:41 ` [Qemu-devel] [PATCH 3/6] monitor: Add chardev-add backend argument completion Hani Benhabiles
2014-05-07 22:41 ` [Qemu-devel] [PATCH 4/6] monitor: Add set_link arguments completion Hani Benhabiles
2014-05-07 22:41 ` [Qemu-devel] [PATCH 5/6] monitor: Add netdev_add type argument completion Hani Benhabiles
2014-05-07 22:41 ` [Qemu-devel] [PATCH 6/6] monitor: Add netdev_del id " Hani Benhabiles
2014-05-08 8:16 ` [Qemu-devel] [PATCH 0/6] Miscellaneous command completion patches Gerd Hoffmann
2014-05-15 18:33 ` Luiz Capitulino
2014-05-15 19:42 ` Hani Benhabiles
2014-05-15 20:10 ` Luiz Capitulino
2014-05-15 20:56 ` Hani Benhabiles
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).