vmware_vga: the support to change dinamically depth is not there
authorJuan Quintela <quintela@redhat.com>
Wed, 14 Oct 2009 17:25:30 +0000 (19:25 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 27 Oct 2009 17:28:56 +0000 (12:28 -0500)
For a start bypp is not changed after vmsvga_reset() and it depends on depth

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/vmware_vga.c

index cc0acf7..d0a19dd 100644 (file)
@@ -1095,7 +1095,7 @@ static int vmsvga_load(struct vmsvga_state_s *s, QEMUFile *f)
     s->syncing=qemu_get_be32(f);
     s->fb_size=qemu_get_be32(f);
 
-    if (s->enable && depth != s->depth) {
+    if (depth != s->depth) {
         printf("%s: need colour depth of %i bits to resume operation.\n",
                         __FUNCTION__, depth);
         return -EINVAL;