diff options
| author | Paolo Bonzini | 2013-11-06 19:18:08 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2013-12-10 11:29:56 +0100 |
| commit | 286690e34ce04fa29bf812ef2bb7b32c3e7c3b85 (patch) | |
| tree | be09c36a1ac8a756eed020676c296d2722aca901 /scripts | |
| parent | pci: fix address space size for bridge (diff) | |
| download | qemu-286690e34ce04fa29bf812ef2bb7b32c3e7c3b85.tar.gz qemu-286690e34ce04fa29bf812ef2bb7b32c3e7c3b85.tar.xz qemu-286690e34ce04fa29bf812ef2bb7b32c3e7c3b85.zip | |
pc: s/INT64_MAX/UINT64_MAX/
It doesn't make sense for a region to be INT64_MAX in size:
memory core uses UINT64_MAX as a special value meaning
"all 64 bit" this is what was meant here.
While this should never affect the PC system which at the moment always
has < 63 bit size, this makes us hit all kind of corner case bugs with
sub-pages, so users are probably better off if we just use UINT64_MAX
instead.
Reported-by: Luiz Capitulino <lcapitulino@redhat.com>
Tested-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
