]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
conf: cpu: Break some long lines
authorPeter Krempa <pkrempa@redhat.com>
Mon, 17 Dec 2012 11:04:14 +0000 (12:04 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 17 Dec 2012 16:28:04 +0000 (17:28 +0100)
src/conf/cpu_conf.c

index e5695f411ec89bc9fd4fd06adf13a6f255d83d82..41c553572c8f5bfee95bd5c02c9fd4ad354d1c40 100644 (file)
@@ -264,8 +264,9 @@ virCPUDefParseXML(const xmlNodePtr node,
             VIR_FREE(match);
 
             if (def->match < 0) {
-                virReportError(VIR_ERR_INTERNAL_ERROR,
-                               "%s", _("Invalid match attribute for CPU specification"));
+                virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
+                               _("Invalid match attribute for CPU "
+                                 "specification"));
                 goto error;
             }
         }
@@ -333,8 +334,8 @@ virCPUDefParseXML(const xmlNodePtr node,
         ret = virXPathULong("string(./topology[1]/@sockets)",
                             ctxt, &ul);
         if (ret < 0) {
-            virReportError(VIR_ERR_INTERNAL_ERROR,
-                           "%s", _("Missing 'sockets' attribute in CPU topology"));
+            virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
+                           _("Missing 'sockets' attribute in CPU topology"));
             goto error;
         }
         def->sockets = (unsigned int) ul;
@@ -342,8 +343,8 @@ virCPUDefParseXML(const xmlNodePtr node,
         ret = virXPathULong("string(./topology[1]/@cores)",
                             ctxt, &ul);
         if (ret < 0) {
-            virReportError(VIR_ERR_INTERNAL_ERROR,
-                           "%s", _("Missing 'cores' attribute in CPU topology"));
+            virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
+                           _("Missing 'cores' attribute in CPU topology"));
             goto error;
         }
         def->cores = (unsigned int) ul;
@@ -351,8 +352,8 @@ virCPUDefParseXML(const xmlNodePtr node,
         ret = virXPathULong("string(./topology[1]/@threads)",
                             ctxt, &ul);
         if (ret < 0) {
-            virReportError(VIR_ERR_INTERNAL_ERROR,
-                           "%s", _("Missing 'threads' attribute in CPU topology"));
+            virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
+                           _("Missing 'threads' attribute in CPU topology"));
             goto error;
         }
         def->threads = (unsigned int) ul;
@@ -370,8 +371,9 @@ virCPUDefParseXML(const xmlNodePtr node,
 
     if (n > 0) {
         if (!def->model) {
-            virReportError(VIR_ERR_INTERNAL_ERROR,
-                           "%s", _("Non-empty feature list specified without CPU model"));
+            virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
+                           _("Non-empty feature list specified without "
+                             "CPU model"));
             goto error;
         }