aboutsummaryrefslogtreecommitdiff
path: root/hw/vga_int.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-14 15:25:25 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:54 -0500
commit11b6b3450885dd43682db7be83a58a0b1022b650 (patch)
tree277a4bd430ceb2d787a76ffc2509e82103ece647 /hw/vga_int.h
parent2a3138ab15b4abce551dcfd78c64314553b3418d (diff)
vga: port vga_common_save/load to vmstate
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/vga_int.h')
-rw-r--r--hw/vga_int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/vga_int.h b/hw/vga_int.h
index 4d5232f90f..46c326d3ef 100644
--- a/hw/vga_int.h
+++ b/hw/vga_int.h
@@ -21,6 +21,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+
+#include <hw/hw.h>
+
#define MSR_COLOR_EMULATION 0x01
#define MSR_PAGE_SELECT 0x20
@@ -193,6 +196,7 @@ void vga_common_reset(VGACommonState *s);
void vga_dirty_log_start(VGACommonState *s);
+extern const VMStateDescription vmstate_vga_common;
void vga_common_save(QEMUFile *f, void *opaque);
int vga_common_load(QEMUFile *f, void *opaque, int version_id);
uint32_t vga_ioport_read(void *opaque, uint32_t addr);