Thank you, yes this did indeed solve the problem. I was not aware a second image file is now officially supported by the tool without further modifications

On Feb 13, 2020 11:55 AM, Ciro Santilli <ciro.santi...@arm.com> wrote:

Hi Iago,

I have managed to get it working recently without any patches as
explained at:
https://stackoverflow.com/questions/50862906/how-to-attach-multiple-disk-images-in-a-simulation-with-gem5-fs-py/60210181#60210181

If that doesn't solve the problem for you, let me know.

On 2/7/20 2:38 PM, Iago . wrote:
> I've been trying to reproduce some tests i've done last year but with
> some of the latest updates to the tool the way to append a second image
> to the FSConfig.py script has changed, i've been trying to just change this:
>
> def makeCowDisks(disk_paths):
>      disks = []
>      for disk_path in disk_paths:
>          disk = CowIdeDisk(driveID='master')
>          disk.childImage(disk_path);
>          disks.append(disk)
>      return disks
>
> changing the childimage line to :
> disk.childImage('/home/iago/fs/disks/workloads.img');
> But ive been getting kernel panics on my simulation.
> Thanks in advance
>
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


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

Reply via email to