Domain
Object Hierarchy:
Description:
Namespace: GVirConfig
Package: libvirt-gconfig-1.0
Content:
Properties:
- public uint64 current_memory { get; set; }
- public string description { get; set; }
- public string[] features { owned get; set; }
- public uint64 memory { get; set; }
- public string name { get; set; }
- public string title { get; set; }
- public string uuid { get; set; }
- public uint64 vcpu { get; set; }
Creation methods:
- public Domain ()
- public Domain.from_xml (string xml) throws Error
Methods:
- public void add_device (DomainDevice device)
- public DomainClock get_clock ()
Gets the clock configuration of this
- public DomainCpu get_cpu ()
Gets the CPU configuration of this
- public uint64 get_current_memory ()
- public string get_custom_xml (string ns_uri)
- public unowned string get_description ()
- public List<DomainDevice> get_devices ()
Gets the list of devices attached to this.
- public string[] get_features ()
- public uint64 get_memory ()
- public unowned string get_name ()
- public DomainOs get_os ()
Gets the operating system configuration of this
- public unowned string get_title ()
- public unowned string get_uuid ()
- public uint64 get_vcpus ()
- public DomainVirtType get_virt_type ()
- public void set_clock (DomainClock? klock)
- public void set_cpu (DomainCpu? cpu)
- public void set_current_memory (uint64 memory)
Sets the current amount of RAM allocated to this in kilobytes (i.
- public bool set_custom_xml (string xml, string ns, string ns_uri) throws Error
- public bool set_custom_xml_ns_children (string xml, string ns, string ns_uri) throws Error
- public void set_description (string? description)
- public void set_devices (List<DomainDevice> devices)
- public void set_features (string[] features)
- public void set_lifecycle (DomainLifecycleEvent event, DomainLifecycleAction action)
- public void set_memory (uint64 memory)
Sets the maximum amount of RAM allocated to this in kilobytes (i.
- public void set_name (string? name)
- public void set_os (DomainOs? os)
- public void set_power_management (DomainPowerManagement? pm)
- public void set_seclabel (DomainSeclabel? seclabel)
- public void set_title (string? title)
Sets the title of the domain.
- public void set_uuid (string? uuid)
- public void set_vcpus (uint64 vcpu_count)
- public void set_virt_type (DomainVirtType type)
Inherited Members:
All known members inherited from class GVirConfig.Object
All known members inherited from class GLib.Object