remote_protocol-structs 66.4 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
struct remote_open_args {
98
        remote_string              name;
99
        u_int                      flags;
100 101
};
struct remote_supports_feature_args {
102
        int                        feature;
103 104
};
struct remote_supports_feature_ret {
105
        int                        supported;
106 107
};
struct remote_get_type_ret {
108
        remote_nonnull_string      type;
109 110
};
struct remote_get_version_ret {
111
        uint64_t                   hv_ver;
112 113
};
struct remote_get_lib_version_ret {
114
        uint64_t                   lib_ver;
115 116
};
struct remote_get_hostname_ret {
117
        remote_nonnull_string      hostname;
118
};
119
struct remote_get_sysinfo_args {
120
        u_int                      flags;
121 122
};
struct remote_get_sysinfo_ret {
123
        remote_nonnull_string      sysinfo;
124
};
125
struct remote_get_uri_ret {
126
        remote_nonnull_string      uri;
127 128
};
struct remote_get_max_vcpus_args {
129
        remote_string              type;
130 131
};
struct remote_get_max_vcpus_ret {
132
        int                        max_vcpus;
133 134
};
struct remote_node_get_info_ret {
135
        char                       model[32];
136
        uint64_t                   memory;
137 138 139 140 141 142
        int                        cpus;
        int                        mhz;
        int                        nodes;
        int                        sockets;
        int                        cores;
        int                        threads;
143 144
};
struct remote_get_capabilities_ret {
145
        remote_nonnull_string      capabilities;
146
};
147 148 149 150 151 152 153 154 155 156 157 158
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;
};
159 160 161 162 163 164 165 166 167 168 169 170
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;
};
171
struct remote_node_get_cells_free_memory_args {
172
        int                        startCell;
173
        int                        maxcells;
174 175
};
struct remote_node_get_cells_free_memory_ret {
176
        struct {
177
                u_int              cells_len;
178
                uint64_t *         cells_val;
179
        } cells;
180 181
};
struct remote_node_get_free_memory_ret {
182
        uint64_t                   freeMem;
183 184
};
struct remote_domain_get_scheduler_type_args {
185
        remote_nonnull_domain      dom;
186 187
};
struct remote_domain_get_scheduler_type_ret {
188 189
        remote_nonnull_string      type;
        int                        nparams;
190 191
};
struct remote_domain_get_scheduler_parameters_args {
192 193
        remote_nonnull_domain      dom;
        int                        nparams;
194 195
};
struct remote_domain_get_scheduler_parameters_ret {
196 197
        struct {
                u_int              params_len;
198
                remote_typed_param * params_val;
199
        } params;
200
};
201 202 203 204 205 206 207 208 209 210 211
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;
};
212
struct remote_domain_set_scheduler_parameters_args {
213 214 215
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
216
                remote_typed_param * params_val;
217
        } params;
218
};
219 220 221 222
struct remote_domain_set_scheduler_parameters_flags_args {
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
223
                remote_typed_param * params_val;
224 225 226
        } params;
        u_int                      flags;
};
227
struct remote_domain_set_blkio_parameters_args {
228 229 230
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
231
                remote_typed_param * params_val;
232 233
        } params;
        u_int                      flags;
234 235
};
struct remote_domain_get_blkio_parameters_args {
236 237 238
        remote_nonnull_domain      dom;
        int                        nparams;
        u_int                      flags;
239 240
};
struct remote_domain_get_blkio_parameters_ret {
241 242
        struct {
                u_int              params_len;
243
                remote_typed_param * params_val;
244 245
        } params;
        int                        nparams;
246
};
247
struct remote_domain_set_memory_parameters_args {
248 249 250
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
251
                remote_typed_param * params_val;
252 253
        } params;
        u_int                      flags;
