remote_protocol-structs 50.0 KB
Newer Older
1
/* -*- c -*- */
2
struct remote_nonnull_domain {
3 4 5
        remote_nonnull_string      name;
        remote_uuid                uuid;
        int                        id;
6 7
};
struct remote_nonnull_network {
8 9
        remote_nonnull_string      name;
        remote_uuid                uuid;
10 11
};
struct remote_nonnull_nwfilter {
12 13
        remote_nonnull_string      name;
        remote_uuid                uuid;
14 15
};
struct remote_nonnull_interface {
16 17
        remote_nonnull_string      name;
        remote_nonnull_string      mac;
18 19
};
struct remote_nonnull_storage_pool {
20 21
        remote_nonnull_string      name;
        remote_uuid                uuid;
22 23
};
struct remote_nonnull_storage_vol {
24 25 26
        remote_nonnull_string      pool;
        remote_nonnull_string      name;
        remote_nonnull_string      key;
27 28
};
struct remote_nonnull_node_device {
29
        remote_nonnull_string      name;
30 31
};
struct remote_nonnull_secret {
32 33 34
        remote_uuid                uuid;
        int                        usageType;
        remote_nonnull_string      usageID;
35 36
};
struct remote_nonnull_domain_snapshot {
37
        remote_nonnull_string      name;
38
        remote_nonnull_domain      dom;
39 40
};
struct remote_error {
41 42 43 44 45 46 47 48 49 50 51
        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;
52 53
};
struct remote_vcpu_info {
54 55 56 57
        u_int                      number;
        int                        state;
        uint64_t                   cpu_time;
        int                        cpu;
58
};
59
struct remote_typed_param_value {
60 61 62 63 64 65 66 67
        int                        type;
        union {
                int                i;
                u_int              ui;
                int64_t            l;
                uint64_t           ul;
                double             d;
                int                b;
68
        } remote_typed_param_value_u;
69
};
70
struct remote_typed_param {
71
        remote_nonnull_string      field;
72
        remote_typed_param_value   value;
73
};
74 75 76 77
struct remote_node_get_cpu_stats {
        remote_nonnull_string      field;
        uint64_t                   value;
};
78 79 80 81
struct remote_node_get_memory_stats {
        remote_nonnull_string      field;
        uint64_t                   value;
};
82
struct remote_open_args {
83
        remote_string              name;
84
        u_int                      flags;
85 86
};
struct remote_supports_feature_args {
87
        int                        feature;
88 89
};
struct remote_supports_feature_ret {
90
        int                        supported;
91 92
};
struct remote_get_type_ret {
93
        remote_nonnull_string      type;
94 95
};
struct remote_get_version_ret {
96
        uint64_t                   hv_ver;
97 98
};
struct remote_get_lib_version_ret {
99
        uint64_t                   lib_ver;
100 101
};
struct remote_get_hostname_ret {
102
        remote_nonnull_string      hostname;
103
};
104
struct remote_get_sysinfo_args {
105
        u_int                      flags;
106 107
};
struct remote_get_sysinfo_ret {
108
        remote_nonnull_string      sysinfo;
109
};
110
struct remote_get_uri_ret {
111
        remote_nonnull_string      uri;
112 113
};
struct remote_get_max_vcpus_args {
114
        remote_string              type;
115 116
};
struct remote_get_max_vcpus_ret {
117
        int                        max_vcpus;
118 119
};
struct remote_node_get_info_ret {
120
        char                       model[32];
121
        uint64_t                   memory;
122 123 124 125 126 127
        int                        cpus;
        int                        mhz;
        int                        nodes;
        int                        sockets;
        int                        cores;
        int                        threads;
128 129
};
struct remote_get_capabilities_ret {
130
        remote_nonnull_string      capabilities;
131
};
132 133 134 135 136 137 138 139 140 141 142 143
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;
};
144 145 146 147 148 149 150 151 152 153 154 155
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;
};
156
struct remote_node_get_cells_free_memory_args {
157
        int                        startCell;
158
        int                        maxcells;
159 160
};
struct remote_node_get_cells_free_memory_ret {
161
        struct {
162
                u_int              cells_len;
163
                uint64_t *         cells_val;
164
        } cells;
165 166
};
struct remote_node_get_free_memory_ret {
167
        uint64_t                   freeMem;
168 169
};
struct remote_domain_get_scheduler_type_args {
170
        remote_nonnull_domain      dom;
171 172
};
struct remote_domain_get_scheduler_type_ret {
173 174
        remote_nonnull_string      type;
        int                        nparams;
175 176
};
struct remote_domain_get_scheduler_parameters_args {
177 178
        remote_nonnull_domain      dom;
        int                        nparams;
179 180
};
struct remote_domain_get_scheduler_parameters_ret {
181 182
        struct {
                u_int              params_len;
183
                remote_typed_param * params_val;
184
        } params;
185
};
186 187 188 189 190 191 192 193 194 195 196
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;
};
197
struct remote_domain_set_scheduler_parameters_args {
198 199 200
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
201
                remote_typed_param * params_val;
202
        } params;
203
};
204 205 206 207
struct remote_domain_set_scheduler_parameters_flags_args {
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
208
                remote_typed_param * params_val;
209 210 211
        } params;
        u_int                      flags;
};
212
struct remote_domain_set_blkio_parameters_args {
213 214 215
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
216
                remote_typed_param * params_val;
217 218
        } params;
        u_int                      flags;
