From: Frediano Ziglio <fziglio@redhat.com>
To: spice-devel@lists.freedesktop.org, Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-devel@nongnu.org, Frediano Ziglio <fziglio@redhat.com>
Subject: [Qemu-devel] [PATCH 1/2] spice: Use new SpiceImageCompression definition
Date: Wed, 28 Nov 2018 08:22:42 +0000 [thread overview]
Message-ID: <20181128082243.29841-1-fziglio@redhat.com> (raw)
Definitions were updated by spice-server in patch de66161 included
in 0.12.6 released on 12th June 2015.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
---
ui/spice-core.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/ui/spice-core.c b/ui/spice-core.c
index ebaae24643..9d45d895ed 100644
--- a/ui/spice-core.c
+++ b/ui/spice-core.c
@@ -331,12 +331,12 @@ static const char *stream_video_names[] = {
stream_video_names, ARRAY_SIZE(stream_video_names))
static const char *compression_names[] = {
- [ SPICE_IMAGE_COMPRESS_OFF ] = "off",
- [ SPICE_IMAGE_COMPRESS_AUTO_GLZ ] = "auto_glz",
- [ SPICE_IMAGE_COMPRESS_AUTO_LZ ] = "auto_lz",
- [ SPICE_IMAGE_COMPRESS_QUIC ] = "quic",
- [ SPICE_IMAGE_COMPRESS_GLZ ] = "glz",
- [ SPICE_IMAGE_COMPRESS_LZ ] = "lz",
+ [SPICE_IMAGE_COMPRESSION_OFF] = "off",
+ [SPICE_IMAGE_COMPRESSION_AUTO_GLZ] = "auto_glz",
+ [SPICE_IMAGE_COMPRESSION_AUTO_LZ] = "auto_lz",
+ [SPICE_IMAGE_COMPRESSION_QUIC] = "quic",
+ [SPICE_IMAGE_COMPRESSION_GLZ] = "glz",
+ [SPICE_IMAGE_COMPRESSION_LZ] = "lz",
};
#define parse_compression(_name) \
parse_name(_name, "image compression", \
@@ -643,7 +643,7 @@ void qemu_spice_init(void)
*x509_cert_file = NULL,
*x509_cacert_file = NULL;
int port, tls_port, addr_flags;
- spice_image_compression_t compression;
+ SpiceImageCompression compression;
spice_wan_compression_t wan_compr;
bool seamless_migration;
@@ -754,7 +754,7 @@ void qemu_spice_init(void)
#endif
}
- compression = SPICE_IMAGE_COMPRESS_AUTO_GLZ;
+ compression = SPICE_IMAGE_COMPRESSION_AUTO_GLZ;
str = qemu_opt_get(opts, "image-compression");
if (str) {
compression = parse_compression(str);
--
2.17.2
next reply other threads:[~2018-11-28 8:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-28 8:22 Frediano Ziglio [this message]
2018-11-28 8:22 ` [Qemu-devel] [PATCH 2/2] spice: Bump required spice-server version to 0.12.6 Frediano Ziglio
2018-11-28 9:13 ` [Qemu-devel] [Spice-devel] " Marc-André Lureau
2018-11-28 9:21 ` Frediano Ziglio
2018-11-28 9:37 ` [Qemu-devel] " Gerd Hoffmann
2018-11-28 11:24 ` [Qemu-devel] [Spice-devel] " Marc-André Lureau
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=20181128082243.29841-1-fziglio@redhat.com \
--to=fziglio@redhat.com \
--cc=kraxel@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).