[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86/HVM: key handler registration functions can be __init



On 7/10/2013 6:36 AM, Keir Fraser wrote:
On 10/07/2013 11:38, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:

This applies to both SVM and VMX.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Keir Fraser <keir@xxxxxxx>

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


--- 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@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel





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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.