From 62ab5437203f3d057f42be1bc7033c38aecb3749 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Mon, 4 Dec 2017 00:12:31 +1100 Subject: [PATCH] [client] fixed incorrect kick timing --- client/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/main.c b/client/main.c index 33a5b448..5d933ca6 100644 --- a/client/main.c +++ b/client/main.c @@ -216,7 +216,6 @@ int renderThread(void * unused) break; memcpy(&newHeader, state.shm, sizeof(struct KVMGFXHeader)); - ivshmem_kick_irq(newHeader.guestID, 0); // ensure the header magic is valid, this will help prevent crash out when the memory hasn't yet been initialized if ( @@ -511,6 +510,8 @@ int renderThread(void * unused) } SDL_RenderPresent(state.renderer); + ivshmem_kick_irq(newHeader.guestID, 0); + state.started = true; }