Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
03db98ba
"...composable_kernel-1.git" did not exist on "a1b2441f8d3fc229629d0c6c18ef5836d1548e12"
Commit
03db98ba
authored
Jan 16, 2025
by
Jonas Kaufmann
Browse files
sympyhony/orchestration: remove some debug prints
parent
ce4900b8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
6 deletions
+0
-6
symphony/orchestration/simbricks/orchestration/instantiation/base.py
...chestration/simbricks/orchestration/instantiation/base.py
+0
-3
symphony/orchestration/simbricks/orchestration/simulation/host.py
.../orchestration/simbricks/orchestration/simulation/host.py
+0
-1
symphony/orchestration/simbricks/orchestration/simulation/pcidev.py
...rchestration/simbricks/orchestration/simulation/pcidev.py
+0
-1
symphony/orchestration/simbricks/orchestration/system/host/disk_images.py
...ration/simbricks/orchestration/system/host/disk_images.py
+0
-1
No files found.
symphony/orchestration/simbricks/orchestration/instantiation/base.py
View file @
03db98ba
...
@@ -160,7 +160,6 @@ class Instantiation:
...
@@ -160,7 +160,6 @@ class Instantiation:
raise
Exception
(
"cannot create socket path for given interface type"
)
raise
Exception
(
"cannot create socket path for given interface type"
)
assert
queue_type
is
not
None
assert
queue_type
is
not
None
print
(
f
"_interface_to_sock_path: self.env._shm_base=
{
self
.
shm_base_dir
()
}
"
)
return
self
.
_join_paths
(
return
self
.
_join_paths
(
base
=
self
.
shm_base_dir
(),
base
=
self
.
shm_base_dir
(),
relative_path
=
f
"
{
queue_type
}
-
{
queue_ident
}
"
,
relative_path
=
f
"
{
queue_type
}
-
{
queue_ident
}
"
,
...
@@ -208,14 +207,12 @@ class Instantiation:
...
@@ -208,14 +207,12 @@ class Instantiation:
if
socket
is
not
None
:
if
socket
is
not
None
:
new_socket
=
self
.
_create_opposing_socket
(
socket
=
socket
,
socket_type
=
socket_type
)
new_socket
=
self
.
_create_opposing_socket
(
socket
=
socket
,
socket_type
=
socket_type
)
self
.
_updated_tracker_mapping
(
interface
=
interface
,
socket
=
new_socket
)
self
.
_updated_tracker_mapping
(
interface
=
interface
,
socket
=
new_socket
)
print
(
f
"created socket:
{
new_socket
.
_path
}
"
)
return
new_socket
return
new_socket
# create socket if opposing socket was not created yet
# create socket if opposing socket was not created yet
sock_path
=
self
.
_interface_to_sock_path
(
interface
=
interface
)
sock_path
=
self
.
_interface_to_sock_path
(
interface
=
interface
)
new_socket
=
inst_socket
.
Socket
(
path
=
sock_path
,
ty
=
socket_type
)
new_socket
=
inst_socket
.
Socket
(
path
=
sock_path
,
ty
=
socket_type
)
self
.
_updated_tracker_mapping
(
interface
=
interface
,
socket
=
new_socket
)
self
.
_updated_tracker_mapping
(
interface
=
interface
,
socket
=
new_socket
)
print
(
f
"created socket:
{
new_socket
.
_path
}
"
)
return
new_socket
return
new_socket
def
sim_dependencies
(
self
)
->
dict
[
sim_base
.
Simulator
,
set
[
sim_base
.
Simulator
]]:
def
sim_dependencies
(
self
)
->
dict
[
sim_base
.
Simulator
,
set
[
sim_base
.
Simulator
]]:
...
...
symphony/orchestration/simbricks/orchestration/simulation/host.py
View file @
03db98ba
...
@@ -348,5 +348,4 @@ class QemuSim(HostSim):
...
@@ -348,5 +348,4 @@ class QemuSim(HostSim):
cmd
+=
",sync=off"
cmd
+=
",sync=off"
cmd
+=
" "
cmd
+=
" "
print
(
cmd
)
return
cmd
return
cmd
symphony/orchestration/simbricks/orchestration/simulation/pcidev.py
View file @
03db98ba
...
@@ -94,7 +94,6 @@ class NICSim(PCIDevSim):
...
@@ -94,7 +94,6 @@ class NICSim(PCIDevSim):
if
self
.
extra_args
is
not
None
:
if
self
.
extra_args
is
not
None
:
cmd
+=
" "
+
self
.
extra_args
cmd
+=
" "
+
self
.
extra_args
print
(
cmd
)
return
cmd
return
cmd
...
...
symphony/orchestration/simbricks/orchestration/system/host/disk_images.py
View file @
03db98ba
...
@@ -198,7 +198,6 @@ class LinuxConfigDiskImage(DynamicDiskImage):
...
@@ -198,7 +198,6 @@ class LinuxConfigDiskImage(DynamicDiskImage):
async
def
_prepare_format
(
self
,
inst
:
inst_base
.
Instantiation
,
format
:
str
)
->
None
:
async
def
_prepare_format
(
self
,
inst
:
inst_base
.
Instantiation
,
format
:
str
)
->
None
:
path
=
self
.
path
(
inst
,
format
)
path
=
self
.
path
(
inst
,
format
)
print
(
path
)
with
tarfile
.
open
(
path
,
"w:"
)
as
tar
:
with
tarfile
.
open
(
path
,
"w:"
)
as
tar
:
# add main run script
# add main run script
cfg_i
=
tarfile
.
TarInfo
(
"guest/run.sh"
)
cfg_i
=
tarfile
.
TarInfo
(
"guest/run.sh"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment