Skip to content

Commit

Permalink
configs,tests: Update refs to deprecated 'x86-ubuntu-img'
Browse files Browse the repository at this point in the history
This resource has been deprecated in favor of 'x86-ubuntu-18.04-img'. In
practise, these are the same resource (i.e., the same disk image), but
we deprecate 'x86-ubuntu-img' as 'x86-ubuntu-18.04-img' is more explicit
on what the disk image contains. Going forward we may want different
disk image resources with different Ubuntu versions, and we want it to
be clear what the user is retrieving.

Change-Id: I06b08e6b65cf431067ffda35ebd10d419068d073
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/54583
Reviewed-by: Bobby Bruce <[email protected]>
Maintainer: Bobby Bruce <[email protected]>
Tested-by: kokoro <[email protected]>
  • Loading branch information
BobbyRBruce committed Dec 21, 2021
1 parent c999905 commit 5cf00e5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion configs/example/gem5_library/x86-ubuntu-run-with-kvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
kernel=Resource("x86-linux-kernel-5.4.49"),
# The x86 ubuntu image will be automatically downloaded to the if not
# already present.
disk_image=Resource("x86-ubuntu-img"),
disk_image=Resource("x86-ubuntu-18.04-img"),
readfile_contents=command,
)

Expand Down
2 changes: 1 addition & 1 deletion configs/example/gem5_library/x86-ubuntu-run.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
# downloaded.
board.set_kernel_disk_workload(
kernel=Resource("x86-linux-kernel-5.4.49"),
disk_image=Resource("x86-ubuntu-img"),
disk_image=Resource("x86-ubuntu-18.04-img"),
)

simulator = Simulator(board=board)
Expand Down
2 changes: 1 addition & 1 deletion tests/gem5/configs/boot_kvm_fork_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
resource_directory=args.resource_directory,
),
disk_image=Resource(
"x86-ubuntu-img",
"x86-ubuntu-18.04-img",
resource_directory=args.resource_directory,
),
readfile_contents=dedent(
Expand Down
2 changes: 1 addition & 1 deletion tests/gem5/configs/boot_kvm_switch_exit.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
resource_directory=args.resource_directory,
),
disk_image=Resource(
"x86-ubuntu-img",
"x86-ubuntu-18.04-img",
resource_directory=args.resource_directory,
),
# The first exit signals to switch processors.
Expand Down
2 changes: 1 addition & 1 deletion tests/gem5/configs/x86_boot_exit_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
resource_directory=args.resource_directory,
),
disk_image=Resource(
"x86-ubuntu-img",
"x86-ubuntu-18.04-img",
resource_directory=args.resource_directory,
),
kernel_args=kernal_args,
Expand Down

0 comments on commit 5cf00e5

Please sign in to comment.