[libvirt] [PATCH] UML: may be typo

MATSUDA, Daiki matsudadik at intellilink.co.jp
Mon Apr 9 03:40:52 UTC 2012


I found typo in UML driver.

MATSUDA Daiki

--- libvirt-0.9.11/src/uml/uml_driver.c.orig    2012-04-09
11:56:47.105695476 +0900
+++ libvirt-0.9.11/src/uml/uml_driver.c 2012-04-09 11:56:56.653820665 +0900
@@ -249,7 +249,7 @@ umlIdentifyChrPTY(struct uml_driver *dri
 {
     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)




More information about the libvir-list mailing list