Re: [PATCH] Increase waiting time before first session check in kvm_test_utils.reboot

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Goldish
Date: Thursday, November 26, 2009 - 12:08 am

----- "Chen Cao" <kcao@redhat.com> wrote:


By default, is_responsive() waits 5 secs before deciding the session
is unresponsive.  You can change that line to:

if not kvm_utils.wait_for(lambda: not session.is_responsive(timeout=20),

to give the session 20 secs to respond before it's deemed unresponsive.
You can also make it 30.  Will that be long enough?

BTW, I'm just curious -- what load is running on the guest?
Why would you want to reboot while the guest is loaded?

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Increase waiting time before first session che ..., Michael Goldish, (Thu Nov 26, 12:08 am)
Re: [Autotest] [PATCH] Increase waiting time before first ..., Lucas Meneghel Rodrigues, (Wed Dec 2, 6:21 am)