[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 6/9] virtio-gpu: use graphic_* variables.
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH 6/9] virtio-gpu: use graphic_* variables. |
Date: |
Fri, 24 Feb 2017 15:15:35 +0100 |
Hi,
> > + if (graphic_width && graphic_height) {
> > + g->req_state[0].width = graphic_width;
> > + g->req_state[0].height = graphic_height;
> > + } else {
> > + g->req_state[0].width = 1024;
> > + g->req_state[0].height = 768;
> > + }
>
> What about adding properties for this, and only using graphic_* as a
> fallback?
Hmm, I guess in that case I'd prefer to not use graphic_* at all ...
cheers,
Gerd
- [Qemu-devel] [PATCH 0/9] wire up -g <width>x<height> switch for virtio and qxl., Gerd Hoffmann, 2017/02/21
- [Qemu-devel] [PATCH 6/9] virtio-gpu: use graphic_* variables., Gerd Hoffmann, 2017/02/21
- [Qemu-devel] [PATCH 5/9] enable -g command line switch for all archs, Gerd Hoffmann, 2017/02/21
- [Qemu-devel] [PATCH 8/9] update -g command line switch documentation, Gerd Hoffmann, 2017/02/21
- [Qemu-devel] [PATCH 3/9] ppc: use ppc_graphic_* defines, Gerd Hoffmann, 2017/02/21
- [Qemu-devel] [PATCH 7/9] qxl: use graphic_* variables., Gerd Hoffmann, 2017/02/21
- [Qemu-devel] [PATCH 2/9] sparc: use sparc_graphic_* defines, Gerd Hoffmann, 2017/02/21