Changeset 17289:
d97e61001d81: introduced vfb configuration parameter
videoram, defaulting to zero. Value zero was interpreted as
unlimited. Changeset 17630:
53195719f762 accidentally dropped the
special case for zero, which broke guests that don't specify videoram,
or specify videoram=0. Restore the old behavior.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
fb_len_lim, fb_len_max);
fb_len_lim = fb_len_max;
}
- if (fb_len > fb_len_lim) {
+ if (fb_len_lim && fb_len > fb_len_lim) {
fprintf(stderr,
"FB: frontend fb size %zu limited to %zu\n",
fb_len, fb_len_lim);