All of lore.kernel.org
 help / color / mirror / Atom feed
* KVM test issues (irq.flat and smptest.flat)
@ 2008-11-28 22:40 Abhishek Saksena
  2008-11-30  9:45 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Abhishek Saksena @ 2008-11-28 22:40 UTC (permalink / raw)
  To: kvm

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-30  9:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-28 22:40 KVM test issues (irq.flat and smptest.flat) Abhishek Saksena
2008-11-30  9:45 ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.