test/power: fix build with shared library
authorReshma Pattan <reshma.pattan@intel.com>
Tue, 24 Apr 2018 22:10:21 +0000 (23:10 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 24 Apr 2018 22:51:31 +0000 (00:51 +0200)
commit4e96556a21bc60a89b05bd92163a5897ae2b43a4
tree49ab6f731043576b5d1390e5b965cbd0600ecfb9
parentee27edbe0c10ec8337c4cc4d2935a751d0da605f
test/power: fix build with shared library

Using private api `guest_channel_host_connect()`
will cause shared library build failure:
        test_power_kvm_vm.c:(.text+0x2cb):
        undefined reference to `guest_channel_host_connect'

So revert the changes done.

Fixes: d550a8cc31f3 ("app/test: enhance power manager unit tests")

Reported-by: Bruce Richardson <bruce.richardson@intel.com>
Suggested-by: David Hunt <david.hunt@intel.com>
Signed-off-by: Jananee Parthasarathy <jananeex.m.parthasarathy@intel.com>
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
test/test/test_power_kvm_vm.c