mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
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>
This commit is contained in:
parent
acbac4a1dc
commit
1ce0512557
3 changed files with 34 additions and 32 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue