From: Zhu Yijun <zhuyijun@huawei.com>
To: <kvm@vger.kernel.org>, Paolo Bonzini <pbonzini@redhat.com>
Cc: <oscar.zhangbo@huawei.com>, Hangaohuai <hangaohuai@huawei.com>
Subject: [question kvm-unit-tests] FAIL about apic testcase
Date: Tue, 12 Apr 2016 21:34:53 +0800 [thread overview]
Message-ID: <570CF97D.6040809@huawei.com> (raw)
Hi all,
I run kvm-unit-tests on rhel_7.0, and the apic unittest failed. test.log file showed as follow:
qemu-kvm -enable-kvm -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -kernel x86/apic.flat -smp 2 -cpu qemu64,+x2apic,+tsc-deadline
enabling apic
enabling apic
paging enabled
cr0 = 80010011
cr3 = 7fff000
cr4 = 20
apic version: 1050014
PASS: apic existence
x2apic enabled
FAIL: x2apic enabled to invalid state
FAIL: x2apic enabled to apic enabled
FAIL: disabled to invalid state
FAIL: disabled to x2apic enabled
FAIL: apic enabled to invalid state
PASS: apicbase: relocate apic
FAIL: apicbase: reserved physaddr bits
FAIL: apicbase: reserved low bits
PASS: self ipi
PASS: nmi-after-sti
PASS: multiple nmi
tsc deadline timer not detected
SUMMARY: 12 tests, 7 unexpected failures
I found that all the tests with "test_for_exception()" failed. After looking at this function, I cannot understand the macro:
"#define set_exception_jmpbuf(jmpbuf) \
(setjmp(jmpbuf) ? : (__set_exception_jmpbuf(&(jmpbuf)), 0))"
So it it always return 0? and what's mean about the statement "(__set_exception_jmpbuf(&(jmpbuf)), 0)"?
Thanks in advance!
Zhu Yijun
next reply other threads:[~2016-04-12 13:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-12 13:34 Zhu Yijun [this message]
2016-04-12 21:16 ` [question kvm-unit-tests] FAIL about apic testcase Paolo Bonzini
2016-04-13 1:35 ` Yang Zhang
2016-04-13 1:50 ` Zhu Yijun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=570CF97D.6040809@huawei.com \
--to=zhuyijun@huawei.com \
--cc=hangaohuai@huawei.com \
--cc=kvm@vger.kernel.org \
--cc=oscar.zhangbo@huawei.com \
--cc=pbonzini@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.