remote_protocol-structs 76.8 KB
Newer Older
1
/* -*- c -*- */
2 3 4 5 6 7 8
enum {
        VIR_TYPED_PARAM_INT = 1,
        VIR_TYPED_PARAM_UINT = 2,
        VIR_TYPED_PARAM_LLONG = 3,
        VIR_TYPED_PARAM_ULLONG = 4,
        VIR_TYPED_PARAM_DOUBLE = 5,
        VIR_TYPED_PARAM_BOOLEAN = 6,
9
        VIR_TYPED_PARAM_STRING = 7,
10
};
11
struct remote_nonnull_domain {
12 13 14
        remote_nonnull_string      name;
        remote_uuid                uuid;
        int                        id;
15 16
};
struct remote_nonnull_network {
17 18
        remote_nonnull_string      name;
        remote_uuid                uuid;
19 20
};
struct remote_nonnull_nwfilter {
21 22
        remote_nonnull_string      name;
        remote_uuid                uuid;
23 24
};
struct remote_nonnull_interface {
25 26
        remote_nonnull_string      name;
        remote_nonnull_string      mac;
27 28
};
struct remote_nonnull_storage_pool {
29 30
        remote_nonnull_string      name;
        remote_uuid                uuid;
31 32
};
struct remote_nonnull_storage_vol {
33 34 35
        remote_nonnull_string      pool;
        remote_nonnull_string      name;
        remote_nonnull_string      key;
36 37
};
struct remote_nonnull_node_device {
38
        remote_nonnull_string      name;
39 40
};
struct remote_nonnull_secret {
41 42 43
        remote_uuid                uuid;
        int                        usageType;
        remote_nonnull_string      usageID;
44 45
};
struct remote_nonnull_domain_snapshot {
46
        remote_nonnull_string      name;
47
        remote_nonnull_domain      dom;
48 49
};
struct remote_error {
50 51 52 53 54 55 56 57 58 59 60
        int                        code;
        int                        domain;
        remote_string              message;
        int                        level;
        remote_domain              dom;
        remote_string              str1;
        remote_string              str2;
        remote_string              str3;
        int                        int1;
        int                        int2;
        remote_network             net;
61
};
62 63 64 65 66
enum remote_auth_type {
        REMOTE_AUTH_NONE = 0,
        REMOTE_AUTH_SASL = 1,
        REMOTE_AUTH_POLKIT = 2,
};
67
struct remote_vcpu_info {
68 69 70 71
        u_int                      number;
        int                        state;
        uint64_t                   cpu_time;
        int                        cpu;
72
};
73
struct remote_typed_param_value {
74 75 76 77 78 79 80 81
        int                        type;
        union {
                int                i;
                u_int              ui;
                int64_t            l;
                uint64_t           ul;
                double             d;
                int                b;
82
                remote_nonnull_string s;
83
        } remote_typed_param_value_u;
84
};
85
struct remote_typed_param {
86
        remote_nonnull_string      field;
87
        remote_typed_param_value   value;
88
};
89 90 91 92
struct remote_node_get_cpu_stats {
        remote_nonnull_string      field;
        uint64_t                   value;
};
93 94 95 96
struct remote_node_get_memory_stats {
        remote_nonnull_string      field;
        uint64_t                   value;
};
97 98 99 100
struct remote_domain_disk_error {
        remote_nonnull_string      disk;
        int                        error;
};
101
struct remote_open_args {
102
        remote_string              name;
103
        u_int                      flags;
104 105
};
struct remote_supports_feature_args {
106
        int                        feature;
107 108
};
struct remote_supports_feature_ret {
109
        int                        supported;
110 111
};
struct remote_get_type_ret {
112
        remote_nonnull_string      type;
113 114
};
struct remote_get_version_ret {
115
        uint64_t                   hv_ver;
116 117
};
struct remote_get_lib_version_ret {
118
        uint64_t                   lib_ver;
119 120
};
struct remote_get_hostname_ret {
121
        remote_nonnull_string      hostname;
122
};
123
struct remote_get_sysinfo_args {
124
        u_int                      flags;
125 126
};
struct remote_get_sysinfo_ret {
127
        remote_nonnull_string      sysinfo;
128
};
129
struct remote_get_uri_ret {
130
        remote_nonnull_string      uri;
131 132
};
struct remote_get_max_vcpus_args {
133
        remote_string              type;
134 135
};
struct remote_get_max_vcpus_ret {
136
        int                        max_vcpus;
137 138
};
struct remote_node_get_info_ret {
139
        char                       model[32];
140
        uint64_t                   memory;
141 142 143 144 145 146
        int                        cpus;
        int                        mhz;
        int                        nodes;
        int                        sockets;
        int                        cores;
        int                        threads;
147 148
};
struct remote_get_capabilities_ret {
149
        remote_nonnull_string      capabilities;
150
};
151 152 153 154 155 156 157 158 159 160 161 162
struct remote_node_get_cpu_stats_args {
        int                        cpuNum;
        int                        nparams;
        u_int                      flags;
};
struct remote_node_get_cpu_stats_ret {
        struct {
                u_int              params_len;
                remote_node_get_cpu_stats * params_val;
        } params;
        int                        nparams;
};
163 164 165 166 167 168 169 170 171 172 173 174
struct remote_node_get_memory_stats_args {
        int                        nparams;
        int                        cellNum;
        u_int                      flags;
};
struct remote_node_get_memory_stats_ret {
        struct {
                u_int              params_len;
                remote_node_get_memory_stats * params_val;
        } params;
        int                        nparams;
};
175
struct remote_node_get_cells_free_memory_args {
176
        int                        startCell;
177
        int                        maxcells;
178 179
};
struct remote_node_get_cells_free_memory_ret {
180
        struct {
181
                u_int              cells_len;
182
                uint64_t *         cells_val;
183
        } cells;
184 185
};
struct remote_node_get_free_memory_ret {
186
        uint64_t                   freeMem;
187 188
};
struct remote_domain_get_scheduler_type_args {
189
        remote_nonnull_domain      dom;
190 191
};
struct remote_domain_get_scheduler_type_ret {
192 193
        remote_nonnull_string      type;
        int                        nparams;
194 195
};
struct remote_domain_get_scheduler_parameters_args {
196 197
        remote_nonnull_domain      dom;
        int                        nparams;
198 199
};
struct remote_domain_get_scheduler_parameters_ret {
200 201
        struct {
                u_int              params_len;
202
                remote_typed_param * params_val;
203
        } params;
204
};
205 206 207 208 209 210 211 212 213 214 215
struct remote_domain_get_scheduler_parameters_flags_args {
        remote_nonnull_domain      dom;
        int                        nparams;
        u_int                      flags;
};
struct remote_domain_get_scheduler_parameters_flags_ret {
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
};
216
struct remote_domain_set_scheduler_parameters_args {
217 218 219
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
220
                remote_typed_param * params_val;
221
        } params;
222
};
223 224 225 226
struct remote_domain_set_scheduler_parameters_flags_args {
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
227
                remote_typed_param * params_val;
228 229 230
        } params;
        u_int                      flags;
};
231
struct remote_domain_set_blkio_parameters_args {
232 233 234
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
235
                remote_typed_param * params_val;
236 237
        } params;
        u_int                      flags;
238 239
};
struct remote_domain_get_blkio_parameters_args {
240 241 242
        remote_nonnull_domain      dom;
        int                        nparams;
        u_int                      flags;
243 244
};
struct remote_domain_get_blkio_parameters_ret {
245 246
        struct {
                u_int              params_len;
247
                remote_typed_param * params_val;
248 249
        } params;
        int                        nparams;
250
};
251
struct remote_domain_set_memory_parameters_args {
252 253 254
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
255
                remote_typed_param * params_val;
256 257
        } params;
        u_int                      flags;
