update states for libvirt, fix key association with hypervisor