From: David Hildenbrand <dahi@linux.vnet.ibm.com>
To: Wanpeng Li <kernellwp@gmail.com>
Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org,
"Wanpeng Li" <wanpeng.li@hotmail.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Radim Krčmář" <rkrcmar@redhat.com>,
"David Matlack" <dmatlack@google.com>,
"Christian Borntraeger" <borntraeger@de.ibm.com>,
"Yang Zhang" <yang.zhang.wz@gmail.com>
Subject: Re: [PATCH v3] KVM: halt-polling: poll if emulated lapic timer will fire soon
Date: Fri, 27 May 2016 08:40:29 +0200 [thread overview]
Message-ID: <20160527084029.703b917c@thinkpad-w530> (raw)
In-Reply-To: <1463964124-13953-1-git-send-email-wanpeng.li@hotmail.com>
> diff --git a/arch/arm/include/asm/kvm_host.h b/arch/arm/include/asm/kvm_host.h
> index 4cd8732..a5fd858 100644
> --- a/arch/arm/include/asm/kvm_host.h
> +++ b/arch/arm/include/asm/kvm_host.h
> @@ -284,6 +284,10 @@ static inline void kvm_arch_sync_events(struct kvm *kvm) {}
> static inline void kvm_arch_vcpu_uninit(struct kvm_vcpu *vcpu) {}
> static inline void kvm_arch_sched_in(struct kvm_vcpu *vcpu, int cpu) {}
> static inline void kvm_arch_vcpu_block_finish(struct kvm_vcpu *vcpu) {}
> +static inline u64 kvm_arch_timer_remaining(struct kvm_vcpu *vcpu)
> +{
> + return -1ULL;
U64_MAX for all applicable cases?
David
prev parent reply other threads:[~2016-05-27 6:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-23 0:42 [PATCH v3] KVM: halt-polling: poll if emulated lapic timer will fire soon Wanpeng Li
2016-05-23 18:01 ` David Matlack
2016-05-24 2:19 ` Wanpeng Li
2016-05-24 2:25 ` Wanpeng Li
2016-05-24 6:59 ` Christian Borntraeger
2016-05-24 7:10 ` Wanpeng Li
2016-05-24 7:14 ` Wanpeng Li
2016-05-24 7:05 ` Wanpeng Li
2016-05-26 8:04 ` Wanpeng Li
2016-05-27 6:40 ` David Hildenbrand [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160527084029.703b917c@thinkpad-w530 \
--to=dahi@linux.vnet.ibm.com \
--cc=borntraeger@de.ibm.com \
--cc=dmatlack@google.com \
--cc=kernellwp@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=rkrcmar@redhat.com \
--cc=wanpeng.li@hotmail.com \
--cc=yang.zhang.wz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).