[client] kick the guest before waiting for updates

This commit is contained in:
Geoffrey McRae 2017-12-13 05:28:53 +11:00
parent d2957228ef
commit e7511b30bb

View File

@ -146,6 +146,7 @@ int renderThread(void * unused)
struct KVMFRHeader header; struct KVMFRHeader header;
volatile uint32_t * updateCount = &state.shm->updateCount; volatile uint32_t * updateCount = &state.shm->updateCount;
ivshmem_kick_irq(state.shm->guestID, 0);
while(state.running) while(state.running)
{ {
// poll until we have a new frame, or we time out // poll until we have a new frame, or we time out