From: Cole Robinson <crobinso@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>, qemu-devel@nongnu.org
Cc: spice-devel@lists.freedesktop.org,
Luiz Capitulino <lcapitulino@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] hmp: info spice: take out webdav
Date: Tue, 03 Mar 2015 10:26:41 -0500 [thread overview]
Message-ID: <54F5D2B1.10405@redhat.com> (raw)
In-Reply-To: <1425371482-25590-1-git-send-email-kraxel@redhat.com>
On 03/03/2015 03:31 AM, Gerd Hoffmann wrote:
> Obvious suggestion for the next spice-protocol
> release: Add some way to #ifdef new stuff.
>
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
> hmp.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/hmp.c b/hmp.c
> index eacfb1b..71c28bc 100644
> --- a/hmp.c
> +++ b/hmp.c
> @@ -561,7 +561,12 @@ void hmp_info_spice(Monitor *mon, const QDict *qdict)
> [SPICE_CHANNEL_SMARTCARD] = "smartcard",
> [SPICE_CHANNEL_USBREDIR] = "usbredir",
> [SPICE_CHANNEL_PORT] = "port",
> +#if 0
> + /* minimum spice-protocol is 0.12.3, webdav was added in 0.12.7,
> + * no easy way to #ifdef (SPICE_CHANNEL_* is a enum). Disable
> + * as quick fix for build failures with older versions. */
> [SPICE_CHANNEL_WEBDAV] = "webdav",
> +#endif
> };
>
> info = qmp_query_spice(NULL);
>
Hmm sorry about that.
Reviewed-by: Cole Robinson <crobinso@redhat.com>
- Cole
prev parent reply other threads:[~2015-03-03 15:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-03 8:31 [Qemu-devel] [PATCH] hmp: info spice: take out webdav Gerd Hoffmann
2015-03-03 15:26 ` Cole Robinson [this message]
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=54F5D2B1.10405@redhat.com \
--to=crobinso@redhat.com \
--cc=kraxel@redhat.com \
--cc=lcapitulino@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=spice-devel@lists.freedesktop.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).