* [PATCH] kvm: add the __noclone attribute
@ 2011-02-11 6:29 Lai Jiangshan
2011-02-11 21:49 ` Andi Kleen
0 siblings, 1 reply; 2+ messages in thread
From: Lai Jiangshan @ 2011-02-11 6:29 UTC (permalink / raw)
To: Avi Kivity, Marcelo Tosatti, Andi Kleen, LKML,
kvm@vger.kernel.org
The changelog of 104f226 said "adds the __noclone attribute",
but it was missing in its patch. I think it is still needed.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
---
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index bf89ec2..de99a4d 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -3962,7 +3962,7 @@ static void vmx_cancel_injection(struct kvm_vcpu *vcpu)
#define Q "l"
#endif
-static void vmx_vcpu_run(struct kvm_vcpu *vcpu)
+static void __noclone vmx_vcpu_run(struct kvm_vcpu *vcpu)
{
struct vcpu_vmx *vmx = to_vmx(vcpu);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kvm: add the __noclone attribute
2011-02-11 6:29 [PATCH] kvm: add the __noclone attribute Lai Jiangshan
@ 2011-02-11 21:49 ` Andi Kleen
0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2011-02-11 21:49 UTC (permalink / raw)
To: Lai Jiangshan
Cc: Avi Kivity, Marcelo Tosatti, Andi Kleen, LKML,
kvm@vger.kernel.org
On Fri, Feb 11, 2011 at 02:29:40PM +0800, Lai Jiangshan wrote:
> The changelog of 104f226 said "adds the __noclone attribute",
> but it was missing in its patch. I think it is still needed.
Looks good. Thanks.
Acked-by: Andi Kleen <ak@linux.intel.com>
-Andi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-11 21:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-11 6:29 [PATCH] kvm: add the __noclone attribute Lai Jiangshan
2011-02-11 21:49 ` Andi Kleen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox