code: func (l VirtualDeviceList) CreateCdrom(c *types.VirtualIDEController) (*types.VirtualCdrom, error) {
  	device := &types.VirtualCdrom{}
  
  	l.AssignController(device, c)
  
  	l.setDefaultCdromBacking(device)
  
  	device.Connectable = &types.VirtualDeviceConnectInfo{
  		AllowGuestControl: true,
  		Connected:         true,
  		StartConnected:    true,
  	}
  
  	return device, nil
  }
docs: // CreateCdrom creates a new VirtualCdrom device which can be added to a VM.