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