From: Jes Sorensen <jes@sgi.com> To: Avi Kivity <avi@redhat.com> Cc: "Zhang, Xiantao" <xiantao.zhang@intel.com>, "kvm-ia64@vger.kernel.org" <kvm-ia64@vger.kernel.org>, "kvm@vger.kernel.org" <kvm@vger.kernel.org> Subject: [patch] qemu-kvm define cpu_has_work() for ia64 Date: Wed, 06 May 2009 17:45:38 +0200 [thread overview] Message-ID: <4A01B0A2.4020709@sgi.com> (raw) [-- Attachment #1: Type: text/plain, Size: 56 bytes --] Hi, This one is needed to build on ia64. Cheers, Jes [-- Attachment #2: 0008-qemu-kvm-ia64-has-work.patch --] [-- Type: text/x-patch, Size: 492 bytes --] Defined cpu_has_work() for ia64. Signed-off-by: Jes Sorensen <jes@sgi.com> --- target-ia64/exec.h | 5 +++++ 1 file changed, 5 insertions(+) Index: qemu-kvm/target-ia64/exec.h =================================================================== --- qemu-kvm.orig/target-ia64/exec.h +++ qemu-kvm/target-ia64/exec.h @@ -53,4 +53,9 @@ return EXCP_HALTED; } +static inline int cpu_has_work(CPUState *env) +{ + return (env->interrupt_request & (CPU_INTERRUPT_HARD)); +} + #endif
WARNING: multiple messages have this Message-ID (diff)
From: Jes Sorensen <jes@sgi.com> To: kvm-ia64@vger.kernel.org Subject: [patch] qemu-kvm define cpu_has_work() for ia64 Date: Wed, 06 May 2009 15:45:38 +0000 [thread overview] Message-ID: <4A01B0A2.4020709@sgi.com> (raw) [-- Attachment #1: Type: text/plain, Size: 56 bytes --] Hi, This one is needed to build on ia64. Cheers, Jes [-- Attachment #2: 0008-qemu-kvm-ia64-has-work.patch --] [-- Type: text/x-patch, Size: 492 bytes --] Defined cpu_has_work() for ia64. Signed-off-by: Jes Sorensen <jes@sgi.com> --- target-ia64/exec.h | 5 +++++ 1 file changed, 5 insertions(+) Index: qemu-kvm/target-ia64/exec.h =================================================================== --- qemu-kvm.orig/target-ia64/exec.h +++ qemu-kvm/target-ia64/exec.h @@ -53,4 +53,9 @@ return EXCP_HALTED; } +static inline int cpu_has_work(CPUState *env) +{ + return (env->interrupt_request & (CPU_INTERRUPT_HARD)); +} + #endif
next reply other threads:[~2009-05-06 15:45 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-05-06 15:45 Jes Sorensen [this message] 2009-05-06 15:45 ` [patch] qemu-kvm define cpu_has_work() for ia64 Jes Sorensen 2009-05-07 10:07 ` Avi Kivity 2009-05-07 10:07 ` Avi Kivity
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=4A01B0A2.4020709@sgi.com \ --to=jes@sgi.com \ --cc=avi@redhat.com \ --cc=kvm-ia64@vger.kernel.org \ --cc=kvm@vger.kernel.org \ --cc=xiantao.zhang@intel.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.