qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 0/3] S3 and S4 sleep for loongarch/virt & microvm


From: Igor Mammedov
Subject: Re: [PATCH 0/3] S3 and S4 sleep for loongarch/virt & microvm
Date: Thu, 25 Jul 2024 09:52:34 +0200

On Sat, 15 Jun 2024 09:45:48 +0800
maobibo <maobibo@loongson.cn> wrote:

> On 2024/6/14 下午10:03, Daniel P. Berrangé wrote:
> > On Fri, Jun 14, 2024 at 01:17:39PM +0800, maobibo wrote:  
> >>
> >>
> >> On 2024/6/14 下午12:27, Jiaxun Yang wrote:  
> >>>
> >>>
> >>> 在2024年6月14日六月 上午4:32,maobibo写道:  
> >>>> It is interesting.
> >>>>
> >>>> How to wakeup VM if it sleeps in S3/S4, from emulated keyboard or
> >>>> ethernet magic packet or qemu monitor command in background?  
> >>>
> >>> Hi Bibo,
> >>>
> >>> The best way to wake the guest is system_wakeup command in monitor.  
> >> Ok, I see.
> >>
> >> It is useful and it can be used to test S3/S4 in TCG mode at least.
> >>
> >> Can we add feature capability, enabled in TCG mode, disabled in KVM mode by
> >> default? If vm deploys in cloud, users in general help it is power-on
> >> always.  
> > 
> > Please avoid creating differing defaults between TCG and KVM where
> > practical.  
> There is bad experience for me, remote VM suddenly freezes and all 
> network connection are lost if virt-machine does not support S3/S4 on 
> LoongArch machines.
> 
> However it does not happen on x86 machine, how does x86 KVM VM machine 
> stop this?

S3 support in linux was rather unreliable (that's the reason why RHEL
disables it downstream even for x86), it might be even more so for
LoongArch machines.

The best approach would be to find the actual reason why your guest
freezes in KVM mode. (it might be be a bug on qemu/kvm side or
a guest bug that needs fixing)

> Regards
> Bibo Mao
> > 
> > With regards,
> > Daniel
> >   
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]