]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: refresh state after reboot initiated from the guest
authorKristina Hanicova <khanicov@redhat.com>
Tue, 6 Dec 2022 13:58:19 +0000 (14:58 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 6 Dec 2022 15:24:52 +0000 (16:24 +0100)
commit75952d18740300bb630fb20bfd9d8b49e6cdb767
treeacf6c5d2b0f8f3723893d5421cd7550eee541f31
parentf47af66624f67a0db1967a5f8c86d4e4c41e0194
qemu: refresh state after reboot initiated from the guest

Internal domain state needs to be refreshed after reset from the guest
side because it may be inconsistent with the internal qemu state.

Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c
src/qemu/qemu_process.c