Skip to contentSkip to conversation

qemu-doc: Mention host_net_add/-remove in the deprecation chapter

PATCH Applied Thomas Huth 2 participants 3 messages Aug 10, 2017 – Aug 14, 2017

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu-doc: Mention host_net_add/-remove in the deprecation chapter

The two HMP commands host_net_add and -remove have recently been marked as deprecated, too, so we should now mention them in the chapter of deprecated features.

---
 qemu-doc.texi | 8 ++++++++
 1 file changed, 8 insertions(+)
qemu-doc.texi +8 -0
index aeb7bc5..7b62fdf 100644
@@ -3283,6 +3283,14 @@ by the ``convert -l snapshot_param'' argument instead.
 
 @section System emulator human monitor commands
 
+@subsection host_net_add (since 2.10.0)
+
+The ``host_net_add'' command is replaced by the ``netdev_add'' command.
+
+@subsection host_net_remove (since 2.10.0)
+
+The ``host_net_remove'' command is replaced by the ``host_net_remove'' command.
+
 @subsection usb_add (since 2.10.0)
 
 The ``usb_add'' command is replaced by the ``device_add'' command.
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 14 lines · Thomas Huth

The two HMP commands host_net_add and -remove have recently been marked as deprecated, too, so we should now mention them in the chapter of deprecated features.

---
 qemu-doc.texi | 8 ++++++++
 1 file changed, 8 insertions(+)
qemu-doc.texi +0 -0
index aeb7bc5..7b62fdf 100644

qemu-doc.texi by the ``convert -l snapshot_param'' argument instead. · line 3292

Quoted 10 lines
qemu-doc.texi +7 -0
@@ -3283,6 +3283,14 @@ by the ``convert -l snapshot_param'' argument instead.
 
 @section System emulator human monitor commands
 
+@subsection host_net_add (since 2.10.0)
+
+The ``host_net_add'' command is replaced by the ``netdev_add'' command.
+
+@subsection host_net_remove (since 2.10.0)
+
+The ``host_net_remove'' command is replaced by the ``host_net_remove'' command.

D'oh, stupid copy-n-paste bug ... that should be replaced by "netdev_del" of course instead. I'll send a v2...

Thomas

Applied
#2 lore raw
In reply to Thomas Huth
Quoted 18 lines · Thomas Huth

The two HMP commands host_net_add and -remove have recently been marked as deprecated, too, so we should now mention them in the chapter of deprecated features.

---
  qemu-doc.texi | 8 ++++++++
  1 file changed, 8 insertions(+)
qemu-doc.texi +1 -0
index aeb7bc5..7b62fdf 100644
@@ -3283,6 +3283,14 @@ by the ``convert -l snapshot_param'' argument instead.
 
  @section System emulator human monitor commands
 
+@subsection host_net_add (since 2.10.0)

qemu-doc.texi by the ``convert -l snapshot_param'' argument instead. · line 3296

Quoted 10 lines
qemu-doc.texi +7 -0
+
+The ``host_net_add'' command is replaced by the ``netdev_add'' command.
+
+@subsection host_net_remove (since 2.10.0)
+
+The ``host_net_remove'' command is replaced by the ``host_net_remove'' command.
+
  @subsection usb_add (since 2.10.0)
 
  The ``usb_add'' command is replaced by the ``device_add'' command.

Applied, thanks.