vmware/govmomi — pull request #84 by pietern (2014-08-29 06:42:38+00:00)
Title: Add vm.disk command to add disks

I tried keying the disk off of VirtualDevice.DeviceInfo, but that isn't interpreted if specified in a VirtualMachineConfigSpec passed to ReconfigureVM. Instead, this change uses the backing file name as key. Using a disk key makes the command idempotent.