Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xing Lin
qemu
Commits
3a1bc175
Commit
3a1bc175
authored
May 12, 2004
by
bellard
Browse files
allow '-nics 0'
git-svn-id:
svn://svn.savannah.nongnu.org/qemu/trunk@802
c046a42c-6fe2-441c-8c8c-71466251a162
parent
db45c29a
Changes
1
Hide whitespace changes
Inline
Side-by-side
vl.c
View file @
3a1bc175
...
...
@@ -2118,7 +2118,7 @@ int main(int argc, char **argv)
break
;
case
16
:
nb_nics
=
atoi
(
optarg
);
if
(
nb_nics
<
1
||
nb_nics
>
MAX_NICS
)
{
if
(
nb_nics
<
0
||
nb_nics
>
MAX_NICS
)
{
fprintf
(
stderr
,
"qemu: invalid number of network interfaces
\n
"
);
exit
(
1
);
}
...
...
Write
Preview
Supports
Markdown
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