qxl: allow to specify head limit to qxl driver
commit567161fdd47aeb6987e700702f6bbfef04ae0236
authorFrediano Ziglio <fziglio@redhat.com>
Mon, 6 Jul 2015 06:56:38 +0000 (6 07:56 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 16 Jul 2015 15:31:05 +0000 (16 17:31 +0200)
tree631ab98d80e04da54b4e912a551ba566d4d552ad
parent2d5ee9e7a7dd495d233cf9613a865f63f88e3375
qxl: allow to specify head limit to qxl driver

This patch allow to limit number of heads using qxl driver. By default
qxl driver is not limited on any kind on head use so can decide to use
as much heads.

libvirt has this as a video card parameter (actually set to 1 but not
used). This parameter will allow to limit setting a use can do (which
could be confusing).

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/qxl.c
hw/display/qxl.h