Description of problem: It seems that unplugged devices are not being written to OVFs. This needs to be investigated. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create a VM with 2 disks. 2. Unplug one of the disks. 3. Create a VM snapshot. 4. Preview the snapshot. Actual results: The VM is missing the unplugged disk. Expected results: There should be a device for the unplugged disk. Additional info:
Cannot reproduce the bug. After creating a VM snapshot and previewing it the unplugged disk still exists along with plugged ones. Also, manual investigation of the OVF files show that the unplugged disk is present in them, as follows: <Section xsi:type="ovf:VirtualHardwareSection_Type"> ... <Item> <rasd:Caption>VM-unplugged-disk_Disk1</rasd:Caption> ... <Type>disk</Type> <Device>disk</Device> <rasd:Address /> <BootOrder>1</BootOrder> <IsPlugged>false</IsPlugged> <IsReadOnly>false</IsReadOnly> <Alias /> </Item> ... </Section>