/usr/share/vala/vapi/libvirt-gconfig-1.0.vapi is in libvirt-glib-1.0-dev 0.0.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 | /* libvirt-gconfig-1.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "GVirConfig", gir_namespace = "LibvirtGConfig", gir_version = "1.0", lower_case_cprefix = "gvir_config_")]
namespace GVirConfig {
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_capabilities_get_type ()")]
public class Capabilities : GVirConfig.Object {
[CCode (has_construct_function = false)]
public Capabilities ();
[CCode (has_construct_function = false)]
public Capabilities.from_xml (string xml) throws GLib.Error;
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_get_type ()")]
public class Domain : GVirConfig.Object {
[CCode (has_construct_function = false)]
public Domain ();
public void add_device (GVirConfig.DomainDevice device);
[CCode (has_construct_function = false)]
public Domain.from_xml (string xml) throws GLib.Error;
public GLib.List<GVirConfig.DomainDevice> get_devices ();
[CCode (array_length = false, array_null_terminated = true)]
public string[] get_features ();
public uint64 get_memory ();
public string get_name ();
public uint64 get_vcpus ();
public void set_clock (GVirConfig.DomainClock klock);
public void set_devices (GLib.List<GVirConfig.DomainDevice> devices);
public void set_features ([CCode (array_length = false, array_null_terminated = true)] string[] features);
public void set_lifecycle (GVirConfig.DomainLifecycleEvent event, GVirConfig.DomainLifecycleAction action);
public void set_memory (uint64 memory);
public void set_name (string name);
public void set_os (GVirConfig.DomainOs os);
public void set_seclabel (GVirConfig.DomainSeclabel seclabel);
public void set_vcpus (uint64 vcpu_count);
public void set_virt_type (GVirConfig.DomainVirtType type);
public static void source_pty_set_path (GVirConfig.DomainChardevSourcePty pty, string path);
[CCode (array_length = false, array_null_terminated = true)]
public string[] features { owned get; set; }
public uint64 memory { get; set; }
public string name { owned get; set; }
[NoAccessorMethod]
public uint64 vcpu { get; set; }
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_channel_get_type ()")]
public class DomainChannel : GVirConfig.DomainChardev {
[CCode (has_construct_function = false)]
public DomainChannel ();
[CCode (has_construct_function = false)]
public DomainChannel.from_xml (string xml) throws GLib.Error;
public void set_target_name (string name);
public void set_target_type (GVirConfig.DomainChannelTargetType type);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_chardev_get_type ()")]
public abstract class DomainChardev : GVirConfig.DomainDevice {
[CCode (has_construct_function = false)]
protected DomainChardev ();
public void set_source (GVirConfig.DomainChardevSource source);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_chardev_source_get_type ()")]
public abstract class DomainChardevSource : GVirConfig.Object {
[CCode (has_construct_function = false)]
protected DomainChardevSource ();
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_chardev_source_pty_get_type ()")]
public class DomainChardevSourcePty : GVirConfig.DomainChardevSource {
[CCode (has_construct_function = false)]
public DomainChardevSourcePty ();
[CCode (has_construct_function = false)]
public DomainChardevSourcePty.from_xml (string xml) throws GLib.Error;
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_clock_get_type ()")]
public class DomainClock : GVirConfig.Object {
[CCode (has_construct_function = false)]
public DomainClock ();
[CCode (has_construct_function = false)]
public DomainClock.from_xml (string xml) throws GLib.Error;
public void set_offset (GVirConfig.DomainClockOffset offset);
public void set_timezone (string tz);
public void set_variable_offset (int seconds);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_console_get_type ()")]
public class DomainConsole : GVirConfig.DomainChardev {
[CCode (has_construct_function = false)]
public DomainConsole ();
[CCode (has_construct_function = false)]
public DomainConsole.from_xml (string xml) throws GLib.Error;
public void set_target_type (GVirConfig.DomainConsoleTargetType type);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_device_get_type ()")]
public abstract class DomainDevice : GVirConfig.Object {
[CCode (has_construct_function = false)]
protected DomainDevice ();
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_disk_get_type ()")]
public class DomainDisk : GVirConfig.DomainDevice {
[CCode (has_construct_function = false)]
public DomainDisk ();
[CCode (has_construct_function = false)]
public DomainDisk.from_xml (string xml) throws GLib.Error;
public GVirConfig.DomainDiskType get_disk_type ();
public string get_driver_name ();
public string get_driver_type ();
public GVirConfig.DomainDiskGuestDeviceType get_guest_device_type ();
public GVirConfig.DomainDiskSnapshotType get_snapshot_type ();
public string get_source ();
public GVirConfig.DomainDiskBus get_target_bus ();
public string get_target_dev ();
public void set_driver_name (string driver_name);
public void set_driver_type (string driver_type);
public void set_guest_device_type (GVirConfig.DomainDiskGuestDeviceType type);
public void set_snapshot_type (GVirConfig.DomainDiskSnapshotType type);
public void set_source (string source);
public void set_target_bus (GVirConfig.DomainDiskBus bus);
public void set_target_dev (string dev);
public void set_type (GVirConfig.DomainDiskType type);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_filesys_get_type ()")]
public class DomainFilesys : GVirConfig.DomainDevice {
[CCode (has_construct_function = false)]
public DomainFilesys ();
[CCode (has_construct_function = false)]
public DomainFilesys.from_xml (string xml) throws GLib.Error;
public void set_access_type (GVirConfig.DomainFilesysAccessType type);
public void set_driver_type (GVirConfig.DomainFilesysDriverType type);
public void set_readonly (bool readonly);
public void set_source (string source);
public void set_target (string target);
public void set_type (GVirConfig.DomainFilesysType type);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_graphics_get_type ()")]
public abstract class DomainGraphics : GVirConfig.DomainDevice {
[CCode (has_construct_function = false)]
protected DomainGraphics ();
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_graphics_sdl_get_type ()")]
public class DomainGraphicsSdl : GVirConfig.DomainGraphics {
[CCode (has_construct_function = false)]
public DomainGraphicsSdl ();
[CCode (has_construct_function = false)]
public DomainGraphicsSdl.from_xml (string xml) throws GLib.Error;
public void set_display (string disp);
public void set_xauthority (string path);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_graphics_spice_get_type ()")]
public class DomainGraphicsSpice : GVirConfig.DomainGraphics {
[CCode (has_construct_function = false)]
public DomainGraphicsSpice ();
[CCode (has_construct_function = false)]
public DomainGraphicsSpice.from_xml (string xml) throws GLib.Error;
public void set_autoport (bool autoport);
public void set_password (string password);
public void set_port (int port);
public void set_tls_port (int port);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_graphics_vnc_get_type ()")]
public class DomainGraphicsVnc : GVirConfig.DomainGraphics {
[CCode (has_construct_function = false)]
public DomainGraphicsVnc ();
[CCode (has_construct_function = false)]
public DomainGraphicsVnc.from_xml (string xml) throws GLib.Error;
public void set_autoport (bool autoport);
public void set_password (string password);
public void set_port (int port);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_input_get_type ()")]
public class DomainInput : GVirConfig.DomainDevice {
[CCode (has_construct_function = false)]
public DomainInput ();
[CCode (has_construct_function = false)]
public DomainInput.from_xml (string xml) throws GLib.Error;
public void set_bus (GVirConfig.DomainInputBus bus);
public void set_device_type (GVirConfig.DomainInputDeviceType type);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_interface_get_type ()")]
public abstract class DomainInterface : GVirConfig.DomainDevice {
[CCode (has_construct_function = false)]
protected DomainInterface ();
public void set_ifname (string ifname);
public void set_link_state (GVirConfig.DomainInterfaceLinkState state);
public void set_mac (string mac_address);
public void set_model (string model);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_interface_bridge_get_type ()")]
public class DomainInterfaceBridge : GVirConfig.DomainInterface {
[CCode (has_construct_function = false)]
public DomainInterfaceBridge ();
[CCode (has_construct_function = false)]
public DomainInterfaceBridge.from_xml (string xml) throws GLib.Error;
public void set_source (string brname);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_interface_network_get_type ()")]
public class DomainInterfaceNetwork : GVirConfig.DomainInterface {
[CCode (has_construct_function = false)]
public DomainInterfaceNetwork ();
[CCode (has_construct_function = false)]
public DomainInterfaceNetwork.from_xml (string xml) throws GLib.Error;
public void set_source (string source);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_interface_user_get_type ()")]
public class DomainInterfaceUser : GVirConfig.DomainInterface {
[CCode (has_construct_function = false)]
public DomainInterfaceUser ();
[CCode (has_construct_function = false)]
public DomainInterfaceUser.from_xml (string xml) throws GLib.Error;
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_memballoon_get_type ()")]
public class DomainMemballoon : GVirConfig.DomainDevice {
[CCode (has_construct_function = false)]
public DomainMemballoon ();
[CCode (has_construct_function = false)]
public DomainMemballoon.from_xml (string xml) throws GLib.Error;
public void set_model (GVirConfig.DomainMemballoonModel model);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_os_get_type ()")]
public class DomainOs : GVirConfig.Object {
[CCode (has_construct_function = false)]
public DomainOs ();
public void bios_enable_serial (bool enable);
public void enable_boot_menu (bool enable);
[CCode (has_construct_function = false)]
public DomainOs.from_xml (string xml) throws GLib.Error;
public void set_arch (string arch);
public void set_boot_devices (GLib.List<GVirConfig.DomainOsBootDevice> boot_devices);
public void set_cmdline (string cmdline);
public void set_init (string init);
public void set_kernel (string kernel);
public void set_loader (string loader);
public void set_machine (string machine);
public void set_os_type (GVirConfig.DomainOsType type);
public void set_ramdisk (string ramdisk);
public void set_smbios_mode (GVirConfig.DomainOsSmBiosMode mode);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_parallel_get_type ()")]
public class DomainParallel : GVirConfig.DomainChardev {
[CCode (has_construct_function = false)]
public DomainParallel ();
[CCode (has_construct_function = false)]
public DomainParallel.from_xml (string xml) throws GLib.Error;
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_seclabel_get_type ()")]
public class DomainSeclabel : GVirConfig.Object {
[CCode (has_construct_function = false)]
public DomainSeclabel ();
[CCode (has_construct_function = false)]
public DomainSeclabel.from_xml (string xml) throws GLib.Error;
public void set_baselabel (string label);
public void set_label (string label);
public void set_model (string model);
public void set_type (GVirConfig.DomainSeclabelType type);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_serial_get_type ()")]
public class DomainSerial : GVirConfig.DomainChardev {
[CCode (has_construct_function = false)]
public DomainSerial ();
[CCode (has_construct_function = false)]
public DomainSerial.from_xml (string xml) throws GLib.Error;
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_snapshot_get_type ()")]
public class DomainSnapshot : GVirConfig.Object {
[CCode (has_construct_function = false)]
public DomainSnapshot ();
[CCode (has_construct_function = false)]
public DomainSnapshot.from_xml (string xml) throws GLib.Error;
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_sound_get_type ()")]
public class DomainSound : GVirConfig.DomainDevice {
[CCode (has_construct_function = false)]
public DomainSound ();
[CCode (has_construct_function = false)]
public DomainSound.from_xml (string xml) throws GLib.Error;
public void set_model (GVirConfig.DomainSoundModel model);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_timer_get_type ()")]
public class DomainTimer : GVirConfig.Object {
[CCode (has_construct_function = false)]
public DomainTimer ();
[CCode (has_construct_function = false)]
public DomainTimer.from_xml (string xml) throws GLib.Error;
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_video_get_type ()")]
public class DomainVideo : GVirConfig.DomainDevice {
[CCode (has_construct_function = false)]
public DomainVideo ();
[CCode (has_construct_function = false)]
public DomainVideo.from_xml (string xml) throws GLib.Error;
public void set_heads (uint head_count);
public void set_model (GVirConfig.DomainVideoModel model);
public void set_vram (uint kbytes);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_interface_get_type ()")]
public class Interface : GVirConfig.Object {
[CCode (has_construct_function = false)]
public Interface ();
[CCode (has_construct_function = false)]
public Interface.from_xml (string xml) throws GLib.Error;
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_network_get_type ()")]
public class Network : GVirConfig.Object {
[CCode (has_construct_function = false)]
public Network ();
[CCode (has_construct_function = false)]
public Network.from_xml (string xml) throws GLib.Error;
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_network_filter_get_type ()")]
public class NetworkFilter : GVirConfig.Object {
[CCode (has_construct_function = false)]
public NetworkFilter ();
[CCode (has_construct_function = false)]
public NetworkFilter.from_xml (string xml) throws GLib.Error;
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_node_device_get_type ()")]
public class NodeDevice : GVirConfig.Object {
[CCode (has_construct_function = false)]
public NodeDevice ();
[CCode (has_construct_function = false)]
public NodeDevice.from_xml (string xml) throws GLib.Error;
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_object_get_type ()")]
public class Object : GLib.Object {
[CCode (has_construct_function = false)]
public Object (GLib.Type type, string root_name, string schema);
public static GLib.Quark error_quark ();
[CCode (has_construct_function = false)]
public Object.from_xml (GLib.Type type, string root_name, string schema, string xml) throws GLib.Error;
public unowned string get_schema ();
public string to_xml ();
public void validate () throws GLib.Error;
[NoAccessorMethod]
public void* node { get; construct; }
public string schema { get; construct; }
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_secret_get_type ()")]
public class Secret : GVirConfig.Object {
[CCode (has_construct_function = false)]
public Secret ();
[CCode (has_construct_function = false)]
public Secret.from_xml (string xml) throws GLib.Error;
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_storage_permissions_get_type ()")]
public class StoragePermissions : GVirConfig.Object {
[CCode (has_construct_function = false)]
public StoragePermissions ();
[CCode (has_construct_function = false)]
public StoragePermissions.from_xml (string xml) throws GLib.Error;
public void set_group (uint group);
public void set_label (string label);
public void set_mode (uint mode);
public void set_owner (uint owner);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_storage_pool_get_type ()")]
public class StoragePool : GVirConfig.Object {
[CCode (has_construct_function = false)]
public StoragePool ();
[CCode (has_construct_function = false)]
public StoragePool.from_xml (string xml) throws GLib.Error;
public void set_allocation (uint64 allocation);
public void set_available (uint64 available);
public void set_capacity (uint64 capacity);
public void set_name (string name);
public void set_pool_type (GVirConfig.StoragePoolType type);
public void set_source (GVirConfig.StoragePoolSource source);
public void set_target (GVirConfig.StoragePoolTarget target);
public void set_uuid (string uuid);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_storage_pool_source_get_type ()")]
public class StoragePoolSource : GVirConfig.Object {
[CCode (has_construct_function = false)]
public StoragePoolSource ();
[CCode (has_construct_function = false)]
public StoragePoolSource.from_xml (string xml) throws GLib.Error;
public void set_adapter (string adapter);
public void set_device_path (string device_path);
public void set_directory (string directory);
public void set_format (string format);
public void set_host (string host);
public void set_name (string name);
public void set_product (string product);
public void set_vendor (string vendor);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_storage_pool_target_get_type ()")]
public class StoragePoolTarget : GVirConfig.Object {
[CCode (has_construct_function = false)]
public StoragePoolTarget ();
[CCode (has_construct_function = false)]
public StoragePoolTarget.from_xml (string xml) throws GLib.Error;
public void set_path (string path);
public void set_permissions (GVirConfig.StoragePermissions perms);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_storage_vol_get_type ()")]
public class StorageVol : GVirConfig.Object {
[CCode (has_construct_function = false)]
public StorageVol ();
[CCode (has_construct_function = false)]
public StorageVol.from_xml (string xml) throws GLib.Error;
public void set_allocation (uint64 allocation);
public void set_backing_store (GVirConfig.StorageVolBackingStore backing_store);
public void set_capacity (uint64 capacity);
public void set_name (string name);
public void set_target (GVirConfig.StorageVolTarget target);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_storage_vol_backing_store_get_type ()")]
public class StorageVolBackingStore : GVirConfig.Object {
[CCode (has_construct_function = false)]
public StorageVolBackingStore ();
[CCode (has_construct_function = false)]
public StorageVolBackingStore.from_xml (string xml) throws GLib.Error;
public void set_format (string format);
public void set_path (string path);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_storage_vol_target_get_type ()")]
public class StorageVolTarget : GVirConfig.Object {
[CCode (has_construct_function = false)]
public StorageVolTarget ();
[CCode (has_construct_function = false)]
public StorageVolTarget.from_xml (string xml) throws GLib.Error;
public void set_format (string format);
public void set_permissions (GVirConfig.StoragePermissions perms);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_")]
public enum DomainChannelTargetType {
CONSOLE_TARGET_GUESTFWD,
CHANNEL_TARGET_VIRTIO
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_CLOCK_")]
public enum DomainClockOffset {
UTC,
LOCALTIME,
TIMEZONE,
VARIABLE
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_CONSOLE_TARGET_")]
public enum DomainConsoleTargetType {
XEN,
SERIAL,
UML,
VIRTIO,
LXC,
OPENVZ
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_DISK_BUS_")]
public enum DomainDiskBus {
IDE,
FDC,
SCSI,
VIRTIO,
XEN,
USB,
UML,
SATA
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_DISK_GUEST_DEVICE_")]
public enum DomainDiskGuestDeviceType {
DISK,
FLOPPY,
CDROM
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_DISK_SNAPSHOT_")]
public enum DomainDiskSnapshotType {
NO,
INTERNAL,
EXTERNAL
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_DISK_")]
public enum DomainDiskType {
FILE,
BLOCK,
DIR,
NETWORK
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_FILESYS_ACCESS_")]
public enum DomainFilesysAccessType {
PASSTHROUGH,
MAPPED,
SQUASHED
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_FILESYS_DRIVER_")]
public enum DomainFilesysDriverType {
DEFAULT,
PATH,
HANDLE
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_FILESYS_")]
public enum DomainFilesysType {
MOUNT,
BLOCK,
FILE,
TEMPLATE
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_INPUT_BUS_")]
public enum DomainInputBus {
PS2,
USB,
XEN
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_INPUT_DEVICE_")]
public enum DomainInputDeviceType {
MOUSE,
TABLET
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_INTERFACE_LINK_STATE_")]
public enum DomainInterfaceLinkState {
DEFAULT,
UP,
DOWN
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_LIFECYCLE_")]
public enum DomainLifecycleAction {
DESTROY,
RESTART,
PRESERVE,
RENAME_RESTART,
COREDUMP_DESTROY,
COREDUMP_RESTART
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_LIFECYCLE_ON_")]
public enum DomainLifecycleEvent {
[CCode (cname = "GVIR_CONFIG_DOMAIN_LIFECYCLE_ON_POWEROFF")]
ON_POWEROFF,
[CCode (cname = "GVIR_CONFIG_DOMAIN_LIFECYCLE_ON_REBOOT")]
ON_REBOOT,
[CCode (cname = "GVIR_CONFIG_DOMAIN_LIFECYCLE_ON_CRASH")]
ON_CRASH
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_MEMBALLOON_MODEL_")]
public enum DomainMemballoonModel {
NONE,
VIRTIO
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_OS_BOOT_DEVICE_")]
public enum DomainOsBootDevice {
FD,
HD,
CDROM,
NETWORK
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_OS_SMBIOS_MODE_")]
public enum DomainOsSmBiosMode {
EMULATE,
HOST,
SYSINFO
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_OS_TYPE_")]
public enum DomainOsType {
HVM,
LINUX,
EXE
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_SECLABEL_")]
public enum DomainSeclabelType {
DYNAMIC,
STATIC
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_SOUND_MODEL_")]
public enum DomainSoundModel {
SB16,
ES1370,
PCSPK,
AC97,
ICH6
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_VIDEO_MODEL_")]
public enum DomainVideoModel {
VGA,
CIRRUS,
VMVGA,
XEN,
VBOX,
QXL
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_VIRT_")]
public enum DomainVirtType {
QEMU,
KQEMU,
KVM,
XEN,
LXC,
UML,
OPENVZ,
VSERVER,
LDOM,
TEST,
VMWARE,
HYPERV,
VBOX,
ONE,
PHYP
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_STORAGE_POOL_TYPE_")]
public enum StoragePoolType {
DIR,
FS,
NETFS,
LOGICAL,
DISK,
ISCSI,
SCSI,
MPATH
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h")]
public static void init (int argc, string argv);
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h")]
public static bool init_check ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref string[]? argv) throws GLib.Error;
}
|