projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6a5df5
)
Fix overwritting and ordering issues with serialization routines
author
Ron Dreslinski
<rdreslin@umich.edu>
Sun, 2 Nov 2003 04:00:40 +0000
(23:00 -0500)
committer
Ron Dreslinski
<rdreslin@umich.edu>
Sun, 2 Nov 2003 04:00:40 +0000
(23:00 -0500)
dev/disk_image.cc:
seperate serialization output files for different cow images
--HG--
extra : convert_revision :
b62551f8e3f6315bb92ae3cb44e077d8084cbfe7
dev/disk_image.cc
patch
|
blob
|
history
diff --git
a/dev/disk_image.cc
b/dev/disk_image.cc
index 2fead00ad14db1960c8f009778c28f05ec70e21c..747e76965ab17443754722b8f93a1ab6c099828e 100644
(file)
--- 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);
}