aboutsummaryrefslogtreecommitdiff
path: root/qemu-common.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-02-02 22:09:44 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2012-02-07 13:52:41 +0100
commit1ce05125571e9dbbd16e1de0f8924fe45bef2bf0 (patch)
tree74df8e956ee118aa0a3829b2e776d9e5c5919b1c /qemu-common.h
parentacbac4a1dc974a3915760b4551336544c4360241 (diff)
downloadqemu-1ce05125571e9dbbd16e1de0f8924fe45bef2bf0.zip
qemu-1ce05125571e9dbbd16e1de0f8924fe45bef2bf0.tar.gz
qemu-1ce05125571e9dbbd16e1de0f8924fe45bef2bf0.tar.bz2
qdev: remove print/parse methods from LostTickPolicy properties
Also generalize the code so that we can have more enum properties in the future. Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-common.h')
-rw-r--r--qemu-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h
index 8b69a9e..9b997f8 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -255,6 +255,7 @@ typedef enum LostTickPolicy {
LOST_TICK_DELAY,
LOST_TICK_MERGE,
LOST_TICK_SLEW,
+ LOST_TICK_MAX
} LostTickPolicy;
void tcg_exec_init(unsigned long tb_size);