258 259
};
struct remote_domain_get_memory_parameters_args {
260 261 262
        remote_nonnull_domain      dom;
        int                        nparams;
        u_int                      flags;
263 264
};
struct remote_domain_get_memory_parameters_ret {
265 266
        struct {
                u_int              params_len;
267
                remote_typed_param * params_val;
268 269
        } params;
        int                        nparams;
270
};
271 272 273 274 275 276
struct remote_domain_block_resize_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      disk;
        uint64_t                   size;
        u_int                      flags;
};
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296
struct remote_domain_set_numa_parameters_args {
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        u_int                      flags;
};
struct remote_domain_get_numa_parameters_args {
        remote_nonnull_domain      dom;
        int                        nparams;
        u_int                      flags;
};
struct remote_domain_get_numa_parameters_ret {
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        int                        nparams;
};
297
struct remote_domain_block_stats_args {
298 299
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
300 301
};
struct remote_domain_block_stats_ret {
302 303 304 305 306
        int64_t                    rd_req;
        int64_t                    rd_bytes;
        int64_t                    wr_req;
        int64_t                    wr_bytes;
        int64_t                    errs;
307
};
308 309 310 311 312 313 314 315 316 317 318 319 320
struct remote_domain_block_stats_flags_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        int                        nparams;
        u_int                      flags;
};
struct remote_domain_block_stats_flags_ret {
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        int                        nparams;
};
321
struct remote_domain_interface_stats_args {
322 323
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
324 325
};
struct remote_domain_interface_stats_ret {
326 327 328 329 330 331 332 333
        int64_t                    rx_bytes;
        int64_t                    rx_packets;
        int64_t                    rx_errs;
        int64_t                    rx_drop;
        int64_t                    tx_bytes;
        int64_t                    tx_packets;
        int64_t                    tx_errs;
        int64_t                    tx_drop;
334
};
335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356
struct remote_domain_set_interface_parameters_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      device;
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        u_int                      flags;
};
struct remote_domain_get_interface_parameters_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      device;
        int                        nparams;
        u_int                      flags;
};
struct remote_domain_get_interface_parameters_ret {
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        int                        nparams;
};
357
struct remote_domain_memory_stats_args {
358 359 360
        remote_nonnull_domain      dom;
        u_int                      maxStats;
        u_int                      flags;
361 362
};
struct remote_domain_memory_stat {
363 364
        int                        tag;
        uint64_t                   val;
365 366
};
struct remote_domain_memory_stats_ret {
367 368 369 370
        struct {
                u_int              stats_len;
                remote_domain_memory_stat * stats_val;
        } stats;
371 372
};
struct remote_domain_block_peek_args {
373 374 375 376 377
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        uint64_t                   offset;
        u_int                      size;
        u_int                      flags;
378 379
};
struct remote_domain_block_peek_ret {
380 381 382 383
        struct {
                u_int              buffer_len;
                char *             buffer_val;
        } buffer;
384 385
};
struct remote_domain_memory_peek_args {
386 387 388 389
        remote_nonnull_domain      dom;
        uint64_t                   offset;
        u_int                      size;
        u_int                      flags;
390 391
};
struct remote_domain_memory_peek_ret {
392 393 394 395
        struct {
                u_int              buffer_len;
                char *             buffer_val;
        } buffer;
396 397
};
struct remote_domain_get_block_info_args {
398 399 400
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        u_int                      flags;
401 402
};
struct remote_domain_get_block_info_ret {
403 404 405
        uint64_t                   allocation;
        uint64_t                   capacity;
        uint64_t                   physical;
406 407
};
struct remote_list_domains_args {
408
        int                        maxids;
409 410
};
struct remote_list_domains_ret {
411 412 413 414
        struct {
                u_int              ids_len;
                int *              ids_val;
        } ids;
415 416
};
struct remote_num_of_domains_ret {
417
        int                        num;
418 419
};
struct remote_domain_create_xml_args {
420
        remote_nonnull_string      xml_desc;
421
        u_int                      flags;
422 423
};
struct remote_domain_create_xml_ret {
424
        remote_nonnull_domain      dom;
425 426
};
struct remote_domain_lookup_by_id_args {
427
        int                        id;
428 429
};
struct remote_domain_lookup_by_id_ret {
430
        remote_nonnull_domain      dom;
431 432
};
struct remote_domain_lookup_by_uuid_args {
433
        remote_uuid                uuid;
434 435
};
struct remote_domain_lookup_by_uuid_ret {
436
        remote_nonnull_domain      dom;
437 438
};
struct remote_domain_lookup_by_name_args {
439
        remote_nonnull_string      name;
440 441
};
struct remote_domain_lookup_by_name_ret {
442
        remote_nonnull_domain      dom;
443 444
};
struct remote_domain_suspend_args {
445
        remote_nonnull_domain      dom;
446
};
447 448 449
struct remote_domain_resume_args {
        remote_nonnull_domain      dom;
};
450 451 452 453 454 455
struct remote_domain_pm_suspend_for_duration_args {
        remote_nonnull_domain      dom;
        u_int                      target;
        uint64_t                   duration;
        u_int                      flags;
};
456
struct remote_domain_pm_wakeup_args {
457
        remote_nonnull_domain      dom;
458
        u_int                      flags;
459 460
};
struct remote_domain_shutdown_args {
461
        remote_nonnull_domain      dom;
462 463
};
struct remote_domain_reboot_args {
464
        remote_nonnull_domain      dom;
465
        u_int                      flags;
466
};
467 468 469 470
struct remote_domain_reset_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
471
struct remote_domain_destroy_args {
472
        remote_nonnull_domain      dom;
473
};
474 475 476 477
struct remote_domain_destroy_flags_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
478
struct remote_domain_get_os_type_args {
479
        remote_nonnull_domain      dom;
480 481
};
struct remote_domain_get_os_type_ret {
482
        remote_nonnull_string      type;
483 484
};
struct remote_domain_get_max_memory_args {
485
        remote_nonnull_domain      dom;
486 487
};
struct remote_domain_get_max_memory_ret {
488
        uint64_t                   memory;
489 490
};
struct remote_domain_set_max_memory_args {
491 492
        remote_nonnull_domain      dom;
        uint64_t                   memory;
493 494
};
struct remote_domain_set_memory_args {
495 496
        remote_nonnull_domain      dom;
        uint64_t                   memory;
497
};
498
struct remote_domain_set_memory_flags_args {
499 500 501
        remote_nonnull_domain      dom;
        uint64_t                   memory;
        u_int                      flags;
502
};
503
struct remote_domain_get_info_args {
504
        remote_nonnull_domain      dom;
505 506
};
struct remote_domain_get_info_ret {
507
        u_char                     state;
508
        uint64_t                   maxMem;
509
        uint64_t                   memory;
510 511
        u_short                    nrVirtCpu;
        uint64_t                   cpuTime;
512 513
};
struct remote_domain_save_args {
514 515
        remote_nonnull_domain      dom;
        remote_nonnull_string      to;
516
};
E
Eric Blake 已提交
517 518 519 520 521 522
struct remote_domain_save_flags_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      to;
        remote_string              dxml;
        u_int                      flags;
};
523
struct remote_domain_restore_args {
524
        remote_nonnull_string      from;
525
};
E
Eric Blake 已提交
526 527 528 529 530
struct remote_domain_restore_flags_args {
        remote_nonnull_string      from;
        remote_string              dxml;
        u_int                      flags;
};
E
Eric Blake 已提交
531 532 533 534 535 536 537 538 539 540 541 542
struct remote_domain_save_image_get_xml_desc_args {
        remote_nonnull_string      file;
        u_int                      flags;
};
struct remote_domain_save_image_get_xml_desc_ret {
        remote_nonnull_string      xml;
};
struct remote_domain_save_image_define_xml_args {
        remote_nonnull_string      file;
        remote_nonnull_string      dxml;
        u_int                      flags;
};
543
struct remote_domain_core_dump_args {
544 545
        remote_nonnull_domain      dom;
        remote_nonnull_string      to;
546
        u_int                      flags;
547
};
548 549
struct remote_domain_screenshot_args {
        remote_nonnull_domain      dom;
E
Eric Blake 已提交
550 551
        u_int                      screen;
        u_int                      flags;
552 553 554 555
};
struct remote_domain_screenshot_ret {
        remote_string              mime;
};
556
struct remote_domain_get_xml_desc_args {
557
        remote_nonnull_domain      dom;
558
        u_int                      flags;
559
};
560
struct remote_domain_get_xml_desc_ret {
561
        remote_nonnull_string      xml;
562 563
};
struct remote_domain_migrate_prepare_args {
564 565 566 567
        remote_string              uri_in;
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
568 569
};
struct remote_domain_migrate_prepare_ret {
570 571 572 573 574
        struct {
                u_int              cookie_len;
                char *             cookie_val;
        } cookie;
        remote_string              uri_out;
575 576
};
struct remote_domain_migrate_perform_args {
577 578 579 580 581 582 583 584 585
        remote_nonnull_domain      dom;
        struct {
                u_int              cookie_len;
                char *             cookie_val;
        } cookie;
        remote_nonnull_string      uri;
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
586 587
};
struct remote_domain_migrate_finish_args {
588 589 590 591 592 593 594
        remote_nonnull_string      dname;
        struct {
                u_int              cookie_len;
                char *             cookie_val;
        } cookie;
        remote_nonnull_string      uri;
        uint64_t                   flags;
595 596
};
struct remote_domain_migrate_finish_ret {
597
        remote_nonnull_domain      ddom;
598 599
};
struct remote_domain_migrate_prepare2_args {
600 601 602 603 604
        remote_string              uri_in;
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
        remote_nonnull_string      dom_xml;
605 606
};
struct remote_domain_migrate_prepare2_ret {
607 608 609 610 611
        struct {
                u_int              cookie_len;
                char *             cookie_val;
        } cookie;
        remote_string              uri_out;
612 613
};
struct remote_domain_migrate_finish2_args {
614 615 616 617 618 619 620 621
        remote_nonnull_string      dname;
        struct {
                u_int              cookie_len;
                char *             cookie_val;
        } cookie;
        remote_nonnull_string      uri;
        uint64_t                   flags;
        int                        retcode;
622 623
};
struct remote_domain_migrate_finish2_ret {
624
        remote_nonnull_domain      ddom;
625 626
};
struct remote_list_defined_domains_args {
627
        int                        maxnames;
628 629
};
struct remote_list_defined_domains_ret {
630 631 632 633
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
634 635
};
struct remote_num_of_defined_domains_ret {
636
        int                        num;
637 638
};
struct remote_domain_create_args {
639
        remote_nonnull_domain      dom;
640 641
};
struct remote_domain_create_with_flags_args {
642 643
        remote_nonnull_domain      dom;
        u_int                      flags;
644 645
};
struct remote_domain_create_with_flags_ret {
646
        remote_nonnull_domain      dom;
647 648
};
struct remote_domain_define_xml_args {
649
        remote_nonnull_string      xml;
650 651
};
struct remote_domain_define_xml_ret {
652
        remote_nonnull_domain      dom;
653 654
};
struct remote_domain_undefine_args {
655
        remote_nonnull_domain      dom;
656
};
657 658 659 660
struct remote_domain_undefine_flags_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
661 662 663 664
struct remote_domain_inject_nmi_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
665 666 667 668 669 670 671 672 673 674
struct remote_domain_send_key_args {
        remote_nonnull_domain      dom;
        u_int                      codeset;
        u_int                      holdtime;
        struct {
                u_int              keycodes_len;
                u_int *            keycodes_val;
        } keycodes;
        u_int                      flags;
};
675
struct remote_domain_set_vcpus_args {
676
        remote_nonnull_domain      dom;
677
        u_int                      nvcpus;
678
};
E
Eric Blake 已提交
679
struct remote_domain_set_vcpus_flags_args {
680 681 682
        remote_nonnull_domain      dom;
        u_int                      nvcpus;
        u_int                      flags;
E
Eric Blake 已提交
683 684
};
struct remote_domain_get_vcpus_flags_args {
685 686
        remote_nonnull_domain      dom;
        u_int                      flags;
E
Eric Blake 已提交
687 688
};
struct remote_domain_get_vcpus_flags_ret {
689
        int                        num;
E
Eric Blake 已提交
690
};
691
struct remote_domain_pin_vcpu_args {
692
        remote_nonnull_domain      dom;
693
        u_int                      vcpu;
694 695 696 697
        struct {
                u_int              cpumap_len;
                char *             cpumap_val;
        } cpumap;
698
};
699 700 701 702 703 704 705 706 707
struct remote_domain_pin_vcpu_flags_args {
        remote_nonnull_domain      dom;
        u_int                      vcpu;
        struct {
                u_int              cpumap_len;
                char *             cpumap_val;
        } cpumap;
        u_int                      flags;
};
E
Eric Blake 已提交
708
struct remote_domain_get_vcpu_pin_info_args {
709 710 711 712 713
        remote_nonnull_domain      dom;
        int                        ncpumaps;
        int                        maplen;
        u_int                      flags;
};
E
Eric Blake 已提交
714
struct remote_domain_get_vcpu_pin_info_ret {
715 716 717 718 719 720
        struct {
                u_int              cpumaps_len;
                char *             cpumaps_val;
        } cpumaps;
        int                        num;
};
721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740
struct remote_domain_pin_emulator_args {
        remote_nonnull_domain      dom;
        struct {
                u_int              cpumap_len;
                char *             cpumap_val;
        } cpumap;
        u_int                      flags;
};
struct remote_domain_get_emulator_pin_info_args {
        remote_nonnull_domain      dom;
        int                        maplen;
        u_int                      flags;
};
struct remote_domain_get_emulator_pin_info_ret {
        struct {
                u_int              cpumaps_len;
                char *             cpumaps_val;
        } cpumaps;
        int                        ret;
};
741
struct remote_domain_get_vcpus_args {
742 743 744
        remote_nonnull_domain      dom;
        int                        maxinfo;
        int                        maplen;
745 746
};
struct remote_domain_get_vcpus_ret {
747 748 749 750 751 752 753 754
        struct {
                u_int              info_len;
                remote_vcpu_info * info_val;
        } info;
        struct {
                u_int              cpumaps_len;
                char *             cpumaps_val;
        } cpumaps;
755 756
};
struct remote_domain_get_max_vcpus_args {
757
        remote_nonnull_domain      dom;
758 759
};
struct remote_domain_get_max_vcpus_ret {
760
        int                        num;
761 762
};
struct remote_domain_get_security_label_args {
763
        remote_nonnull_domain      dom;
764 765
};
struct remote_domain_get_security_label_ret {
766 767 768 769 770
        struct {
                u_int              label_len;
                char *             label_val;
        } label;
        int                        enforcing;
771
};
M
Marcelo Cerri 已提交
772 773 774 775 776 777 778 779 780 781
struct remote_domain_get_security_label_list_args {
        remote_nonnull_domain      dom;
};
struct remote_domain_get_security_label_list_ret {
        struct {
                u_int              labels_len;
                remote_domain_get_security_label_ret * labels_val;
        } labels;
        int                        ret;
};
782
struct remote_node_get_security_model_ret {
783 784 785 786 787 788 789 790
        struct {
                u_int              model_len;
                char *             model_val;
        } model;
        struct {
                u_int              doi_len;
                char *             doi_val;
        } doi;
791 792
};
struct remote_domain_attach_device_args {
793 794
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
795 796
};
struct remote_domain_attach_device_flags_args {
797 798 799
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
        u_int                      flags;
800 801
};
struct remote_domain_detach_device_args {
802 803
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
804 805
};
struct remote_domain_detach_device_flags_args {
806 807 808
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
        u_int                      flags;
809 810
};
struct remote_domain_update_device_flags_args {
811 812 813
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
        u_int                      flags;
814 815
};
struct remote_domain_get_autostart_args {
816
        remote_nonnull_domain      dom;
817 818
};
struct remote_domain_get_autostart_ret {
819
        int                        autostart;
820 821
};
struct remote_domain_set_autostart_args {
822 823
        remote_nonnull_domain      dom;
        int                        autostart;
824
};
825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841
struct remote_domain_set_metadata_args {
        remote_nonnull_domain      dom;
        int                        type;
        remote_string              metadata;
        remote_string              key;
        remote_string              uri;
        u_int                      flags;
};
struct remote_domain_get_metadata_args {
        remote_nonnull_domain      dom;
        int                        type;
        remote_string              uri;
        u_int                      flags;
};
struct remote_domain_get_metadata_ret {
        remote_nonnull_string      metadata;
};
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
struct remote_domain_block_job_abort_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        u_int                      flags;
};
struct remote_domain_get_block_job_info_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        u_int                      flags;
};
struct remote_domain_get_block_job_info_ret {
        int                        found;
        int                        type;
        uint64_t                   bandwidth;
        uint64_t                   cur;
        uint64_t                   end;
};
struct remote_domain_block_job_set_speed_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        uint64_t                   bandwidth;
        u_int                      flags;
};
struct remote_domain_block_pull_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        uint64_t                   bandwidth;
        u_int                      flags;
};
871 872 873 874 875 876 877
struct remote_domain_block_rebase_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        remote_string              base;
        uint64_t                   bandwidth;
        u_int                      flags;
};
878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899
struct remote_domain_set_block_io_tune_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      disk;
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        u_int                      flags;
};
struct remote_domain_get_block_io_tune_args {
        remote_nonnull_domain      dom;
        remote_string              disk;
        int                        nparams;
        u_int                      flags;
};
struct remote_domain_get_block_io_tune_ret {
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        int                        nparams;
};
900 901 902 903 904 905 906 907 908 909 910 911 912 913
struct remote_domain_get_cpu_stats_args {
        remote_nonnull_domain      dom;
        u_int                      nparams;
        int                        start_cpu;
        u_int                      ncpus;
        u_int                      flags;
};
struct remote_domain_get_cpu_stats_ret {
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        int                        nparams;
};
914 915 916 917 918 919 920
struct remote_domain_get_hostname_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
struct remote_domain_get_hostname_ret {
        remote_nonnull_string      hostname;
};
921
struct remote_num_of_networks_ret {
922
        int                        num;
923 924
};
struct remote_list_networks_args {
925
        int                        maxnames;
926 927
};
struct remote_list_networks_ret {
928 929 930 931
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
932 933
};
struct remote_num_of_defined_networks_ret {
934
        int                        num;
935 936
};
struct remote_list_defined_networks_args {
937
        int                        maxnames;
938 939
};
struct remote_list_defined_networks_ret {
940 941 942 943
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
944 945
};
struct remote_network_lookup_by_uuid_args {
946
        remote_uuid                uuid;
947 948
};
struct remote_network_lookup_by_uuid_ret {
949
        remote_nonnull_network     net;
950 951
};
struct remote_network_lookup_by_name_args {
952
        remote_nonnull_string      name;
953 954
};
struct remote_network_lookup_by_name_ret {
955
        remote_nonnull_network     net;
956 957
};
struct remote_network_create_xml_args {
958
        remote_nonnull_string      xml;
959 960
};
struct remote_network_create_xml_ret {
961
        remote_nonnull_network     net;
962 963
};
struct remote_network_define_xml_args {
964
        remote_nonnull_string      xml;
965 966
};
struct remote_network_define_xml_ret {
967
        remote_nonnull_network     net;
968 969
};
struct remote_network_undefine_args {
970
        remote_nonnull_network     net;
971 972
};
struct remote_network_create_args {
973
        remote_nonnull_network     net;
974 975
};
struct remote_network_destroy_args {
976
        remote_nonnull_network     net;
977
};
978
struct remote_network_get_xml_desc_args {
979
        remote_nonnull_network     net;
980
        u_int                      flags;
981
};
982
struct remote_network_get_xml_desc_ret {
983
        remote_nonnull_string      xml;
984 985
};
struct remote_network_get_bridge_name_args {
986
        remote_nonnull_network     net;
987 988
};
struct remote_network_get_bridge_name_ret {
989
        remote_nonnull_string      name;
990 991
};
struct remote_network_get_autostart_args {
992
        remote_nonnull_network     net;
993 994
};
struct remote_network_get_autostart_ret {
995
        int                        autostart;
996 997
};
struct remote_network_set_autostart_args {
998 999
        remote_nonnull_network     net;
        int                        autostart;
1000 1001
};
struct remote_num_of_nwfilters_ret {
1002
        int                        num;
1003 1004
};
struct remote_list_nwfilters_args {
1005
        int                        maxnames;
1006 1007
};
struct remote_list_nwfilters_ret {
1008 1009 1010 1011
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1012 1013
};
struct remote_nwfilter_lookup_by_uuid_args {
1014
        remote_uuid                uuid;
1015 1016
};
struct remote_nwfilter_lookup_by_uuid_ret {
1017
        remote_nonnull_nwfilter    nwfilter;
1018 1019
};
struct remote_nwfilter_lookup_by_name_args {
1020
        remote_nonnull_string      name;
1021 1022
};
struct remote_nwfilter_lookup_by_name_ret {
1023
        remote_nonnull_nwfilter    nwfilter;
1024 1025
};
struct remote_nwfilter_define_xml_args {
1026
        remote_nonnull_string      xml;
1027 1028
};
struct remote_nwfilter_define_xml_ret {
1029
        remote_nonnull_nwfilter    nwfilter;
1030 1031
};
struct remote_nwfilter_undefine_args {
1032
        remote_nonnull_nwfilter    nwfilter;
1033 1034
};
struct remote_nwfilter_get_xml_desc_args {
1035
        remote_nonnull_nwfilter    nwfilter;
1036
        u_int                      flags;
1037 1038
};
struct remote_nwfilter_get_xml_desc_ret {
1039
        remote_nonnull_string      xml;
1040 1041
};
struct remote_num_of_interfaces_ret {
1042
        int                        num;
1043 1044
};
struct remote_list_interfaces_args {
1045
        int                        maxnames;
1046 1047
};
struct remote_list_interfaces_ret {
1048 1049 1050 1051
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1052 1053
};
struct remote_num_of_defined_interfaces_ret {
1054
        int                        num;
1055 1056
};
struct remote_list_defined_interfaces_args {
1057
        int                        maxnames;
1058 1059
};
struct remote_list_defined_interfaces_ret {
1060 1061 1062 1063
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1064 1065
};
struct remote_interface_lookup_by_name_args {
1066
        remote_nonnull_string      name;
1067 1068
};
struct remote_interface_lookup_by_name_ret {
1069
        remote_nonnull_interface   iface;
1070 1071
};
struct remote_interface_lookup_by_mac_string_args {
1072
        remote_nonnull_string      mac;
1073 1074
};
struct remote_interface_lookup_by_mac_string_ret {
1075
        remote_nonnull_interface   iface;
1076 1077
};
struct remote_interface_get_xml_desc_args {
1078 1079
        remote_nonnull_interface   iface;
        u_int                      flags;
1080 1081
};
struct remote_interface_get_xml_desc_ret {
1082
        remote_nonnull_string      xml;
1083 1084
};
struct remote_interface_define_xml_args {
1085 1086
        remote_nonnull_string      xml;
        u_int                      flags;
1087 1088
};
struct remote_interface_define_xml_ret {
1089
        remote_nonnull_interface   iface;
1090 1091
};
struct remote_interface_undefine_args {
1092
        remote_nonnull_interface   iface;
1093 1094
};
struct remote_interface_create_args {
1095 1096
        remote_nonnull_interface   iface;
        u_int                      flags;
1097 1098
};
struct remote_interface_destroy_args {
1099 1100
        remote_nonnull_interface   iface;
        u_int                      flags;
1101
};
1102
struct remote_interface_change_begin_args {
D
Daniel Veillard 已提交
1103
        u_int                      flags;
1104 1105
};
struct remote_interface_change_commit_args {
D
Daniel Veillard 已提交
1106
        u_int                      flags;
1107 1108
};
struct remote_interface_change_rollback_args {
D
Daniel Veillard 已提交
1109
        u_int                      flags;
1110
};
1111
struct remote_auth_list_ret {
1112 1113 1114 1115
        struct {
                u_int              types_len;
                remote_auth_type * types_val;
        } types;
1116 1117
};
struct remote_auth_sasl_init_ret {
1118
        remote_nonnull_string      mechlist;
1119 1120
};
struct remote_auth_sasl_start_args {
1121 1122 1123 1124 1125 1126
        remote_nonnull_string      mech;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
1127 1128
};
struct remote_auth_sasl_start_ret {
1129 1130 1131 1132 1133 1134
        int                        complete;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
1135 1136
};
struct remote_auth_sasl_step_args {
1137 1138 1139 1140 1141
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
1142 1143
};
struct remote_auth_sasl_step_ret {
1144 1145 1146 1147 1148 1149
        int                        complete;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
1150 1151
};
struct remote_auth_polkit_ret {
1152
        int                        complete;
1153 1154
};
struct remote_num_of_storage_pools_ret {
1155
        int                        num;
1156 1157
};
struct remote_list_storage_pools_args {
1158
        int                        maxnames;
1159 1160
};
struct remote_list_storage_pools_ret {
1161 1162 1163 1164
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1165 1166
};
struct remote_num_of_defined_storage_pools_ret {
1167
        int                        num;
1168 1169
};
struct remote_list_defined_storage_pools_args {
1170
        int                        maxnames;
1171 1172
};
struct remote_list_defined_storage_pools_ret {
1173 1174 1175 1176
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1177 1178
};
struct remote_find_storage_pool_sources_args {
1179 1180 1181
        remote_nonnull_string      type;
        remote_string              srcSpec;
        u_int                      flags;
1182 1183
};
struct remote_find_storage_pool_sources_ret {
1184
        remote_nonnull_string      xml;
1185 1186
};
struct remote_storage_pool_lookup_by_uuid_args {
1187
        remote_uuid                uuid;
1188 1189
};
struct remote_storage_pool_lookup_by_uuid_ret {
1190
        remote_nonnull_storage_pool pool;
1191 1192
};
struct remote_storage_pool_lookup_by_name_args {
1193
        remote_nonnull_string      name;
1194 1195
};
struct remote_storage_pool_lookup_by_name_ret {
1196
        remote_nonnull_storage_pool pool;
1197 1198
};
struct remote_storage_pool_lookup_by_volume_args {
1199
        remote_nonnull_storage_vol vol;
1200 1201
};
struct remote_storage_pool_lookup_by_volume_ret {
1202
        remote_nonnull_storage_pool pool;
1203 1204
};
struct remote_storage_pool_create_xml_args {
1205 1206
        remote_nonnull_string      xml;
        u_int                      flags;
1207 1208
};
struct remote_storage_pool_create_xml_ret {
1209
        remote_nonnull_storage_pool pool;
1210 1211
};
struct remote_storage_pool_define_xml_args {
1212 1213
        remote_nonnull_string      xml;
        u_int                      flags;
1214 1215
};
struct remote_storage_pool_define_xml_ret {
1216
        remote_nonnull_storage_pool pool;
1217 1218
};
struct remote_storage_pool_build_args {
1219 1220
        remote_nonnull_storage_pool pool;
        u_int                      flags;
1221 1222
};
struct remote_storage_pool_undefine_args {
1223
        remote_nonnull_storage_pool pool;
1224 1225
};
struct remote_storage_pool_create_args {
1226 1227
        remote_nonnull_storage_pool pool;
        u_int                      flags;
1228 1229
};
struct remote_storage_pool_destroy_args {
1230
        remote_nonnull_storage_pool pool;
1231 1232
};
struct remote_storage_pool_delete_args {
1233 1234
        remote_nonnull_storage_pool pool;
        u_int                      flags;
1235 1236
};
struct remote_storage_pool_refresh_args {
1237 1238
        remote_nonnull_storage_pool pool;
        u_int                      flags;
1239
};
1240
struct remote_storage_pool_get_xml_desc_args {
1241 1242
        remote_nonnull_storage_pool pool;
        u_int                      flags;
1243
};
1244
struct remote_storage_pool_get_xml_desc_ret {
1245
        remote_nonnull_string      xml;
1246 1247
};
struct remote_storage_pool_get_info_args {
1248
        remote_nonnull_storage_pool pool;
1249 1250
};
struct remote_storage_pool_get_info_ret {
1251 1252 1253 1254
        u_char                     state;
        uint64_t                   capacity;
        uint64_t                   allocation;
        uint64_t                   available;
1255 1256
};
struct remote_storage_pool_get_autostart_args {
1257
        remote_nonnull_storage_pool pool;
1258 1259
};
struct remote_storage_pool_get_autostart_ret {
1260
        int                        autostart;
1261 1262
};
struct remote_storage_pool_set_autostart_args {
1263 1264
        remote_nonnull_storage_pool pool;
        int                        autostart;
1265 1266
};
struct remote_storage_pool_num_of_volumes_args {
1267
        remote_nonnull_storage_pool pool;
1268 1269
};
struct remote_storage_pool_num_of_volumes_ret {
1270
        int                        num;
1271 1272
};
struct remote_storage_pool_list_volumes_args {
1273 1274
        remote_nonnull_storage_pool pool;
        int                        maxnames;
1275 1276
};
struct remote_storage_pool_list_volumes_ret {
1277 1278 1279 1280
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1281 1282
};
struct remote_storage_vol_lookup_by_name_args {
1283 1284
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      name;
1285 1286
};
struct remote_storage_vol_lookup_by_name_ret {
1287
        remote_nonnull_storage_vol vol;
1288 1289
};
struct remote_storage_vol_lookup_by_key_args {
1290
        remote_nonnull_string      key;
1291 1292
};
struct remote_storage_vol_lookup_by_key_ret {
1293
        remote_nonnull_storage_vol vol;
1294 1295
};
struct remote_storage_vol_lookup_by_path_args {
1296
        remote_nonnull_string      path;
1297 1298
};
struct remote_storage_vol_lookup_by_path_ret {
1299
        remote_nonnull_storage_vol vol;
1300 1301
};
struct remote_storage_vol_create_xml_args {
1302 1303 1304
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      xml;
        u_int                      flags;
1305 1306
};
struct remote_storage_vol_create_xml_ret {
1307
        remote_nonnull_storage_vol vol;
1308 1309
};
struct remote_storage_vol_create_xml_from_args {
1310 1311 1312 1313
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      xml;
        remote_nonnull_storage_vol clonevol;
        u_int                      flags;
1314 1315
};
struct remote_storage_vol_create_xml_from_ret {
1316
        remote_nonnull_storage_vol vol;
1317 1318
};
struct remote_storage_vol_delete_args {
1319 1320
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1321 1322
};
struct remote_storage_vol_wipe_args {
1323 1324
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1325
};
1326 1327 1328 1329 1330
struct remote_storage_vol_wipe_pattern_args {
        remote_nonnull_storage_vol vol;
        u_int                      algorithm;
        u_int                      flags;
};
1331
struct remote_storage_vol_get_xml_desc_args {
1332 1333
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1334
};
1335
struct remote_storage_vol_get_xml_desc_ret {
1336
        remote_nonnull_string      xml;
1337 1338
};
struct remote_storage_vol_get_info_args {
1339
        remote_nonnull_storage_vol vol;
1340 1341
};
struct remote_storage_vol_get_info_ret {
1342 1343 1344
        char                       type;
        uint64_t                   capacity;
        uint64_t                   allocation;
1345 1346
};
struct remote_storage_vol_get_path_args {
1347
        remote_nonnull_storage_vol vol;
1348 1349
};
struct remote_storage_vol_get_path_ret {
1350
        remote_nonnull_string      name;
1351
};
1352 1353
struct remote_storage_vol_resize_args {
        remote_nonnull_storage_vol vol;
E
Eric Blake 已提交
1354
        uint64_t                   capacity;
1355 1356
        u_int                      flags;
};
1357
struct remote_node_num_of_devices_args {
1358 1359
        remote_string              cap;
        u_int                      flags;
1360 1361
};
struct remote_node_num_of_devices_ret {
1362
        int                        num;
1363 1364
};
struct remote_node_list_devices_args {
1365 1366 1367
        remote_string              cap;
        int                        maxnames;
        u_int                      flags;
1368 1369
};
struct remote_node_list_devices_ret {
1370 1371 1372 1373
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1374 1375
};
struct remote_node_device_lookup_by_name_args {
1376
        remote_nonnull_string      name;
1377 1378
};
struct remote_node_device_lookup_by_name_ret {
1379
        remote_nonnull_node_device dev;
1380
};
1381
struct remote_node_device_get_xml_desc_args {
1382 1383
        remote_nonnull_string      name;
        u_int                      flags;
1384
};
1385
struct remote_node_device_get_xml_desc_ret {
1386
        remote_nonnull_string      xml;
1387 1388
};
struct remote_node_device_get_parent_args {
1389
        remote_nonnull_string      name;
1390 1391
};
struct remote_node_device_get_parent_ret {
1392
        remote_string              parent;
1393 1394
};
struct remote_node_device_num_of_caps_args {
1395
        remote_nonnull_string      name;
1396 1397
};
struct remote_node_device_num_of_caps_ret {
1398
        int                        num;
1399 1400
};
struct remote_node_device_list_caps_args {
1401 1402
        remote_nonnull_string      name;
        int                        maxnames;
1403 1404
};
struct remote_node_device_list_caps_ret {
1405 1406 1407 1408
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1409 1410
};
struct remote_node_device_dettach_args {
1411
        remote_nonnull_string      name;
1412 1413
};
struct remote_node_device_re_attach_args {
1414
        remote_nonnull_string      name;
1415 1416
};
struct remote_node_device_reset_args {
1417
        remote_nonnull_string      name;
1418 1419
};
struct remote_node_device_create_xml_args {
1420
        remote_nonnull_string      xml_desc;
1421
        u_int                      flags;
1422 1423
};
struct remote_node_device_create_xml_ret {
1424
        remote_nonnull_node_device dev;
1425 1426
};
struct remote_node_device_destroy_args {
1427
        remote_nonnull_string      name;
1428 1429
};
struct remote_domain_events_register_ret {
1430
        int                        cb_registered;
1431 1432
};
struct remote_domain_events_deregister_ret {
1433
        int                        cb_registered;
1434 1435
};
struct remote_domain_event_lifecycle_msg {
1436 1437 1438
        remote_nonnull_domain      dom;
        int                        event;
        int                        detail;
1439 1440
};
struct remote_domain_xml_from_native_args {
1441 1442 1443
        remote_nonnull_string      nativeFormat;
        remote_nonnull_string      nativeConfig;
        u_int                      flags;
1444 1445
};
struct remote_domain_xml_from_native_ret {
1446
        remote_nonnull_string      domainXml;
1447 1448
};
struct remote_domain_xml_to_native_args {
1449 1450 1451
        remote_nonnull_string      nativeFormat;
        remote_nonnull_string      domainXml;
        u_int                      flags;
1452 1453
};
struct remote_domain_xml_to_native_ret {
1454
        remote_nonnull_string      nativeConfig;
1455 1456
};
struct remote_num_of_secrets_ret {
1457
        int                        num;
1458 1459
};
struct remote_list_secrets_args {
1460
        int                        maxuuids;
1461 1462
};
struct remote_list_secrets_ret {
1463 1464 1465 1466
        struct {
                u_int              uuids_len;
                remote_nonnull_string * uuids_val;
        } uuids;
1467 1468
};
struct remote_secret_lookup_by_uuid_args {
1469
        remote_uuid                uuid;
1470 1471
};
struct remote_secret_lookup_by_uuid_ret {
1472
        remote_nonnull_secret      secret;
1473 1474
};
struct remote_secret_define_xml_args {
1475 1476
        remote_nonnull_string      xml;
        u_int                      flags;
1477 1478
};
struct remote_secret_define_xml_ret {
1479
        remote_nonnull_secret      secret;
1480 1481
};
struct remote_secret_get_xml_desc_args {
1482 1483
        remote_nonnull_secret      secret;
        u_int                      flags;
1484 1485
};
struct remote_secret_get_xml_desc_ret {
1486
        remote_nonnull_string      xml;
1487 1488
};
struct remote_secret_set_value_args {
1489 1490 1491 1492 1493 1494
        remote_nonnull_secret      secret;
        struct {
                u_int              value_len;
                char *             value_val;
        } value;
        u_int                      flags;
1495 1496
};
struct remote_secret_get_value_args {
1497 1498
        remote_nonnull_secret      secret;
        u_int                      flags;
1499 1500
};
struct remote_secret_get_value_ret {
1501 1502 1503 1504
        struct {
                u_int              value_len;
                char *             value_val;
        } value;
1505 1506
};
struct remote_secret_undefine_args {
1507
        remote_nonnull_secret      secret;
1508 1509
};
struct remote_secret_lookup_by_usage_args {
1510 1511
        int                        usageType;
        remote_nonnull_string      usageID;
1512 1513
};
struct remote_secret_lookup_by_usage_ret {
1514
        remote_nonnull_secret      secret;
1515 1516
};
struct remote_domain_migrate_prepare_tunnel_args {
1517 1518 1519 1520
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
        remote_nonnull_string      dom_xml;
1521 1522
};
struct remote_is_secure_ret {
1523
        int                        secure;
1524 1525
};
struct remote_domain_is_active_args {
1526
        remote_nonnull_domain      dom;
1527 1528
};
struct remote_domain_is_active_ret {
1529
        int                        active;
1530 1531
};
struct remote_domain_is_persistent_args {
1532
        remote_nonnull_domain      dom;
1533 1534
};
struct remote_domain_is_persistent_ret {
1535
        int                        persistent;
1536
};
O
Osier Yang 已提交
1537
struct remote_domain_is_updated_args {
1538
        remote_nonnull_domain      dom;
O
Osier Yang 已提交
1539 1540
};
struct remote_domain_is_updated_ret {
1541
        int                        updated;
O
Osier Yang 已提交
1542
};
1543
struct remote_network_is_active_args {
1544
        remote_nonnull_network     net;
1545 1546
};
struct remote_network_is_active_ret {
1547
        int                        active;
1548 1549
};
struct remote_network_is_persistent_args {
1550
        remote_nonnull_network     net;
1551 1552
};
struct remote_network_is_persistent_ret {
1553
        int                        persistent;
1554 1555
};
struct remote_storage_pool_is_active_args {
1556
        remote_nonnull_storage_pool pool;
1557 1558
};
struct remote_storage_pool_is_active_ret {
1559
        int                        active;
1560 1561
};
struct remote_storage_pool_is_persistent_args {
1562
        remote_nonnull_storage_pool pool;
1563 1564
};
struct remote_storage_pool_is_persistent_ret {
1565
        int                        persistent;
1566 1567
};
struct remote_interface_is_active_args {
1568
        remote_nonnull_interface   iface;
1569 1570
};
struct remote_interface_is_active_ret {
1571
        int                        active;
1572 1573
};
struct remote_cpu_compare_args {
1574 1575
        remote_nonnull_string      xml;
        u_int                      flags;
1576 1577
};
struct remote_cpu_compare_ret {
1578
        int                        result;
1579 1580
};
struct remote_cpu_baseline_args {
1581 1582 1583 1584 1585
        struct {
                u_int              xmlCPUs_len;
                remote_nonnull_string * xmlCPUs_val;
        } xmlCPUs;
        u_int                      flags;
1586 1587
};
struct remote_cpu_baseline_ret {
1588
        remote_nonnull_string      cpu;
1589 1590
};
struct remote_domain_get_job_info_args {
1591
        remote_nonnull_domain      dom;
1592 1593
};
struct remote_domain_get_job_info_ret {
1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605
        int                        type;
        uint64_t                   timeElapsed;
        uint64_t                   timeRemaining;
        uint64_t                   dataTotal;
        uint64_t                   dataProcessed;
        uint64_t                   dataRemaining;
        uint64_t                   memTotal;
        uint64_t                   memProcessed;
        uint64_t                   memRemaining;
        uint64_t                   fileTotal;
        uint64_t                   fileProcessed;
        uint64_t                   fileRemaining;
1606 1607
};
struct remote_domain_abort_job_args {
1608
        remote_nonnull_domain      dom;
1609 1610
};
struct remote_domain_migrate_set_max_downtime_args {
1611 1612 1613
        remote_nonnull_domain      dom;
        uint64_t                   downtime;
        u_int                      flags;
1614
};
1615
struct remote_domain_migrate_set_max_speed_args {
1616 1617 1618
        remote_nonnull_domain      dom;
        uint64_t                   bandwidth;
        u_int                      flags;
1619
};
1620 1621 1622 1623 1624 1625 1626
struct remote_domain_migrate_get_max_speed_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
struct remote_domain_migrate_get_max_speed_ret {
        uint64_t                   bandwidth;
};
1627
struct remote_domain_events_register_any_args {
1628
        int                        eventID;
1629 1630
};
struct remote_domain_events_deregister_any_args {
1631
        int                        eventID;
1632 1633
};
struct remote_domain_event_reboot_msg {
1634
        remote_nonnull_domain      dom;
1635 1636
};
struct remote_domain_event_rtc_change_msg {
1637 1638
        remote_nonnull_domain      dom;
        int64_t                    offset;
1639 1640
};
struct remote_domain_event_watchdog_msg {
1641 1642
        remote_nonnull_domain      dom;
        int                        action;
1643 1644
};
struct remote_domain_event_io_error_msg {
1645 1646 1647 1648
        remote_nonnull_domain      dom;
        remote_nonnull_string      srcPath;
        remote_nonnull_string      devAlias;
        int                        action;
1649 1650
};
struct remote_domain_event_io_error_reason_msg {
1651 1652 1653 1654 1655
        remote_nonnull_domain      dom;
        remote_nonnull_string      srcPath;
        remote_nonnull_string      devAlias;
        int                        action;
        remote_nonnull_string      reason;
1656 1657
};
struct remote_domain_event_graphics_address {
1658 1659 1660
        int                        family;
        remote_nonnull_string      node;
        remote_nonnull_string      service;
1661 1662
};
struct remote_domain_event_graphics_identity {
1663 1664
        remote_nonnull_string      type;
        remote_nonnull_string      name;
1665 1666
};
struct remote_domain_event_graphics_msg {
1667 1668 1669 1670 1671 1672 1673 1674 1675
        remote_nonnull_domain      dom;
        int                        phase;
        remote_domain_event_graphics_address local;
        remote_domain_event_graphics_address remote;
        remote_nonnull_string      authScheme;
        struct {
                u_int              subject_len;
                remote_domain_event_graphics_identity * subject_val;
        } subject;
1676
};
1677 1678 1679 1680 1681 1682
struct remote_domain_event_block_job_msg {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        int                        type;
        int                        status;
};
1683 1684 1685 1686 1687 1688 1689
struct remote_domain_event_disk_change_msg {
        remote_nonnull_domain      dom;
        remote_string              oldSrcPath;
        remote_string              newSrcPath;
        remote_nonnull_string      devAlias;
        int                        reason;
};
1690 1691 1692 1693
struct remote_domain_event_tray_change_msg {
        remote_nonnull_domain      dom;
        remote_nonnull_string      devAlias;
        int                        reason;
1694
};
O
Osier Yang 已提交
1695 1696
struct remote_domain_event_pmwakeup_msg {
        remote_nonnull_domain      dom;
1697
};
O
Osier Yang 已提交
1698 1699
struct remote_domain_event_pmsuspend_msg {
        remote_nonnull_domain      dom;
1700
};
1701 1702 1703 1704
struct remote_domain_event_balloon_change_msg {
        remote_nonnull_domain      dom;
        uint64_t                   actual;
};
1705
struct remote_domain_managed_save_args {
1706 1707
        remote_nonnull_domain      dom;
        u_int                      flags;
1708 1709
};
struct remote_domain_has_managed_save_image_args {
1710 1711
        remote_nonnull_domain      dom;
        u_int                      flags;
1712 1713
};
struct remote_domain_has_managed_save_image_ret {
1714
        int                        result;
1715 1716
};
struct remote_domain_managed_save_remove_args {
1717 1718
        remote_nonnull_domain      dom;
        u_int                      flags;
1719 1720
};
struct remote_domain_snapshot_create_xml_args {
1721
        remote_nonnull_domain      dom;
1722
        remote_nonnull_string      xml_desc;
1723
        u_int                      flags;
1724 1725
};
struct remote_domain_snapshot_create_xml_ret {
1726
        remote_nonnull_domain_snapshot snap;
1727
};
1728
struct remote_domain_snapshot_get_xml_desc_args {
1729
        remote_nonnull_domain_snapshot snap;
1730
        u_int                      flags;
1731
};
1732
struct remote_domain_snapshot_get_xml_desc_ret {
1733
        remote_nonnull_string      xml;
1734 1735
};
struct remote_domain_snapshot_num_args {
1736
        remote_nonnull_domain      dom;
1737
        u_int                      flags;
1738 1739
};
struct remote_domain_snapshot_num_ret {
1740
        int                        num;
1741 1742
};
struct remote_domain_snapshot_list_names_args {
1743
        remote_nonnull_domain      dom;
1744
        int                        maxnames;
1745
        u_int                      flags;
1746 1747
};
struct remote_domain_snapshot_list_names_ret {
1748 1749 1750 1751
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1752
};
1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764
struct remote_domain_list_all_snapshots_args {
        remote_nonnull_domain      dom;
        int                        need_results;
        u_int                      flags;
};
struct remote_domain_list_all_snapshots_ret {
        struct {
                u_int              snapshots_len;
                remote_nonnull_domain_snapshot * snapshots_val;
        } snapshots;
        int                        ret;
};
1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782
struct remote_domain_snapshot_num_children_args {
        remote_nonnull_domain_snapshot snap;
        u_int                      flags;
};
struct remote_domain_snapshot_num_children_ret {
        int                        num;
};
struct remote_domain_snapshot_list_children_names_args {
        remote_nonnull_domain_snapshot snap;
        int                        maxnames;
        u_int                      flags;
};
struct remote_domain_snapshot_list_children_names_ret {
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
};
1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794
struct remote_domain_snapshot_list_all_children_args {
        remote_nonnull_domain_snapshot snapshot;
        int                        need_results;
        u_int                      flags;
};
struct remote_domain_snapshot_list_all_children_ret {
        struct {
                u_int              snapshots_len;
                remote_nonnull_domain_snapshot * snapshots_val;
        } snapshots;
        int                        ret;
};
1795
struct remote_domain_snapshot_lookup_by_name_args {
1796
        remote_nonnull_domain      dom;
1797
        remote_nonnull_string      name;
1798
        u_int                      flags;
1799 1800
};
struct remote_domain_snapshot_lookup_by_name_ret {
1801
        remote_nonnull_domain_snapshot snap;
1802 1803
};
struct remote_domain_has_current_snapshot_args {
1804
        remote_nonnull_domain      dom;
1805
        u_int                      flags;
1806 1807
};
struct remote_domain_has_current_snapshot_ret {
1808
        int                        result;
1809
};
1810 1811 1812 1813 1814 1815 1816
struct remote_domain_snapshot_get_parent_args {
        remote_nonnull_domain_snapshot snap;
        u_int                      flags;
};
struct remote_domain_snapshot_get_parent_ret {
        remote_nonnull_domain_snapshot snap;
};
1817
struct remote_domain_snapshot_current_args {
1818
        remote_nonnull_domain      dom;
1819
        u_int                      flags;
1820 1821
};
struct remote_domain_snapshot_current_ret {
1822
        remote_nonnull_domain_snapshot snap;
1823
};
E
Eric Blake 已提交
1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837
struct remote_domain_snapshot_is_current_args {
        remote_nonnull_domain_snapshot snap;
        u_int                      flags;
};
struct remote_domain_snapshot_is_current_ret {
        int                        current;
};
struct remote_domain_snapshot_has_metadata_args {
        remote_nonnull_domain_snapshot snap;
        u_int                      flags;
};
struct remote_domain_snapshot_has_metadata_ret {
        int                        metadata;
};
1838
struct remote_domain_revert_to_snapshot_args {
1839
        remote_nonnull_domain_snapshot snap;
1840
        u_int                      flags;
1841 1842
};
struct remote_domain_snapshot_delete_args {
1843
        remote_nonnull_domain_snapshot snap;
1844
        u_int                      flags;
1845
};
1846
struct remote_domain_open_console_args {
1847
        remote_nonnull_domain      dom;
1848
        remote_string              dev_name;
1849
        u_int                      flags;
1850
};
1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862
struct remote_storage_vol_upload_args {
        remote_nonnull_storage_vol vol;
        uint64_t                   offset;
        uint64_t                   length;
        u_int                      flags;
};
struct remote_storage_vol_download_args {
        remote_nonnull_storage_vol vol;
        uint64_t                   offset;
        uint64_t                   length;
        u_int                      flags;
};
1863 1864 1865 1866 1867 1868 1869 1870
struct remote_domain_get_state_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
struct remote_domain_get_state_ret {
        int                        state;
        int                        reason;
};
1871 1872
struct remote_domain_migrate_begin3_args {
        remote_nonnull_domain      dom;
1873
        remote_string              xmlin;
1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
};
struct remote_domain_migrate_begin3_ret {
        struct {
                u_int              cookie_out_len;
                char *             cookie_out_val;
        } cookie_out;
        remote_nonnull_string      xml;
};
struct remote_domain_migrate_prepare3_args {
        struct {
                u_int              cookie_in_len;
                char *             cookie_in_val;
        } cookie_in;
        remote_string              uri_in;
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
        remote_nonnull_string      dom_xml;
};
struct remote_domain_migrate_prepare3_ret {
        struct {
                u_int              cookie_out_len;
                char *             cookie_out_val;
        } cookie_out;
        remote_string              uri_out;
};
struct remote_domain_migrate_prepare_tunnel3_args {
        struct {
                u_int              cookie_in_len;
                char *             cookie_in_val;
        } cookie_in;
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
        remote_nonnull_string      dom_xml;
};
struct remote_domain_migrate_prepare_tunnel3_ret {
        struct {
                u_int              cookie_out_len;
                char *             cookie_out_val;
        } cookie_out;
};
struct remote_domain_migrate_perform3_args {
        remote_nonnull_domain      dom;
1921
        remote_string              xmlin;
1922 1923 1924 1925
        struct {
                u_int              cookie_in_len;
                char *             cookie_in_val;
        } cookie_in;
1926 1927
        remote_string              dconnuri;
        remote_string              uri;
1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
};
struct remote_domain_migrate_perform3_ret {
        struct {
                u_int              cookie_out_len;
                char *             cookie_out_val;
        } cookie_out;
};
struct remote_domain_migrate_finish3_args {
        remote_nonnull_string      dname;
        struct {
                u_int              cookie_in_len;
                char *             cookie_in_val;
        } cookie_in;
1944 1945
        remote_string              dconnuri;
        remote_string              uri;
1946 1947 1948 1949
        uint64_t                   flags;
        int                        cancelled;
};
struct remote_domain_migrate_finish3_ret {
1950
        remote_nonnull_domain      dom;
1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964
        struct {
                u_int              cookie_out_len;
                char *             cookie_out_val;
        } cookie_out;
};
struct remote_domain_migrate_confirm3_args {
        remote_nonnull_domain      dom;
        struct {
                u_int              cookie_in_len;
                char *             cookie_in_val;
        } cookie_in;
        uint64_t                   flags;
        int                        cancelled;
};
1965 1966 1967
struct remote_domain_event_control_error_msg {
        remote_nonnull_domain      dom;
};
1968 1969 1970 1971 1972 1973 1974 1975 1976
struct remote_domain_get_control_info_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
struct remote_domain_get_control_info_ret {
        u_int                      state;
        u_int                      details;
        uint64_t                   stateTime;
};
1977 1978 1979 1980 1981
struct remote_domain_open_graphics_args {
        remote_nonnull_domain      dom;
        u_int                      idx;
        u_int                      flags;
};
1982 1983 1984 1985 1986
struct remote_node_suspend_for_duration_args {
        u_int                      target;
        uint64_t                   duration;
        u_int                      flags;
};
1987 1988 1989 1990
struct remote_domain_shutdown_flags_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002
struct remote_domain_get_disk_errors_args {
        remote_nonnull_domain      dom;
        u_int                      maxerrors;
        u_int                      flags;
};
struct remote_domain_get_disk_errors_ret {
        struct {
                u_int              errors_len;
                remote_domain_disk_error * errors_val;
        } errors;
        int                        nerrors;
};
2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013
struct remote_connect_list_all_domains_args {
        int                        need_results;
        u_int                      flags;
};
struct remote_connect_list_all_domains_ret {
        struct {
                u_int              domains_len;
                remote_nonnull_domain * domains_val;
        } domains;
        u_int                      ret;
};
2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024
struct remote_connect_list_all_storage_pools_args {
        int                        need_results;
        u_int                      flags;
};
struct remote_connect_list_all_storage_pools_ret {
        struct {
                u_int              pools_len;
                remote_nonnull_storage_pool * pools_val;
        } pools;
        u_int                      ret;
};
2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255
enum remote_procedure {
        REMOTE_PROC_OPEN = 1,
        REMOTE_PROC_CLOSE = 2,
        REMOTE_PROC_GET_TYPE = 3,
        REMOTE_PROC_GET_VERSION = 4,
        REMOTE_PROC_GET_MAX_VCPUS = 5,
        REMOTE_PROC_NODE_GET_INFO = 6,
        REMOTE_PROC_GET_CAPABILITIES = 7,
        REMOTE_PROC_DOMAIN_ATTACH_DEVICE = 8,
        REMOTE_PROC_DOMAIN_CREATE = 9,
        REMOTE_PROC_DOMAIN_CREATE_XML = 10,
        REMOTE_PROC_DOMAIN_DEFINE_XML = 11,
        REMOTE_PROC_DOMAIN_DESTROY = 12,
        REMOTE_PROC_DOMAIN_DETACH_DEVICE = 13,
        REMOTE_PROC_DOMAIN_GET_XML_DESC = 14,
        REMOTE_PROC_DOMAIN_GET_AUTOSTART = 15,
        REMOTE_PROC_DOMAIN_GET_INFO = 16,
        REMOTE_PROC_DOMAIN_GET_MAX_MEMORY = 17,
        REMOTE_PROC_DOMAIN_GET_MAX_VCPUS = 18,
        REMOTE_PROC_DOMAIN_GET_OS_TYPE = 19,
        REMOTE_PROC_DOMAIN_GET_VCPUS = 20,
        REMOTE_PROC_LIST_DEFINED_DOMAINS = 21,
        REMOTE_PROC_DOMAIN_LOOKUP_BY_ID = 22,
        REMOTE_PROC_DOMAIN_LOOKUP_BY_NAME = 23,
        REMOTE_PROC_DOMAIN_LOOKUP_BY_UUID = 24,
        REMOTE_PROC_NUM_OF_DEFINED_DOMAINS = 25,
        REMOTE_PROC_DOMAIN_PIN_VCPU = 26,
        REMOTE_PROC_DOMAIN_REBOOT = 27,
        REMOTE_PROC_DOMAIN_RESUME = 28,
        REMOTE_PROC_DOMAIN_SET_AUTOSTART = 29,
        REMOTE_PROC_DOMAIN_SET_MAX_MEMORY = 30,
        REMOTE_PROC_DOMAIN_SET_MEMORY = 31,
        REMOTE_PROC_DOMAIN_SET_VCPUS = 32,
        REMOTE_PROC_DOMAIN_SHUTDOWN = 33,
        REMOTE_PROC_DOMAIN_SUSPEND = 34,
        REMOTE_PROC_DOMAIN_UNDEFINE = 35,
        REMOTE_PROC_LIST_DEFINED_NETWORKS = 36,
        REMOTE_PROC_LIST_DOMAINS = 37,
        REMOTE_PROC_LIST_NETWORKS = 38,
        REMOTE_PROC_NETWORK_CREATE = 39,
        REMOTE_PROC_NETWORK_CREATE_XML = 40,
        REMOTE_PROC_NETWORK_DEFINE_XML = 41,
        REMOTE_PROC_NETWORK_DESTROY = 42,
        REMOTE_PROC_NETWORK_GET_XML_DESC = 43,
        REMOTE_PROC_NETWORK_GET_AUTOSTART = 44,
        REMOTE_PROC_NETWORK_GET_BRIDGE_NAME = 45,
        REMOTE_PROC_NETWORK_LOOKUP_BY_NAME = 46,
        REMOTE_PROC_NETWORK_LOOKUP_BY_UUID = 47,
        REMOTE_PROC_NETWORK_SET_AUTOSTART = 48,
        REMOTE_PROC_NETWORK_UNDEFINE = 49,
        REMOTE_PROC_NUM_OF_DEFINED_NETWORKS = 50,
        REMOTE_PROC_NUM_OF_DOMAINS = 51,
        REMOTE_PROC_NUM_OF_NETWORKS = 52,
        REMOTE_PROC_DOMAIN_CORE_DUMP = 53,
        REMOTE_PROC_DOMAIN_RESTORE = 54,
        REMOTE_PROC_DOMAIN_SAVE = 55,
        REMOTE_PROC_DOMAIN_GET_SCHEDULER_TYPE = 56,
        REMOTE_PROC_DOMAIN_GET_SCHEDULER_PARAMETERS = 57,
        REMOTE_PROC_DOMAIN_SET_SCHEDULER_PARAMETERS = 58,
        REMOTE_PROC_GET_HOSTNAME = 59,
        REMOTE_PROC_SUPPORTS_FEATURE = 60,
        REMOTE_PROC_DOMAIN_MIGRATE_PREPARE = 61,
        REMOTE_PROC_DOMAIN_MIGRATE_PERFORM = 62,
        REMOTE_PROC_DOMAIN_MIGRATE_FINISH = 63,
        REMOTE_PROC_DOMAIN_BLOCK_STATS = 64,
        REMOTE_PROC_DOMAIN_INTERFACE_STATS = 65,
        REMOTE_PROC_AUTH_LIST = 66,
        REMOTE_PROC_AUTH_SASL_INIT = 67,
        REMOTE_PROC_AUTH_SASL_START = 68,
        REMOTE_PROC_AUTH_SASL_STEP = 69,
        REMOTE_PROC_AUTH_POLKIT = 70,
        REMOTE_PROC_NUM_OF_STORAGE_POOLS = 71,
        REMOTE_PROC_LIST_STORAGE_POOLS = 72,
        REMOTE_PROC_NUM_OF_DEFINED_STORAGE_POOLS = 73,
        REMOTE_PROC_LIST_DEFINED_STORAGE_POOLS = 74,
        REMOTE_PROC_FIND_STORAGE_POOL_SOURCES = 75,
        REMOTE_PROC_STORAGE_POOL_CREATE_XML = 76,
        REMOTE_PROC_STORAGE_POOL_DEFINE_XML = 77,
        REMOTE_PROC_STORAGE_POOL_CREATE = 78,
        REMOTE_PROC_STORAGE_POOL_BUILD = 79,
        REMOTE_PROC_STORAGE_POOL_DESTROY = 80,
        REMOTE_PROC_STORAGE_POOL_DELETE = 81,
        REMOTE_PROC_STORAGE_POOL_UNDEFINE = 82,
        REMOTE_PROC_STORAGE_POOL_REFRESH = 83,
        REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_NAME = 84,
        REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_UUID = 85,
        REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_VOLUME = 86,
        REMOTE_PROC_STORAGE_POOL_GET_INFO = 87,
        REMOTE_PROC_STORAGE_POOL_GET_XML_DESC = 88,
        REMOTE_PROC_STORAGE_POOL_GET_AUTOSTART = 89,
        REMOTE_PROC_STORAGE_POOL_SET_AUTOSTART = 90,
        REMOTE_PROC_STORAGE_POOL_NUM_OF_VOLUMES = 91,
        REMOTE_PROC_STORAGE_POOL_LIST_VOLUMES = 92,
        REMOTE_PROC_STORAGE_VOL_CREATE_XML = 93,
        REMOTE_PROC_STORAGE_VOL_DELETE = 94,
        REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_NAME = 95,
        REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_KEY = 96,
        REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_PATH = 97,
        REMOTE_PROC_STORAGE_VOL_GET_INFO = 98,
        REMOTE_PROC_STORAGE_VOL_GET_XML_DESC = 99,
        REMOTE_PROC_STORAGE_VOL_GET_PATH = 100,
        REMOTE_PROC_NODE_GET_CELLS_FREE_MEMORY = 101,
        REMOTE_PROC_NODE_GET_FREE_MEMORY = 102,
        REMOTE_PROC_DOMAIN_BLOCK_PEEK = 103,
        REMOTE_PROC_DOMAIN_MEMORY_PEEK = 104,
        REMOTE_PROC_DOMAIN_EVENTS_REGISTER = 105,
        REMOTE_PROC_DOMAIN_EVENTS_DEREGISTER = 106,
        REMOTE_PROC_DOMAIN_EVENT_LIFECYCLE = 107,
        REMOTE_PROC_DOMAIN_MIGRATE_PREPARE2 = 108,
        REMOTE_PROC_DOMAIN_MIGRATE_FINISH2 = 109,
        REMOTE_PROC_GET_URI = 110,
        REMOTE_PROC_NODE_NUM_OF_DEVICES = 111,
        REMOTE_PROC_NODE_LIST_DEVICES = 112,
        REMOTE_PROC_NODE_DEVICE_LOOKUP_BY_NAME = 113,
        REMOTE_PROC_NODE_DEVICE_GET_XML_DESC = 114,
        REMOTE_PROC_NODE_DEVICE_GET_PARENT = 115,
        REMOTE_PROC_NODE_DEVICE_NUM_OF_CAPS = 116,
        REMOTE_PROC_NODE_DEVICE_LIST_CAPS = 117,
        REMOTE_PROC_NODE_DEVICE_DETTACH = 118,
        REMOTE_PROC_NODE_DEVICE_RE_ATTACH = 119,
        REMOTE_PROC_NODE_DEVICE_RESET = 120,
        REMOTE_PROC_DOMAIN_GET_SECURITY_LABEL = 121,
        REMOTE_PROC_NODE_GET_SECURITY_MODEL = 122,
        REMOTE_PROC_NODE_DEVICE_CREATE_XML = 123,
        REMOTE_PROC_NODE_DEVICE_DESTROY = 124,
        REMOTE_PROC_STORAGE_VOL_CREATE_XML_FROM = 125,
        REMOTE_PROC_NUM_OF_INTERFACES = 126,
        REMOTE_PROC_LIST_INTERFACES = 127,
        REMOTE_PROC_INTERFACE_LOOKUP_BY_NAME = 128,
        REMOTE_PROC_INTERFACE_LOOKUP_BY_MAC_STRING = 129,
        REMOTE_PROC_INTERFACE_GET_XML_DESC = 130,
        REMOTE_PROC_INTERFACE_DEFINE_XML = 131,
        REMOTE_PROC_INTERFACE_UNDEFINE = 132,
        REMOTE_PROC_INTERFACE_CREATE = 133,
        REMOTE_PROC_INTERFACE_DESTROY = 134,
        REMOTE_PROC_DOMAIN_XML_FROM_NATIVE = 135,
        REMOTE_PROC_DOMAIN_XML_TO_NATIVE = 136,
        REMOTE_PROC_NUM_OF_DEFINED_INTERFACES = 137,
        REMOTE_PROC_LIST_DEFINED_INTERFACES = 138,
        REMOTE_PROC_NUM_OF_SECRETS = 139,
        REMOTE_PROC_LIST_SECRETS = 140,
        REMOTE_PROC_SECRET_LOOKUP_BY_UUID = 141,
        REMOTE_PROC_SECRET_DEFINE_XML = 142,
        REMOTE_PROC_SECRET_GET_XML_DESC = 143,
        REMOTE_PROC_SECRET_SET_VALUE = 144,
        REMOTE_PROC_SECRET_GET_VALUE = 145,
        REMOTE_PROC_SECRET_UNDEFINE = 146,
        REMOTE_PROC_SECRET_LOOKUP_BY_USAGE = 147,
        REMOTE_PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL = 148,
        REMOTE_PROC_IS_SECURE = 149,
        REMOTE_PROC_DOMAIN_IS_ACTIVE = 150,
        REMOTE_PROC_DOMAIN_IS_PERSISTENT = 151,
        REMOTE_PROC_NETWORK_IS_ACTIVE = 152,
        REMOTE_PROC_NETWORK_IS_PERSISTENT = 153,
        REMOTE_PROC_STORAGE_POOL_IS_ACTIVE = 154,
        REMOTE_PROC_STORAGE_POOL_IS_PERSISTENT = 155,
        REMOTE_PROC_INTERFACE_IS_ACTIVE = 156,
        REMOTE_PROC_GET_LIB_VERSION = 157,
        REMOTE_PROC_CPU_COMPARE = 158,
        REMOTE_PROC_DOMAIN_MEMORY_STATS = 159,
        REMOTE_PROC_DOMAIN_ATTACH_DEVICE_FLAGS = 160,
        REMOTE_PROC_DOMAIN_DETACH_DEVICE_FLAGS = 161,
        REMOTE_PROC_CPU_BASELINE = 162,
        REMOTE_PROC_DOMAIN_GET_JOB_INFO = 163,
        REMOTE_PROC_DOMAIN_ABORT_JOB = 164,
        REMOTE_PROC_STORAGE_VOL_WIPE = 165,
        REMOTE_PROC_DOMAIN_MIGRATE_SET_MAX_DOWNTIME = 166,
        REMOTE_PROC_DOMAIN_EVENTS_REGISTER_ANY = 167,
        REMOTE_PROC_DOMAIN_EVENTS_DEREGISTER_ANY = 168,
        REMOTE_PROC_DOMAIN_EVENT_REBOOT = 169,
        REMOTE_PROC_DOMAIN_EVENT_RTC_CHANGE = 170,
        REMOTE_PROC_DOMAIN_EVENT_WATCHDOG = 171,
        REMOTE_PROC_DOMAIN_EVENT_IO_ERROR = 172,
        REMOTE_PROC_DOMAIN_EVENT_GRAPHICS = 173,
        REMOTE_PROC_DOMAIN_UPDATE_DEVICE_FLAGS = 174,
        REMOTE_PROC_NWFILTER_LOOKUP_BY_NAME = 175,
        REMOTE_PROC_NWFILTER_LOOKUP_BY_UUID = 176,
        REMOTE_PROC_NWFILTER_GET_XML_DESC = 177,
        REMOTE_PROC_NUM_OF_NWFILTERS = 178,
        REMOTE_PROC_LIST_NWFILTERS = 179,
        REMOTE_PROC_NWFILTER_DEFINE_XML = 180,
        REMOTE_PROC_NWFILTER_UNDEFINE = 181,
        REMOTE_PROC_DOMAIN_MANAGED_SAVE = 182,
        REMOTE_PROC_DOMAIN_HAS_MANAGED_SAVE_IMAGE = 183,
        REMOTE_PROC_DOMAIN_MANAGED_SAVE_REMOVE = 184,
        REMOTE_PROC_DOMAIN_SNAPSHOT_CREATE_XML = 185,
        REMOTE_PROC_DOMAIN_SNAPSHOT_GET_XML_DESC = 186,
        REMOTE_PROC_DOMAIN_SNAPSHOT_NUM = 187,
        REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_NAMES = 188,
        REMOTE_PROC_DOMAIN_SNAPSHOT_LOOKUP_BY_NAME = 189,
        REMOTE_PROC_DOMAIN_HAS_CURRENT_SNAPSHOT = 190,
        REMOTE_PROC_DOMAIN_SNAPSHOT_CURRENT = 191,
        REMOTE_PROC_DOMAIN_REVERT_TO_SNAPSHOT = 192,
        REMOTE_PROC_DOMAIN_SNAPSHOT_DELETE = 193,
        REMOTE_PROC_DOMAIN_GET_BLOCK_INFO = 194,
        REMOTE_PROC_DOMAIN_EVENT_IO_ERROR_REASON = 195,
        REMOTE_PROC_DOMAIN_CREATE_WITH_FLAGS = 196,
        REMOTE_PROC_DOMAIN_SET_MEMORY_PARAMETERS = 197,
        REMOTE_PROC_DOMAIN_GET_MEMORY_PARAMETERS = 198,
        REMOTE_PROC_DOMAIN_SET_VCPUS_FLAGS = 199,
        REMOTE_PROC_DOMAIN_GET_VCPUS_FLAGS = 200,
        REMOTE_PROC_DOMAIN_OPEN_CONSOLE = 201,
        REMOTE_PROC_DOMAIN_IS_UPDATED = 202,
        REMOTE_PROC_GET_SYSINFO = 203,
        REMOTE_PROC_DOMAIN_SET_MEMORY_FLAGS = 204,
        REMOTE_PROC_DOMAIN_SET_BLKIO_PARAMETERS = 205,
        REMOTE_PROC_DOMAIN_GET_BLKIO_PARAMETERS = 206,
        REMOTE_PROC_DOMAIN_MIGRATE_SET_MAX_SPEED = 207,
        REMOTE_PROC_STORAGE_VOL_UPLOAD = 208,
        REMOTE_PROC_STORAGE_VOL_DOWNLOAD = 209,
        REMOTE_PROC_DOMAIN_INJECT_NMI = 210,
        REMOTE_PROC_DOMAIN_SCREENSHOT = 211,
        REMOTE_PROC_DOMAIN_GET_STATE = 212,
        REMOTE_PROC_DOMAIN_MIGRATE_BEGIN3 = 213,
        REMOTE_PROC_DOMAIN_MIGRATE_PREPARE3 = 214,
        REMOTE_PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL3 = 215,
        REMOTE_PROC_DOMAIN_MIGRATE_PERFORM3 = 216,
        REMOTE_PROC_DOMAIN_MIGRATE_FINISH3 = 217,
        REMOTE_PROC_DOMAIN_MIGRATE_CONFIRM3 = 218,
        REMOTE_PROC_DOMAIN_SET_SCHEDULER_PARAMETERS_FLAGS = 219,
        REMOTE_PROC_INTERFACE_CHANGE_BEGIN = 220,
        REMOTE_PROC_INTERFACE_CHANGE_COMMIT = 221,
        REMOTE_PROC_INTERFACE_CHANGE_ROLLBACK = 222,
        REMOTE_PROC_DOMAIN_GET_SCHEDULER_PARAMETERS_FLAGS = 223,
        REMOTE_PROC_DOMAIN_EVENT_CONTROL_ERROR = 224,
        REMOTE_PROC_DOMAIN_PIN_VCPU_FLAGS = 225,
        REMOTE_PROC_DOMAIN_SEND_KEY = 226,
        REMOTE_PROC_NODE_GET_CPU_STATS = 227,
        REMOTE_PROC_NODE_GET_MEMORY_STATS = 228,
        REMOTE_PROC_DOMAIN_GET_CONTROL_INFO = 229,
        REMOTE_PROC_DOMAIN_GET_VCPU_PIN_INFO = 230,
E
Eric Blake 已提交
2256
        REMOTE_PROC_DOMAIN_UNDEFINE_FLAGS = 231,
E
Eric Blake 已提交
2257 2258
        REMOTE_PROC_DOMAIN_SAVE_FLAGS = 232,
        REMOTE_PROC_DOMAIN_RESTORE_FLAGS = 233,
2259
        REMOTE_PROC_DOMAIN_DESTROY_FLAGS = 234,
E
Eric Blake 已提交
2260 2261
        REMOTE_PROC_DOMAIN_SAVE_IMAGE_GET_XML_DESC = 235,
        REMOTE_PROC_DOMAIN_SAVE_IMAGE_DEFINE_XML = 236,
2262 2263 2264 2265
        REMOTE_PROC_DOMAIN_BLOCK_JOB_ABORT = 237,
        REMOTE_PROC_DOMAIN_GET_BLOCK_JOB_INFO = 238,
        REMOTE_PROC_DOMAIN_BLOCK_JOB_SET_SPEED = 239,
        REMOTE_PROC_DOMAIN_BLOCK_PULL = 240,
2266
        REMOTE_PROC_DOMAIN_EVENT_BLOCK_JOB = 241,
2267
        REMOTE_PROC_DOMAIN_MIGRATE_GET_MAX_SPEED = 242,
2268
        REMOTE_PROC_DOMAIN_BLOCK_STATS_FLAGS = 243,
2269
        REMOTE_PROC_DOMAIN_SNAPSHOT_GET_PARENT = 244,
2270
        REMOTE_PROC_DOMAIN_RESET = 245,
2271 2272
        REMOTE_PROC_DOMAIN_SNAPSHOT_NUM_CHILDREN = 246,
        REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_CHILDREN_NAMES = 247,
2273
        REMOTE_PROC_DOMAIN_EVENT_DISK_CHANGE = 248,
2274
        REMOTE_PROC_DOMAIN_OPEN_GRAPHICS = 249,
2275
        REMOTE_PROC_NODE_SUSPEND_FOR_DURATION = 250,
E
Eric Blake 已提交
2276
        REMOTE_PROC_DOMAIN_BLOCK_RESIZE = 251,
2277 2278
        REMOTE_PROC_DOMAIN_SET_BLOCK_IO_TUNE = 252,
        REMOTE_PROC_DOMAIN_GET_BLOCK_IO_TUNE = 253,
2279 2280
        REMOTE_PROC_DOMAIN_SET_NUMA_PARAMETERS = 254,
        REMOTE_PROC_DOMAIN_GET_NUMA_PARAMETERS = 255,
2281 2282
        REMOTE_PROC_DOMAIN_SET_INTERFACE_PARAMETERS = 256,
        REMOTE_PROC_DOMAIN_GET_INTERFACE_PARAMETERS = 257,
2283
        REMOTE_PROC_DOMAIN_SHUTDOWN_FLAGS = 258,
2284
        REMOTE_PROC_STORAGE_VOL_WIPE_PATTERN = 259,
2285
        REMOTE_PROC_STORAGE_VOL_RESIZE = 260,
2286
        REMOTE_PROC_DOMAIN_PM_SUSPEND_FOR_DURATION = 261,
2287
        REMOTE_PROC_DOMAIN_GET_CPU_STATS = 262,
2288
        REMOTE_PROC_DOMAIN_GET_DISK_ERRORS = 263,
2289 2290
        REMOTE_PROC_DOMAIN_SET_METADATA = 264,
        REMOTE_PROC_DOMAIN_GET_METADATA = 265,
2291
        REMOTE_PROC_DOMAIN_BLOCK_REBASE = 266,
2292
        REMOTE_PROC_DOMAIN_PM_WAKEUP = 267,
2293 2294 2295
        REMOTE_PROC_DOMAIN_EVENT_TRAY_CHANGE = 268,
        REMOTE_PROC_DOMAIN_EVENT_PMWAKEUP = 269,
        REMOTE_PROC_DOMAIN_EVENT_PMSUSPEND = 270,
E
Eric Blake 已提交
2296 2297
        REMOTE_PROC_DOMAIN_SNAPSHOT_IS_CURRENT = 271,
        REMOTE_PROC_DOMAIN_SNAPSHOT_HAS_METADATA = 272,
2298
        REMOTE_PROC_CONNECT_LIST_ALL_DOMAINS = 273,
2299 2300
        REMOTE_PROC_DOMAIN_LIST_ALL_SNAPSHOTS = 274,
        REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_ALL_CHILDREN = 275,
2301
        REMOTE_PROC_DOMAIN_EVENT_BALLOON_CHANGE = 276,
2302
        REMOTE_PROC_DOMAIN_GET_HOSTNAME = 277,
M
Marcelo Cerri 已提交
2303
        REMOTE_PROC_DOMAIN_GET_SECURITY_LABEL_LIST = 278,
2304 2305
        REMOTE_PROC_DOMAIN_PIN_EMULATOR = 279,
        REMOTE_PROC_DOMAIN_GET_EMULATOR_PIN_INFO = 280,
2306
        REMOTE_PROC_CONNECT_LIST_ALL_STORAGE_POOLS = 281,
2307
};