tools/libacpi: Drop useless print messages
PATCH 1/1 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 ~]#
---
CC: Jan Beulich <[email protected]>
--- tools/libacpi/build.c | 6 ------ 1 file changed, 6 deletions(-)
tools/libacpi/build.c +0 -6
@@ -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. */
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 11 lines · Andrew Cooper
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 <[email protected]>
Thanks, Roger.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 5 lines
Quoted 1 line
Quoted 1 line · On 15.03.18 at 12:56, <[email protected]> wrote:
Libraries have no buisness using stdout directly, and these have no real value. Dropping them removes the following output when building a PVH guest:
Quoted 8 lines
[root@fusebot ~]# xl create shim.cfg
Parsing config from shim.cfg
S3 disabled
S4 disabled
CONV disabled
[root@fusebot ~]#Signed-off-by Andrew Cooper <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel