YaST2 Developers Documentation: XEN specific functions and values

XEN specific functions and values

modules/VM_XEN.ycp

This module has an unstable interface.

Imports

  • Arch
  • HTML
  • Mode
  • Report
  • String
  • VM_Common

Global Functions

Local Functions

global getConfiguredDiskTargets (list<map<string,any> > disks_list) -> list<string>

Returns a list of virtual devices(target) that are already defined in the disk overview table

Parameters:
disks_list
Return value:
of virtual device names
global getConfiguredDiskSources (list<map<string,any> > disks_list) -> list<string>

Returns a list of disk sources that are already defined in the disk overview table

Parameters:
disks_list
Return value:
of physical disk sources (i.e. file path or device)
local getValidVirtualDevices (list<string> used_devices) -> list<string>

Returns a list of supported virtual devices depending to the virtualization mode (full or para)

Parameters:
used_devices
Return value:
of virtual device names