diff options
author | Paolo Bonzini | 2020-11-03 10:39:02 +0100 |
---|---|---|
committer | Paolo Bonzini | 2021-05-26 14:49:45 +0200 |
commit | 9e33013bd494b43c81a2730b9f5cba2b5743343b (patch) | |
tree | 78fd352b02dd09a4f99f5d40566c8e53ec33c33b /hmp-commands.hx | |
parent | i386/cpu: Expose AVX_VNNI instruction to guest (diff) | |
download | qemu-9e33013bd494b43c81a2730b9f5cba2b5743343b.tar.gz qemu-9e33013bd494b43c81a2730b9f5cba2b5743343b.tar.xz qemu-9e33013bd494b43c81a2730b9f5cba2b5743343b.zip |
object: add more commands to preconfig mode
Creating and destroying QOM objects does not require a fully constructed
machine. Allow running object-add and object-del before machine
initialization has concluded.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r-- | hmp-commands.hx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx index 435c591a1c..146a13c896 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -1297,6 +1297,7 @@ ERST .help = "create QOM object", .cmd = hmp_object_add, .command_completion = object_add_completion, + .flags = "p", }, SRST @@ -1311,6 +1312,7 @@ ERST .help = "destroy QOM object", .cmd = hmp_object_del, .command_completion = object_del_completion, + .flags = "p", }, SRST |