>> >> This was recently changed, it now outputs to the serial port. >> >> Try >> >> >> qemu-system-x86_64 -device testdev,chardev=testlog -chardev >> file,id=testlog,path=apic.out -serial stdio -kernel ./x86/apic.flat >> >> > > Thanks Avi, I got test log as: > > enabling apic > paging enabled > cr0 = 80010011 > cr3 = 7fff000 > cr4 = 20 > apic version: 50014 > apic existence: PASS > enabling apic > x2apic not detected > self ipi: PASS > ioapic interrupt: PASS > ioapic simultaneous interrupt: PASS > tsc deadline timer: PASS > tsc deadline timer enabled > > summary: 5 tests, 0 failures > BTW, it better update kvm-unit-tests README. Thanks, Jinsong ===================== >From ba2da790502f0ce2fb6dba9fc848cba041d051f8 Mon Sep 17 00:00:00 2001 From: Liu, Jinsong <jinsong.liu@xxxxxxxxx> Date: Sun, 9 Oct 2011 23:35:48 +0800 Subject: [PATCH] Update README example Signed-off-by: Liu, Jinsong <jinsong.liu@xxxxxxxxx> Signed-off-by: Avi Kivity <avi@xxxxxxxxxx> --- README | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index 9c0c518..4ceb869 100644 --- a/README +++ b/README @@ -10,8 +10,8 @@ To create the tests' images just type 'make' in this directory. Tests' images created in ./<ARCH>/*.flat An example of a test invocation: -qemu-system-x86_64 -device testdev,chardev=testlog -chardev file,id=testlog,path=msr.out -kernel ./x86/msr.flat -This invocation runs the msr test case. The test output is in file msr.out. +qemu-system-x86_64 -device testdev,chardev=testlog -chardev file,id=testlog,path=msr.out -serial stdio -kernel ./x86/msr.flat +This invocation runs the msr test case. The test outputs to stdio. -- 1.6.5.6
Attachment:
update-kvm-unit-tests-README.patch
Description: update-kvm-unit-tests-README.patch