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