diff options
| author | Avi Kivity | 2011-12-28 11:26:58 +0100 |
|---|---|---|
| committer | Anthony Liguori | 2012-01-12 17:03:28 +0100 |
| commit | 19bf7c87081835449d5683ecb0858255bf5a0546 (patch) | |
| tree | e1512adf58be067fdb20a6b83ce0e5d03d8c2a98 /Makefile | |
| parent | etraxfs-dma: Model metadata and eop (diff) | |
| download | qemu-19bf7c87081835449d5683ecb0858255bf5a0546.tar.gz qemu-19bf7c87081835449d5683ecb0858255bf5a0546.tar.xz qemu-19bf7c87081835449d5683ecb0858255bf5a0546.zip | |
Fix qapi code generation fix
The fixes to qapi code generation had multiple bugs:
- the Null class used to drop output was missing some methods
- in some scripts it was never instantiated, leading to a None return,
which is missing even more methods
- the --source and --header options were swapped
Luckily, all those bugs were hidden by a makefile bug which caused the
old behaviour (with the race) to be invoked.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -177,7 +177,7 @@ qapi-dir := $(BUILD_DIR)/qapi-generated test-qmp-input-visitor.o test-qmp-output-visitor.o test-qmp-commands.o qemu-ga$(EXESUF): QEMU_CFLAGS += -I $(qapi-dir) qemu-ga$(EXESUF): LIBS = $(LIBS_QGA) -gen-out-type = $(subst .,-,$@) +gen-out-type = $(subst .,-,$(suffix $@)) $(qapi-dir)/test-qapi-types.c $(qapi-dir)/test-qapi-types.h :\ $(SRC_PATH)/qapi-schema-test.json $(SRC_PATH)/scripts/qapi-types.py |
