From patchwork Tue Jun 1 14:02:34 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Asias He X-Patchwork-Id: 103542 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o51E2aK0003071 for ; Tue, 1 Jun 2010 14:02:37 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755952Ab0FAOCe (ORCPT ); Tue, 1 Jun 2010 10:02:34 -0400 Received: from mail-px0-f174.google.com ([209.85.212.174]:52322 "EHLO mail-px0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753328Ab0FAOCd (ORCPT ); Tue, 1 Jun 2010 10:02:33 -0400 Received: by pxi18 with SMTP id 18so1915239pxi.19 for ; Tue, 01 Jun 2010 07:02:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:x-mailer; bh=U1mgaBXgB0rcmV4U2zvwGRl4AOs71jcgTVZSSeLKFJ4=; b=Rq0Ok9ZsyKGIYz0gfrDUvCg6pg3KegBm8pzDdnOAoVdaeAtmC13XX3D0H3TP7MAQfp CDj5COwLB/rGxeE8Ras6UgQHp23V1CmYOZMIORjP2/lITkAahKKAQ43eHVhsJ8PD/STG 4v6yB57iHSxXSxSI4PoViAd5nWQDEntEqG6sU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:x-mailer; b=dB9x8Q0BpTKX9riG3oeO1xqVAmaAmCj/F+g9Yl7WBXfrhxvV7YuHInxI5g/qvF7V9t 8S8qSQ8gOiZ6AJGccmYoHR1telkyYia2XG0kMsPbrb6MDNctKJjQXykZYfVpYMkglT7T iVxaX619TXeZbbA7ysD6bZfbwyxtqjVWM3+XI= Received: by 10.114.186.17 with SMTP id j17mr4885830waf.108.1275400952574; Tue, 01 Jun 2010 07:02:32 -0700 (PDT) Received: from localhost.localdomain ([219.224.169.130]) by mx.google.com with ESMTPS id c14sm59692860waa.1.2010.06.01.07.02.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Jun 2010 07:02:31 -0700 (PDT) From: Asias He To: kvm@vger.kernel.org, Avi Kivity , Naphtali Sprei Subject: [PATCH] qemu-kvm tests: make hypercall test runable on 32-bit host Date: Tue, 1 Jun 2010 22:02:34 +0800 Message-Id: <1275400954-10296-1-git-send-email-asias.hejun@gmail.com> X-Mailer: git-send-email 1.7.1 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 01 Jun 2010 14:02:37 +0000 (UTC) diff --git a/kvm/test/config-x86-common.mak b/kvm/test/config-x86-common.mak index 9084e2d..38dbf5a 100644 --- a/kvm/test/config-x86-common.mak +++ b/kvm/test/config-x86-common.mak @@ -24,7 +24,8 @@ FLATLIBS = lib/libcflat.a $(libgcc) tests-common = $(TEST_DIR)/vmexit.flat $(TEST_DIR)/tsc.flat \ $(TEST_DIR)/smptest.flat $(TEST_DIR)/port80.flat \ - $(TEST_DIR)/realmode.flat $(TEST_DIR)/msr.flat + $(TEST_DIR)/realmode.flat $(TEST_DIR)/msr.flat \ + $(TEST_DIR)/hypercall.flat test_cases: $(tests-common) $(tests) @@ -32,7 +33,7 @@ $(TEST_DIR)/%.o: CFLAGS += -std=gnu99 -ffreestanding -I lib -I lib/x86 $(TEST_DIR)/access.flat: $(cstart.o) $(TEST_DIR)/access.o $(TEST_DIR)/print.o -$(TEST_DIR)/hypercall.flat: $(cstart.o) $(TEST_DIR)/hypercall.o $(TEST_DIR)/print.o +$(TEST_DIR)/hypercall.flat: $(cstart.o) $(TEST_DIR)/hypercall.o $(TEST_DIR)/sieve.flat: $(cstart.o) $(TEST_DIR)/sieve.o \ $(TEST_DIR)/print.o $(TEST_DIR)/vm.o diff --git a/kvm/test/config-x86_64.mak b/kvm/test/config-x86_64.mak index b898ece..cc7d7d7 100644 --- a/kvm/test/config-x86_64.mak +++ b/kvm/test/config-x86_64.mak @@ -5,7 +5,6 @@ ldarch = elf64-x86-64 CFLAGS += -D__x86_64__ tests = $(TEST_DIR)/access.flat $(TEST_DIR)/sieve.flat \ - $(TEST_DIR)/emulator.flat $(TEST_DIR)/hypercall.flat \ - $(TEST_DIR)/apic.flat + $(TEST_DIR)/emulator.flat $(TEST_DIR)/apic.flat include config-x86-common.mak