diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2003-11-01 23:00:40 -0500 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2003-11-01 23:00:40 -0500 |
commit | 095962c914448a5298d8dcba7758c3a0a1361734 (patch) | |
tree | 6f1227158d1a5274f76844204d0cc475a5de8599 | |
parent | a6a5df529e53eb41db3d9c2d95579934f77cb985 (diff) | |
download | gem5-095962c914448a5298d8dcba7758c3a0a1361734.tar.xz |
Fix overwritting and ordering issues with serialization routines
dev/disk_image.cc:
seperate serialization output files for different cow images
--HG--
extra : convert_revision : b62551f8e3f6315bb92ae3cb44e077d8084cbfe7
-rw-r--r-- | dev/disk_image.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/disk_image.cc b/dev/disk_image.cc index 2fead00ad..747e76965 100644 --- a/dev/disk_image.cc +++ b/dev/disk_image.cc @@ -405,7 +405,7 @@ CowDiskImage::write(const uint8_t *data, off_t offset) void CowDiskImage::serialize(ostream &os) { - string cowFilename = serializeFilename + ".cow"; + string cowFilename = serializeFilename + "." + name() + ".cow"; SERIALIZE_SCALAR(cowFilename); save(cowFilename); } |