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
ae0b1b3a
Commit
ae0b1b3a
authored
Feb 17, 2021
by
Antoine Kaufmann
Browse files
sims/external/qemu: rename cosim device to simbricks
parent
fae53598
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
experiments/simbricks/simulators.py
experiments/simbricks/simulators.py
+2
-2
sims/external/qemu
sims/external/qemu
+1
-1
sims/external/rules.mk
sims/external/rules.mk
+1
-1
No files found.
experiments/simbricks/simulators.py
View file @
ae0b1b3a
...
@@ -147,8 +147,8 @@ class QemuHost(HostSim):
...
@@ -147,8 +147,8 @@ class QemuHost(HostSim):
if
len
(
self
.
nics
)
>
0
:
if
len
(
self
.
nics
)
>
0
:
assert
len
(
self
.
nics
)
==
1
assert
len
(
self
.
nics
)
==
1
cmd
+=
f
'-chardev socket,path=
{
env
.
nic_pci_path
(
self
.
nics
[
0
])
}
,'
cmd
+=
f
'-chardev socket,path=
{
env
.
nic_pci_path
(
self
.
nics
[
0
])
}
,'
cmd
+=
'id=
co
simcd '
cmd
+=
'id=sim
bricks
cd '
cmd
+=
f
'-device
co
sim-pci,chardev=
co
simcd'
cmd
+=
f
'-device sim
bricks
-pci,chardev=sim
bricks
cd'
if
self
.
sync
:
if
self
.
sync
:
cmd
+=
',sync=on'
cmd
+=
',sync=on'
cmd
+=
f
',sync-mode=
{
self
.
sync_mode
}
'
cmd
+=
f
',sync-mode=
{
self
.
sync_mode
}
'
...
...
qemu
@
2263345f
Compare
abe2e5fc
...
2263345f
Subproject commit
abe2e5fcc585a8f3a8852f1239546e802e8d57bb
Subproject commit
2263345fbc7b5fa5d1093e2ed9309708bc274181
sims/external/rules.mk
View file @
ae0b1b3a
...
@@ -45,7 +45,7 @@ $(d)qemu/ready: $(d)qemu
...
@@ -45,7 +45,7 @@ $(d)qemu/ready: $(d)qemu
--target-list
=
x86_64-softmmu
\
--target-list
=
x86_64-softmmu
\
--disable-werror
\
--disable-werror
\
--extra-cflags
=
"-I
$(
abspath
$(lib_dir)
)
"
\
--extra-cflags
=
"-I
$(
abspath
$(lib_dir)
)
"
\
--enable-
co
sim-pci
&&
\
--enable-sim
bricks
-pci
&&
\
$(MAKE)
$(MAKE)
touch
$@
touch
$@
...
...
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