[Spice-devel] [PATCH xf86-qxl 14/27] Add some error message if pci revision < 4
Marc-André Lureau
marcandre.lureau at gmail.com
Mon Jul 23 03:52:34 PDT 2012
On Mon, Jul 16, 2012 at 5:38 PM, Marc-André Lureau
<marcandre.lureau at gmail.com> wrote:
> ---
> src/qxl_driver.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/qxl_driver.c b/src/qxl_driver.c
> index e1cd097..a24932f 100644
> --- a/src/qxl_driver.c
> +++ b/src/qxl_driver.c
> @@ -1897,7 +1897,9 @@ qxl_pre_init(ScrnInfoPtr pScrn, int flags)
> qxl->pci_tag = pciTag(qxl->pci->bus, qxl->pci->device, qxl->pci->func);
> #endif
> #endif /* XSPICE */
> -
> + if (qxl->pci->revision < 4) {
> + ErrorF ("Ignoring monitor config, device revision < 4\n");
> + }
As pointed out by Alon, I fixed compilation with --enabled-xspice here
--
Marc-André Lureau
More information about the Spice-devel
mailing list