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

Re: [Xen-devel] [PATCH v5 12/13] x86/traps: move some PV specific functions to pv/traps.c



>>> Wei Liu <wei.liu2@xxxxxxxxxx> 06/26/17 6:46 PM >>>
>@@ -148,6 +150,108 @@ void init_int80_direct_trap(struct vcpu *v)
         >tb->flags = TBF_EXCEPTION | (TI_GET_IF(ti) ? TBF_INTERRUPT : 0);
 >}
 >
>+struct softirq_trap {
>+    struct domain *domain; /* domain to inject trap */
>+    struct vcpu *vcpu;     /* vcpu to inject trap */
>+    int processor;         /* physical cpu to inject trap */

unsigned int please as you go.

>+static void nmi_mce_softirq(void)
>+{
>+    int cpu = smp_processor_id();

Same here.

Jan


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

 


Rackspace

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