Hi, thanks for your answer!
I will describe you my situation:
I want to passthrough some devices, which is working very good, but I can do this only one time and then I have to restart the host system to get the devices available again. So after a restart of the host system I can bind the devices to any vm again, but if I shutdown this vm, the devices are unavailable for binding to any other vm or to the same vm.
I researched about this problem and I think, that proxmox does not unbind the devices clearly. If there would only be one vm I could bypass this problem with a little workaround using netcat, which connects to the pid file and if it is no more existent then the script will unbind the devices manually, but with more than one vm it is a little bit complicated because how should the script know which vm uses the devices...