From: Maxim Nestratov Date: Tue, 26 May 2015 14:57:00 +0000 (+0300) Subject: parallels: suppress console output from parallels SDK X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=30ae685780a6dbedabb06c8ec326b3858b77e3d3;p=people%2Fliuw%2Flibxenctrl-split%2Flibvirt.git parallels: suppress console output from parallels SDK It is necessary to have unpolluted screen when connecting to parallels driver via virsh. Otherwise a lot of unexpected output one will get on the console. Signed-off-by: Maxim Nestratov --- diff --git a/src/parallels/parallels_sdk.c b/src/parallels/parallels_sdk.c index bedee2c5f..39c200a47 100644 --- a/src/parallels/parallels_sdk.c +++ b/src/parallels/parallels_sdk.c @@ -205,6 +205,9 @@ prlsdkInit(void) { PRL_RESULT ret; + /* Disable console output */ + PrlApi_SwitchConsoleLogging(0); + ret = PrlApi_InitEx(PARALLELS_API_VER, PAM_SERVER, 0, 0); if (PRL_FAILED(ret)) { logPrlError(ret);