219 220
};
struct remote_domain_get_blkio_parameters_args {
221 222 223
        remote_nonnull_domain      dom;
        int                        nparams;
        u_int                      flags;
224 225
};
struct remote_domain_get_blkio_parameters_ret {
226 227
        struct {
                u_int              params_len;
228
                remote_typed_param * params_val;
229 230
        } params;
        int                        nparams;
231
};
232
struct remote_domain_set_memory_parameters_args {
233 234 235
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
236
                remote_typed_param * params_val;
237 238
        } params;
        u_int                      flags;
239 240
};
struct remote_domain_get_memory_parameters_args {
241 242 243
        remote_nonnull_domain      dom;
        int                        nparams;
        u_int                      flags;
244 245
};
struct remote_domain_get_memory_parameters_ret {
246 247
        struct {
                u_int              params_len;
248
                remote_typed_param * params_val;
249 250
        } params;
        int                        nparams;
251
};
252
struct remote_domain_block_stats_args {
253 254
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
255 256
};
struct remote_domain_block_stats_ret {
257 258 259 260 261
        int64_t                    rd_req;
        int64_t                    rd_bytes;
        int64_t                    wr_req;
        int64_t                    wr_bytes;
        int64_t                    errs;
262 263
};
struct remote_domain_interface_stats_args {
264 265
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
266 267
};
struct remote_domain_interface_stats_ret {
268 269 270 271 272 273 274 275
        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;
276 277
};
struct remote_domain_memory_stats_args {
278 279 280
        remote_nonnull_domain      dom;
        u_int                      maxStats;
        u_int                      flags;
281 282
};
struct remote_domain_memory_stat {
283 284
        int                        tag;
        uint64_t                   val;
285 286
};
struct remote_domain_memory_stats_ret {
287 288 289 290
        struct {
                u_int              stats_len;
                remote_domain_memory_stat * stats_val;
        } stats;
291 292
};
struct remote_domain_block_peek_args {
293 294 295 296 297
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        uint64_t                   offset;
        u_int                      size;
        u_int                      flags;
298 299
};
struct remote_domain_block_peek_ret {
300 301 302 303
        struct {
                u_int              buffer_len;
                char *             buffer_val;
        } buffer;
304 305
};
struct remote_domain_memory_peek_args {
306 307 308 309
        remote_nonnull_domain      dom;
        uint64_t                   offset;
        u_int                      size;
        u_int                      flags;
310 311
};
struct remote_domain_memory_peek_ret {
312 313 314 315
        struct {
                u_int              buffer_len;
                char *             buffer_val;
        } buffer;
316 317
};
struct remote_domain_get_block_info_args {
318 319 320
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        u_int                      flags;
321 322
};
struct remote_domain_get_block_info_ret {
323 324 325
        uint64_t                   allocation;
        uint64_t                   capacity;
        uint64_t                   physical;
326 327
};
struct remote_list_domains_args {
328
        int                        maxids;
329 330
};
struct remote_list_domains_ret {
331 332 333 334
        struct {
                u_int              ids_len;
                int *              ids_val;
        } ids;
335 336
};
struct remote_num_of_domains_ret {
337
        int                        num;
338 339
};
struct remote_domain_create_xml_args {
340
        remote_nonnull_string      xml_desc;
341
        u_int                      flags;
342 343
};
struct remote_domain_create_xml_ret {
344
        remote_nonnull_domain      dom;
345 346
};
struct remote_domain_lookup_by_id_args {
347
        int                        id;
348 349
};
struct remote_domain_lookup_by_id_ret {
350
        remote_nonnull_domain      dom;
351 352
};
struct remote_domain_lookup_by_uuid_args {
353
        remote_uuid                uuid;
354 355
};
struct remote_domain_lookup_by_uuid_ret {
356
        remote_nonnull_domain      dom;
357 358
};
struct remote_domain_lookup_by_name_args {
359
        remote_nonnull_string      name;
360 361
};
struct remote_domain_lookup_by_name_ret {
362
        remote_nonnull_domain      dom;
363 364
};
struct remote_domain_suspend_args {
365
        remote_nonnull_domain      dom;
366 367
};
struct remote_domain_resume_args {
368
        remote_nonnull_domain      dom;
369 370
};
struct remote_domain_shutdown_args {
371
        remote_nonnull_domain      dom;
372 373
};
struct remote_domain_reboot_args {
374
        remote_nonnull_domain      dom;
375
        u_int                      flags;
376 377
};
struct remote_domain_destroy_args {
378
        remote_nonnull_domain      dom;
379 380
};
struct remote_domain_get_os_type_args {
381
        remote_nonnull_domain      dom;
382 383
};
struct remote_domain_get_os_type_ret {
384
        remote_nonnull_string      type;
385 386
};
struct remote_domain_get_max_memory_args {
387
        remote_nonnull_domain      dom;
388 389
};
struct remote_domain_get_max_memory_ret {
390
        uint64_t                   memory;
391 392
};
struct remote_domain_set_max_memory_args {
393 394
        remote_nonnull_domain      dom;
        uint64_t                   memory;
395 396
};
struct remote_domain_set_memory_args {
397 398
        remote_nonnull_domain      dom;
        uint64_t                   memory;
399
};
400
struct remote_domain_set_memory_flags_args {
401 402 403
        remote_nonnull_domain      dom;
        uint64_t                   memory;
        u_int                      flags;
404
};
405
struct remote_domain_get_info_args {
406
        remote_nonnull_domain      dom;
407 408
};
struct remote_domain_get_info_ret {
409
        u_char                     state;
410
        uint64_t                   maxMem;
411
        uint64_t                   memory;
412 413
        u_short                    nrVirtCpu;
        uint64_t                   cpuTime;
414 415
};
struct remote_domain_save_args {
416 417
        remote_nonnull_domain      dom;
        remote_nonnull_string      to;
418 419
};
struct remote_domain_restore_args {
420
        remote_nonnull_string      from;
421 422
};
struct remote_domain_core_dump_args {
423 424
        remote_nonnull_domain      dom;
        remote_nonnull_string      to;
425
        u_int                      flags;
426
};
427 428
struct remote_domain_screenshot_args {
        remote_nonnull_domain      dom;
E
Eric Blake 已提交
429 430
        u_int                      screen;
        u_int                      flags;
431 432 433 434
};
struct remote_domain_screenshot_ret {
        remote_string              mime;
};
435
struct remote_domain_get_xml_desc_args {
436
        remote_nonnull_domain      dom;
437
        u_int                      flags;
438
};
439
struct remote_domain_get_xml_desc_ret {
440
        remote_nonnull_string      xml;
441 442
};
struct remote_domain_migrate_prepare_args {
443 444 445 446
        remote_string              uri_in;
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
447 448
};
struct remote_domain_migrate_prepare_ret {
449 450 451 452 453
        struct {
                u_int              cookie_len;
                char *             cookie_val;
        } cookie;
        remote_string              uri_out;
454 455
};
struct remote_domain_migrate_perform_args {
456 457 458 459 460 461 462 463 464
        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;
465 466
};
struct remote_domain_migrate_finish_args {
467 468 469 470 471 472 473
        remote_nonnull_string      dname;
        struct {
                u_int              cookie_len;
                char *             cookie_val;
        } cookie;
        remote_nonnull_string      uri;
        uint64_t                   flags;
474 475
};
struct remote_domain_migrate_finish_ret {
476
        remote_nonnull_domain      ddom;
477 478
};
struct remote_domain_migrate_prepare2_args {
479 480 481 482 483
        remote_string              uri_in;
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
        remote_nonnull_string      dom_xml;
484 485
};
struct remote_domain_migrate_prepare2_ret {
486 487 488 489 490
        struct {
                u_int              cookie_len;
                char *             cookie_val;
        } cookie;
        remote_string              uri_out;
491 492
};
struct remote_domain_migrate_finish2_args {
493 494 495 496 497 498 499 500
        remote_nonnull_string      dname;
        struct {
                u_int              cookie_len;
                char *             cookie_val;
        } cookie;
        remote_nonnull_string      uri;
        uint64_t                   flags;
        int                        retcode;
501 502
};
struct remote_domain_migrate_finish2_ret {
503
        remote_nonnull_domain      ddom;
504 505
};
struct remote_list_defined_domains_args {
506
        int                        maxnames;
507 508
};
struct remote_list_defined_domains_ret {
509 510 511 512
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
513 514
};
struct remote_num_of_defined_domains_ret {
515
        int                        num;
516 517
};
struct remote_domain_create_args {
518
        remote_nonnull_domain      dom;
519 520
};
struct remote_domain_create_with_flags_args {
521 522
        remote_nonnull_domain      dom;
        u_int                      flags;
523 524
};
struct remote_domain_create_with_flags_ret {
525
        remote_nonnull_domain      dom;
526 527
};
struct remote_domain_define_xml_args {
528
        remote_nonnull_string      xml;
529 530
};
struct remote_domain_define_xml_ret {
531
        remote_nonnull_domain      dom;
532 533
};
struct remote_domain_undefine_args {
534
        remote_nonnull_domain      dom;
535
};
536 537 538 539
struct remote_domain_inject_nmi_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
540 541 542 543 544 545 546 547 548 549
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;
};
550
struct remote_domain_set_vcpus_args {
551
        remote_nonnull_domain      dom;
552
        u_int                      nvcpus;
553
};
E
Eric Blake 已提交
554
struct remote_domain_set_vcpus_flags_args {
555 556 557
        remote_nonnull_domain      dom;
        u_int                      nvcpus;
        u_int                      flags;
E
Eric Blake 已提交
558 559
};
struct remote_domain_get_vcpus_flags_args {
560 561
        remote_nonnull_domain      dom;
        u_int                      flags;
E
Eric Blake 已提交
562 563
};
struct remote_domain_get_vcpus_flags_ret {
564
        int                        num;
E
Eric Blake 已提交
565
};
566
struct remote_domain_pin_vcpu_args {
567
        remote_nonnull_domain      dom;
568
        u_int                      vcpu;
569 570 571 572
        struct {
                u_int              cpumap_len;
                char *             cpumap_val;
        } cpumap;
573
};
574 575 576 577 578 579 580 581 582
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 已提交
583
struct remote_domain_get_vcpu_pin_info_args {
584 585 586 587 588
        remote_nonnull_domain      dom;
        int                        ncpumaps;
        int                        maplen;
        u_int                      flags;
};
E
Eric Blake 已提交
589
struct remote_domain_get_vcpu_pin_info_ret {
590 591 592 593 594 595
        struct {
                u_int              cpumaps_len;
                char *             cpumaps_val;
        } cpumaps;
        int                        num;
};
596
struct remote_domain_get_vcpus_args {
597 598 599
        remote_nonnull_domain      dom;
        int                        maxinfo;
        int                        maplen;
600 601
};
struct remote_domain_get_vcpus_ret {
602 603 604 605 606 607 608 609
        struct {
                u_int              info_len;
                remote_vcpu_info * info_val;
        } info;
        struct {
                u_int              cpumaps_len;
                char *             cpumaps_val;
        } cpumaps;
610 611
};
struct remote_domain_get_max_vcpus_args {
612
        remote_nonnull_domain      dom;
613 614
};
struct remote_domain_get_max_vcpus_ret {
615
        int                        num;
616 617
};
struct remote_domain_get_security_label_args {
618
        remote_nonnull_domain      dom;
619 620
};
struct remote_domain_get_security_label_ret {
621 622 623 624 625
        struct {
                u_int              label_len;
                char *             label_val;
        } label;
        int                        enforcing;
626 627
};
struct remote_node_get_security_model_ret {
628 629 630 631 632 633 634 635
        struct {
                u_int              model_len;
                char *             model_val;
        } model;
        struct {
                u_int              doi_len;
                char *             doi_val;
        } doi;
636 637
};
struct remote_domain_attach_device_args {
638 639
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
640 641
};
struct remote_domain_attach_device_flags_args {
642 643 644
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
        u_int                      flags;
645 646
};
struct remote_domain_detach_device_args {
647 648
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
649 650
};
struct remote_domain_detach_device_flags_args {
651 652 653
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
        u_int                      flags;
654 655
};
struct remote_domain_update_device_flags_args {
656 657 658
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
        u_int                      flags;
659 660
};
struct remote_domain_get_autostart_args {
661
        remote_nonnull_domain      dom;
662 663
};
struct remote_domain_get_autostart_ret {
664
        int                        autostart;
665 666
};
struct remote_domain_set_autostart_args {
667 668
        remote_nonnull_domain      dom;
        int                        autostart;
669 670
};
struct remote_num_of_networks_ret {
671
        int                        num;
672 673
};
struct remote_list_networks_args {
674
        int                        maxnames;
675 676
};
struct remote_list_networks_ret {
677 678 679 680
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
681 682
};
struct remote_num_of_defined_networks_ret {
683
        int                        num;
684 685
};
struct remote_list_defined_networks_args {
686
        int                        maxnames;
687 688
};
struct remote_list_defined_networks_ret {
689 690 691 692
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
693 694
};
struct remote_network_lookup_by_uuid_args {
695
        remote_uuid                uuid;
696 697
};
struct remote_network_lookup_by_uuid_ret {
698
        remote_nonnull_network     net;
699 700
};
struct remote_network_lookup_by_name_args {
701
        remote_nonnull_string      name;
702 703
};
struct remote_network_lookup_by_name_ret {
704
        remote_nonnull_network     net;
705 706
};
struct remote_network_create_xml_args {
707
        remote_nonnull_string      xml;
708 709
};
struct remote_network_create_xml_ret {
710
        remote_nonnull_network     net;
711 712
};
struct remote_network_define_xml_args {
713
        remote_nonnull_string      xml;
714 715
};
struct remote_network_define_xml_ret {
716
        remote_nonnull_network     net;
717 718
};
struct remote_network_undefine_args {
719
        remote_nonnull_network     net;
720 721
};
struct remote_network_create_args {
722
        remote_nonnull_network     net;
723 724
};
struct remote_network_destroy_args {
725
        remote_nonnull_network     net;
726
};
727
struct remote_network_get_xml_desc_args {
728
        remote_nonnull_network     net;
729
        u_int                      flags;
730
};
731
struct remote_network_get_xml_desc_ret {
732
        remote_nonnull_string      xml;
733 734
};
struct remote_network_get_bridge_name_args {
735
        remote_nonnull_network     net;
736 737
};
struct remote_network_get_bridge_name_ret {
738
        remote_nonnull_string      name;
739 740
};
struct remote_network_get_autostart_args {
741
        remote_nonnull_network     net;
742 743
};
struct remote_network_get_autostart_ret {
744
        int                        autostart;
745 746
};
struct remote_network_set_autostart_args {
747 748
        remote_nonnull_network     net;
        int                        autostart;
749 750
};
struct remote_num_of_nwfilters_ret {
751
        int                        num;
752 753
};
struct remote_list_nwfilters_args {
754
        int                        maxnames;
755 756
};
struct remote_list_nwfilters_ret {
757 758 759 760
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
761 762
};
struct remote_nwfilter_lookup_by_uuid_args {
763
        remote_uuid                uuid;
764 765
};
struct remote_nwfilter_lookup_by_uuid_ret {
766
        remote_nonnull_nwfilter    nwfilter;
767 768
};
struct remote_nwfilter_lookup_by_name_args {
769
        remote_nonnull_string      name;
770 771
};
struct remote_nwfilter_lookup_by_name_ret {
772
        remote_nonnull_nwfilter    nwfilter;
773 774
};
struct remote_nwfilter_define_xml_args {
775
        remote_nonnull_string      xml;
776 777
};
struct remote_nwfilter_define_xml_ret {
778
        remote_nonnull_nwfilter    nwfilter;
779 780
};
struct remote_nwfilter_undefine_args {
781
        remote_nonnull_nwfilter    nwfilter;
782 783
};
struct remote_nwfilter_get_xml_desc_args {
784
        remote_nonnull_nwfilter    nwfilter;
785
        u_int                      flags;
786 787
};
struct remote_nwfilter_get_xml_desc_ret {
788
        remote_nonnull_string      xml;
789 790
};
struct remote_num_of_interfaces_ret {
791
        int                        num;
792 793
};
struct remote_list_interfaces_args {
794
        int                        maxnames;
795 796
};
struct remote_list_interfaces_ret {
797 798 799 800
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
801 802
};
struct remote_num_of_defined_interfaces_ret {
803
        int                        num;
804 805
};
struct remote_list_defined_interfaces_args {
806
        int                        maxnames;
807 808
};
struct remote_list_defined_interfaces_ret {
809 810 811 812
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
813 814
};
struct remote_interface_lookup_by_name_args {
815
        remote_nonnull_string      name;
816 817
};
struct remote_interface_lookup_by_name_ret {
818
        remote_nonnull_interface   iface;
819 820
};
struct remote_interface_lookup_by_mac_string_args {
821
        remote_nonnull_string      mac;
822 823
};
struct remote_interface_lookup_by_mac_string_ret {
824
        remote_nonnull_interface   iface;
825 826
};
struct remote_interface_get_xml_desc_args {
827 828
        remote_nonnull_interface   iface;
        u_int                      flags;
829 830
};
struct remote_interface_get_xml_desc_ret {
831
        remote_nonnull_string      xml;
832 833
};
struct remote_interface_define_xml_args {
834 835
        remote_nonnull_string      xml;
        u_int                      flags;
836 837
};
struct remote_interface_define_xml_ret {
838
        remote_nonnull_interface   iface;
839 840
};
struct remote_interface_undefine_args {
841
        remote_nonnull_interface   iface;
842 843
};
struct remote_interface_create_args {
844 845
        remote_nonnull_interface   iface;
        u_int                      flags;
846 847
};
struct remote_interface_destroy_args {
848 849
        remote_nonnull_interface   iface;
        u_int                      flags;
850
};
851
struct remote_interface_change_begin_args {
D
Daniel Veillard 已提交
852
        u_int                      flags;
853 854
};
struct remote_interface_change_commit_args {
D
Daniel Veillard 已提交
855
        u_int                      flags;
856 857
};
struct remote_interface_change_rollback_args {
D
Daniel Veillard 已提交
858
        u_int                      flags;
859
};
860
struct remote_auth_list_ret {
861 862 863 864
        struct {
                u_int              types_len;
                remote_auth_type * types_val;
        } types;
865 866
};
struct remote_auth_sasl_init_ret {
867
        remote_nonnull_string      mechlist;
868 869
};
struct remote_auth_sasl_start_args {
870 871 872 873 874 875
        remote_nonnull_string      mech;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
876 877
};
struct remote_auth_sasl_start_ret {
878 879 880 881 882 883
        int                        complete;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
884 885
};
struct remote_auth_sasl_step_args {
886 887 888 889 890
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
891 892
};
struct remote_auth_sasl_step_ret {
893 894 895 896 897 898
        int                        complete;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
899 900
};
struct remote_auth_polkit_ret {
901
        int                        complete;
902 903
};
struct remote_num_of_storage_pools_ret {
904
        int                        num;
905 906
};
struct remote_list_storage_pools_args {
907
        int                        maxnames;
908 909
};
struct remote_list_storage_pools_ret {
910 911 912 913
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
914 915
};
struct remote_num_of_defined_storage_pools_ret {
916
        int                        num;
917 918
};
struct remote_list_defined_storage_pools_args {
919
        int                        maxnames;
920 921
};
struct remote_list_defined_storage_pools_ret {
922 923 924 925
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
926 927
};
struct remote_find_storage_pool_sources_args {
928 929 930
        remote_nonnull_string      type;
        remote_string              srcSpec;
        u_int                      flags;
931 932
};
struct remote_find_storage_pool_sources_ret {
933
        remote_nonnull_string      xml;
934 935
};
struct remote_storage_pool_lookup_by_uuid_args {
936
        remote_uuid                uuid;
937 938
};
struct remote_storage_pool_lookup_by_uuid_ret {
939
        remote_nonnull_storage_pool pool;
940 941
};
struct remote_storage_pool_lookup_by_name_args {
942
        remote_nonnull_string      name;
943 944
};
struct remote_storage_pool_lookup_by_name_ret {
945
        remote_nonnull_storage_pool pool;
946 947
};
struct remote_storage_pool_lookup_by_volume_args {
948
        remote_nonnull_storage_vol vol;
949 950
};
struct remote_storage_pool_lookup_by_volume_ret {
951
        remote_nonnull_storage_pool pool;
952 953
};
struct remote_storage_pool_create_xml_args {
954 955
        remote_nonnull_string      xml;
        u_int                      flags;
956 957
};
struct remote_storage_pool_create_xml_ret {
958
        remote_nonnull_storage_pool pool;
959 960
};
struct remote_storage_pool_define_xml_args {
961 962
        remote_nonnull_string      xml;
        u_int                      flags;
963 964
};
struct remote_storage_pool_define_xml_ret {
965
        remote_nonnull_storage_pool pool;
966 967
};
struct remote_storage_pool_build_args {
968 969
        remote_nonnull_storage_pool pool;
        u_int                      flags;
970 971
};
struct remote_storage_pool_undefine_args {
972
        remote_nonnull_storage_pool pool;
973 974
};
struct remote_storage_pool_create_args {
975 976
        remote_nonnull_storage_pool pool;
        u_int                      flags;
977 978
};
struct remote_storage_pool_destroy_args {
979
        remote_nonnull_storage_pool pool;
980 981
};
struct remote_storage_pool_delete_args {
982 983
        remote_nonnull_storage_pool pool;
        u_int                      flags;
984 985
};
struct remote_storage_pool_refresh_args {
986 987
        remote_nonnull_storage_pool pool;
        u_int                      flags;
988
};
989
struct remote_storage_pool_get_xml_desc_args {
990 991
        remote_nonnull_storage_pool pool;
        u_int                      flags;
992
};
993
struct remote_storage_pool_get_xml_desc_ret {
994
        remote_nonnull_string      xml;
995 996
};
struct remote_storage_pool_get_info_args {
997
        remote_nonnull_storage_pool pool;
998 999
};
struct remote_storage_pool_get_info_ret {
1000 1001 1002 1003
        u_char                     state;
        uint64_t                   capacity;
        uint64_t                   allocation;
        uint64_t                   available;
1004 1005
};
struct remote_storage_pool_get_autostart_args {
1006
        remote_nonnull_storage_pool pool;
1007 1008
};
struct remote_storage_pool_get_autostart_ret {
1009
        int                        autostart;
1010 1011
};
struct remote_storage_pool_set_autostart_args {
1012 1013
        remote_nonnull_storage_pool pool;
        int                        autostart;
1014 1015
};
struct remote_storage_pool_num_of_volumes_args {
1016
        remote_nonnull_storage_pool pool;
1017 1018
};
struct remote_storage_pool_num_of_volumes_ret {
1019
        int                        num;
1020 1021
};
struct remote_storage_pool_list_volumes_args {
1022 1023
        remote_nonnull_storage_pool pool;
        int                        maxnames;
1024 1025
};
struct remote_storage_pool_list_volumes_ret {
1026 1027 1028 1029
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1030 1031
};
struct remote_storage_vol_lookup_by_name_args {
1032 1033
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      name;
1034 1035
};
struct remote_storage_vol_lookup_by_name_ret {
1036
        remote_nonnull_storage_vol vol;
1037 1038
};
struct remote_storage_vol_lookup_by_key_args {
1039
        remote_nonnull_string      key;
1040 1041
};
struct remote_storage_vol_lookup_by_key_ret {
1042
        remote_nonnull_storage_vol vol;
1043 1044
};
struct remote_storage_vol_lookup_by_path_args {
1045
        remote_nonnull_string      path;
1046 1047
};
struct remote_storage_vol_lookup_by_path_ret {
1048
        remote_nonnull_storage_vol vol;
1049 1050
};
struct remote_storage_vol_create_xml_args {
1051 1052 1053
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      xml;
        u_int                      flags;
1054 1055
};
struct remote_storage_vol_create_xml_ret {
1056
        remote_nonnull_storage_vol vol;
1057 1058
};
struct remote_storage_vol_create_xml_from_args {
1059 1060 1061 1062
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      xml;
        remote_nonnull_storage_vol clonevol;
        u_int                      flags;
1063 1064
};
struct remote_storage_vol_create_xml_from_ret {
1065
        remote_nonnull_storage_vol vol;
1066 1067
};
struct remote_storage_vol_delete_args {
1068 1069
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1070 1071
};
struct remote_storage_vol_wipe_args {
1072 1073
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1074
};
1075
struct remote_storage_vol_get_xml_desc_args {
1076 1077
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1078
};
1079
struct remote_storage_vol_get_xml_desc_ret {
1080
        remote_nonnull_string      xml;
1081 1082
};
struct remote_storage_vol_get_info_args {
1083
        remote_nonnull_storage_vol vol;
1084 1085
};
struct remote_storage_vol_get_info_ret {
1086 1087 1088
        char                       type;
        uint64_t                   capacity;
        uint64_t                   allocation;
1089 1090
};
struct remote_storage_vol_get_path_args {
1091
        remote_nonnull_storage_vol vol;
1092 1093
};
struct remote_storage_vol_get_path_ret {
1094
        remote_nonnull_string      name;
1095 1096
};
struct remote_node_num_of_devices_args {
1097 1098
        remote_string              cap;
        u_int                      flags;
1099 1100
};
struct remote_node_num_of_devices_ret {
1101
        int                        num;
1102 1103
};
struct remote_node_list_devices_args {
1104 1105 1106
        remote_string              cap;
        int                        maxnames;
        u_int                      flags;
1107 1108
};
struct remote_node_list_devices_ret {
1109 1110 1111 1112
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1113 1114
};
struct remote_node_device_lookup_by_name_args {
1115
        remote_nonnull_string      name;
1116 1117
};
struct remote_node_device_lookup_by_name_ret {
1118
        remote_nonnull_node_device dev;
1119
};
1120
struct remote_node_device_get_xml_desc_args {
1121 1122
        remote_nonnull_string      name;
        u_int                      flags;
1123
};
1124
struct remote_node_device_get_xml_desc_ret {
1125
        remote_nonnull_string      xml;
1126 1127
};
struct remote_node_device_get_parent_args {
1128
        remote_nonnull_string      name;
1129 1130
};
struct remote_node_device_get_parent_ret {
1131
        remote_string              parent;
1132 1133
};
struct remote_node_device_num_of_caps_args {
1134
        remote_nonnull_string      name;
1135 1136
};
struct remote_node_device_num_of_caps_ret {
1137
        int                        num;
1138 1139
};
struct remote_node_device_list_caps_args {
1140 1141
        remote_nonnull_string      name;
        int                        maxnames;
1142 1143
};
struct remote_node_device_list_caps_ret {
1144 1145 1146 1147
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1148 1149
};
struct remote_node_device_dettach_args {
1150
        remote_nonnull_string      name;
1151 1152
};
struct remote_node_device_re_attach_args {
1153
        remote_nonnull_string      name;
1154 1155
};
struct remote_node_device_reset_args {
1156
        remote_nonnull_string      name;
1157 1158
};
struct remote_node_device_create_xml_args {
1159
        remote_nonnull_string      xml_desc;
1160
        u_int                      flags;
1161 1162
};
struct remote_node_device_create_xml_ret {
1163
        remote_nonnull_node_device dev;
1164 1165
};
struct remote_node_device_destroy_args {
1166
        remote_nonnull_string      name;
1167 1168
};
struct remote_domain_events_register_ret {
1169
        int                        cb_registered;
1170 1171
};
struct remote_domain_events_deregister_ret {
1172
        int                        cb_registered;
1173 1174
};
struct remote_domain_event_lifecycle_msg {
1175 1176 1177
        remote_nonnull_domain      dom;
        int                        event;
        int                        detail;
1178 1179
};
struct remote_domain_xml_from_native_args {
1180 1181 1182
        remote_nonnull_string      nativeFormat;
        remote_nonnull_string      nativeConfig;
        u_int                      flags;
1183 1184
};
struct remote_domain_xml_from_native_ret {
1185
        remote_nonnull_string      domainXml;
1186 1187
};
struct remote_domain_xml_to_native_args {
1188 1189 1190
        remote_nonnull_string      nativeFormat;
        remote_nonnull_string      domainXml;
        u_int                      flags;
1191 1192
};
struct remote_domain_xml_to_native_ret {
1193
        remote_nonnull_string      nativeConfig;
1194 1195
};
struct remote_num_of_secrets_ret {
1196
        int                        num;
1197 1198
};
struct remote_list_secrets_args {
1199
        int                        maxuuids;
1200 1201
};
struct remote_list_secrets_ret {
1202 1203 1204 1205
        struct {
                u_int              uuids_len;
                remote_nonnull_string * uuids_val;
        } uuids;
1206 1207
};
struct remote_secret_lookup_by_uuid_args {
1208
        remote_uuid                uuid;
1209 1210
};
struct remote_secret_lookup_by_uuid_ret {
1211
        remote_nonnull_secret      secret;
1212 1213
};
struct remote_secret_define_xml_args {
1214 1215
        remote_nonnull_string      xml;
        u_int                      flags;
1216 1217
};
struct remote_secret_define_xml_ret {
1218
        remote_nonnull_secret      secret;
1219 1220
};
struct remote_secret_get_xml_desc_args {
1221 1222
        remote_nonnull_secret      secret;
        u_int                      flags;
1223 1224
};
struct remote_secret_get_xml_desc_ret {
1225
        remote_nonnull_string      xml;
1226 1227
};
struct remote_secret_set_value_args {
1228 1229 1230 1231 1232 1233
        remote_nonnull_secret      secret;
        struct {
                u_int              value_len;
                char *             value_val;
        } value;
        u_int                      flags;
1234 1235
};
struct remote_secret_get_value_args {
1236 1237
        remote_nonnull_secret      secret;
        u_int                      flags;
1238 1239
};
struct remote_secret_get_value_ret {
1240 1241 1242 1243
        struct {
                u_int              value_len;
                char *             value_val;
        } value;
1244 1245
};
struct remote_secret_undefine_args {
1246
        remote_nonnull_secret      secret;
1247 1248
};
struct remote_secret_lookup_by_usage_args {
1249 1250
        int                        usageType;
        remote_nonnull_string      usageID;
1251 1252
};
struct remote_secret_lookup_by_usage_ret {
1253
        remote_nonnull_secret      secret;
1254 1255
};
struct remote_domain_migrate_prepare_tunnel_args {
1256 1257 1258 1259
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
        remote_nonnull_string      dom_xml;
1260 1261
};
struct remote_is_secure_ret {
1262
        int                        secure;
1263 1264
};
struct remote_domain_is_active_args {
1265
        remote_nonnull_domain      dom;
1266 1267
};
struct remote_domain_is_active_ret {
1268
        int                        active;
1269 1270
};
struct remote_domain_is_persistent_args {
1271
        remote_nonnull_domain      dom;
1272 1273
};
struct remote_domain_is_persistent_ret {
1274
        int                        persistent;
1275
};
O
Osier Yang 已提交
1276
struct remote_domain_is_updated_args {
1277
        remote_nonnull_domain      dom;
O
Osier Yang 已提交
1278 1279
};
struct remote_domain_is_updated_ret {
1280
        int                        updated;
O
Osier Yang 已提交
1281
};
1282
struct remote_network_is_active_args {
1283
        remote_nonnull_network     net;
1284 1285
};
struct remote_network_is_active_ret {
1286
        int                        active;
1287 1288
};
struct remote_network_is_persistent_args {
1289
        remote_nonnull_network     net;
1290 1291
};
struct remote_network_is_persistent_ret {
1292
        int                        persistent;
1293 1294
};
struct remote_storage_pool_is_active_args {
1295
        remote_nonnull_storage_pool pool;
1296 1297
};
struct remote_storage_pool_is_active_ret {
1298
        int                        active;
1299 1300
};
struct remote_storage_pool_is_persistent_args {
1301
        remote_nonnull_storage_pool pool;
1302 1303
};
struct remote_storage_pool_is_persistent_ret {
1304
        int                        persistent;
1305 1306
};
struct remote_interface_is_active_args {
1307
        remote_nonnull_interface   iface;
1308 1309
};
struct remote_interface_is_active_ret {
1310
        int                        active;
1311 1312
};
struct remote_cpu_compare_args {
1313 1314
        remote_nonnull_string      xml;
        u_int                      flags;
1315 1316
};
struct remote_cpu_compare_ret {
1317
        int                        result;
1318 1319
};
struct remote_cpu_baseline_args {
1320 1321 1322 1323 1324
        struct {
                u_int              xmlCPUs_len;
                remote_nonnull_string * xmlCPUs_val;
        } xmlCPUs;
        u_int                      flags;
1325 1326
};
struct remote_cpu_baseline_ret {
1327
        remote_nonnull_string      cpu;
1328 1329
};
struct remote_domain_get_job_info_args {
1330
        remote_nonnull_domain      dom;
1331 1332
};
struct remote_domain_get_job_info_ret {
1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344
        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;
1345 1346
};
struct remote_domain_abort_job_args {
1347
        remote_nonnull_domain      dom;
1348 1349
};
struct remote_domain_migrate_set_max_downtime_args {
1350 1351 1352
        remote_nonnull_domain      dom;
        uint64_t                   downtime;
        u_int                      flags;
1353
};
1354
struct remote_domain_migrate_set_max_speed_args {
1355 1356 1357
        remote_nonnull_domain      dom;
        uint64_t                   bandwidth;
        u_int                      flags;
1358
};
1359
struct remote_domain_events_register_any_args {
1360
        int                        eventID;
1361 1362
};
struct remote_domain_events_deregister_any_args {
1363
        int                        eventID;
1364 1365
};
struct remote_domain_event_reboot_msg {
1366
        remote_nonnull_domain      dom;
1367 1368
};
struct remote_domain_event_rtc_change_msg {
1369 1370
        remote_nonnull_domain      dom;
        int64_t                    offset;
1371 1372
};
struct remote_domain_event_watchdog_msg {
1373 1374
        remote_nonnull_domain      dom;
        int                        action;
1375 1376
};
struct remote_domain_event_io_error_msg {
1377 1378 1379 1380
        remote_nonnull_domain      dom;
        remote_nonnull_string      srcPath;
        remote_nonnull_string      devAlias;
        int                        action;
1381 1382
};
struct remote_domain_event_io_error_reason_msg {
1383 1384 1385 1386 1387
        remote_nonnull_domain      dom;
        remote_nonnull_string      srcPath;
        remote_nonnull_string      devAlias;
        int                        action;
        remote_nonnull_string      reason;
1388 1389
};
struct remote_domain_event_graphics_address {
1390 1391 1392
        int                        family;
        remote_nonnull_string      node;
        remote_nonnull_string      service;
1393 1394
};
struct remote_domain_event_graphics_identity {
1395 1396
        remote_nonnull_string      type;
        remote_nonnull_string      name;
1397 1398
};
struct remote_domain_event_graphics_msg {
1399 1400 1401 1402 1403 1404 1405 1406 1407
        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;
1408 1409
};
struct remote_domain_managed_save_args {
1410 1411
        remote_nonnull_domain      dom;
        u_int                      flags;
1412 1413
};
struct remote_domain_has_managed_save_image_args {
1414 1415
        remote_nonnull_domain      dom;
        u_int                      flags;
1416 1417
};
struct remote_domain_has_managed_save_image_ret {
1418
        int                        result;
1419 1420
};
struct remote_domain_managed_save_remove_args {
1421 1422
        remote_nonnull_domain      dom;
        u_int                      flags;
1423 1424
};
struct remote_domain_snapshot_create_xml_args {
1425
        remote_nonnull_domain      dom;
1426
        remote_nonnull_string      xml_desc;
1427
        u_int                      flags;
1428 1429
};
struct remote_domain_snapshot_create_xml_ret {
1430
        remote_nonnull_domain_snapshot snap;
1431
};
1432
struct remote_domain_snapshot_get_xml_desc_args {
1433
        remote_nonnull_domain_snapshot snap;
1434
        u_int                      flags;
1435
};
1436
struct remote_domain_snapshot_get_xml_desc_ret {
1437
        remote_nonnull_string      xml;
1438 1439
};
struct remote_domain_snapshot_num_args {
1440
        remote_nonnull_domain      dom;
1441
        u_int                      flags;
1442 1443
};
struct remote_domain_snapshot_num_ret {
1444
        int                        num;
1445 1446
};
struct remote_domain_snapshot_list_names_args {
1447
        remote_nonnull_domain      dom;
1448
        int                        maxnames;
1449
        u_int                      flags;
1450 1451
};
struct remote_domain_snapshot_list_names_ret {
1452 1453 1454 1455
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1456 1457
};
struct remote_domain_snapshot_lookup_by_name_args {
1458
        remote_nonnull_domain      dom;
1459
        remote_nonnull_string      name;
1460
        u_int                      flags;
1461 1462
};
struct remote_domain_snapshot_lookup_by_name_ret {
1463
        remote_nonnull_domain_snapshot snap;
1464 1465
};
struct remote_domain_has_current_snapshot_args {
1466
        remote_nonnull_domain      dom;
1467
        u_int                      flags;
1468 1469
};
struct remote_domain_has_current_snapshot_ret {
1470
        int                        result;
1471 1472
};
struct remote_domain_snapshot_current_args {
1473
        remote_nonnull_domain      dom;
1474
        u_int                      flags;
1475 1476
};
struct remote_domain_snapshot_current_ret {
1477
        remote_nonnull_domain_snapshot snap;
1478 1479
};
struct remote_domain_revert_to_snapshot_args {
1480
        remote_nonnull_domain_snapshot snap;
1481
        u_int                      flags;
1482 1483
};
struct remote_domain_snapshot_delete_args {
1484
        remote_nonnull_domain_snapshot snap;
1485
        u_int                      flags;
1486
};
1487
struct remote_domain_open_console_args {
1488
        remote_nonnull_domain      dom;
1489 1490
        remote_string              devname;
        u_int                      flags;
1491
};
1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503
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;
};
1504 1505 1506 1507 1508 1509 1510 1511
struct remote_domain_get_state_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
struct remote_domain_get_state_ret {
        int                        state;
        int                        reason;
};
1512 1513
struct remote_domain_migrate_begin3_args {
        remote_nonnull_domain      dom;
1514
        remote_string              xmlin;
1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561
        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;
1562
        remote_string              xmlin;
1563 1564 1565 1566
        struct {
                u_int              cookie_in_len;
                char *             cookie_in_val;
        } cookie_in;
1567 1568
        remote_string              dconnuri;
        remote_string              uri;
1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584
        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;
1585 1586
        remote_string              dconnuri;
        remote_string              uri;
1587 1588 1589 1590
        uint64_t                   flags;
        int                        cancelled;
};
struct remote_domain_migrate_finish3_ret {
1591
        remote_nonnull_domain      dom;
1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605
        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;
};
1606 1607 1608
struct remote_domain_event_control_error_msg {
        remote_nonnull_domain      dom;
};
1609 1610 1611 1612 1613 1614 1615 1616 1617
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;
};