xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86/HVM: key handler registration functions can be __init
@ 2013-07-10 10:38 Jan Beulich
  2013-07-10 11:36 ` Keir Fraser
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Beulich @ 2013-07-10 10:38 UTC (permalink / raw)
  To: xen-devel
  Cc: Eddie Dong, Boris Ostrovsky, Jacob Shin, Jun Nakajima,
	suravee.suthikulpanit

[-- Attachment #1: Type: text/plain, Size: 698 bytes --]

This applies to both SVM and VMX.

Signed-off-by: Jan Beulich <jbeulich@suse.com>

--- a/xen/arch/x86/hvm/svm/vmcb.c
+++ b/xen/arch/x86/hvm/svm/vmcb.c
@@ -310,7 +310,7 @@ static struct keyhandler vmcb_dump_keyha
     .desc = "dump AMD-V VMCBs"
 };
 
-void setup_vmcb_dump(void)
+void __init setup_vmcb_dump(void)
 {
     register_keyhandler('v', &vmcb_dump_keyhandler);
 }
--- a/xen/arch/x86/hvm/vmx/vmcs.c
+++ b/xen/arch/x86/hvm/vmx/vmcs.c
@@ -1492,7 +1492,7 @@ static struct keyhandler vmcs_dump_keyha
     .desc = "dump Intel's VMCS"
 };
 
-void setup_vmcs_dump(void)
+void __init setup_vmcs_dump(void)
 {
     register_keyhandler('v', &vmcs_dump_keyhandler);
 }




[-- Attachment #2: x86-HVM-setup-key-handler-section.patch --]
[-- Type: text/plain, Size: 692 bytes --]

This applies to both SVM and VMX.

Signed-off-by: Jan Beulich <jbeulich@suse.com>

--- a/xen/arch/x86/hvm/svm/vmcb.c
+++ b/xen/arch/x86/hvm/svm/vmcb.c
@@ -310,7 +310,7 @@ static struct keyhandler vmcb_dump_keyha
     .desc = "dump AMD-V VMCBs"
 };
 
-void setup_vmcb_dump(void)
+void __init setup_vmcb_dump(void)
 {
     register_keyhandler('v', &vmcb_dump_keyhandler);
 }
--- a/xen/arch/x86/hvm/vmx/vmcs.c
+++ b/xen/arch/x86/hvm/vmx/vmcs.c
@@ -1492,7 +1492,7 @@ static struct keyhandler vmcs_dump_keyha
     .desc = "dump Intel's VMCS"
 };
 
-void setup_vmcs_dump(void)
+void __init setup_vmcs_dump(void)
 {
     register_keyhandler('v', &vmcs_dump_keyhandler);
 }

[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

* Re: [PATCH] x86/HVM: key handler registration functions can be __init
  2013-07-10 10:38 [PATCH] x86/HVM: key handler registration functions can be __init Jan Beulich
@ 2013-07-10 11:36 ` Keir Fraser
  2013-07-10 19:38   ` Suravee Suthikulpanit
  0 siblings, 1 reply; 3+ messages in thread
From: Keir Fraser @ 2013-07-10 11:36 UTC (permalink / raw)
  To: Jan Beulich, xen-devel
  Cc: Jacob Shin, Boris Ostrovsky, Eddie Dong, suravee.suthikulpanit,
	Jun Nakajima

On 10/07/2013 11:38, "Jan Beulich" <JBeulich@suse.com> wrote:

> This applies to both SVM and VMX.
> 
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Acked-by: Keir Fraser <keir@xen.org>

> --- a/xen/arch/x86/hvm/svm/vmcb.c
> +++ b/xen/arch/x86/hvm/svm/vmcb.c
> @@ -310,7 +310,7 @@ static struct keyhandler vmcb_dump_keyha
>      .desc = "dump AMD-V VMCBs"
>  };
>  
> -void setup_vmcb_dump(void)
> +void __init setup_vmcb_dump(void)
>  {
>      register_keyhandler('v', &vmcb_dump_keyhandler);
>  }
> --- a/xen/arch/x86/hvm/vmx/vmcs.c
> +++ b/xen/arch/x86/hvm/vmx/vmcs.c
> @@ -1492,7 +1492,7 @@ static struct keyhandler vmcs_dump_keyha
>      .desc = "dump Intel's VMCS"
>  };
>  
> -void setup_vmcs_dump(void)
> +void __init setup_vmcs_dump(void)
>  {
>      register_keyhandler('v', &vmcs_dump_keyhandler);
>  }
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

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

* Re: [PATCH] x86/HVM: key handler registration functions can be __init
  2013-07-10 11:36 ` Keir Fraser
@ 2013-07-10 19:38   ` Suravee Suthikulpanit
  0 siblings, 0 replies; 3+ messages in thread
From: Suravee Suthikulpanit @ 2013-07-10 19:38 UTC (permalink / raw)
  To: Keir Fraser
  Cc: Jan Beulich, Eddie Dong, Jacob Shin, xen-devel, Jun Nakajima,
	Boris Ostrovsky

On 7/10/2013 6:36 AM, Keir Fraser wrote:
> On 10/07/2013 11:38, "Jan Beulich" <JBeulich@suse.com> wrote:
>
>> This applies to both SVM and VMX.
>>
>> Signed-off-by: Jan Beulich <jbeulich@suse.com>
> Acked-by: Keir Fraser <keir@xen.org>

Acked-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>

>
>> --- a/xen/arch/x86/hvm/svm/vmcb.c
>> +++ b/xen/arch/x86/hvm/svm/vmcb.c
>> @@ -310,7 +310,7 @@ static struct keyhandler vmcb_dump_keyha
>>       .desc = "dump AMD-V VMCBs"
>>   };
>>   
>> -void setup_vmcb_dump(void)
>> +void __init setup_vmcb_dump(void)
>>   {
>>       register_keyhandler('v', &vmcb_dump_keyhandler);
>>   }
>> --- a/xen/arch/x86/hvm/vmx/vmcs.c
>> +++ b/xen/arch/x86/hvm/vmx/vmcs.c
>> @@ -1492,7 +1492,7 @@ static struct keyhandler vmcs_dump_keyha
>>       .desc = "dump Intel's VMCS"
>>   };
>>   
>> -void setup_vmcs_dump(void)
>> +void __init setup_vmcs_dump(void)
>>   {
>>       register_keyhandler('v', &vmcs_dump_keyhandler);
>>   }
>>
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xen.org
>> http://lists.xen.org/xen-devel
>
>

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

end of thread, other threads:[~2013-07-10 19:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-10 10:38 [PATCH] x86/HVM: key handler registration functions can be __init Jan Beulich
2013-07-10 11:36 ` Keir Fraser
2013-07-10 19:38   ` Suravee Suthikulpanit

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