aboutsummaryrefslogtreecommitdiff
path: root/device_tree.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2012-12-04 11:38:38 +1100
committerAnthony Liguori <aliguori@us.ibm.com>2012-12-12 15:03:31 -0600
commit7ec81e56edc2b2007ce0ae3982aa5c18af9546ab (patch)
treecf7086a39e1e4632ac34cbf6d6724f90f8c8adc9 /device_tree.h
parent1c97e303d4ea80a2691334b0febe87a50660f99d (diff)
Fix off-by-1 error in RAM migration code
The code for migrating (or savevm-ing) memory pages starts off by creating a dirty bitmap and filling it with 1s. Except, actually, because bit addresses are 0-based it fills every bit except bit 0 with 1s and puts an extra 1 beyond the end of the bitmap, potentially corrupting unrelated memory. Oops. This patch fixes it. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'device_tree.h')
0 files changed, 0 insertions, 0 deletions