[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] tools/libacpi: Drop useless print messages



Libraries have no buisness using stdout directly, and these have no real
value.  Dropping them removes the following output when building a PVH guest:

  [root@fusebot ~]# xl create shim.cfg
  Parsing config from shim.cfg
  S3 disabled
  S4 disabled
  CONV disabled
  [root@fusebot ~]#

Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
CC: Jan Beulich <JBeulich@xxxxxxxx>
---
 tools/libacpi/build.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tools/libacpi/build.c b/tools/libacpi/build.c
index f9881c9..fa7d14e 100644
--- a/tools/libacpi/build.c
+++ b/tools/libacpi/build.c
@@ -393,8 +393,6 @@ static int construct_secondary_tables(struct acpi_ctxt 
*ctxt,
         if (!ssdt) return -1;
         memcpy(ssdt, ssdt_s3, sizeof(ssdt_s3));
         table_ptrs[nr_tables++] = ctxt->mem_ops.v2p(ctxt, ssdt);
-    } else {
-        printf("S3 disabled\n");
     }
 
     if ( config->table_flags & ACPI_HAS_SSDT_S4 )
@@ -403,8 +401,6 @@ static int construct_secondary_tables(struct acpi_ctxt 
*ctxt,
         if (!ssdt) return -1;
         memcpy(ssdt, ssdt_s4, sizeof(ssdt_s4));
         table_ptrs[nr_tables++] = ctxt->mem_ops.v2p(ctxt, ssdt);
-    } else {
-        printf("S4 disabled\n");
     }
 
     if ( config->table_flags & ACPI_HAS_SSDT_LAPTOP_SLATE )
@@ -413,8 +409,6 @@ static int construct_secondary_tables(struct acpi_ctxt 
*ctxt,
         if (!ssdt) return -1;
         memcpy(ssdt, ssdt_laptop_slate, sizeof(ssdt_laptop_slate));
         table_ptrs[nr_tables++] = ctxt->mem_ops.v2p(ctxt, ssdt);
-    } else {
-        printf("CONV disabled\n");
     }
 
     /* TPM TCPA and SSDT. */
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.