Re: [Qemu-devel] [PATCH 08/12] qemu-common.h: Move muldiv64() to host-utils.h

2015-07-31 Thread Daniel P. Berrange
On Wed, Jul 22, 2015 at 05:44:07PM +0100, Peter Maydell wrote: > Move the muldiv64() function from qemu-common.h to host-utils.h. > This puts it together with all the other arithmetic functions > where we provide a version with __int128_t and a fallback > without, and allows headers which need muld

[Qemu-devel] [PATCH 08/12] qemu-common.h: Move muldiv64() to host-utils.h

2015-07-22 Thread Peter Maydell
Move the muldiv64() function from qemu-common.h to host-utils.h. This puts it together with all the other arithmetic functions where we provide a version with __int128_t and a fallback without, and allows headers which need muldiv64() to avoid including qemu-common.h. We don't include host-utils f