CA-92553: Thoroughly clear PCI attachments for stopped VMs
CA-92553: Thoroughly clear PCI attachments for stopped VMs

This should not be necessary if many-to-many relations in the DB
work properly. People have reported issues that may indicate that this is
not the case, but we have not yet found the root cause. Therefore, this
code is added "just to be sure".

Signed-off-by: Rob Hoes <8783b3376fb07d39edffc8d7da68a6de3874a7e6@citrix.com>

vasilenkomike/xen-api,jjd27/xen-api,anoobs/xen-api,simonjbeaumont/xen-api,salvocambria/xen-api,djs55/xen-api,anoobs/xen-api,huizh/xen-api,salvocambria/xen-api,cheng-z/xen-api,ravippandey/xen-api,jjd27/xen-api,rafalmiel/xen-api,euanh/xen-api,guard163/xen-api,thomassa/xen-api,ravippandey/xen-api,koushikcgit/xen-api,srowe/xen-api,Frezzle/xen-api,euanh/xen-api,jjd27/xen-api,huizh/xen-api,salvocambria/xen-api,vasilenkomike/xen-api,robertbreker/xen-api,euanh/xen-api,vasilenkomike/xen-api,Frezzle/xen-api,guard163/xen-api,Frezzle/xen-api,huizh/xen-api,guard163/xen-api,cheng-z/xen-api,agimofcarmen/xen-api,simonjbeaumont/xen-api,srowe/xen-api,koushikcgit/xen-api,cheng-z/xen-api,agimofcarmen/xen-api,guard163/xen-api,srowe/xen-api,vasilenkomike/xen-api,jjd27/xen-api,salvocambria/xen-api,euanh/xen-api,euanh/xen-api,vasilenkomike/xen-api,cheng--zhang/xen-api,rafalmiel/xen-api,guard163/xen-api,cheng--zhang/xen-api,jjd27/xen-api,huizh/xen-api,srowe/xen-api,simonjbeaumont/xen-api,thomassa/xen-api,anoobs/xen-api,salvocambria/xen-api,anoobs/xen-api,djs55/xen-api,euanh/xen-api,thomassa/xen-api,huizh/xen-api,cheng--zhang/xen-api,agimofcarmen/xen-api,ravippandey/xen-api,thomassa/xen-api,djs55/xen-api,agimofcarmen/xen-api,cheng--zhang/xen-api,robertbreker/xen-api,koushikcgit/xen-api,koushikcgit/xen-api,koushikcgit/xen-api,robertbreker/xen-api,cheng-z/xen-api,srowe/xen-api,ravippandey/xen-api,rafalmiel/xen-api,Frezzle/xen-api,cheng-z/xen-api,thomassa/xen-api,djs55/xen-api,agimofcarmen/xen-api,agimofcarmen/xen-api,rafalmiel/xen-api,simonjbeaumont/xen-api,robertbreker/xen-api,vasilenkomike/xen-api,jjd27/xen-api,ravippandey/xen-api,anoobs/xen-api,cheng-z/xen-api,huizh/xen-api,cheng--zhang/xen-api,koushikcgit/xen-api,cheng-z/xen-api,rafalmiel/xen-api,anoobs/xen-api,robertbreker/xen-api,ravippandey/xen-api,guard163/xen-api,cheng--zhang/xen-api,djs55/xen-api,simonjbeaumont/xen-api,salvocambria/xen-api,thomassa/xen-api,djs55/xen-api,simonjbeaumont/xen-api,robertbreker/xen-api,Frezzle/xen-api,cheng--zhang/xen-api,rafalmiel/xen-api