From mboxrd@z Thu Jan 1 00:00:00 1970 From: sudhir kumar Subject: Re: [KVM_AUTOTEST] add kvm hugepage variant and test Date: Fri, 10 Jul 2009 10:08:57 +0530 Message-ID: References: <4A55B759.5080302@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: KVM list , Jason Wang To: =?ISO-8859-2?B?THVr4bkgRG9rdG9y?= Return-path: Received: from wf-out-1314.google.com ([209.85.200.168]:35883 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750885AbZGJEi6 convert rfc822-to-8bit (ORCPT ); Fri, 10 Jul 2009 00:38:58 -0400 Received: by wf-out-1314.google.com with SMTP id 26so185566wfd.4 for ; Thu, 09 Jul 2009 21:38:57 -0700 (PDT) In-Reply-To: <4A55B759.5080302@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Why do you want to use a control file and put the libhugetlbfs as a variant of autotest in kvm? Just keeping the kvm_hugepages variant will not serve the same purpose ? I have been using hugetlbfs variant for a long but yes without pre script(I have done that manually)? Am I missing something here? Rest all looks fine to me except you need somewhere s/enaugh/enough 2009/7/9 Luk=E1=B9 Doktor : > This patch adds kvm_hugepage variant. It prepares the host system and= start > vm with -mem-path option. It does not clean after itself, because it'= s > impossible to unmount and free hugepages before all guests are destro= yed. > > There is also added autotest.libhugetlbfs test. > > I need to ask you what to do with change of qemu parameter. Newest ve= rsions > are using -mempath insted of -mem-path. This is impossible to fix usi= ng > current config file. I can see 2 solutions: > 1) direct change in kvm_vm.py (parse output and try another param) > 2) detect qemu capabilities outside and create additional layer (bett= er for > future occurrence) > > Tested by:ldoktor@redhat.com on RHEL5.4 with kvm-83-72.el5 > --=20 Sudhir Kumar