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 <jiangjiach...@huawei.com> > --- > src/qemu/qemu_process.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-)
Reviewed-by: Michal Privoznik <mpriv...@redhat.com> and pushed. Michal