254 255
};
struct remote_domain_get_memory_parameters_args {
256 257 258
        remote_nonnull_domain      dom;
        int                        nparams;
        u_int                      flags;
259 260
};
struct remote_domain_get_memory_parameters_ret {
261 262
        struct {
                u_int              params_len;
263
                remote_typed_param * params_val;
264 265
        } params;
        int                        nparams;
266
};
267
struct remote_domain_block_stats_args {
268 269
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
270 271
};
struct remote_domain_block_stats_ret {
272 273 274 275 276
        int64_t                    rd_req;
        int64_t                    rd_bytes;
        int64_t                    wr_req;
        int64_t                    wr_bytes;
        int64_t                    errs;
277
};
278 279 280 281 282 283 284 285 286 287 288 289 290
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;
};
291
struct remote_domain_interface_stats_args {
292 293
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
294 295
};
struct remote_domain_interface_stats_ret {
296 297 298 299 300 301 302 303
        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;
304 305
};
struct remote_domain_memory_stats_args {
306 307 308
        remote_nonnull_domain      dom;
        u_int                      maxStats;
        u_int                      flags;
309 310
};
struct remote_domain_memory_stat {
311 312
        int                        tag;
        uint64_t                   val;
313 314
};
struct remote_domain_memory_stats_ret {
315 316 317 318
        struct {
                u_int              stats_len;
                remote_domain_memory_stat * stats_val;
        } stats;
319 320
};
struct remote_domain_block_peek_args {
321 322 323 324 325
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        uint64_t                   offset;
        u_int                      size;
        u_int                      flags;
326 327
};
struct remote_domain_block_peek_ret {
328 329 330 331
        struct {
                u_int              buffer_len;
                char *             buffer_val;
        } buffer;
332 333
};
struct remote_domain_memory_peek_args {
334 335 336 337
        remote_nonnull_domain      dom;
        uint64_t                   offset;
        u_int                      size;
        u_int                      flags;
338 339
};
struct remote_domain_memory_peek_ret {
340 341 342 343
        struct {
                u_int              buffer_len;
                char *             buffer_val;
        } buffer;
344 345
};
struct remote_domain_get_block_info_args {
346 347 348
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        u_int                      flags;
349 350
};
struct remote_domain_get_block_info_ret {
351 352 353
        uint64_t                   allocation;
        uint64_t                   capacity;
        uint64_t                   physical;
354 355
};
struct remote_list_domains_args {
356
        int                        maxids;
357 358
};
struct remote_list_domains_ret {
359 360 361 362
        struct {
                u_int              ids_len;
                int *              ids_val;
        } ids;
363 364
};
struct remote_num_of_domains_ret {
365
        int                        num;
366 367
};
struct remote_domain_create_xml_args {
368
        remote_nonnull_string      xml_desc;
369
        u_int                      flags;
370 371
};
struct remote_domain_create_xml_ret {
372
        remote_nonnull_domain      dom;
373 374
};
struct remote_domain_lookup_by_id_args {
375
        int                        id;
376 377
};
struct remote_domain_lookup_by_id_ret {
378
        remote_nonnull_domain      dom;
379 380
};
struct remote_domain_lookup_by_uuid_args {
381
        remote_uuid                uuid;
382 383
};
struct remote_domain_lookup_by_uuid_ret {
384
        remote_nonnull_domain      dom;
385 386
};
struct remote_domain_lookup_by_name_args {
387
        remote_nonnull_string      name;
388 389
};
struct remote_domain_lookup_by_name_ret {
390
        remote_nonnull_domain      dom;
391 392
};
struct remote_domain_suspend_args {
393
        remote_nonnull_domain      dom;
394 395
};
struct remote_domain_resume_args {
396
        remote_nonnull_domain      dom;
397 398
};
struct remote_domain_shutdown_args {
399
        remote_nonnull_domain      dom;
400 401
};
struct remote_domain_reboot_args {
402
        remote_nonnull_domain      dom;
403
        u_int                      flags;
404
};
405 406 407 408
struct remote_domain_reset_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
409
struct remote_domain_destroy_args {
410
        remote_nonnull_domain      dom;
411
};
412 413 414 415
struct remote_domain_destroy_flags_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
416
struct remote_domain_get_os_type_args {
417
        remote_nonnull_domain      dom;
418 419
};
struct remote_domain_get_os_type_ret {
420
        remote_nonnull_string      type;
421 422
};
struct remote_domain_get_max_memory_args {
423
        remote_nonnull_domain      dom;
424 425
};
struct remote_domain_get_max_memory_ret {
426
        uint64_t                   memory;
427 428
};
struct remote_domain_set_max_memory_args {
429 430
        remote_nonnull_domain      dom;
        uint64_t                   memory;
431 432
};
struct remote_domain_set_memory_args {
433 434
        remote_nonnull_domain      dom;
        uint64_t                   memory;
435
};
436
struct remote_domain_set_memory_flags_args {
437 438 439
        remote_nonnull_domain      dom;
        uint64_t                   memory;
        u_int                      flags;
440
};
441
struct remote_domain_get_info_args {
442
        remote_nonnull_domain      dom;
443 444
};
struct remote_domain_get_info_ret {
445
        u_char                     state;
446
        uint64_t                   maxMem;
447
        uint64_t                   memory;
448 449
        u_short                    nrVirtCpu;
        uint64_t                   cpuTime;
450 451
};
struct remote_domain_save_args {
452 453
        remote_nonnull_domain      dom;
        remote_nonnull_string      to;
454
};
E
Eric Blake 已提交
455 456 457 458 459 460
struct remote_domain_save_flags_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      to;
        remote_string              dxml;
        u_int                      flags;
};
461
struct remote_domain_restore_args {
462
        remote_nonnull_string      from;
463
};
E
Eric Blake 已提交
464 465 466 467 468
struct remote_domain_restore_flags_args {
        remote_nonnull_string      from;
        remote_string              dxml;
        u_int                      flags;
};
E
Eric Blake 已提交
469 470 471 472 473 474 475 476 477 478 479 480
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;
};
481
struct remote_domain_core_dump_args {
482 483
        remote_nonnull_domain      dom;
        remote_nonnull_string      to;
484
        u_int                      flags;
485
};
486 487
struct remote_domain_screenshot_args {
        remote_nonnull_domain      dom;
E
Eric Blake 已提交
488 489
        u_int                      screen;
        u_int                      flags;
490 491 492 493
};
struct remote_domain_screenshot_ret {
        remote_string              mime;
};
494
struct remote_domain_get_xml_desc_args {
495
        remote_nonnull_domain      dom;
496
        u_int                      flags;
497
};
498
struct remote_domain_get_xml_desc_ret {
499
        remote_nonnull_string      xml;
500 501
};
struct remote_domain_migrate_prepare_args {
502 503 504 505
        remote_string              uri_in;
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
506 507
};
struct remote_domain_migrate_prepare_ret {
508 509 510 511 512
        struct {
                u_int              cookie_len;
                char *             cookie_val;
        } cookie;
        remote_string              uri_out;
513 514
};
struct remote_domain_migrate_perform_args {
515 516 517 518 519 520 521 522 523
        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;
524 525
};
struct remote_domain_migrate_finish_args {
526 527 528 529 530 531 532
        remote_nonnull_string      dname;
        struct {
                u_int              cookie_len;
                char *             cookie_val;
        } cookie;
        remote_nonnull_string      uri;
        uint64_t                   flags;
533 534
};
struct remote_domain_migrate_finish_ret {
535
        remote_nonnull_domain      ddom;
536 537
};
struct remote_domain_migrate_prepare2_args {
538 539 540 541 542
        remote_string              uri_in;
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
        remote_nonnull_string      dom_xml;
543 544
};
struct remote_domain_migrate_prepare2_ret {
545 546 547 548 549
        struct {
                u_int              cookie_len;
                char *             cookie_val;
        } cookie;
        remote_string              uri_out;
550 551
};
struct remote_domain_migrate_finish2_args {
552 553 554 555 556 557 558 559
        remote_nonnull_string      dname;
        struct {
                u_int              cookie_len;
                char *             cookie_val;
        } cookie;
        remote_nonnull_string      uri;
        uint64_t                   flags;
        int                        retcode;
560 561
};
struct remote_domain_migrate_finish2_ret {
562
        remote_nonnull_domain      ddom;
563 564
};
struct remote_list_defined_domains_args {
565
        int                        maxnames;
566 567
};
struct remote_list_defined_domains_ret {
568 569 570 571
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
572 573
};
struct remote_num_of_defined_domains_ret {
574
        int                        num;
575 576
};
struct remote_domain_create_args {
577
        remote_nonnull_domain      dom;
578 579
};
struct remote_domain_create_with_flags_args {
580 581
        remote_nonnull_domain      dom;
        u_int                      flags;
582 583
};
struct remote_domain_create_with_flags_ret {
584
        remote_nonnull_domain      dom;
585 586
};
struct remote_domain_define_xml_args {
587
        remote_nonnull_string      xml;
588 589
};
struct remote_domain_define_xml_ret {
590
        remote_nonnull_domain      dom;
591 592
};
struct remote_domain_undefine_args {
593
        remote_nonnull_domain      dom;
594
};
595 596 597 598
struct remote_domain_undefine_flags_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
599 600 601 602
struct remote_domain_inject_nmi_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
603 604 605 606 607 608 609 610 611 612
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;
};
613
struct remote_domain_set_vcpus_args {
614
        remote_nonnull_domain      dom;
615
        u_int                      nvcpus;
616
};
E
Eric Blake 已提交
617
struct remote_domain_set_vcpus_flags_args {
618 619 620
        remote_nonnull_domain      dom;
        u_int                      nvcpus;
        u_int                      flags;
E
Eric Blake 已提交
621 622
};
struct remote_domain_get_vcpus_flags_args {
623 624
        remote_nonnull_domain      dom;
        u_int                      flags;
E
Eric Blake 已提交
625 626
};
struct remote_domain_get_vcpus_flags_ret {
627
        int                        num;
E
Eric Blake 已提交
628
};
629
struct remote_domain_pin_vcpu_args {
630
        remote_nonnull_domain      dom;
631
        u_int                      vcpu;
632 633 634 635
        struct {
                u_int              cpumap_len;
                char *             cpumap_val;
        } cpumap;
636
};
637 638 639 640 641 642 643 644 645
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 已提交
646
struct remote_domain_get_vcpu_pin_info_args {
647 648 649 650 651
        remote_nonnull_domain      dom;
        int                        ncpumaps;
        int                        maplen;
        u_int                      flags;
};
E
Eric Blake 已提交
652
struct remote_domain_get_vcpu_pin_info_ret {
653 654 655 656 657 658
        struct {
                u_int              cpumaps_len;
                char *             cpumaps_val;
        } cpumaps;
        int                        num;
};
659
struct remote_domain_get_vcpus_args {
660 661 662
        remote_nonnull_domain      dom;
        int                        maxinfo;
        int                        maplen;
663 664
};
struct remote_domain_get_vcpus_ret {
665 666 667 668 669 670 671 672
        struct {
                u_int              info_len;
                remote_vcpu_info * info_val;
        } info;
        struct {
                u_int              cpumaps_len;
                char *             cpumaps_val;
        } cpumaps;
673 674
};
struct remote_domain_get_max_vcpus_args {
675
        remote_nonnull_domain      dom;
676 677
};
struct remote_domain_get_max_vcpus_ret {
678
        int                        num;
679 680
};
struct remote_domain_get_security_label_args {
681
        remote_nonnull_domain      dom;
682 683
};
struct remote_domain_get_security_label_ret {
684 685 686 687 688
        struct {
                u_int              label_len;
                char *             label_val;
        } label;
        int                        enforcing;
689 690
};
struct remote_node_get_security_model_ret {
691 692 693 694 695 696 697 698
        struct {
                u_int              model_len;
                char *             model_val;
        } model;
        struct {
                u_int              doi_len;
                char *             doi_val;
        } doi;
699 700
};
struct remote_domain_attach_device_args {
701 702
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
703 704
};
struct remote_domain_attach_device_flags_args {
705 706 707
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
        u_int                      flags;
708 709
};
struct remote_domain_detach_device_args {
710 711
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
712 713
};
struct remote_domain_detach_device_flags_args {
714 715 716
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
        u_int                      flags;
717 718
};
struct remote_domain_update_device_flags_args {
719 720 721
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
        u_int                      flags;
722 723
};
struct remote_domain_get_autostart_args {
724
        remote_nonnull_domain      dom;
725 726
};
struct remote_domain_get_autostart_ret {
727
        int                        autostart;
728 729
};
struct remote_domain_set_autostart_args {
730 731
        remote_nonnull_domain      dom;
        int                        autostart;
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
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;
};
762
struct remote_num_of_networks_ret {
763
        int                        num;
764 765
};
struct remote_list_networks_args {
766
        int                        maxnames;
767 768
};
struct remote_list_networks_ret {
769 770 771 772
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
773 774
};
struct remote_num_of_defined_networks_ret {
775
        int                        num;
776 777
};
struct remote_list_defined_networks_args {
778
        int                        maxnames;
779 780
};
struct remote_list_defined_networks_ret {
781 782 783 784
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
785 786
};
struct remote_network_lookup_by_uuid_args {
787
        remote_uuid                uuid;
788 789
};
struct remote_network_lookup_by_uuid_ret {
790
        remote_nonnull_network     net;
791 792
};
struct remote_network_lookup_by_name_args {
793
        remote_nonnull_string      name;
794 795
};
struct remote_network_lookup_by_name_ret {
796
        remote_nonnull_network     net;
797 798
};
struct remote_network_create_xml_args {
799
        remote_nonnull_string      xml;
800 801
};
struct remote_network_create_xml_ret {
802
        remote_nonnull_network     net;
803 804
};
struct remote_network_define_xml_args {
805
        remote_nonnull_string      xml;
806 807
};
struct remote_network_define_xml_ret {
808
        remote_nonnull_network     net;
809 810
};
struct remote_network_undefine_args {
811
        remote_nonnull_network     net;
812 813
};
struct remote_network_create_args {
814
        remote_nonnull_network     net;
815 816
};
struct remote_network_destroy_args {
817
        remote_nonnull_network     net;
818
};
819
struct remote_network_get_xml_desc_args {
820
        remote_nonnull_network     net;
821
        u_int                      flags;
822
};
823
struct remote_network_get_xml_desc_ret {
824
        remote_nonnull_string      xml;
825 826
};
struct remote_network_get_bridge_name_args {
827
        remote_nonnull_network     net;
828 829
};
struct remote_network_get_bridge_name_ret {
830
        remote_nonnull_string      name;
831 832
};
struct remote_network_get_autostart_args {
833
        remote_nonnull_network     net;
834 835
};
struct remote_network_get_autostart_ret {
836
        int                        autostart;
837 838
};
struct remote_network_set_autostart_args {
839 840
        remote_nonnull_network     net;
        int                        autostart;
841 842
};
struct remote_num_of_nwfilters_ret {
843
        int                        num;
844 845
};
struct remote_list_nwfilters_args {
846
        int                        maxnames;
847 848
};
struct remote_list_nwfilters_ret {
849 850 851 852
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
853 854
};
struct remote_nwfilter_lookup_by_uuid_args {
855
        remote_uuid                uuid;
856 857
};
struct remote_nwfilter_lookup_by_uuid_ret {
858
        remote_nonnull_nwfilter    nwfilter;
859 860
};
struct remote_nwfilter_lookup_by_name_args {
861
        remote_nonnull_string      name;
862 863
};
struct remote_nwfilter_lookup_by_name_ret {
864
        remote_nonnull_nwfilter    nwfilter;
865 866
};
struct remote_nwfilter_define_xml_args {
867
        remote_nonnull_string      xml;
868 869
};
struct remote_nwfilter_define_xml_ret {
870
        remote_nonnull_nwfilter    nwfilter;
871 872
};
struct remote_nwfilter_undefine_args {
873
        remote_nonnull_nwfilter    nwfilter;
874 875
};
struct remote_nwfilter_get_xml_desc_args {
876
        remote_nonnull_nwfilter    nwfilter;
877
        u_int                      flags;
878 879
};
struct remote_nwfilter_get_xml_desc_ret {
880
        remote_nonnull_string      xml;
881 882
};
struct remote_num_of_interfaces_ret {
883
        int                        num;
884 885
};
struct remote_list_interfaces_args {
886
        int                        maxnames;
887 888
};
struct remote_list_interfaces_ret {
889 890 891 892
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
893 894
};
struct remote_num_of_defined_interfaces_ret {
895
        int                        num;
896 897
};
struct remote_list_defined_interfaces_args {
898
        int                        maxnames;
899 900
};
struct remote_list_defined_interfaces_ret {
901 902 903 904
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
905 906
};
struct remote_interface_lookup_by_name_args {
907
        remote_nonnull_string      name;
908 909
};
struct remote_interface_lookup_by_name_ret {
910
        remote_nonnull_interface   iface;
911 912
};
struct remote_interface_lookup_by_mac_string_args {
913
        remote_nonnull_string      mac;
914 915
};
struct remote_interface_lookup_by_mac_string_ret {
916
        remote_nonnull_interface   iface;
917 918
};
struct remote_interface_get_xml_desc_args {
919 920
        remote_nonnull_interface   iface;
        u_int                      flags;
921 922
};
struct remote_interface_get_xml_desc_ret {
923
        remote_nonnull_string      xml;
924 925
};
struct remote_interface_define_xml_args {
926 927
        remote_nonnull_string      xml;
        u_int                      flags;
928 929
};
struct remote_interface_define_xml_ret {
930
        remote_nonnull_interface   iface;
931 932
};
struct remote_interface_undefine_args {
933
        remote_nonnull_interface   iface;
934 935
};
struct remote_interface_create_args {
936 937
        remote_nonnull_interface   iface;
        u_int                      flags;
938 939
};
struct remote_interface_destroy_args {
940 941
        remote_nonnull_interface   iface;
        u_int                      flags;
942
};
943
struct remote_interface_change_begin_args {
D
Daniel Veillard 已提交
944
        u_int                      flags;
945 946
};
struct remote_interface_change_commit_args {
D
Daniel Veillard 已提交
947
        u_int                      flags;
948 949
};
struct remote_interface_change_rollback_args {
D
Daniel Veillard 已提交
950
        u_int                      flags;
951
};
952
struct remote_auth_list_ret {
953 954 955 956
        struct {
                u_int              types_len;
                remote_auth_type * types_val;
        } types;
957 958
};
struct remote_auth_sasl_init_ret {
959
        remote_nonnull_string      mechlist;
960 961
};
struct remote_auth_sasl_start_args {
962 963 964 965 966 967
        remote_nonnull_string      mech;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
968 969
};
struct remote_auth_sasl_start_ret {
970 971 972 973 974 975
        int                        complete;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
976 977
};
struct remote_auth_sasl_step_args {
978 979 980 981 982
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
983 984
};
struct remote_auth_sasl_step_ret {
985 986 987 988 989 990
        int                        complete;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
991 992
};
struct remote_auth_polkit_ret {
993
        int                        complete;
994 995
};
struct remote_num_of_storage_pools_ret {
996
        int                        num;
997 998
};
struct remote_list_storage_pools_args {
999
        int                        maxnames;
1000 1001
};
struct remote_list_storage_pools_ret {
1002 1003 1004 1005
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1006 1007
};
struct remote_num_of_defined_storage_pools_ret {
1008
        int                        num;
1009 1010
};
struct remote_list_defined_storage_pools_args {
1011
        int                        maxnames;
1012 1013
};
struct remote_list_defined_storage_pools_ret {
1014 1015 1016 1017
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1018 1019
};
struct remote_find_storage_pool_sources_args {
1020 1021 1022
        remote_nonnull_string      type;
        remote_string              srcSpec;
        u_int                      flags;
1023 1024
};
struct remote_find_storage_pool_sources_ret {
1025
        remote_nonnull_string      xml;
1026 1027
};
struct remote_storage_pool_lookup_by_uuid_args {
1028
        remote_uuid                uuid;
1029 1030
};
struct remote_storage_pool_lookup_by_uuid_ret {
1031
        remote_nonnull_storage_pool pool;
1032 1033
};
struct remote_storage_pool_lookup_by_name_args {
1034
        remote_nonnull_string      name;
1035 1036
};
struct remote_storage_pool_lookup_by_name_ret {
1037
        remote_nonnull_storage_pool pool;
1038 1039
};
struct remote_storage_pool_lookup_by_volume_args {
1040
        remote_nonnull_storage_vol vol;
1041 1042
};
struct remote_storage_pool_lookup_by_volume_ret {
1043
        remote_nonnull_storage_pool pool;
1044 1045
};
struct remote_storage_pool_create_xml_args {
1046 1047
        remote_nonnull_string      xml;
        u_int                      flags;
1048 1049
};
struct remote_storage_pool_create_xml_ret {
1050
        remote_nonnull_storage_pool pool;
1051 1052
};
struct remote_storage_pool_define_xml_args {
1053 1054
        remote_nonnull_string      xml;
        u_int                      flags;
1055 1056
};
struct remote_storage_pool_define_xml_ret {
1057
        remote_nonnull_storage_pool pool;
1058 1059
};
struct remote_storage_pool_build_args {
1060 1061
        remote_nonnull_storage_pool pool;
        u_int                      flags;
1062 1063
};
struct remote_storage_pool_undefine_args {
1064
        remote_nonnull_storage_pool pool;
1065 1066
};
struct remote_storage_pool_create_args {
1067 1068
        remote_nonnull_storage_pool pool;
        u_int                      flags;
1069 1070
};
struct remote_storage_pool_destroy_args {
1071
        remote_nonnull_storage_pool pool;
1072 1073
};
struct remote_storage_pool_delete_args {
1074 1075
        remote_nonnull_storage_pool pool;
        u_int                      flags;
1076 1077
};
struct remote_storage_pool_refresh_args {
1078 1079
        remote_nonnull_storage_pool pool;
        u_int                      flags;
1080
};
1081
struct remote_storage_pool_get_xml_desc_args {
1082 1083
        remote_nonnull_storage_pool pool;
        u_int                      flags;
1084
};
1085
struct remote_storage_pool_get_xml_desc_ret {
1086
        remote_nonnull_string      xml;
1087 1088
};
struct remote_storage_pool_get_info_args {
1089
        remote_nonnull_storage_pool pool;
1090 1091
};
struct remote_storage_pool_get_info_ret {
1092 1093 1094 1095
        u_char                     state;
        uint64_t                   capacity;
        uint64_t                   allocation;
        uint64_t                   available;
1096 1097
};
struct remote_storage_pool_get_autostart_args {
1098
        remote_nonnull_storage_pool pool;
1099 1100
};
struct remote_storage_pool_get_autostart_ret {
1101
        int                        autostart;
1102 1103
};
struct remote_storage_pool_set_autostart_args {
1104 1105
        remote_nonnull_storage_pool pool;
        int                        autostart;
1106 1107
};
struct remote_storage_pool_num_of_volumes_args {
1108
        remote_nonnull_storage_pool pool;
1109 1110
};
struct remote_storage_pool_num_of_volumes_ret {
1111
        int                        num;
1112 1113
};
struct remote_storage_pool_list_volumes_args {
1114 1115
        remote_nonnull_storage_pool pool;
        int                        maxnames;
1116 1117
};
struct remote_storage_pool_list_volumes_ret {
1118 1119 1120 1121
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1122 1123
};
struct remote_storage_vol_lookup_by_name_args {
1124 1125
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      name;
1126 1127
};
struct remote_storage_vol_lookup_by_name_ret {
1128
        remote_nonnull_storage_vol vol;
1129 1130
};
struct remote_storage_vol_lookup_by_key_args {
1131
        remote_nonnull_string      key;
1132 1133
};
struct remote_storage_vol_lookup_by_key_ret {
1134
        remote_nonnull_storage_vol vol;
1135 1136
};
struct remote_storage_vol_lookup_by_path_args {
1137
        remote_nonnull_string      path;
1138 1139
};
struct remote_storage_vol_lookup_by_path_ret {
1140
        remote_nonnull_storage_vol vol;
1141 1142
};
struct remote_storage_vol_create_xml_args {
1143 1144 1145
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      xml;
        u_int                      flags;
1146 1147
};
struct remote_storage_vol_create_xml_ret {
1148
        remote_nonnull_storage_vol vol;
1149 1150
};
struct remote_storage_vol_create_xml_from_args {
1151 1152 1153 1154
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      xml;
        remote_nonnull_storage_vol clonevol;
        u_int                      flags;
1155 1156
};
struct remote_storage_vol_create_xml_from_ret {
1157
        remote_nonnull_storage_vol vol;
1158 1159
};
struct remote_storage_vol_delete_args {
1160 1161
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1162 1163
};
struct remote_storage_vol_wipe_args {
1164 1165
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1166
};
1167
struct remote_storage_vol_get_xml_desc_args {
1168 1169
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1170
};
1171
struct remote_storage_vol_get_xml_desc_ret {
1172
        remote_nonnull_string      xml;
1173 1174
};
struct remote_storage_vol_get_info_args {
1175
        remote_nonnull_storage_vol vol;
1176 1177
};
struct remote_storage_vol_get_info_ret {
1178 1179 1180
        char                       type;
        uint64_t                   capacity;
        uint64_t                   allocation;
1181 1182
};
struct remote_storage_vol_get_path_args {
1183
        remote_nonnull_storage_vol vol;
1184 1185
};
struct remote_storage_vol_get_path_ret {
1186
        remote_nonnull_string      name;
1187 1188
};
struct remote_node_num_of_devices_args {
1189 1190
        remote_string              cap;
        u_int                      flags;
1191 1192
};
struct remote_node_num_of_devices_ret {
1193
        int                        num;
1194 1195
};
struct remote_node_list_devices_args {
1196 1197 1198
        remote_string              cap;
        int                        maxnames;
        u_int                      flags;
1199 1200
};
struct remote_node_list_devices_ret {
1201 1202 1203 1204
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1205 1206
};
struct remote_node_device_lookup_by_name_args {
1207
        remote_nonnull_string      name;
1208 1209
};
struct remote_node_device_lookup_by_name_ret {
1210
        remote_nonnull_node_device dev;
1211
};
1212
struct remote_node_device_get_xml_desc_args {
1213 1214
        remote_nonnull_string      name;
        u_int                      flags;
1215
};
1216
struct remote_node_device_get_xml_desc_ret {
1217
        remote_nonnull_string      xml;
1218 1219
};
struct remote_node_device_get_parent_args {
1220
        remote_nonnull_string      name;
1221 1222
};
struct remote_node_device_get_parent_ret {
1223
        remote_string              parent;
1224 1225
};
struct remote_node_device_num_of_caps_args {
1226
        remote_nonnull_string      name;
1227 1228
};
struct remote_node_device_num_of_caps_ret {
1229
        int                        num;
1230 1231
};
struct remote_node_device_list_caps_args {
1232 1233
        remote_nonnull_string      name;
        int                        maxnames;
1234 1235
};
struct remote_node_device_list_caps_ret {
1236 1237 1238 1239
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1240 1241
};
struct remote_node_device_dettach_args {
1242
        remote_nonnull_string      name;
1243 1244
};
struct remote_node_device_re_attach_args {
1245
        remote_nonnull_string      name;
1246 1247
};
struct remote_node_device_reset_args {
1248
        remote_nonnull_string      name;
1249 1250
};
struct remote_node_device_create_xml_args {
1251
        remote_nonnull_string      xml_desc;
1252
        u_int                      flags;
1253 1254
};
struct remote_node_device_create_xml_ret {
1255
        remote_nonnull_node_device dev;
1256 1257
};
struct remote_node_device_destroy_args {
1258
        remote_nonnull_string      name;
1259 1260
};
struct remote_domain_events_register_ret {
1261
        int                        cb_registered;
1262 1263
};
struct remote_domain_events_deregister_ret {
1264
        int                        cb_registered;
1265 1266
};
struct remote_domain_event_lifecycle_msg {
1267 1268 1269
        remote_nonnull_domain      dom;
        int                        event;
        int                        detail;
1270 1271
};
struct remote_domain_xml_from_native_args {
1272 1273 1274
        remote_nonnull_string      nativeFormat;
        remote_nonnull_string      nativeConfig;
        u_int                      flags;
1275 1276
};
struct remote_domain_xml_from_native_ret {
1277
        remote_nonnull_string      domainXml;
1278 1279
};
struct remote_domain_xml_to_native_args {
1280 1281 1282
        remote_nonnull_string      nativeFormat;
        remote_nonnull_string      domainXml;
        u_int                      flags;
1283 1284
};
struct remote_domain_xml_to_native_ret {
1285
        remote_nonnull_string      nativeConfig;
1286 1287
};
struct remote_num_of_secrets_ret {
1288
        int                        num;
1289 1290
};
struct remote_list_secrets_args {
1291
        int                        maxuuids;
1292 1293
};
struct remote_list_secrets_ret {
1294 1295 1296 1297
        struct {
                u_int              uuids_len;
                remote_nonnull_string * uuids_val;
        } uuids;
1298 1299
};
struct remote_secret_lookup_by_uuid_args {
1300
        remote_uuid                uuid;
1301 1302
};
struct remote_secret_lookup_by_uuid_ret {
1303
        remote_nonnull_secret      secret;
1304 1305
};
struct remote_secret_define_xml_args {
1306 1307
        remote_nonnull_string      xml;
        u_int                      flags;
1308 1309
};
struct remote_secret_define_xml_ret {
1310
        remote_nonnull_secret      secret;
1311 1312
};
struct remote_secret_get_xml_desc_args {
1313 1314
        remote_nonnull_secret      secret;
        u_int                      flags;
1315 1316
};
struct remote_secret_get_xml_desc_ret {
1317
        remote_nonnull_string      xml;
1318 1319
};
struct remote_secret_set_value_args {
1320 1321 1322 1323 1324 1325
        remote_nonnull_secret      secret;
        struct {
                u_int              value_len;
                char *             value_val;
        } value;
        u_int                      flags;
1326 1327
};
struct remote_secret_get_value_args {
1328 1329
        remote_nonnull_secret      secret;
        u_int                      flags;
1330 1331
};
struct remote_secret_get_value_ret {
1332 1333 1334 1335
        struct {
                u_int              value_len;
                char *             value_val;
        } value;
1336 1337
};
struct remote_secret_undefine_args {
1338
        remote_nonnull_secret      secret;
1339 1340
};
struct remote_secret_lookup_by_usage_args {
1341 1342
        int                        usageType;
        remote_nonnull_string      usageID;
1343 1344
};
struct remote_secret_lookup_by_usage_ret {
1345
        remote_nonnull_secret      secret;
1346 1347
};
struct remote_domain_migrate_prepare_tunnel_args {
1348 1349 1350 1351
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
        remote_nonnull_string      dom_xml;
1352 1353
};
struct remote_is_secure_ret {
1354
        int                        secure;
1355 1356
};
struct remote_domain_is_active_args {
1357
        remote_nonnull_domain      dom;
1358 1359
};
struct remote_domain_is_active_ret {
1360
        int                        active;
1361 1362
};
struct remote_domain_is_persistent_args {
1363
        remote_nonnull_domain      dom;
1364 1365
};
struct remote_domain_is_persistent_ret {
1366
        int                        persistent;
1367
};
O
Osier Yang 已提交
1368
struct remote_domain_is_updated_args {
1369
        remote_nonnull_domain      dom;
O
Osier Yang 已提交
1370 1371
};
struct remote_domain_is_updated_ret {
1372
        int                        updated;
O
Osier Yang 已提交
1373
};
1374
struct remote_network_is_active_args {
1375
        remote_nonnull_network     net;
1376 1377
};
struct remote_network_is_active_ret {
1378
        int                        active;
1379 1380
};
struct remote_network_is_persistent_args {
1381
        remote_nonnull_network     net;
1382 1383
};
struct remote_network_is_persistent_ret {
1384
        int                        persistent;
1385 1386
};
struct remote_storage_pool_is_active_args {
1387
        remote_nonnull_storage_pool pool;
1388 1389
};
struct remote_storage_pool_is_active_ret {
1390
        int                        active;
1391 1392
};
struct remote_storage_pool_is_persistent_args {
1393
        remote_nonnull_storage_pool pool;
1394 1395
};
struct remote_storage_pool_is_persistent_ret {
1396
        int                        persistent;
1397 1398
};
struct remote_interface_is_active_args {
1399
        remote_nonnull_interface   iface;
1400 1401
};
struct remote_interface_is_active_ret {
1402
        int                        active;
1403 1404
};
struct remote_cpu_compare_args {
1405 1406
        remote_nonnull_string      xml;
        u_int                      flags;
1407 1408
};
struct remote_cpu_compare_ret {
1409
        int                        result;
1410 1411
};
struct remote_cpu_baseline_args {
1412 1413 1414 1415 1416
        struct {
                u_int              xmlCPUs_len;
                remote_nonnull_string * xmlCPUs_val;
        } xmlCPUs;
        u_int                      flags;
1417 1418
};
struct remote_cpu_baseline_ret {
1419
        remote_nonnull_string      cpu;
1420 1421
};
struct remote_domain_get_job_info_args {
1422
        remote_nonnull_domain      dom;
1423 1424
};
struct remote_domain_get_job_info_ret {
1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436
        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;
1437 1438
};
struct remote_domain_abort_job_args {
1439
        remote_nonnull_domain      dom;
1440 1441
};
struct remote_domain_migrate_set_max_downtime_args {
1442 1443 1444
        remote_nonnull_domain      dom;
        uint64_t                   downtime;
        u_int                      flags;
1445
};
1446
struct remote_domain_migrate_set_max_speed_args {
1447 1448 1449
        remote_nonnull_domain      dom;
        uint64_t                   bandwidth;
        u_int                      flags;
1450
};
1451 1452 1453 1454 1455 1456 1457
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;
};
1458
struct remote_domain_events_register_any_args {
1459
        int                        eventID;
1460 1461
};
struct remote_domain_events_deregister_any_args {
1462
        int                        eventID;
1463 1464
};
struct remote_domain_event_reboot_msg {
1465
        remote_nonnull_domain      dom;
1466 1467
};
struct remote_domain_event_rtc_change_msg {
1468 1469
        remote_nonnull_domain      dom;
        int64_t                    offset;
1470 1471
};
struct remote_domain_event_watchdog_msg {
1472 1473
        remote_nonnull_domain      dom;
        int                        action;
1474 1475
};
struct remote_domain_event_io_error_msg {
1476 1477 1478 1479
        remote_nonnull_domain      dom;
        remote_nonnull_string      srcPath;
        remote_nonnull_string      devAlias;
        int                        action;
1480 1481
};
struct remote_domain_event_io_error_reason_msg {
1482 1483 1484 1485 1486
        remote_nonnull_domain      dom;
        remote_nonnull_string      srcPath;
        remote_nonnull_string      devAlias;
        int                        action;
        remote_nonnull_string      reason;
1487 1488
};
struct remote_domain_event_graphics_address {
1489 1490 1491
        int                        family;
        remote_nonnull_string      node;
        remote_nonnull_string      service;
1492 1493
};
struct remote_domain_event_graphics_identity {
1494 1495
        remote_nonnull_string      type;
        remote_nonnull_string      name;
1496 1497
};
struct remote_domain_event_graphics_msg {
1498 1499 1500 1501 1502 1503 1504 1505 1506
        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;
1507
};
1508 1509 1510 1511 1512 1513
struct remote_domain_event_block_job_msg {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        int                        type;
        int                        status;
};
1514 1515 1516 1517 1518 1519 1520
struct remote_domain_event_disk_change_msg {
        remote_nonnull_domain      dom;
        remote_string              oldSrcPath;
        remote_string              newSrcPath;
        remote_nonnull_string      devAlias;
        int                        reason;
};
1521
struct remote_domain_managed_save_args {
1522 1523
        remote_nonnull_domain      dom;
        u_int                      flags;
1524 1525
};
struct remote_domain_has_managed_save_image_args {
1526 1527
        remote_nonnull_domain      dom;
        u_int                      flags;
1528 1529
};
struct remote_domain_has_managed_save_image_ret {
1530
        int                        result;
1531 1532
};
struct remote_domain_managed_save_remove_args {
1533 1534
        remote_nonnull_domain      dom;
        u_int                      flags;
1535 1536
};
struct remote_domain_snapshot_create_xml_args {
1537
        remote_nonnull_domain      dom;
1538
        remote_nonnull_string      xml_desc;
1539
        u_int                      flags;
1540 1541
};
struct remote_domain_snapshot_create_xml_ret {
1542
        remote_nonnull_domain_snapshot snap;
1543
};
1544
struct remote_domain_snapshot_get_xml_desc_args {
1545
        remote_nonnull_domain_snapshot snap;
1546
        u_int                      flags;
1547
};
1548
struct remote_domain_snapshot_get_xml_desc_ret {
1549
        remote_nonnull_string      xml;
1550 1551
};
struct remote_domain_snapshot_num_args {
1552
        remote_nonnull_domain      dom;
1553
        u_int                      flags;
1554 1555
};
struct remote_domain_snapshot_num_ret {
1556
        int                        num;
1557 1558
};
struct remote_domain_snapshot_list_names_args {
1559
        remote_nonnull_domain      dom;
1560
        int                        maxnames;
1561
        u_int                      flags;
1562 1563
};
struct remote_domain_snapshot_list_names_ret {
1564 1565 1566 1567
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1568
};
1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586
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;
};
1587
struct remote_domain_snapshot_lookup_by_name_args {
1588
        remote_nonnull_domain      dom;
1589
        remote_nonnull_string      name;
1590
        u_int                      flags;
1591 1592
};
struct remote_domain_snapshot_lookup_by_name_ret {
1593
        remote_nonnull_domain_snapshot snap;
1594 1595
};
struct remote_domain_has_current_snapshot_args {
1596
        remote_nonnull_domain      dom;
1597
        u_int                      flags;
1598 1599
};
struct remote_domain_has_current_snapshot_ret {
1600
        int                        result;
1601
};
1602 1603 1604 1605 1606 1607 1608
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;
};
1609
struct remote_domain_snapshot_current_args {
1610
        remote_nonnull_domain      dom;
1611
        u_int                      flags;
1612 1613
};
struct remote_domain_snapshot_current_ret {
1614
        remote_nonnull_domain_snapshot snap;
1615 1616
};
struct remote_domain_revert_to_snapshot_args {
1617
        remote_nonnull_domain_snapshot snap;
1618
        u_int                      flags;
1619 1620
};
struct remote_domain_snapshot_delete_args {
1621
        remote_nonnull_domain_snapshot snap;
1622
        u_int                      flags;
1623
};
1624
struct remote_domain_open_console_args {
1625
        remote_nonnull_domain      dom;
1626
        remote_string              dev_name;
1627
        u_int                      flags;
1628
};
1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640
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;
};
1641 1642 1643 1644 1645 1646 1647 1648
struct remote_domain_get_state_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
struct remote_domain_get_state_ret {
        int                        state;
        int                        reason;
};
1649 1650
struct remote_domain_migrate_begin3_args {
        remote_nonnull_domain      dom;
1651
        remote_string              xmlin;
1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698
        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;
1699
        remote_string              xmlin;
1700 1701 1702 1703
        struct {
                u_int              cookie_in_len;
                char *             cookie_in_val;
        } cookie_in;
1704 1705
        remote_string              dconnuri;
        remote_string              uri;
1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721
        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;
1722 1723
        remote_string              dconnuri;
        remote_string              uri;
1724 1725 1726 1727
        uint64_t                   flags;
        int                        cancelled;
};
struct remote_domain_migrate_finish3_ret {
1728
        remote_nonnull_domain      dom;
1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742
        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;
};
1743 1744 1745
struct remote_domain_event_control_error_msg {
        remote_nonnull_domain      dom;
};
1746 1747 1748 1749 1750 1751 1752 1753 1754
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;
};
1755 1756 1757 1758 1759
struct remote_domain_open_graphics_args {
        remote_nonnull_domain      dom;
        u_int                      idx;
        u_int                      flags;
};
1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 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 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990
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 已提交
1991
        REMOTE_PROC_DOMAIN_UNDEFINE_FLAGS = 231,
