From: mrezanin@redhat.com
To: qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, Miroslav Rezanina <mrezanin@redhat.com>,
armbru@redhat.com
Subject: [Qemu-devel] [PATCHv3 0/2] parallel: Allow to disable CONFIG_PARALLEL
Date: Tue, 12 May 2015 08:22:34 +0200 [thread overview]
Message-ID: <cover.1431411260.git.mrezanin@redhat.com> (raw)
From: Miroslav Rezanina <mrezanin@redhat.com>
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 <mrezanin@redhat.com>
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
next reply other threads:[~2015-05-12 6:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-12 6:22 mrezanin [this message]
2015-05-12 6:22 ` [Qemu-devel] [PATCHv3 1/2] Move parallel_hds_isa_init to hw/isa/isa-bus.c mrezanin
2015-05-12 13:22 ` Paolo Bonzini
2015-05-13 8:01 ` Markus Armbruster
2015-05-13 8:57 ` Miroslav Rezanina
2015-05-12 6:22 ` [Qemu-devel] [PATCHv3 2/2] stubs: Provide parallel_mm_init stub version mrezanin
2015-05-12 13:22 ` Paolo Bonzini
2015-05-13 8:04 ` Markus Armbruster
2015-05-13 8:58 ` Miroslav Rezanina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1431411260.git.mrezanin@redhat.com \
--to=mrezanin@redhat.com \
--cc=armbru@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).