From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Wang Subject: Re: [PATCH 4/4] KVM test: Enable timedrift for Linux guests Date: Wed, 24 Mar 2010 11:13:33 +0800 Message-ID: <4BA9835D.4020303@redhat.com> References: <346163263.3898461269258300968.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: autotest@test.kernel.org, kvm@vger.kernel.org To: Michael Goldish Return-path: In-Reply-To: <346163263.3898461269258300968.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autotest-bounces@test.kernel.org Errors-To: autotest-bounces@test.kernel.org List-Id: kvm.vger.kernel.org Michael Goldish wrote: > ----- "Jason Wang" wrote: > > >> We should also test timedrift for Linux guests especially for guest >> with pvclock. So this patch enable the timedrift for linux guests. >> >> Signed-off-by: Jason Wang >> --- >> client/tests/kvm/tests_base.cfg.sample | 11 ++++++++++- >> 1 files changed, 10 insertions(+), 1 deletions(-) >> >> diff --git a/client/tests/kvm/tests_base.cfg.sample >> b/client/tests/kvm/tests_base.cfg.sample >> index 8cc83a9..dcd0dcf 100644 >> --- a/client/tests/kvm/tests_base.cfg.sample >> +++ b/client/tests/kvm/tests_base.cfg.sample >> @@ -330,7 +330,7 @@ variants: >> variants: >> # Linux section >> - @Linux: >> - no timedrift autoit >> + no autoit >> shutdown_command = shutdown -h now >> reboot_command = shutdown -r now >> status_test_command = echo $? >> @@ -342,6 +342,15 @@ variants: >> file_transfer_port = 22 >> mem_chk_cmd = dmidecode -t 17 | awk -F: '/Size/ {print $2}' >> cpu_chk_cmd = grep -c processor /proc/cpuinfo >> + timedrift: >> + time_command = date +'TIME: %a %m/%d/%Y %H:%M:%S.%N' >> + time_filter_re = "(?:TIME: \w\w\w )(.{19})(?:\.\d\d)" >> + time_format = "%m/%d/%Y %H:%M:%S" >> + guest_load_command = "dd if=/dev/urandom of=/dev/null" >> + guest_load_instances = 2 >> + guest_load_clean_cmd = "killall -9 dd" >> > > I think this should be 'guest_load_stop_command'. > Other than that, looks good to me. > > Thanks for pointing this, would resend this patch. >> + host_load_command = "bzip2 -c --best /dev/urandom > >> /dev/null" >> + host_load_instances = 8 >> >> variants: >> - Fedora: >> >> _______________________________________________ >> Autotest mailing list >> Autotest@test.kernel.org >> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest >> > -- > 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 >