[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCHv3 0/2] parallel: Allow to disable CONFIG_PARALLEL
From: |
mrezanin |
Subject: |
[Qemu-devel] [PATCHv3 0/2] parallel: Allow to disable CONFIG_PARALLEL |
Date: |
Tue, 12 May 2015 08:22:34 +0200 |
From: Miroslav Rezanina <address@hidden>
There's few uncoditional calls to functions in hw/char/parallel.c so
disabling CONFIG_PARALLEL can cause build failure. This series allow
building with CONFIG_PARALLEL disabled. In addition, it changes behavior
so the run of "qemu -parallel" will abort in case target expects parallel
device to exists.
Affected targets are:
- i386 (pc.c)
- mips (mips_fulong2e.c, mips_malta.c, mips_jazz.c)
- sparc64 (sun4u.c)
Signed-off-by: Miroslav Rezanina <address@hidden>
Miroslav Rezanina (2):
Move parallel_hds_isa_init to hw/isa/isa-bus.c
stubs: Provide parallel_mm_init stub version
hw/char/parallel.c | 25 -------------------------
hw/isa/isa-bus.c | 29 +++++++++++++++++++++++++++++
stubs/Makefile.objs | 1 +
stubs/parallel.c | 8 ++++++++
4 files changed, 38 insertions(+), 25 deletions(-)
create mode 100644 stubs/parallel.c
--
2.1.0
- [Qemu-devel] [PATCHv3 0/2] parallel: Allow to disable CONFIG_PARALLEL,
mrezanin <=