Hi,
I am using kvm-79 and see some issues while trying to build/run some
tests  ( located in /kvm-79/user/test/x86 directory)

1)        The first test I try to build is irq.flat from /kvm-79/user directory

           make test/x86/irq.flat

           the test build fails with following errors

gcc  -D__i386__ -I /home/xxxxx/KVM/new/kvm-79/kernel/include -m32 -O1
-MMD -MF test/x86/.print.d -g -fomit-frame-pointer -Wall
-fno-stack-protector   -I ../libkvm -std=gnu99 -ffreestanding -I
test/lib -I test/lib/x86 -c -nostdlib -o test/x86/print.o
test/x86/print.S
test/x86/print.S: Assembler messages:
test/x86/print.S:8: Error: bad register name `%rdi'
test/x86/print.S:8: Error: bad register name `%rdi'
test/x86/print.S:8: Error: bad register name `%rdi'
test/x86/print.S:14: Error: bad register name `%rax'
test/x86/print.S:15: Error: bad register name `%rsi'
test/x86/print.S:16: Error: bad register name `%rdx'
test/x86/print.S:18: Error: bad register name `%rdi'
test/x86/print.S:22: Error: bad register name `%rsi)'
test/x86/print.S:28: Error: bad register name `%rdx'
test/x86/print.S:29: Error: bad register name `%rsi'
test/x86/print.S:30: Error: bad register name `%rax'
make: *** [test/x86/print.o] Error 1

Do I miss something here?

2. I compiled the test smptest.flat successfully.  This test with 1
cpu seems to work fine however with multiple cpus it always hangs.
why?

make test/x86/smptest.flat


with 1 cpu:-

./kvmctl --smp=1 ./test/x86/bootstrap ./test/x86/smptest.flat
GUEST: found 1 cpus
GUEST: ipi called, cpu 0


with 2 or more cpus test hangs

./kvmctl --smp=4 ./test/x86/bootstrap ./test/x86/smptest.flat


<need to CTRL-C to terminate the run>




Any help will be appreciated

Thanks
Abhishek
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to