usb-libvirt-hotplug
usb-libvirt-hotplug copied to clipboard
Can not attach device via stdin but via file
I was not able to attach the device with the following script. As workaround a write a temporary XML file and pass the path as parameter. I changed the script to:
cat <<EOT > /tmp/device2attach
virsh ${COMMAND} ${DOMAIN} --file /tmp/device2attach
Hey I know this is old, but could you show more of your script.. I tried to do the same. and it's not working..