diff options
author | Thomas Huth <thuth@redhat.com> | 2023-10-20 16:55:54 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-11-01 16:13:58 +0100 |
commit | 6436db5a609c16c57e50e525e45e2b88cf925fff (patch) | |
tree | 5f9d31bec9b4b2495151a17dc1611ffe261f1e6c /qga/commands-posix-ssh.c | |
parent | 6c9ae1ce82b65faa3f266fd103729878cf11e07e (diff) | |
download | qemu-6436db5a609c16c57e50e525e45e2b88cf925fff.zip qemu-6436db5a609c16c57e50e525e45e2b88cf925fff.tar.gz qemu-6436db5a609c16c57e50e525e45e2b88cf925fff.tar.bz2 |
hw/ipmi: Don't call vmstate_register() from instance_init() functions
instance_init() can be called multiple times, e.g. during introspection
of the device. We should not install the vmstate handlers here. Do it
in the realize() function instead.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Acked-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231020145554.662751-1-thuth@redhat.com>
Diffstat (limited to 'qga/commands-posix-ssh.c')
0 files changed, 0 insertions, 0 deletions