diff options
author | Xiao Guangrong | 2017-05-10 10:32:57 +0200 |
---|---|---|
committer | Paolo Bonzini | 2017-06-06 20:18:35 +0200 |
commit | 4aa70a0e9cd0c0332a8369df8c4f6d8e22fafe23 (patch) | |
tree | be6c953c060d866dd4906760a3451ed1e91f1e24 /kvm-all.c | |
parent | mc146818rtc: precisely count the clock for periodic timer (diff) | |
download | qemu-4aa70a0e9cd0c0332a8369df8c4f6d8e22fafe23.tar.gz qemu-4aa70a0e9cd0c0332a8369df8c4f6d8e22fafe23.tar.xz qemu-4aa70a0e9cd0c0332a8369df8c4f6d8e22fafe23.zip |
mc146818rtc: ensure LOST_TICK_POLICY_SLEW is only enabled on TARGET_I386
Any tick policy specified on other platforms rather on TARGET_I386
will fall back to LOST_TICK_POLICY_DISCARD silently, this patch makes
sure only TARGET_I386 can enable LOST_TICK_POLICY_SLEW
After that, we can enable LOST_TICK_POLICY_SLEW in the common code
which need not use '#ifdef TARGET_I386' to make these code be x86
specific anymore
Signed-off-by: Xiao Guangrong <xiaoguangrong@tencent.com>
Message-Id: <20170510083259.3900-4-xiaoguangrong@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kvm-all.c')
0 files changed, 0 insertions, 0 deletions