[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 4/7] tests: Add unit test for X86CPU code
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v2 4/7] tests: Add unit test for X86CPU code |
Date: |
Wed, 01 Oct 2014 00:20:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 |
Il 30/09/2014 20:26, Eduardo Habkost ha scritto:
> Reasoning for each object file included in the test binary:
> * qom/cpu.o - for TYPE_CPU. Dependencies:
> * qom/qom-qobject.o
> * qom/qdev.o - for TYPE_DEVICE. Dependencies:
> * qom/container.o
> * vmstate.o. Dependencies:
> * qemu-file.o
> * hw/core/hotplug.o
> * hw/core/irq.o
> * hw/core/fw-path-provider.o
> * hw/core/qdev-properties.o
> * qom/object.o - for TYPE_OBJECT
> * x86_64-softmmu/target-i386/machine.o - for vmstate_x86_cpu
> * qemu-log.o - for the logging API, used by target-i386/cpu.c
> * libqemuutil.a - for QAPI visitors, error API, and other symbols
> * libqemustub.a - existing stubs, including: savevm, monitor symbols
>
> The remaining symbols used by target-i386/cpu.c were added as stubs to
> either tests/vl-stub.c and tests/x86-stub.c.
Nice. Luckily qemu-log.o doesn't bring in everything.
I think vl-stub.c has to be re-evaluated after your QOM accelerator
patch goes in.
tests/x86-stub.c perhaps can be moved to target-i386/test-stubs.c?
Paolo
- [Qemu-devel] [PATCH v2 0/7] Target-specific unit test support, add unit tests for target-i386/cpu.c code, Eduardo Habkost, 2014/09/30
- [Qemu-devel] [PATCH v2 1/7] tests: Move fake yield_until_fd_readable() to coroutine-stub.c, Eduardo Habkost, 2014/09/30
- [Qemu-devel] [PATCH v2 3/7] tests: Make test-x86-cpuid target-specific, Eduardo Habkost, 2014/09/30
- [Qemu-devel] [PATCH v2 2/7] tests: Support target-specific unit tests, Eduardo Habkost, 2014/09/30
- [Qemu-devel] [PATCH v2 4/7] tests: Add unit test for X86CPU code, Eduardo Habkost, 2014/09/30
- Re: [Qemu-devel] [PATCH v2 4/7] tests: Add unit test for X86CPU code,
Paolo Bonzini <=
- [Qemu-devel] [PATCH v2 5/7] target-i386: Isolate enabled-by-default features to a separate array, Eduardo Habkost, 2014/09/30
- [Qemu-devel] [PATCH v2 6/7] tests: test-x86-cpu: Add TCG feature bit initialization test, Eduardo Habkost, 2014/09/30
- [Qemu-devel] [PATCH v2 7/7] tests: test-x86-cpu: Add KVM feature bit initialization test, Eduardo Habkost, 2014/09/30