mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
monitor: add object-del (QMP) and object_del (HMP) command
These two commands invoke the "unparent" method of Object. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Tested-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
b0ed5e9fea
commit
ab2d0531b2
6 changed files with 77 additions and 0 deletions
|
@ -1241,6 +1241,20 @@ STEXI
|
|||
@item netdev_del
|
||||
@findex netdev_del
|
||||
Remove host network device.
|
||||
ETEXI
|
||||
|
||||
{
|
||||
.name = "object_del",
|
||||
.args_type = "id:s",
|
||||
.params = "id",
|
||||
.help = "destroy QOM object",
|
||||
.mhandler.cmd = hmp_object_del,
|
||||
},
|
||||
|
||||
STEXI
|
||||
@item object_del
|
||||
@findex object_del
|
||||
Destroy QOM object.
|
||||
ETEXI
|
||||
|
||||
#ifdef CONFIG_SLIRP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue