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