Set device type to UNKNOWN after dynamic resource delete is called.
Set device type to UNKNOWN after dynamic resource delete is called.

If this is done before, then the call to detach_device() always fails.  The
proper device type is needed by the device_to_xml() call to generate the
XML needed for the virDomainDetachDevice() call.

Signed-off-by: Kaitlin Rupert <5d963ff58691ce861c80ea2b0deed9b0b88171bc@us.ibm.com>

libvirt/libvirt-cim,libvirt/libvirt-cim,libvirt/libvirt-cim