diff options
author | Tao Wu | 2017-11-09 19:17:41 +0100 |
---|---|---|
committer | Gerd Hoffmann | 2017-11-10 11:05:19 +0100 |
commit | c53f5b89f19b3051384d202dd750d23fb38f0994 (patch) | |
tree | 112bafa7e03b0aa3611a0a089228c09ba8b1b456 /hw/display/framebuffer.c | |
parent | Update version for v2.11.0-rc0 release (diff) | |
download | qemu-c53f5b89f19b3051384d202dd750d23fb38f0994.tar.gz qemu-c53f5b89f19b3051384d202dd750d23fb38f0994.tar.xz qemu-c53f5b89f19b3051384d202dd750d23fb38f0994.zip |
virtio-gpu: fix bug in host memory calculation.
The old code treats bits as bytes when calculating host memory usage.
Change it to be consistent with allocation logic in pixman library.
Signed-off-by: Tao Wu <lepton@google.com>
Message-Id: <20171109181741.31318-1-lepton@google.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/framebuffer.c')
0 files changed, 0 insertions, 0 deletions