Re: [PATCH] KVM: x86: Remove prefix flag when GP macro is used

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

 




On 07/12/2014 10:49, Nadav Amit wrote:
> The macro GP already sets the flag Prefix. Remove the redundant flag for
> 0f_38_f0 and 0f_38_f1 opcodes.
> 
> Signed-off-by: Nadav Amit <namit@xxxxxxxxxxxxxxxxx>
> ---
>  arch/x86/kvm/emulate.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
> index 3817334..b4f4201 100644
> --- a/arch/x86/kvm/emulate.c
> +++ b/arch/x86/kvm/emulate.c
> @@ -4172,8 +4172,8 @@ static const struct opcode opcode_map_0f_38[256] = {
>  	/* 0x80 - 0xef */
>  	X16(N), X16(N), X16(N), X16(N), X16(N), X16(N), X16(N),
>  	/* 0xf0 - 0xf1 */
> -	GP(EmulateOnUD | ModRM | Prefix, &three_byte_0f_38_f0),
> -	GP(EmulateOnUD | ModRM | Prefix, &three_byte_0f_38_f1),
> +	GP(EmulateOnUD | ModRM, &three_byte_0f_38_f0),
> +	GP(EmulateOnUD | ModRM, &three_byte_0f_38_f1),
>  	/* 0xf2 - 0xff */
>  	N, N, X4(N), X8(N)
>  };
> 

Applied, thanks.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux