[PATCH] qxl: correctly handling failed allocation