qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] migration: Don't use *_to_cpup() and cpu_to_


From: Amit Shah
Subject: Re: [Qemu-devel] [PATCH v2] migration: Don't use *_to_cpup() and cpu_to_*w()
Date: Mon, 13 Jun 2016 10:08:53 +0530

On (Fri) 10 Jun 2016 [17:09:22], Peter Maydell wrote:
> The *_to_cpup() and cpu_to_*w() functions just compose a pointer
> dereference with a byteswap. Instead use ld*_p() and st*_p(),
> which handle potential pointer misalignment and avoid the need
> to cast the pointer.
> 
> Signed-off-by: Peter Maydell <address@hidden>

Reviewed-by: Amit Shah <address@hidden>

I'll pick this up, thanks.

                Amit



reply via email to

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