[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] Adding pc-testdev to qemu v3
From: |
Lucas Meneghel Rodrigues |
Subject: |
[Qemu-devel] [PATCH 0/2] Adding pc-testdev to qemu v3 |
Date: |
Tue, 9 Oct 2012 10:03:51 -0300 |
These two patches introduce:
1) A ISA debugexit port device, that when written, causes qemu
to exit with the exit code passed as parameter.
2) A port of the existing testdev present on qemu-kvm to qemu
I think now I've got all comments made by Jan sorted out.
I did notice that with the new test device, a lot of the
kvm-unit-tests are failing. The same tests are passing fine
under qemu-kvm, meaning there are some bugs we need to address.
Example:
qemu-kvm:
$ x86_64-softmmu/qemu-system-x86_64 -device testdev -serial stdio -kernel
/path/to/kvm/unittests/pcid.flat
VNC server running on `127.0.0.1:5900'
enabling apic
CPUID consistency: PASS
Test on PCID when disabled: PASS
Test on INVPCID when disabled: PASS
3 tests, 0 failures
$ echo $?
0
qemu:
$ x86_64-softmmu/qemu-system-x86_64 -device pc-testdev -serial stdio -device
isa-debugexit,iobase=0xf4,access-size=4 -kernel /path/to/kvm/unittests/pcid.flat
VNC server running on `127.0.0.1:5900'
enabling apic
CPUID consistency: PASS
Test on PCID when disabled: FAIL
Test on INVPCID when disabled: PASS
3 tests, 1 failures
$ echo $?
3
Hervé Poussineau (1):
debugexit: support for custom exit port (LGPL VGA BIOS port 0x501) v2
Lucas Meneghel Rodrigues (1):
hw: Add test device for unittests execution v4
hw/debugexit.c | 75 +++++++++++++++++++++++
hw/i386/Makefile.objs | 3 +-
hw/pc-testdev.c | 167 ++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 244 insertions(+), 1 deletion(-)
create mode 100644 hw/debugexit.c
create mode 100644 hw/pc-testdev.c
--
1.7.11.4
- [Qemu-devel] [PATCH 0/2] Adding pc-testdev to qemu v3,
Lucas Meneghel Rodrigues <=