[PATCH v2 3/3] qemu: Do not erase duplicate devices from namespace if error occurs