]> Git Repo - qemu.git/blobdiff - hmp.c
target-i386: Fix x86_cpuid_set_model_id()
[qemu.git] / hmp.c
diff --git a/hmp.c b/hmp.c
index 9cf2d1345bcfe738a9d92bc98fedef8c79d1fb34..f3e5163f1e4e0d98d91877aa85f1f8469336eb26 100644 (file)
--- a/hmp.c
+++ b/hmp.c
@@ -934,3 +934,12 @@ void hmp_migrate(Monitor *mon, const QDict *qdict)
         qemu_mod_timer(status->timer, qemu_get_clock_ms(rt_clock));
     }
 }
+
+void hmp_device_del(Monitor *mon, const QDict *qdict)
+{
+    const char *id = qdict_get_str(qdict, "id");
+    Error *err = NULL;
+
+    qmp_device_del(id, &err);
+    hmp_handle_error(mon, &err);
+}
This page took 0.024474 seconds and 4 git commands to generate.