Fix vga_screen_dump_blank() PPM generation
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 25 May 2009 21:20:05 +0000 (18:20 -0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 16 Jun 2009 20:52:38 +0000 (15:52 -0500)
commit77d4db015c99ce7083fd5b33f0c650176fe8bc98
tree0354f19d12c65fa1275b6361a766130a570723b3
parentaea2a33c73f28ecd8f10b242ecadddcc79c1c28b
Fix vga_screen_dump_blank() PPM generation

vga_screen_dump_blank() was not generating a valid PPM file: the width of the
image made no sense (why it was multiplied by sizeof(uint32_t)?), and there was
only one sample per pixel, instead of three.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/vga.c