virt plugin: compare pointer to NULL, not 0