[PATCH v5 2/8] qemu: Manage a pre-shared key's lifecycle