Bug - only attach ONE vm when the importing folder contains more than one VM

May 27, 2011 at 4:39 AM


If the importing folder, which contains the "Virtual Machines" and "Snapshots" folders, has more than one VM, i.e., more than one XML file in the "Virtual Machines" folder, VMM only attaches one VM to Hyper-V.

In such situation, the AttachVM() function throws an exception. I think it's quite easy to add a "foreach" to process such case.

May you fix this. Thanks!