diff options
author | Alexander Graf <agraf@suse.de> | 2009-07-25 01:16:44 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-27 14:09:14 -0500 |
commit | 1c7936e37730e58a8cc81fea91fd831b1ccf0b73 (patch) | |
tree | c61257129a151b28eebb41ddc999aee6b158f4dd /linux-user/path.c | |
parent | ce536cfd1c33bf1a59a02436a025ddc7ef3a63b6 (diff) |
Use 64bit pointer for dirty log
Dirty logs currently get written with native "long" size. On little endian
it doesn't matter if we use uint64_t instead though, because we'd still end
up using the right bytes.
On big endian, this does become a bigger problem, so we need to ensure that
kernel and userspace talk the same language, which means getting rid of "long"
and using a defined size instead.
So I decided to use 64 bit types at all times. This doesn't break existing
targets but will in conjunction with a patch I'll send to the KVM ML make
dirty logs work with 32 bit userspace on 64 kernel with big endian.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'linux-user/path.c')
0 files changed, 0 insertions, 0 deletions