qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PULL 24/49] target-i386: Remove gen_op_movl_T0_im*


From: Richard Henderson
Subject: Re: [Qemu-devel] [PULL 24/49] target-i386: Remove gen_op_movl_T0_im*
Date: Thu, 23 Jan 2014 09:03:43 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 01/23/2014 07:24 AM, Kevin Wolf wrote:
>> > @@ -6508,12 +6498,11 @@ static target_ulong disas_insn(CPUX86State *env, 
>> > DisasContext *s,
>> >          else
>> >              ot = dflag ? MO_32 : MO_16;
>> >          val = cpu_ldub_code(env, s->pc++);
>> > -        gen_op_movl_T0_im(val);
>> >          gen_check_io(s, ot, pc_start - s->cs_base,
>> >                       SVM_IOIO_TYPE_MASK | svm_is_rep(prefixes));
> This removal is wrong. gen_check_io() uses cpu_T[0] internally in order
> to check the I/O bitmap. Now I get a #GP even for legitimate cases.
> 
> The following patch (which is essentially a partial revert) makes it
> work for me again. Should I send it as a proper patch or would you
> prefer to clean up gen_check_io()? I guess some more explicit passing of
> the port number couldn't hurt there, but I'm not familiar with TCG and
> who knows what I would break while doing this...

Oops.  How did that happen?

Please just send this as a proper patch and we'll worry about cleanup of
gen_check_io later.  You can add my

Reviewed-by: Richard Henderson <address@hidden>

when you send it.  Via qemu-trivial?


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]