[host] init ivshmem options before testing

This commit is contained in:
Geoffrey McRae 2020-10-19 03:01:35 +11:00
parent 9ff1859dc1
commit 9d0ae23f9f

View File

@ -601,6 +601,7 @@ VOID WINAPI SvcMain(DWORD dwArgc, LPTSTR *lpszArgv)
/* check if the ivshmem device exists */ /* check if the ivshmem device exists */
struct IVSHMEM shmDev = { 0 }; struct IVSHMEM shmDev = { 0 };
ivshmemOptionsInit();
if (!ivshmemInit(&shmDev)) if (!ivshmemInit(&shmDev))
{ {
doLog("Unable to find the IVSHMEM device, terminating the service\n"); doLog("Unable to find the IVSHMEM device, terminating the service\n");