use lazy initialization for display_state
commitb473df6e6a95fac7b58dc2282c0388e370c2fd70
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 Feb 2010 23:29:55 +0000 (11 00:29 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 19 Feb 2010 21:18:16 +0000 (19 15:18 -0600)
treee2427a77ba85c5a0b9aa9acf17f7f9f7c58d5d01
parent9edf5051f331d183056293860ef4a20ed5abf13b
use lazy initialization for display_state

Ensure initialization of a dumb display, if needed, by making
all accesses go through get_displaystate.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vl.c