kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] KVM: Fix incorrect KVM_USERSPACE_IRQ_SOURCE_ID
@ 2008-10-23  6:59 Sheng Yang
  2008-10-23  7:17 ` Avi Kivity
  0 siblings, 1 reply; 4+ messages in thread
From: Sheng Yang @ 2008-10-23  6:59 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm, Sheng Yang, Xiantao Zhang

(When I am curious how this have been fixed without any patch, I just saw the
add-on fix is from Xiantao, and was reverted along with the other part of that
patch...)

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
---
 include/linux/kvm_host.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 1658228..bb92be2 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -37,7 +37,7 @@
 #define KVM_REQ_UNHALT             6
 #define KVM_REQ_MMU_SYNC           7
 
-#define KVM_USERSPACE_IRQ_SOURCE_ID	(1 << 0)
+#define KVM_USERSPACE_IRQ_SOURCE_ID	0
 
 struct kvm_vcpu;
 extern struct kmem_cache *kvm_vcpu_cache;
-- 
1.5.4.5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] KVM: Fix incorrect KVM_USERSPACE_IRQ_SOURCE_ID
  2008-10-23  6:59 [PATCH 1/1] KVM: Fix incorrect KVM_USERSPACE_IRQ_SOURCE_ID Sheng Yang
@ 2008-10-23  7:17 ` Avi Kivity
  2008-10-23  7:20   ` Zhang, Xiantao
  0 siblings, 1 reply; 4+ messages in thread
From: Avi Kivity @ 2008-10-23  7:17 UTC (permalink / raw)
  To: Sheng Yang; +Cc: kvm, Xiantao Zhang

Sheng Yang wrote:
> (When I am curious how this have been fixed without any patch, 

I edited the patch before pushing it out.

> I just saw the
> add-on fix is from Xiantao, and was reverted along with the other part of that
> patch...)
>   

Thanks for the fix; applied.  Xiantao, please be more careful.

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH 1/1] KVM: Fix incorrect KVM_USERSPACE_IRQ_SOURCE_ID
  2008-10-23  7:17 ` Avi Kivity
@ 2008-10-23  7:20   ` Zhang, Xiantao
  2008-10-23  7:27     ` Avi Kivity
  0 siblings, 1 reply; 4+ messages in thread
From: Zhang, Xiantao @ 2008-10-23  7:20 UTC (permalink / raw)
  To: Avi Kivity, Sheng Yang; +Cc: kvm@vger.kernel.org

Avi Kivity wrote:
> Sheng Yang wrote:
>> (When I am curious how this have been fixed without any patch,
>
> I edited the patch before pushing it out.
>
>> I just saw the
>> add-on fix is from Xiantao, and was reverted along with the other
>> part of that patch...)
>>
>
> Thanks for the fix; applied.  Xiantao, please be more careful.

Hi, Avi
        I am also curious about this issue. In my original patch, it doesn't include this stuff, but don't know why it is in this commit.  Attached my original patch :)
Thanks
Xiantao


>From 532592ce64bbebb6d824fb528c281f4f3e0ee49f Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
Date: Mon, 13 Oct 2008 18:37:49 +0800
Subject: [PATCH] kvm/ia64: Makefile fix for forcing to re-generate asm-offsets.h

To avoid using stale asm-offsets.h.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
---
 arch/ia64/kvm/Makefile |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/ia64/kvm/Makefile b/arch/ia64/kvm/Makefile
index bf22fb9..39e742b 100644
--- a/arch/ia64/kvm/Makefile
+++ b/arch/ia64/kvm/Makefile
@@ -30,7 +30,7 @@ define cmd_offsets
         echo "#endif" ) > $@
 endef
 # We use internal rules to avoid the "is up to date" message from make
-arch/ia64/kvm/asm-offsets.s: arch/ia64/kvm/asm-offsets.c
+arch/ia64/kvm/asm-offsets.s: arch/ia64/kvm/asm-offsets.c FORCE
        $(call if_changed_dep,cc_s_c)

 $(obj)/$(offsets-file): arch/ia64/kvm/asm-offsets.s
@@ -49,7 +49,6 @@ common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \
 kvm-objs := $(common-objs) kvm-ia64.o kvm_fw.o
 obj-$(CONFIG_KVM) += kvm.o

-FORCE : $(obj)/$(offsets-file)
 EXTRA_CFLAGS_vcpu.o += -mfixed-range=f2-f5,f12-f127
 kvm-intel-objs = vmm.o vmm_ivt.o trampoline.o vcpu.o optvfault.o mmio.o \
        vtlb.o process.o
--
1.5.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] KVM: Fix incorrect KVM_USERSPACE_IRQ_SOURCE_ID
  2008-10-23  7:20   ` Zhang, Xiantao
@ 2008-10-23  7:27     ` Avi Kivity
  0 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2008-10-23  7:27 UTC (permalink / raw)
  To: Zhang, Xiantao; +Cc: Sheng Yang, kvm@vger.kernel.org

Zhang, Xiantao wrote:
>         I am also curious about this issue. In my original patch, it doesn't include this stuff, but don't know why it is in this commit.  Attached my original patch :)
>   

Then it's probably my fault.  I probably had some garbage in the git 
index which got merged into the patch when applying.  Sorry.


-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-23  7:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-23  6:59 [PATCH 1/1] KVM: Fix incorrect KVM_USERSPACE_IRQ_SOURCE_ID Sheng Yang
2008-10-23  7:17 ` Avi Kivity
2008-10-23  7:20   ` Zhang, Xiantao
2008-10-23  7:27     ` Avi Kivity

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).