Re: [PATCH 1/3] qemu: Init address before qemuProcessShutdownOrReboot during reconnect process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  src/qemu/qemu_process.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx>

and pushed.

Michal




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux