summaryrefslogtreecommitdiff
path: root/src/VBox/Devices/Graphics/DevVGASavedState.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Devices/Graphics/DevVGASavedState.h')
-rw-r--r--src/VBox/Devices/Graphics/DevVGASavedState.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/VBox/Devices/Graphics/DevVGASavedState.h b/src/VBox/Devices/Graphics/DevVGASavedState.h
index 6c4067d1..1ee861a1 100644
--- a/src/VBox/Devices/Graphics/DevVGASavedState.h
+++ b/src/VBox/Devices/Graphics/DevVGASavedState.h
@@ -7,7 +7,7 @@
*/
/*
- * Copyright (C) 2006-2009 Oracle Corporation
+ * Copyright (C) 2006-2013 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
@@ -22,7 +22,15 @@
#ifndef Graphics_DevVGASavedState_h
#define Graphics_DevVGASavedState_h
-#define VGA_SAVEDSTATE_VERSION 8
+#ifdef VBOX_WITH_VMSVGA
+#define VGA_SAVEDSTATE_VERSION_VMSVGA_2D 10 /* <- internal build with 2d state only */
+#define VGA_SAVEDSTATE_VERSION_VMSVGA 11
+#define VGA_SAVEDSTATE_VERSION 11
+#else
+#define VGA_SAVEDSTATE_VERSION 10
+#endif
+#define VGA_SAVEDSTATE_VERSION_WITH_PENDVHWA 10
+#define VGA_SAVEDSTATE_VERSION_INV_GCMDFIFO 8 /* <- states upto and including this version may contain invalid completed Guest Commands fifo entries */
#define VGA_SAVEDSTATE_VERSION_INV_VHEIGHT 8 /* <- states upto and including this version may contain invalid vbe_regs[VBE_DISPI_INDEX_VIRT_HEIGHT] value */
#define VGA_SAVEDSTATE_VERSION_WDDM 7
#define VGA_SAVEDSTATE_VERSION_PRE_WDDM 6