Signed-off-by: Avi Kivity <avi@xxxxxxxxxx> --- kvm/test/lib/x86/processor.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/kvm/test/lib/x86/processor.h b/kvm/test/lib/x86/processor.h index ea44a9d..0376d04 100644 --- a/kvm/test/lib/x86/processor.h +++ b/kvm/test/lib/x86/processor.h @@ -243,4 +243,9 @@ static inline struct cpuid cpuid(u32 function) return cpuid_indexed(function, 0); } +static inline void pause(void) +{ + asm volatile ("pause"); +} + #endif -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html