hypervisor: fixed bug in query_if guest running