OSDN Git Service

qemu-edid: use qemu_edid_size()
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 27 Apr 2021 15:08:17 +0000 (17:08 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 10 May 2021 09:41:02 +0000 (11:41 +0200)
commitbdbe824b7e92bd42205aa0ccb58a70c1e9cb9564
tree1284a2df4a5d7dd178b9d2464b6eb084819be782
parentd90f154867ec0ec22fd719164b88716e8fd48672
qemu-edid: use qemu_edid_size()

So we only write out that part of the edid blob
which has been filled with data.
Also use a larger buffer for the blob.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20210427150824.638359-1-kraxel@redhat.com
Message-Id: <20210427150824.638359-2-kraxel@redhat.com>
qemu-edid.c