mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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 <mnestratov@parallels.com>
This commit is contained in:
parent
efc68de5cd
commit
30ae685780
@ -205,6 +205,9 @@ prlsdkInit(void)
|
|||||||
{
|
{
|
||||||
PRL_RESULT ret;
|
PRL_RESULT ret;
|
||||||
|
|
||||||
|
/* Disable console output */
|
||||||
|
PrlApi_SwitchConsoleLogging(0);
|
||||||
|
|
||||||
ret = PrlApi_InitEx(PARALLELS_API_VER, PAM_SERVER, 0, 0);
|
ret = PrlApi_InitEx(PARALLELS_API_VER, PAM_SERVER, 0, 0);
|
||||||
if (PRL_FAILED(ret)) {
|
if (PRL_FAILED(ret)) {
|
||||||
logPrlError(ret);
|
logPrlError(ret);
|
||||||
|
Loading…
Reference in New Issue
Block a user