summaryrefslogtreecommitdiffstats
path: root/sysemu.h
diff options
context:
space:
mode:
authorAlexander Graf2009-07-27 12:49:56 +0200
committerAnthony Liguori2009-07-27 21:09:14 +0200
commit96c1606b33a64ea6d5e1a988f9eb234a58947002 (patch)
treea6403dfab325a8729acf580caaa747cc00b96a66 /sysemu.h
parentUse 64bit pointer for dirty log (diff)
downloadqemu-96c1606b33a64ea6d5e1a988f9eb234a58947002.tar.gz
qemu-96c1606b33a64ea6d5e1a988f9eb234a58947002.tar.xz
qemu-96c1606b33a64ea6d5e1a988f9eb234a58947002.zip
Use Little Endian for Dirty Log
We currently use host endian long types to store information in the dirty bitmap. This works reasonably well on Little Endian targets, because the u32 after the first contains the next 32 bits. On Big Endian this breaks completely though, forcing us to be inventive here. So Ben suggested to always use Little Endian, which looks reasonable. We only have dirty bitmap implemented in Little Endian targets so far and since PowerPC would be the first Big Endian platform, we can just as well switch to Little Endian always with little effort without breaking existing targets. This is the userspace part of the patch. It shouldn't change anything for existing targets, but help PowerPC. It replaces my older patch called "Use 64bit pointer for dirty log". Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'sysemu.h')
0 files changed, 0 insertions, 0 deletions