From: Andreas Tobler <andreast@FreeBSD.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [patch] Fix FreeBSD compilation block/raw-posix.c
Date: Thu, 31 Oct 2013 22:41:46 +0100 [thread overview]
Message-ID: <5272CE9A.2080605@FreeBSD.org> (raw)
Hi all,
the below patch is needed to compile qemu trunk on FreeBSD with gcc48,
clang will fail.... ;). Host x84_64-freebsd.
Installation will fail due to hardcoded /usr/bin/python in
scripts/acpi_extract.py
Thanks,
Andreas
Signed-off-by: Andreas Tobler <do-I-put-my-address-here?>
[neon:src/qemu/qemu-master] andreast% git diff block/raw-posix.c
diff --git a/block/raw-posix.c b/block/raw-posix.c
index f6d48bb..6038d7c 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -1842,7 +1842,8 @@ static BlockDriver bdrv_host_cdrom = {
#endif /* __linux__ */
#if defined (__FreeBSD__) || defined(__FreeBSD_kernel__)
-static int cdrom_open(BlockDriverState *bs, QDict *options, int flags)
+static int cdrom_open(BlockDriverState *bs, QDict *options, int flags,
+ Error **errp)
{
BDRVRawState *s = bs->opaque;
Error *local_err = NULL;
next reply other threads:[~2013-10-31 21:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-31 21:41 Andreas Tobler [this message]
2013-11-04 16:48 ` [Qemu-devel] [patch] Fix FreeBSD compilation block/raw-posix.c Stefan Hajnoczi
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=5272CE9A.2080605@FreeBSD.org \
--to=andreast@freebsd.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.