would there be any memory ordering issue ? what if the host processor
has a more relaxed memory ordering then the guest. maybe memset with
membarriers in between.

Xin

On Wed, Jan 22, 2014 at 1:06 PM, Richard Henderson <r...@twiddle.net> wrote:
> On 01/22/2014 10:58 AM, Peter Maydell wrote:
>> In theory we could just find the pointer to the memory QEMU is backing
>> the guest RAM with and call memset on it...
>
> That's more or less what we do for the s390 insn XC.
> See mem_helper.c, especially mvc_fast_memset.
>
>
> r~
>

Reply via email to