On Mon, Jun 30, 2025 at 02:17:29PM +0800, Zhenzhong Duan wrote:
> When TD VM reboot, qemu process is recreated by destroying old and
> creating new one. When new qemu process starts, it sends a RESUME
> event while libvirt domain isn't in run state yet. Then event
> VIR_DOMAIN_EVENT_RESUMED is sent out and confuse control plane.
> 
> Check priv->pausedShutdown and bypass the event for TD VM, for
> normal VM, domain is in run state and already bypassing it.
> 
> Signed-off-by: Zhenzhong Duan <zhenzhong.d...@intel.com>
> ---
>  src/qemu/qemu_process.c | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)

Reviewed-by: Daniel P. Berrangé <berra...@redhat.com>

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

Reply via email to