This is qemu patch https://github.com/qemu/qemu/commit/5ca156cfde0f3821f15988619e51cf3cda99aaa6.patch
machdep.cacheline_size is an integer, not a long. Since PowerPC is
big-endian this causes sysctlbyname() to fill in the upper bits of the
argument, rather than the correct 'lower bits' of the word. Specify the
correct type to fix this.
Fixes
Assertion failed: ((isize & (isize - 1)) == 0), function init_cache_info, file util/cacheinfo.c, line 179.
Abort trap
when running qemu on FreeBSD powerpc.