[root@localhost ~]# virsh undefine vhuser-test1
error: Failed to undefine domain vhuser-test1
error: Requested operation is not valid: cannot undefine domain with nvram
[root@localhost ~]# virsh undefine vhuser-test1 --nvram
Domain vhuser-test1 has been undefined
[root@localhost ~]#