[PATCH 1/3] qemu: Init address before qemuProcessShutdownOrReboot during reconnect process
Michal Prívozník
mprivozn at redhat.com
Wed Oct 12 12:49:14 UTC 2022
On 9/28/22 15:53, Jiang Jiacheng wrote:
> When libvirt is restarted, the qemuProcessShutdownReboot command is
> executed to restore the VM that is being restarted. In this case, a
> coredump may occur when we hotplug a pci device since the PCI address
> hasn't be inited yet. Moving the initialization of address to the front
> of qemuProcessShutdownOrReboot to ensure that we have the address inited.
>
> Signed-off-by: Jiang Jiacheng <jiangjiacheng at huawei.com>
> ---
> src/qemu/qemu_process.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
Reviewed-by: Michal Privoznik <mprivozn at redhat.com>
and pushed.
Michal
More information about the libvir-list
mailing list