[PATCH] qemu-kvm tests: make hypercall test runable on 32-bit host

2010-06-01 Thread Asias He
Signed-off-by: Asias He 
---
 kvm/test/config-x86-common.mak |5 +++--
 kvm/test/config-x86_64.mak |3 +--
 2 files changed, 4 insertions(+), 4 deletions(-)

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
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] qemu-kvm tests: make hypercall test runable on 32-bit host

2010-06-02 Thread Marcelo Tosatti
On Tue, Jun 01, 2010 at 10:02:34PM +0800, Asias He wrote:
> Signed-off-by: Asias He 
> ---
>  kvm/test/config-x86-common.mak |5 +++--
>  kvm/test/config-x86_64.mak |3 +--
>  2 files changed, 4 insertions(+), 4 deletions(-)

Applied, thanks.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html