mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
UML: fix iteration over consoles
I found typo in UML driver. MATSUDA Daiki
This commit is contained in:
parent
1413560966
commit
257191c9e4
1
AUTHORS
1
AUTHORS
@ -230,6 +230,7 @@ Patches have also been contributed by:
|
||||
Christian Benvenuti <benve@cisco.com>
|
||||
Ilja Livenson <ilja.livenson@gmail.com>
|
||||
Stefan Bader <stefan.bader@canonical.com>
|
||||
MATSUDA Daiki <matsudadik@intellilink.co.jp>
|
||||
|
||||
[....send patches to get your name here....]
|
||||
|
||||
|
@ -249,7 +249,7 @@ umlIdentifyChrPTY(struct uml_driver *driver,
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0 ; i < dom->def->nserials; i++)
|
||||
for (i = 0 ; i < dom->def->nconsoles; i++)
|
||||
if (dom->def->consoles[i]->source.type == VIR_DOMAIN_CHR_TYPE_PTY)
|
||||
if (umlIdentifyOneChrPTY(driver, dom,
|
||||
dom->def->consoles[i], "con") < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user