[libvirt] [PATCH 2/2] qemu: add a check when cold-plug a Chr device