diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-09-17 15:53:05 +0200 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2015-11-19 12:43:02 +0000 |
commit | 85920bb2e9715bc9317c2717cb14cc58f31f28ef (patch) | |
tree | 1976490e58270d90ce1fe0e486384df2b6ea64c3 /server/display-limits.h | |
parent | 806433a3bd092bc6225df7d7b7c5b5cc2cd97550 (diff) | |
download | spice-85920bb2e9715bc9317c2717cb14cc58f31f28ef.tar.gz spice-85920bb2e9715bc9317c2717cb14cc58f31f28ef.tar.xz spice-85920bb2e9715bc9317c2717cb14cc58f31f28ef.zip |
worker: start a DisplayChannelClient unit
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
Diffstat (limited to 'server/display-limits.h')
-rw-r--r-- | server/display-limits.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/server/display-limits.h b/server/display-limits.h new file mode 100644 index 00000000..ce9206cd --- /dev/null +++ b/server/display-limits.h @@ -0,0 +1,27 @@ +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + Copyright (C) 2009-2015 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef DISPLAY_LIMITS_H_ +#define DISPLAY_LIMITS_H_ + +/** Maximum number of surfaces a guest can create */ +#define NUM_SURFACES 10000 + +/** Maximum number of streams created by spice-server */ +#define NUM_STREAMS 50 + +#endif /* DISPLAY_LIMITS_H_ */ |