remote_protocol-structs 48.4 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
        char                       model[32];
143
        uint64_t                   memory;
144 145 146 147 148 149
        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
        int                        startCell;
156
        int                        maxcells;
157 158
};
struct remote_node_get_cells_free_memory_ret {
159
        struct {
160
                u_int              cells_len;
161
                uint64_t *         cells_val;
162
        } cells;
163 164
};
struct remote_node_get_free_memory_ret {
165
        uint64_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
        remote_nonnull_string      xml_desc;
328
        u_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
        remote_nonnull_domain      dom;
362
        u_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
        remote_nonnull_domain      dom;
529
        u_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
        remote_nonnull_domain      dom;
545
        u_int                      vcpu;
546 547 548 549
        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_interface_change_begin_args {
D
Daniel Veillard 已提交
807
        u_int                      flags;
808 809
};
struct remote_interface_change_commit_args {
D
Daniel Veillard 已提交
810
        u_int                      flags;
811 812
};
struct remote_interface_change_rollback_args {
D
Daniel Veillard 已提交
813
        u_int                      flags;
814
};
815
struct remote_auth_list_ret {
816 817 818 819
        struct {
                u_int              types_len;
                remote_auth_type * types_val;
        } types;
820 821
};
struct remote_auth_sasl_init_ret {
822
        remote_nonnull_string      mechlist;
823 824
};
struct remote_auth_sasl_start_args {
825 826 827 828 829 830
        remote_nonnull_string      mech;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
831 832
};
struct remote_auth_sasl_start_ret {
833 834 835 836 837 838
        int                        complete;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
839 840
};
struct remote_auth_sasl_step_args {
841 842 843 844 845
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
846 847
};
struct remote_auth_sasl_step_ret {
848 849 850 851 852 853
        int                        complete;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
854 855
};
struct remote_auth_polkit_ret {
856
        int                        complete;
857 858
};
struct remote_num_of_storage_pools_ret {
859
        int                        num;
860 861
};
struct remote_list_storage_pools_args {
862
        int                        maxnames;
863 864
};
struct remote_list_storage_pools_ret {
865 866 867 868
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
869 870
};
struct remote_num_of_defined_storage_pools_ret {
871
        int                        num;
872 873
};
struct remote_list_defined_storage_pools_args {
874
        int                        maxnames;
875 876
};
struct remote_list_defined_storage_pools_ret {
877 878 879 880
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
881 882
};
struct remote_find_storage_pool_sources_args {
883 884 885
        remote_nonnull_string      type;
        remote_string              srcSpec;
        u_int                      flags;
886 887
};
struct remote_find_storage_pool_sources_ret {
888
        remote_nonnull_string      xml;
889 890
};
struct remote_storage_pool_lookup_by_uuid_args {
891
        remote_uuid                uuid;
892 893
};
struct remote_storage_pool_lookup_by_uuid_ret {
894
        remote_nonnull_storage_pool pool;
895 896
};
struct remote_storage_pool_lookup_by_name_args {
897
        remote_nonnull_string      name;
898 899
};
struct remote_storage_pool_lookup_by_name_ret {
900
        remote_nonnull_storage_pool pool;
901 902
};
struct remote_storage_pool_lookup_by_volume_args {
903
        remote_nonnull_storage_vol vol;
904 905
};
struct remote_storage_pool_lookup_by_volume_ret {
906
        remote_nonnull_storage_pool pool;
907 908
};
struct remote_storage_pool_create_xml_args {
909 910
        remote_nonnull_string      xml;
        u_int                      flags;
911 912
};
struct remote_storage_pool_create_xml_ret {
913
        remote_nonnull_storage_pool pool;
914 915
};
struct remote_storage_pool_define_xml_args {
916 917
        remote_nonnull_string      xml;
        u_int                      flags;
918 919
};
struct remote_storage_pool_define_xml_ret {
920
        remote_nonnull_storage_pool pool;
921 922
};
struct remote_storage_pool_build_args {
923 924
        remote_nonnull_storage_pool pool;
        u_int                      flags;
925 926
};
struct remote_storage_pool_undefine_args {
927
        remote_nonnull_storage_pool pool;
928 929
};
struct remote_storage_pool_create_args {
930 931
        remote_nonnull_storage_pool pool;
        u_int                      flags;
932 933
};
struct remote_storage_pool_destroy_args {
934
        remote_nonnull_storage_pool pool;
935 936
};
struct remote_storage_pool_delete_args {
937 938
        remote_nonnull_storage_pool pool;
        u_int                      flags;
939 940
};
struct remote_storage_pool_refresh_args {
941 942
        remote_nonnull_storage_pool pool;
        u_int                      flags;
943
};
944
struct remote_storage_pool_get_xml_desc_args {
945 946
        remote_nonnull_storage_pool pool;
        u_int                      flags;
947
};
948
struct remote_storage_pool_get_xml_desc_ret {
949
        remote_nonnull_string      xml;
950 951
};
struct remote_storage_pool_get_info_args {
952
        remote_nonnull_storage_pool pool;
953 954
};
struct remote_storage_pool_get_info_ret {
955 956 957 958
        u_char                     state;
        uint64_t                   capacity;
        uint64_t                   allocation;
        uint64_t                   available;
959 960
};
struct remote_storage_pool_get_autostart_args {
961
        remote_nonnull_storage_pool pool;
962 963
};
struct remote_storage_pool_get_autostart_ret {
964
        int                        autostart;
965 966
};
struct remote_storage_pool_set_autostart_args {
967 968
        remote_nonnull_storage_pool pool;
        int                        autostart;
969 970
};
struct remote_storage_pool_num_of_volumes_args {
971
        remote_nonnull_storage_pool pool;
972 973
};
struct remote_storage_pool_num_of_volumes_ret {
974
        int                        num;
975 976
};
struct remote_storage_pool_list_volumes_args {
977 978
        remote_nonnull_storage_pool pool;
        int                        maxnames;
979 980
};
struct remote_storage_pool_list_volumes_ret {
981 982 983 984
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
985 986
};
struct remote_storage_vol_lookup_by_name_args {
987 988
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      name;
989 990
};
struct remote_storage_vol_lookup_by_name_ret {
991
        remote_nonnull_storage_vol vol;
992 993
};
struct remote_storage_vol_lookup_by_key_args {
994
        remote_nonnull_string      key;
995 996
};
struct remote_storage_vol_lookup_by_key_ret {
997
        remote_nonnull_storage_vol vol;
998 999
};
struct remote_storage_vol_lookup_by_path_args {
1000
        remote_nonnull_string      path;
1001 1002
};
struct remote_storage_vol_lookup_by_path_ret {
1003
        remote_nonnull_storage_vol vol;
1004 1005
};
struct remote_storage_vol_create_xml_args {
1006 1007 1008
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      xml;
        u_int                      flags;
1009 1010
};
struct remote_storage_vol_create_xml_ret {
1011
        remote_nonnull_storage_vol vol;
1012 1013
};
struct remote_storage_vol_create_xml_from_args {
1014 1015 1016 1017
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      xml;
        remote_nonnull_storage_vol clonevol;
        u_int                      flags;
1018 1019
};
struct remote_storage_vol_create_xml_from_ret {
1020
        remote_nonnull_storage_vol vol;
1021 1022
};
struct remote_storage_vol_delete_args {
1023 1024
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1025 1026
};
struct remote_storage_vol_wipe_args {
1027 1028
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1029
};
1030
struct remote_storage_vol_get_xml_desc_args {
1031 1032
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1033
};
1034
struct remote_storage_vol_get_xml_desc_ret {
1035
        remote_nonnull_string      xml;
1036 1037
};
struct remote_storage_vol_get_info_args {
1038
        remote_nonnull_storage_vol vol;
1039 1040
};
struct remote_storage_vol_get_info_ret {
1041 1042 1043
        char                       type;
        uint64_t                   capacity;
        uint64_t                   allocation;
1044 1045
};
struct remote_storage_vol_get_path_args {
1046
        remote_nonnull_storage_vol vol;
1047 1048
};
struct remote_storage_vol_get_path_ret {
1049
        remote_nonnull_string      name;
1050 1051
};
struct remote_node_num_of_devices_args {
1052 1053
        remote_string              cap;
        u_int                      flags;
1054 1055
};
struct remote_node_num_of_devices_ret {
1056
        int                        num;
1057 1058
};
struct remote_node_list_devices_args {
1059 1060 1061
        remote_string              cap;
        int                        maxnames;
        u_int                      flags;
1062 1063
};
struct remote_node_list_devices_ret {
1064 1065 1066 1067
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1068 1069
};
struct remote_node_device_lookup_by_name_args {
1070
        remote_nonnull_string      name;
1071 1072
};
struct remote_node_device_lookup_by_name_ret {
1073
        remote_nonnull_node_device dev;
1074
};
1075
struct remote_node_device_get_xml_desc_args {
1076 1077
        remote_nonnull_string      name;
        u_int                      flags;
1078
};
1079
struct remote_node_device_get_xml_desc_ret {
1080
        remote_nonnull_string      xml;
1081 1082
};
struct remote_node_device_get_parent_args {
1083
        remote_nonnull_string      name;
1084 1085
};
struct remote_node_device_get_parent_ret {
1086
        remote_string              parent;
1087 1088
};
struct remote_node_device_num_of_caps_args {
1089
        remote_nonnull_string      name;
1090 1091
};
struct remote_node_device_num_of_caps_ret {
1092
        int                        num;
1093 1094
};
struct remote_node_device_list_caps_args {
1095 1096
        remote_nonnull_string      name;
        int                        maxnames;
1097 1098
};
struct remote_node_device_list_caps_ret {
1099 1100 1101 1102
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1103 1104
};
struct remote_node_device_dettach_args {
1105
        remote_nonnull_string      name;
1106 1107
};
struct remote_node_device_re_attach_args {
1108
        remote_nonnull_string      name;
1109 1110
};
struct remote_node_device_reset_args {
1111
        remote_nonnull_string      name;
1112 1113
};
struct remote_node_device_create_xml_args {
1114
        remote_nonnull_string      xml_desc;
1115
        u_int                      flags;
1116 1117
};
struct remote_node_device_create_xml_ret {
1118
        remote_nonnull_node_device dev;
1119 1120
};
struct remote_node_device_destroy_args {
1121
        remote_nonnull_string      name;
1122 1123
};
struct remote_domain_events_register_ret {
1124
        int                        cb_registered;
1125 1126
};
struct remote_domain_events_deregister_ret {
1127
        int                        cb_registered;
1128 1129
};
struct remote_domain_event_lifecycle_msg {
1130 1131 1132
        remote_nonnull_domain      dom;
        int                        event;
        int                        detail;
1133 1134
};
struct remote_domain_xml_from_native_args {
1135 1136 1137
        remote_nonnull_string      nativeFormat;
        remote_nonnull_string      nativeConfig;
        u_int                      flags;
1138 1139
};
struct remote_domain_xml_from_native_ret {
1140
        remote_nonnull_string      domainXml;
1141 1142
};
struct remote_domain_xml_to_native_args {
1143 1144 1145
        remote_nonnull_string      nativeFormat;
        remote_nonnull_string      domainXml;
        u_int                      flags;
1146 1147
};
struct remote_domain_xml_to_native_ret {
1148
        remote_nonnull_string      nativeConfig;
1149 1150
};
struct remote_num_of_secrets_ret {
1151
        int                        num;
1152 1153
};
struct remote_list_secrets_args {
1154
        int                        maxuuids;
1155 1156
};
struct remote_list_secrets_ret {
1157 1158 1159 1160
        struct {
                u_int              uuids_len;
                remote_nonnull_string * uuids_val;
        } uuids;
1161 1162
};
struct remote_secret_lookup_by_uuid_args {
1163
        remote_uuid                uuid;
1164 1165
};
struct remote_secret_lookup_by_uuid_ret {
1166
        remote_nonnull_secret      secret;
1167 1168
};
struct remote_secret_define_xml_args {
1169 1170
        remote_nonnull_string      xml;
        u_int                      flags;
1171 1172
};
struct remote_secret_define_xml_ret {
1173
        remote_nonnull_secret      secret;
1174 1175
};
struct remote_secret_get_xml_desc_args {
1176 1177
        remote_nonnull_secret      secret;
        u_int                      flags;
1178 1179
};
struct remote_secret_get_xml_desc_ret {
1180
        remote_nonnull_string      xml;
1181 1182
};
struct remote_secret_set_value_args {
1183 1184 1185 1186 1187 1188
        remote_nonnull_secret      secret;
        struct {
                u_int              value_len;
                char *             value_val;
        } value;
        u_int                      flags;
1189 1190
};
struct remote_secret_get_value_args {
1191 1192
        remote_nonnull_secret      secret;
        u_int                      flags;
1193 1194
};
struct remote_secret_get_value_ret {
1195 1196 1197 1198
        struct {
                u_int              value_len;
                char *             value_val;
        } value;
1199 1200
};
struct remote_secret_undefine_args {
1201
        remote_nonnull_secret      secret;
1202 1203
};
struct remote_secret_lookup_by_usage_args {
1204 1205
        int                        usageType;
        remote_nonnull_string      usageID;
1206 1207
};
struct remote_secret_lookup_by_usage_ret {
1208
        remote_nonnull_secret      secret;
1209 1210
};
struct remote_domain_migrate_prepare_tunnel_args {
1211 1212 1213 1214
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
        remote_nonnull_string      dom_xml;
1215 1216
};
struct remote_is_secure_ret {
1217
        int                        secure;
1218 1219
};
struct remote_domain_is_active_args {
1220
        remote_nonnull_domain      dom;
1221 1222
};
struct remote_domain_is_active_ret {
1223
        int                        active;
1224 1225
};
struct remote_domain_is_persistent_args {
1226
        remote_nonnull_domain      dom;
1227 1228
};
struct remote_domain_is_persistent_ret {
1229
        int                        persistent;
1230
};
O
Osier Yang 已提交
1231
struct remote_domain_is_updated_args {
1232
        remote_nonnull_domain      dom;
O
Osier Yang 已提交
1233 1234
};
struct remote_domain_is_updated_ret {
1235
        int                        updated;
O
Osier Yang 已提交
1236
};
1237
struct remote_network_is_active_args {
1238
        remote_nonnull_network     net;
1239 1240
};
struct remote_network_is_active_ret {
1241
        int                        active;
1242 1243
};
struct remote_network_is_persistent_args {
1244
        remote_nonnull_network     net;
1245 1246
};
struct remote_network_is_persistent_ret {
1247
        int                        persistent;
1248 1249
};
struct remote_storage_pool_is_active_args {
1250
        remote_nonnull_storage_pool pool;
1251 1252
};
struct remote_storage_pool_is_active_ret {
1253
        int                        active;
1254 1255
};
struct remote_storage_pool_is_persistent_args {
1256
        remote_nonnull_storage_pool pool;
1257 1258
};
struct remote_storage_pool_is_persistent_ret {
1259
        int                        persistent;
1260 1261
};
struct remote_interface_is_active_args {
1262
        remote_nonnull_interface   iface;
1263 1264
};
struct remote_interface_is_active_ret {
1265
        int                        active;
1266 1267
};
struct remote_cpu_compare_args {
1268 1269
        remote_nonnull_string      xml;
        u_int                      flags;
1270 1271
};
struct remote_cpu_compare_ret {
1272
        int                        result;
1273 1274
};
struct remote_cpu_baseline_args {
1275 1276 1277 1278 1279
        struct {
                u_int              xmlCPUs_len;
                remote_nonnull_string * xmlCPUs_val;
        } xmlCPUs;
        u_int                      flags;
1280 1281
};
struct remote_cpu_baseline_ret {
1282
        remote_nonnull_string      cpu;
1283 1284
};
struct remote_domain_get_job_info_args {
1285
        remote_nonnull_domain      dom;
1286 1287
};
struct remote_domain_get_job_info_ret {
1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299
        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;
1300 1301
};
struct remote_domain_abort_job_args {
1302
        remote_nonnull_domain      dom;
1303 1304
};
struct remote_domain_migrate_set_max_downtime_args {
1305 1306 1307
        remote_nonnull_domain      dom;
        uint64_t                   downtime;
        u_int                      flags;
1308
};
1309
struct remote_domain_migrate_set_max_speed_args {
1310 1311 1312
        remote_nonnull_domain      dom;
        uint64_t                   bandwidth;
        u_int                      flags;
1313
};
1314
struct remote_domain_events_register_any_args {
1315
        int                        eventID;
1316 1317
};
struct remote_domain_events_deregister_any_args {
1318
        int                        eventID;
1319 1320
};
struct remote_domain_event_reboot_msg {
1321
        remote_nonnull_domain      dom;
1322 1323
};
struct remote_domain_event_rtc_change_msg {
1324 1325
        remote_nonnull_domain      dom;
        int64_t                    offset;
1326 1327
};
struct remote_domain_event_watchdog_msg {
1328 1329
        remote_nonnull_domain      dom;
        int                        action;
1330 1331
};
struct remote_domain_event_io_error_msg {
1332 1333 1334 1335
        remote_nonnull_domain      dom;
        remote_nonnull_string      srcPath;
        remote_nonnull_string      devAlias;
        int                        action;
1336 1337
};
struct remote_domain_event_io_error_reason_msg {
1338 1339 1340 1341 1342
        remote_nonnull_domain      dom;
        remote_nonnull_string      srcPath;
        remote_nonnull_string      devAlias;
        int                        action;
        remote_nonnull_string      reason;
1343 1344
};
struct remote_domain_event_graphics_address {
1345 1346 1347
        int                        family;
        remote_nonnull_string      node;
        remote_nonnull_string      service;
1348 1349
};
struct remote_domain_event_graphics_identity {
1350 1351
        remote_nonnull_string      type;
        remote_nonnull_string      name;
1352 1353
};
struct remote_domain_event_graphics_msg {
1354 1355 1356 1357 1358 1359 1360 1361 1362
        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;
1363 1364
};
struct remote_domain_managed_save_args {
1365 1366
        remote_nonnull_domain      dom;
        u_int                      flags;
1367 1368
};
struct remote_domain_has_managed_save_image_args {
1369 1370
        remote_nonnull_domain      dom;
        u_int                      flags;
1371 1372
};
struct remote_domain_has_managed_save_image_ret {
1373
        int                        result;
1374 1375
};
struct remote_domain_managed_save_remove_args {
1376 1377
        remote_nonnull_domain      dom;
        u_int                      flags;
1378 1379
};
struct remote_domain_snapshot_create_xml_args {
1380
        remote_nonnull_domain      dom;
1381
        remote_nonnull_string      xml_desc;
1382
        u_int                      flags;
1383 1384
};
struct remote_domain_snapshot_create_xml_ret {
1385
        remote_nonnull_domain_snapshot snap;
1386
};
1387
struct remote_domain_snapshot_get_xml_desc_args {
1388
        remote_nonnull_domain_snapshot snap;
1389
        u_int                      flags;
1390
};
1391
struct remote_domain_snapshot_get_xml_desc_ret {
1392
        remote_nonnull_string      xml;
1393 1394
};
struct remote_domain_snapshot_num_args {
1395
        remote_nonnull_domain      dom;
1396
        u_int                      flags;
1397 1398
};
struct remote_domain_snapshot_num_ret {
1399
        int                        num;
1400 1401
};
struct remote_domain_snapshot_list_names_args {
1402
        remote_nonnull_domain      dom;
1403
        int                        maxnames;
1404
        u_int                      flags;
1405 1406
};
struct remote_domain_snapshot_list_names_ret {
1407 1408 1409 1410
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1411 1412
};
struct remote_domain_snapshot_lookup_by_name_args {
1413
        remote_nonnull_domain      dom;
1414
        remote_nonnull_string      name;
1415
        u_int                      flags;
1416 1417
};
struct remote_domain_snapshot_lookup_by_name_ret {
1418
        remote_nonnull_domain_snapshot snap;
1419 1420
};
struct remote_domain_has_current_snapshot_args {
1421
        remote_nonnull_domain      dom;
1422
        u_int                      flags;
1423 1424
};
struct remote_domain_has_current_snapshot_ret {
1425
        int                        result;
1426 1427
};
struct remote_domain_snapshot_current_args {
1428
        remote_nonnull_domain      dom;
1429
        u_int                      flags;
1430 1431
};
struct remote_domain_snapshot_current_ret {
1432
        remote_nonnull_domain_snapshot snap;
1433 1434
};
struct remote_domain_revert_to_snapshot_args {
1435
        remote_nonnull_domain_snapshot snap;
1436
        u_int                      flags;
1437 1438
};
struct remote_domain_snapshot_delete_args {
1439
        remote_nonnull_domain_snapshot snap;
1440
        u_int                      flags;
1441
};
1442
struct remote_domain_open_console_args {
1443
        remote_nonnull_domain      dom;
1444 1445
        remote_string              devname;
        u_int                      flags;
1446
};
1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458
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;
};
1459 1460 1461 1462 1463 1464 1465 1466
struct remote_domain_get_state_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
struct remote_domain_get_state_ret {
        int                        state;
        int                        reason;
};
1467 1468
struct remote_domain_migrate_begin3_args {
        remote_nonnull_domain      dom;
1469
        remote_string              xmlin;
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 1508 1509 1510 1511 1512 1513 1514 1515 1516
        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;
1517
        remote_string              xmlin;
1518 1519 1520 1521
        struct {
                u_int              cookie_in_len;
                char *             cookie_in_val;
        } cookie_in;
1522 1523
        remote_string              dconnuri;
        remote_string              uri;
1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539
        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;
1540 1541
        remote_string              dconnuri;
        remote_string              uri;
1542 1543 1544 1545
        uint64_t                   flags;
        int                        cancelled;
};
struct remote_domain_migrate_finish3_ret {
1546
        remote_nonnull_domain      dom;
1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560
        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;
};
1561
struct remote_message_header {
1562 1563 1564 1565 1566 1567
        u_int                      prog;
        u_int                      vers;
        int                        proc;
        remote_message_type        type;
        u_int                      serial;
        remote_message_status      status;
1568
};