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