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

Re: [Xen-devel] [PATCH 5/18 V2]: PVH xen: more preparatory changes for PVH



At 17:30 -0700 on 15 Mar (1363368627), Mukesh Rathor wrote:
> This is another preparotary patch for PVH. In this patch, following
> functions are made non-static:
>      vmx_fpu_enter(), get_instruction_length(), update_guest_eip(),
>      vmx_dr_access(), vmx_do_extint(), pv_cpuid(), and
>      emulate_forced_invalid_op().
> 
> There is no functionality change.
> 
> Changes in V2:
>   - prepend vmx_ to get_instruction_length and update_guest_eip.
>   - Do not export/use vmr().
> 
> Signed-off-by: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>

Looks fine to me, but this change:

> @@ -905,7 +905,7 @@ static int emulate_invalid_rdtscp(struct cpu_user_regs 
> *regs)
>      return EXCRET_fault_fixed;
>  }
>  
> -static int emulate_forced_invalid_op(struct cpu_user_regs *regs)
> +unsigned long emulate_forced_invalid_op(struct cpu_user_regs *regs)
>  {
>      char sig[5], instr[2];
>      unsigned long eip, rc;

made me notice that the later patch where you make this function
sometimes return an address is a bit worrying.  Let me comment there
directly...

Tim.

_______________________________________________
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®.