E
Eric Blake 已提交
1992 1993
        REMOTE_PROC_DOMAIN_SAVE_FLAGS = 232,
        REMOTE_PROC_DOMAIN_RESTORE_FLAGS = 233,
1994
        REMOTE_PROC_DOMAIN_DESTROY_FLAGS = 234,
E
Eric Blake 已提交
1995 1996
        REMOTE_PROC_DOMAIN_SAVE_IMAGE_GET_XML_DESC = 235,
        REMOTE_PROC_DOMAIN_SAVE_IMAGE_DEFINE_XML = 236,
1997 1998 1999 2000
        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,
2001
        REMOTE_PROC_DOMAIN_EVENT_BLOCK_JOB = 241,
2002
        REMOTE_PROC_DOMAIN_MIGRATE_GET_MAX_SPEED = 242,
2003
        REMOTE_PROC_DOMAIN_BLOCK_STATS_FLAGS = 243,
2004
        REMOTE_PROC_DOMAIN_SNAPSHOT_GET_PARENT = 244,
2005
        REMOTE_PROC_DOMAIN_RESET = 245,
2006 2007
        REMOTE_PROC_DOMAIN_SNAPSHOT_NUM_CHILDREN = 246,
        REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_CHILDREN_NAMES = 247,
2008
        REMOTE_PROC_DOMAIN_EVENT_DISK_CHANGE = 248,
2009
        REMOTE_PROC_DOMAIN_OPEN_GRAPHICS = 249,
2010
};