|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH 7/9] qxl: use graphic_* variables. |
Date: | Fri, 24 Feb 2017 10:21:28 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
On 21/02/2017 23:14, Gerd Hoffmann wrote: > > + if (graphic_width && graphic_height) { > + /* needs linux kernel 4.12+ to work */ > + rom->client_monitors_config.count = 1; > + rom->client_monitors_config.heads[0].left = 0; > + rom->client_monitors_config.heads[0].top = 0; > + rom->client_monitors_config.heads[0].right = > cpu_to_le32(graphic_width); > + rom->client_monitors_config.heads[0].bottom = > cpu_to_le32(graphic_height); > + rom->client_monitors_config_crc = qxl_crc32( > + (const uint8_t *)&rom->client_monitors_config, > + sizeof(rom->client_monitors_config)); > + } > + Same here. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |