/usr/share/vala/vapi/libvirt-gconfig-1.0.vapi is in libvirt-glib-1.0-dev 1.0.0-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 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 | /* 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;
public GLib.List<GVirConfig.CapabilitiesGuest> get_guests ();
public GVirConfig.CapabilitiesHost get_host ();
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_capabilities_cpu_get_type ()")]
public class CapabilitiesCpu : GVirConfig.Object {
[CCode (has_construct_function = false)]
protected CapabilitiesCpu ();
public void add_feature (GVirConfig.CapabilitiesCpuFeature feature);
public unowned string get_arch ();
public virtual GLib.List<GVirConfig.CapabilitiesCpuFeature> get_features ();
public GVirConfig.CapabilitiesCpuModel get_model ();
public GVirConfig.CapabilitiesCpuTopology get_topology ();
public void set_topology (GVirConfig.CapabilitiesCpuTopology topology);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_capabilities_cpu_feature_get_type ()")]
public class CapabilitiesCpuFeature : GVirConfig.Object {
[CCode (has_construct_function = false)]
protected CapabilitiesCpuFeature ();
public unowned string get_name ();
public void set_name (string name);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_capabilities_cpu_model_get_type ()")]
public class CapabilitiesCpuModel : GVirConfig.Object {
[CCode (has_construct_function = false)]
public CapabilitiesCpuModel ();
[CCode (has_construct_function = false)]
public CapabilitiesCpuModel.from_xml (string xml) throws GLib.Error;
public unowned string get_name ();
public void set_name (string name);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_capabilities_cpu_topology_get_type ()")]
public class CapabilitiesCpuTopology : GVirConfig.Object {
[CCode (has_construct_function = false)]
public CapabilitiesCpuTopology ();
[CCode (has_construct_function = false)]
public CapabilitiesCpuTopology.from_xml (string xml) throws GLib.Error;
public uint64 get_cores ();
public uint64 get_sockets ();
public uint64 get_threads ();
public void set_cores (uint64 cores);
public void set_sockets (uint64 sockets);
public void set_threads (uint64 threads);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_capabilities_guest_get_type ()")]
public class CapabilitiesGuest : GVirConfig.Object {
[CCode (has_construct_function = false)]
protected CapabilitiesGuest ();
public GVirConfig.CapabilitiesGuestArch get_arch ();
public GLib.List<GVirConfig.CapabilitiesGuestFeature> get_features ();
public GVirConfig.DomainOsType get_os_type ();
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_capabilities_guest_arch_get_type ()")]
public class CapabilitiesGuestArch : GVirConfig.Object {
[CCode (has_construct_function = false)]
protected CapabilitiesGuestArch ();
public GLib.List<GVirConfig.CapabilitiesGuestDomain> get_domains ();
public unowned string get_emulator ();
public unowned string get_name ();
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_capabilities_guest_domain_get_type ()")]
public class CapabilitiesGuestDomain : GVirConfig.Object {
[CCode (has_construct_function = false)]
protected CapabilitiesGuestDomain ();
public unowned string get_emulator ();
public GVirConfig.DomainVirtType get_virt_type ();
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_capabilities_guest_feature_get_type ()")]
public class CapabilitiesGuestFeature : GVirConfig.Object {
[CCode (has_construct_function = false)]
protected CapabilitiesGuestFeature ();
public unowned string get_name ();
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_capabilities_host_get_type ()")]
public class CapabilitiesHost : GVirConfig.Object {
[CCode (has_construct_function = false)]
protected CapabilitiesHost ();
public GVirConfig.CapabilitiesCpu get_cpu ();
public GLib.List<GVirConfig.CapabilitiesHostSecModel> get_secmodels ();
public unowned string get_uuid ();
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", lower_case_csuffix = "capabilities_host_secmodel", type_id = "gvir_config_capabilities_host_secmodel_get_type ()")]
public class CapabilitiesHostSecModel : GVirConfig.Object {
[CCode (has_construct_function = false)]
protected CapabilitiesHostSecModel ();
public unowned string get_doi ();
public unowned string get_model ();
}
[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 GVirConfig.DomainClock get_clock ();
public GVirConfig.DomainCpu get_cpu ();
public uint64 get_current_memory ();
public string get_custom_xml (string ns_uri);
public unowned string get_description ();
public GLib.List<GVirConfig.DomainDevice> get_devices ();
[CCode (array_length = false, array_null_terminated = true)]
public string[] get_features ();
public uint64 get_memory ();
public unowned string get_name ();
public GVirConfig.DomainOs get_os ();
public unowned string get_title ();
public unowned string get_uuid ();
public uint64 get_vcpus ();
public GVirConfig.DomainVirtType get_virt_type ();
public void set_clock (GVirConfig.DomainClock? klock);
public void set_cpu (GVirConfig.DomainCpu? cpu);
public void set_current_memory (uint64 memory);
public bool set_custom_xml (string xml, string ns, string ns_uri) throws GLib.Error;
public void set_description (string? description);
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_power_management (GVirConfig.DomainPowerManagement? pm);
public void set_seclabel (GVirConfig.DomainSeclabel? seclabel);
public void set_title (string? title);
public void set_uuid (string? uuid);
public void set_vcpus (uint64 vcpu_count);
public void set_virt_type (GVirConfig.DomainVirtType type);
public uint64 current_memory { get; set; }
public string description { get; set; }
[CCode (array_length = false, array_null_terminated = true)]
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; }
[NoAccessorMethod]
public uint64 vcpu { get; set; }
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_address_get_type ()")]
public abstract class DomainAddress : GVirConfig.Object {
[CCode (has_construct_function = false)]
protected DomainAddress ();
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_address_pci_get_type ()")]
public class DomainAddressPci : GVirConfig.DomainAddress {
[CCode (has_construct_function = false)]
public DomainAddressPci ();
[CCode (has_construct_function = false)]
public DomainAddressPci.from_xml (string xml) throws GLib.Error;
public int get_bus ();
public int get_domain ();
public int get_function ();
public bool get_multifunction ();
public int get_slot ();
public void set_bus (uint8 bus);
public void set_domain (uint16 pci_domain);
public void set_function (uint8 function);
public void set_multifunction (bool multifunction);
public void set_slot (uint8 slot);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_address_usb_get_type ()")]
public class DomainAddressUsb : GVirConfig.DomainAddress {
[CCode (has_construct_function = false)]
public DomainAddressUsb ();
[CCode (has_construct_function = false)]
public DomainAddressUsb.from_xml (string xml) throws GLib.Error;
public void set_bus (uint16 bus);
public void set_port (string port);
}
[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 unowned string get_target_name ();
public GVirConfig.DomainChannelTargetType get_target_type ();
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 GVirConfig.DomainChardevSource get_source ();
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;
public unowned string get_path ();
public void set_path (string path);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", lower_case_csuffix = "domain_chardev_source_spiceport", type_id = "gvir_config_domain_chardev_source_spiceport_get_type ()")]
public class DomainChardevSourceSpicePort : GVirConfig.DomainChardevSource {
[CCode (has_construct_function = false)]
public DomainChardevSourceSpicePort ();
[CCode (has_construct_function = false)]
public DomainChardevSourceSpicePort.from_xml (string xml) throws GLib.Error;
public unowned string get_channel ();
public void set_channel (string channel);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", lower_case_csuffix = "domain_chardev_source_spicevmc", type_id = "gvir_config_domain_chardev_source_spicevmc_get_type ()")]
public class DomainChardevSourceSpiceVmc : GVirConfig.DomainChardevSource {
[CCode (has_construct_function = false)]
public DomainChardevSourceSpiceVmc ();
[CCode (has_construct_function = false)]
public DomainChardevSourceSpiceVmc.from_xml (string xml) throws GLib.Error;
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_chardev_source_unix_get_type ()")]
public class DomainChardevSourceUnix : GVirConfig.DomainChardevSource {
[CCode (has_construct_function = false)]
public DomainChardevSourceUnix ();
[CCode (has_construct_function = false)]
public DomainChardevSourceUnix.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 ();
public void add_timer (GVirConfig.DomainTimer timer);
[CCode (has_construct_function = false)]
public DomainClock.from_xml (string xml) throws GLib.Error;
public GVirConfig.DomainClockOffset get_offset ();
public unowned string get_timezone ();
public int get_variable_offset ();
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_controller_get_type ()")]
public abstract class DomainController : GVirConfig.DomainDevice {
[CCode (has_construct_function = false)]
protected DomainController ();
public uint get_index ();
public void set_address (GVirConfig.DomainAddress? address);
public void set_index (uint index);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_controller_usb_get_type ()")]
public class DomainControllerUsb : GVirConfig.DomainController {
[CCode (has_construct_function = false)]
public DomainControllerUsb ();
[CCode (has_construct_function = false)]
public DomainControllerUsb.from_xml (string xml) throws GLib.Error;
public void set_master (GVirConfig.DomainControllerUsb master, uint startport);
public void set_model (GVirConfig.DomainControllerUsbModel model);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_cpu_get_type ()")]
public class DomainCpu : GVirConfig.CapabilitiesCpu {
[CCode (has_construct_function = false)]
public DomainCpu ();
[CCode (has_construct_function = false)]
public DomainCpu.from_xml (string xml) throws GLib.Error;
public GVirConfig.DomainCpuMatchPolicy get_match_policy ();
public GVirConfig.DomainCpuMode get_mode ();
public void set_match_policy (GVirConfig.DomainCpuMatchPolicy policy);
public void set_mode (GVirConfig.DomainCpuMode mode);
public void set_model (GVirConfig.DomainCpuModel model);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_cpu_feature_get_type ()")]
public class DomainCpuFeature : GVirConfig.CapabilitiesCpuFeature {
[CCode (has_construct_function = false)]
public DomainCpuFeature ();
[CCode (has_construct_function = false)]
public DomainCpuFeature.from_xml (string xml) throws GLib.Error;
public GVirConfig.DomainCpuFeaturePolicy get_policy ();
public void set_policy (GVirConfig.DomainCpuFeaturePolicy policy);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_cpu_model_get_type ()")]
public class DomainCpuModel : GVirConfig.CapabilitiesCpuModel {
[CCode (has_construct_function = false)]
public DomainCpuModel ();
[CCode (has_construct_function = false)]
public DomainCpuModel.from_xml (string xml) throws GLib.Error;
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_device_get_type ()")]
public class DomainDevice : GVirConfig.Object {
[CCode (has_construct_function = false)]
protected DomainDevice ();
public unowned string get_alias ();
}
[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 GVirConfig.DomainDiskDriver get_driver ();
public GVirConfig.DomainDiskCacheType get_driver_cache ();
public GVirConfig.DomainDiskFormat get_driver_format ();
public unowned string get_driver_name ();
[Version (deprecated = true, deprecated_since = "0.1.7")]
public unowned string get_driver_type ();
public GVirConfig.DomainDiskGuestDeviceType get_guest_device_type ();
public GVirConfig.DomainDiskSnapshotType get_snapshot_type ();
public unowned string get_source ();
public GVirConfig.DomainDiskStartupPolicy get_startup_policy ();
public GVirConfig.DomainDiskBus get_target_bus ();
public unowned string get_target_dev ();
public void set_driver (GVirConfig.DomainDiskDriver? driver);
public void set_driver_cache (GVirConfig.DomainDiskCacheType cache_type);
public void set_driver_format (GVirConfig.DomainDiskFormat format);
public void set_driver_name (string driver_name);
[Version (deprecated = true, deprecated_since = "0.1.7")]
public void set_driver_type (string driver_type);
public void set_guest_device_type (GVirConfig.DomainDiskGuestDeviceType type);
public void set_readonly (bool readonly);
public void set_snapshot_type (GVirConfig.DomainDiskSnapshotType type);
public void set_source (string source);
public void set_startup_policy (GVirConfig.DomainDiskStartupPolicy policy);
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_disk_driver_get_type ()")]
public class DomainDiskDriver : GVirConfig.Object {
[CCode (has_construct_function = false)]
public DomainDiskDriver ();
[CCode (has_construct_function = false)]
public DomainDiskDriver.from_xml (string xml) throws GLib.Error;
public GVirConfig.DomainDiskCacheType get_cache ();
public bool get_copy_on_read ();
public GVirConfig.DomainDiskDriverDiscard get_discard ();
public GVirConfig.DomainDiskDriverErrorPolicy get_error_policy ();
public GVirConfig.DomainDiskFormat get_format ();
public GVirConfig.DomainDiskDriverIoPolicy get_io_policy ();
public unowned string get_name ();
public void set_cache (GVirConfig.DomainDiskCacheType cache_type);
public void set_copy_on_read (bool copy_on_read);
public void set_discard (GVirConfig.DomainDiskDriverDiscard discard);
public void set_error_policy (GVirConfig.DomainDiskDriverErrorPolicy policy);
public void set_format (GVirConfig.DomainDiskFormat format);
public void set_io_policy (GVirConfig.DomainDiskDriverIoPolicy policy);
public void set_name (string name);
}
[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_format (GVirConfig.DomainDiskFormat format);
public void set_driver_type (GVirConfig.DomainFilesysDriverType type);
public void set_ram_usage (uint64 bytes);
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_desktop_get_type ()")]
public class DomainGraphicsDesktop : GVirConfig.DomainGraphics {
[CCode (has_construct_function = false)]
public DomainGraphicsDesktop ();
[CCode (has_construct_function = false)]
public DomainGraphicsDesktop.from_xml (string xml) throws GLib.Error;
public unowned string get_display ();
public bool get_fullscreen ();
public void set_display (string disp);
public void set_fullscreen (bool fullscreen);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_graphics_rdp_get_type ()")]
public class DomainGraphicsRdp : GVirConfig.DomainGraphics {
[CCode (has_construct_function = false)]
public DomainGraphicsRdp ();
[CCode (has_construct_function = false)]
public DomainGraphicsRdp.from_xml (string xml) throws GLib.Error;
public bool get_multi_user ();
public int get_port ();
public bool get_replace_user ();
public void set_autoport (bool autoport);
public void set_multi_user (bool multi_user);
public void set_port (int port);
public void set_replace_user (bool replace_user);
}
[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_fullscreen (bool fullscreen);
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 GVirConfig.DomainGraphicsSpiceImageCompression get_image_compression ();
public int get_port ();
public void set_autoport (bool autoport);
public void set_gl (bool gl);
public void set_image_compression (GVirConfig.DomainGraphicsSpiceImageCompression compression);
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 int get_port ();
public unowned string get_socket ();
public void set_autoport (bool autoport);
public void set_password (string password);
public void set_port (int port);
public void set_socket (string socket);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_hostdev_get_type ()")]
public abstract class DomainHostdev : GVirConfig.DomainDevice {
[CCode (has_construct_function = false)]
protected DomainHostdev ();
public int get_boot_order ();
public bool get_readonly ();
public bool get_shareable ();
public void set_boot_order (int order);
public void set_readonly (bool readonly);
public void set_shareable (bool shareable);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_hostdev_pci_get_type ()")]
public class DomainHostdevPci : GVirConfig.DomainHostdev {
[CCode (has_construct_function = false)]
public DomainHostdevPci ();
[CCode (has_construct_function = false)]
public DomainHostdevPci.from_xml (string xml) throws GLib.Error;
public GVirConfig.DomainAddressPci get_address ();
public bool get_managed ();
public bool get_rom_bar ();
public unowned string get_rom_file ();
public void set_address (GVirConfig.DomainAddressPci address);
public void set_managed (bool managed);
public void set_rom_bar (bool bar);
public void set_rom_file (string file);
}
[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 GVirConfig.DomainInputBus get_bus ();
public GVirConfig.DomainInputDeviceType get_device_type ();
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 GVirConfig.DomainInterfaceFilterref get_filterref ();
public unowned string get_ifname ();
public GVirConfig.DomainInterfaceLinkState get_link_state ();
public unowned string get_mac ();
public unowned string get_model ();
public void set_filterref (GVirConfig.DomainInterfaceFilterref? filterref);
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_filterref_get_type ()")]
public class DomainInterfaceFilterref : GVirConfig.Object {
[CCode (has_construct_function = false)]
public DomainInterfaceFilterref ();
public void add_parameter (GVirConfig.DomainInterfaceFilterrefParameter parameter);
[CCode (has_construct_function = false)]
public DomainInterfaceFilterref.from_xml (string xml) throws GLib.Error;
public unowned string get_name ();
public GLib.List<GVirConfig.DomainInterfaceFilterrefParameter> get_parameters ();
public void set_name (string filter);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_interface_filterref_parameter_get_type ()")]
public class DomainInterfaceFilterrefParameter : GVirConfig.Object {
[CCode (has_construct_function = false)]
public DomainInterfaceFilterrefParameter ();
[CCode (has_construct_function = false)]
public DomainInterfaceFilterrefParameter.from_xml (string xml) throws GLib.Error;
public unowned string get_name ();
public unowned string get_value ();
public void set_name (string name);
public void set_value (string value);
}
[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 unowned string get_arch ();
public GLib.List<weak GVirConfig.DomainOsBootDevice> get_boot_devices ();
public GVirConfig.DomainOsType get_os_type ();
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_power_management_get_type ()")]
public class DomainPowerManagement : GVirConfig.Object {
[CCode (has_construct_function = false)]
public DomainPowerManagement ();
[CCode (has_construct_function = false)]
public DomainPowerManagement.from_xml (string xml) throws GLib.Error;
public void set_disk_suspend_enabled (bool enabled);
public void set_mem_suspend_enabled (bool enabled);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_redirdev_get_type ()")]
public class DomainRedirdev : GVirConfig.DomainChardev {
[CCode (has_construct_function = false)]
public DomainRedirdev ();
[CCode (has_construct_function = false)]
public DomainRedirdev.from_xml (string xml) throws GLib.Error;
public void set_address (GVirConfig.DomainAddress? address);
public void set_bus (GVirConfig.DomainRedirdevBus bus);
}
[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_smartcard_get_type ()")]
public abstract class DomainSmartcard : GVirConfig.DomainDevice {
[CCode (has_construct_function = false)]
protected DomainSmartcard ();
public static void set_address (GVirConfig.DomainRedirdev redirdev, GVirConfig.DomainAddress? address);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_smartcard_host_get_type ()")]
public class DomainSmartcardHost : GVirConfig.DomainSmartcard {
[CCode (has_construct_function = false)]
public DomainSmartcardHost ();
[CCode (has_construct_function = false)]
public DomainSmartcardHost.from_xml (string xml) throws GLib.Error;
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_smartcard_host_certificates_get_type ()")]
public class DomainSmartcardHostCertificates : GVirConfig.DomainSmartcard {
[CCode (has_construct_function = false)]
public DomainSmartcardHostCertificates ();
[CCode (has_construct_function = false)]
public DomainSmartcardHostCertificates.from_xml (string xml) throws GLib.Error;
public void set_certificates (string? cert1, string? cert2, string? cert3);
public void set_database (string? path);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_smartcard_passthrough_get_type ()")]
public class DomainSmartcardPassthrough : GVirConfig.DomainSmartcard {
[CCode (has_construct_function = false)]
public DomainSmartcardPassthrough ();
[CCode (has_construct_function = false)]
public DomainSmartcardPassthrough.from_xml (string xml) throws GLib.Error;
public void set_source (GVirConfig.DomainChardevSource source);
}
[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 ();
public void add_disk (GVirConfig.DomainSnapshotDisk disk);
[CCode (has_construct_function = false)]
public DomainSnapshot.from_xml (string xml) throws GLib.Error;
public long get_creation_time ();
public unowned string get_description ();
public GLib.List<GVirConfig.DomainSnapshotDisk> get_disks ();
public GVirConfig.Domain get_domain ();
public unowned string get_memory_file ();
public GVirConfig.DomainSnapshotMemoryState get_memory_state ();
public unowned string get_name ();
public unowned string get_parent ();
public GVirConfig.DomainSnapshotDomainState get_state ();
public void set_description (string description);
public void set_disks (GLib.List<GVirConfig.DomainSnapshotDisk> disks);
public void set_memory_file (string filename);
public void set_memory_state (GVirConfig.DomainSnapshotMemoryState state);
public void set_name (string name);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_snapshot_disk_get_type ()")]
public class DomainSnapshotDisk : GVirConfig.Object {
[CCode (has_construct_function = false)]
public DomainSnapshotDisk ();
[CCode (has_construct_function = false)]
public DomainSnapshotDisk.from_xml (string xml) throws GLib.Error;
public GVirConfig.DomainDiskFormat get_driver_format ();
public unowned string get_name ();
public GVirConfig.DomainDiskSnapshotType get_snapshot_type ();
public unowned string get_source_file ();
public void set_driver_format (GVirConfig.DomainDiskFormat format);
public void set_name (string name);
public void set_snapshot_type (GVirConfig.DomainDiskSnapshotType type);
public void set_source_file (string filename);
}
[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 abstract class DomainTimer : GVirConfig.Object {
[CCode (has_construct_function = false)]
protected DomainTimer ();
public bool get_present ();
public GVirConfig.DomainTimerTickPolicy get_tick_policy ();
public void set_present (bool present);
public void set_tick_policy (GVirConfig.DomainTimerTickPolicy policy);
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_timer_hpet_get_type ()")]
public class DomainTimerHpet : GVirConfig.DomainTimer {
[CCode (has_construct_function = false)]
public DomainTimerHpet ();
[CCode (has_construct_function = false)]
public DomainTimerHpet.from_xml (string xml) throws GLib.Error;
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_timer_pit_get_type ()")]
public class DomainTimerPit : GVirConfig.DomainTimer {
[CCode (has_construct_function = false)]
public DomainTimerPit ();
[CCode (has_construct_function = false)]
public DomainTimerPit.from_xml (string xml) throws GLib.Error;
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", type_id = "gvir_config_domain_timer_rtc_get_type ()")]
public class DomainTimerRtc : GVirConfig.DomainTimer {
[CCode (has_construct_function = false)]
public DomainTimerRtc ();
[CCode (has_construct_function = false)]
public DomainTimerRtc.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 GVirConfig.DomainVideoModel get_model ();
public void set_accel3d (bool accel3d);
public void set_heads (uint head_count);
public void set_model (GVirConfig.DomainVideoModel model);
public void set_ram (uint kbytes);
public void set_vgamem (uint kbytes);
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 uint get_group ();
public unowned string get_label ();
public uint get_mode ();
public uint get_owner ();
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 uint64 get_allocation ();
public uint64 get_available ();
public uint64 get_capacity ();
public unowned string get_name ();
public GVirConfig.StoragePoolType get_pool_type ();
public GVirConfig.StoragePoolSource get_source ();
public GVirConfig.StoragePoolTarget get_target ();
public unowned string get_uuid ();
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 unowned string get_adapter ();
public unowned string get_device_path ();
public unowned string get_directory ();
public unowned string get_format ();
public unowned string get_host ();
public unowned string get_name ();
public unowned string get_product ();
public unowned string get_vendor ();
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 unowned string get_path ();
public GVirConfig.StoragePermissions get_permissions ();
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_compat (string? compat);
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_CHANNEL_TARGET_", type_id = "gvir_config_domain_channel_target_type_get_type ()")]
public enum DomainChannelTargetType {
GUESTFWD,
VIRTIO,
SPICEPORT
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_CLOCK_", type_id = "gvir_config_domain_clock_offset_get_type ()")]
public enum DomainClockOffset {
UTC,
LOCALTIME,
TIMEZONE,
VARIABLE
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_CONSOLE_TARGET_", type_id = "gvir_config_domain_console_target_type_get_type ()")]
public enum DomainConsoleTargetType {
XEN,
SERIAL,
UML,
VIRTIO,
LXC,
OPENVZ
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_CONTROLLER_USB_MODEL_", type_id = "gvir_config_domain_controller_usb_model_get_type ()")]
public enum DomainControllerUsbModel {
PIIX3_UHCI,
PIIX4_UHCI,
EHCI,
ICH9_EHCI1,
ICH9_UHCI1,
ICH9_UHCI2,
ICH9_UHCI3,
VT82C686B_UHCI,
PCI_OHCI
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_CPU_FEATURE_POLICY_", type_id = "gvir_config_domain_cpu_feature_policy_get_type ()")]
public enum DomainCpuFeaturePolicy {
FORCE,
REQUIRE,
OPTIONAL,
DISABLE,
FORBID
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_CPU_MATCH_POLICY_", type_id = "gvir_config_domain_cpu_match_policy_get_type ()")]
public enum DomainCpuMatchPolicy {
MINIMUM,
EXACT,
STRICT
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_CPU_MODE_", type_id = "gvir_config_domain_cpu_mode_get_type ()")]
public enum DomainCpuMode {
CUSTOM,
HOST_MODEL,
HOST_PASSTHROUGH
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_DISK_BUS_", type_id = "gvir_config_domain_disk_bus_get_type ()")]
public enum DomainDiskBus {
IDE,
FDC,
SCSI,
VIRTIO,
XEN,
USB,
UML,
SATA
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_DISK_CACHE_", type_id = "gvir_config_domain_disk_cache_type_get_type ()")]
public enum DomainDiskCacheType {
DEFAULT,
NONE,
WRITETHROUGH,
WRITEBACK,
DIRECTSYNC,
UNSAFE
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_DISK_DRIVER_DISCARD_", type_id = "gvir_config_domain_disk_driver_discard_get_type ()")]
public enum DomainDiskDriverDiscard {
UNMAP,
IGNORE
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_DISK_DRIVER_ERROR_POLICY_", type_id = "gvir_config_domain_disk_driver_error_policy_get_type ()")]
public enum DomainDiskDriverErrorPolicy {
STOP,
REPORT,
IGNORE,
ENOSPACE
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_DISK_DRIVER_IO_POLICY_", type_id = "gvir_config_domain_disk_driver_io_policy_get_type ()")]
public enum DomainDiskDriverIoPolicy {
THREADS,
NATIVE
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_DISK_FORMAT_", type_id = "gvir_config_domain_disk_format_get_type ()")]
public enum DomainDiskFormat {
RAW,
DIR,
BOCHS,
CLOOP,
COW,
DMG,
ISO,
QCOW,
QCOW2,
QED,
VMDK,
VPC,
FAT,
VHD
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_DISK_GUEST_DEVICE_", type_id = "gvir_config_domain_disk_guest_device_type_get_type ()")]
public enum DomainDiskGuestDeviceType {
DISK,
FLOPPY,
CDROM
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_DISK_SNAPSHOT_", type_id = "gvir_config_domain_disk_snapshot_type_get_type ()")]
public enum DomainDiskSnapshotType {
NO,
INTERNAL,
EXTERNAL
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_DISK_STARTUP_POLICY_", type_id = "gvir_config_domain_disk_startup_policy_get_type ()")]
public enum DomainDiskStartupPolicy {
MANDATORY,
REQUISITE,
OPTIONAL
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_DISK_", type_id = "gvir_config_domain_disk_type_get_type ()")]
public enum DomainDiskType {
FILE,
BLOCK,
DIR,
NETWORK
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_FILESYS_ACCESS_", type_id = "gvir_config_domain_filesys_access_type_get_type ()")]
public enum DomainFilesysAccessType {
PASSTHROUGH,
MAPPED,
SQUASH
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_FILESYS_DRIVER_", type_id = "gvir_config_domain_filesys_driver_type_get_type ()")]
public enum DomainFilesysDriverType {
DEFAULT,
PATH,
HANDLE,
LOOP,
NBD,
PLOOP
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_FILESYS_", type_id = "gvir_config_domain_filesys_type_get_type ()")]
public enum DomainFilesysType {
MOUNT,
BLOCK,
FILE,
TEMPLATE,
RAM,
BIND
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_GRAPHICS_SPICE_IMAGE_COMPRESSION_", type_id = "gvir_config_domain_graphics_spice_image_compression_get_type ()")]
public enum DomainGraphicsSpiceImageCompression {
AUTO_GLZ,
AUTO_LZ,
QUIC,
GLZ,
LZ,
OFF
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_INPUT_BUS_", type_id = "gvir_config_domain_input_bus_get_type ()")]
public enum DomainInputBus {
PS2,
USB,
XEN
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_INPUT_DEVICE_", type_id = "gvir_config_domain_input_device_type_get_type ()")]
public enum DomainInputDeviceType {
MOUSE,
TABLET,
KEYBOARD
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_INTERFACE_LINK_STATE_", type_id = "gvir_config_domain_interface_link_state_get_type ()")]
public enum DomainInterfaceLinkState {
DEFAULT,
UP,
DOWN
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_LIFECYCLE_", type_id = "gvir_config_domain_lifecycle_action_get_type ()")]
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_", type_id = "gvir_config_domain_lifecycle_event_get_type ()")]
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_", type_id = "gvir_config_domain_memballoon_model_get_type ()")]
public enum DomainMemballoonModel {
NONE,
VIRTIO
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_OS_BOOT_DEVICE_", type_id = "gvir_config_domain_os_boot_device_get_type ()")]
public enum DomainOsBootDevice {
FD,
HD,
CDROM,
NETWORK
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_OS_SMBIOS_MODE_", type_id = "gvir_config_domain_os_sm_bios_mode_get_type ()")]
public enum DomainOsSmBiosMode {
EMULATE,
HOST,
SYSINFO
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_OS_TYPE_", type_id = "gvir_config_domain_os_type_get_type ()")]
public enum DomainOsType {
HVM,
LINUX,
EXE,
XEN,
UML
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_REDIRDEV_BUS_", type_id = "gvir_config_domain_redirdev_bus_get_type ()")]
public enum DomainRedirdevBus {
USB
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_SECLABEL_", type_id = "gvir_config_domain_seclabel_type_get_type ()")]
public enum DomainSeclabelType {
DYNAMIC,
STATIC
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_SNAPSHOT_DOMAIN_STATE_", type_id = "gvir_config_domain_snapshot_domain_state_get_type ()")]
public enum DomainSnapshotDomainState {
NOSTATE,
RUNNING,
BLOCKED,
PAUSED,
SHUTDOWN,
SHUTOFF,
CRASHED,
PMSUSPENDED,
DISK_SNAPSHOT
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_SNAPSHOT_MEMORY_STATE_", type_id = "gvir_config_domain_snapshot_memory_state_get_type ()")]
public enum DomainSnapshotMemoryState {
NONE,
INTERNAL,
EXTERNAL
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_SOUND_MODEL_", type_id = "gvir_config_domain_sound_model_get_type ()")]
public enum DomainSoundModel {
SB16,
ES1370,
PCSPK,
AC97,
ICH6
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_TIMER_TICK_POLICY_", type_id = "gvir_config_domain_timer_tick_policy_get_type ()")]
public enum DomainTimerTickPolicy {
DELAY,
CATCHUP,
MERGE,
DISCARD
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_VIDEO_MODEL_", type_id = "gvir_config_domain_video_model_get_type ()")]
public enum DomainVideoModel {
VGA,
CIRRUS,
VMVGA,
XEN,
VBOX,
QXL,
VIRTIO
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h", cprefix = "GVIR_CONFIG_DOMAIN_VIRT_", type_id = "gvir_config_domain_virt_type_get_type ()")]
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_", type_id = "gvir_config_storage_pool_type_get_type ()")]
public enum StoragePoolType {
DIR,
FS,
NETFS,
LOGICAL,
DISK,
ISCSI,
SCSI,
MPATH
}
[CCode (cheader_filename = "libvirt-gconfig/libvirt-gconfig.h")]
public static void init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned 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 unowned string[]? argv) throws GLib.Error;
}
|