Could you suggest any other way? 

I tried to use scp but failed...

also tried to follow the link: 

http://gem5.org/Bbench-gem5#Tips_for_Making_Your_Disk_Image_gem5_Friendly

After modification of FSConig.py, 

From:
#class CowIdeDisk(IdeDisk):
#    image = CowDiskImage(child=RawDiskImage(read_only=True),
#                         read_only=False)
#
#    def childImage(self, ci):
#        self.image.child.image_file = ci
To:
class RawIdeDisk(IdeDisk):
       image = RawDiskImage(read_only=False)
       def childImage(self, ci):
           self.image.image_file=ci

And, from: 

self.cf0 = CowIdeDisk(driveID='master')
    self.cf0.childImage(mdesc.disk())
To: 

self.cf0 = RawIdeDisk(driveID='master')

reloading failed, with following errors:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/hiseuser/gem5/src/python/m5/main.py", line 387, in main
    exec filecode in scope
  File "configs/example/fs.py", line 105, in <module>
    options.dtb_filename, bare_metal=options.bare_metal)
  File "/home/hiseuser/gem5/configs/common/FSConfig.py", line 281, in makeArmSystem
    self.realview.cf_ctrl.disks = [self.cf0]
  File "/home/hiseuser/gem5/src/python/m5/SimObject.py", line 725, in __getattr__
    % (self.__class__.__name__, attr)
AttributeError: object 'LinuxArmSystem' has no attribute 'cf0'


regards.


--------- 원본 메일 ---------
보낸사람: Anthony Gutierrez <atgut...@umich.edu>
받는사람 : gem5 users mailing list <gem5-users@gem5.org>
날짜: 2013년 4월 15일 월요일, 23시 34분 48초 +0900
제목: Re: [gem5-users] copying files from gem5 full system image
That is a little tricky. An easy way to do this is to retain them on the image by disabling the CoW layer. Although you need to be careful with this and probably use separate images for each file you need generated.


On Mon, Apr 15, 2013 at 10:32 AM, tod <saril...@hanmail.net> wrote:

Hi


how can we copy files from the given Gem5 full system images before they get lost because of copy-on-write (COW) functionality used?







_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users









이슬람은 하나님의 종교입니다.
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to