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