remote_protocol-structs 50.5 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 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684
struct remote_domain_block_pull_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        u_int                      flags;
};
struct remote_domain_block_pull_ret {
        uint64_t                   cur;
        uint64_t                   end;
};
struct remote_domain_block_pull_all_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        u_int                      flags;
};
struct remote_domain_block_pull_abort_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        u_int                      flags;
};
struct remote_domain_get_block_pull_info_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        u_int                      flags;
};
struct remote_domain_get_block_pull_info_ret {
        uint64_t                   cur;
        uint64_t                   end;
};
685
struct remote_num_of_networks_ret {
686
        int                        num;
687 688
};
struct remote_list_networks_args {
689
        int                        maxnames;
690 691
};
struct remote_list_networks_ret {
692 693 694 695
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
696 697
};
struct remote_num_of_defined_networks_ret {
698
        int                        num;
699 700
};
struct remote_list_defined_networks_args {
701
        int                        maxnames;
702 703
};
struct remote_list_defined_networks_ret {
704 705 706 707
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
708 709
};
struct remote_network_lookup_by_uuid_args {
710
        remote_uuid                uuid;
711 712
};
struct remote_network_lookup_by_uuid_ret {
713
        remote_nonnull_network     net;
714 715
};
struct remote_network_lookup_by_name_args {
716
        remote_nonnull_string      name;
717 718
};
struct remote_network_lookup_by_name_ret {
719
        remote_nonnull_network     net;
720 721
};
struct remote_network_create_xml_args {
722
        remote_nonnull_string      xml;
723 724
};
struct remote_network_create_xml_ret {
725
        remote_nonnull_network     net;
726 727
};
struct remote_network_define_xml_args {
728
        remote_nonnull_string      xml;
729 730
};
struct remote_network_define_xml_ret {
731
        remote_nonnull_network     net;
732 733
};
struct remote_network_undefine_args {
734
        remote_nonnull_network     net;
735 736
};
struct remote_network_create_args {
737
        remote_nonnull_network     net;
738 739
};
struct remote_network_destroy_args {
740
        remote_nonnull_network     net;
741
};
742
struct remote_network_get_xml_desc_args {
743 744
        remote_nonnull_network     net;
        int                        flags;
745
};
746
struct remote_network_get_xml_desc_ret {
747
        remote_nonnull_string      xml;
748 749
};
struct remote_network_get_bridge_name_args {
750
        remote_nonnull_network     net;
751 752
};
struct remote_network_get_bridge_name_ret {
753
        remote_nonnull_string      name;
754 755
};
struct remote_network_get_autostart_args {
756
        remote_nonnull_network     net;
757 758
};
struct remote_network_get_autostart_ret {
759
        int                        autostart;
760 761
};
struct remote_network_set_autostart_args {
762 763
        remote_nonnull_network     net;
        int                        autostart;
764 765
};
struct remote_num_of_nwfilters_ret {
766
        int                        num;
767 768
};
struct remote_list_nwfilters_args {
769
        int                        maxnames;
770 771
};
struct remote_list_nwfilters_ret {
772 773 774 775
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
776 777
};
struct remote_nwfilter_lookup_by_uuid_args {
778
        remote_uuid                uuid;
779 780
};
struct remote_nwfilter_lookup_by_uuid_ret {
781
        remote_nonnull_nwfilter    nwfilter;
782 783
};
struct remote_nwfilter_lookup_by_name_args {
784
        remote_nonnull_string      name;
785 786
};
struct remote_nwfilter_lookup_by_name_ret {
787
        remote_nonnull_nwfilter    nwfilter;
788 789
};
struct remote_nwfilter_define_xml_args {
790
        remote_nonnull_string      xml;
791 792
};
struct remote_nwfilter_define_xml_ret {
793
        remote_nonnull_nwfilter    nwfilter;
794 795
};
struct remote_nwfilter_undefine_args {
796
        remote_nonnull_nwfilter    nwfilter;
797 798
};
struct remote_nwfilter_get_xml_desc_args {
799 800
        remote_nonnull_nwfilter    nwfilter;
        int                        flags;
801 802
};
struct remote_nwfilter_get_xml_desc_ret {
803
        remote_nonnull_string      xml;
804 805
};
struct remote_num_of_interfaces_ret {
806
        int                        num;
807 808
};
struct remote_list_interfaces_args {
809
        int                        maxnames;
810 811
};
struct remote_list_interfaces_ret {
812 813 814 815
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
816 817
};
struct remote_num_of_defined_interfaces_ret {
818
        int                        num;
819 820
};
struct remote_list_defined_interfaces_args {
821
        int                        maxnames;
822 823
};
struct remote_list_defined_interfaces_ret {
824 825 826 827
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
828 829
};
struct remote_interface_lookup_by_name_args {
830
        remote_nonnull_string      name;
831 832
};
struct remote_interface_lookup_by_name_ret {
833
        remote_nonnull_interface   iface;
834 835
};
struct remote_interface_lookup_by_mac_string_args {
836
        remote_nonnull_string      mac;
837 838
};
struct remote_interface_lookup_by_mac_string_ret {
839
        remote_nonnull_interface   iface;
840 841
};
struct remote_interface_get_xml_desc_args {
842 843
        remote_nonnull_interface   iface;
        u_int                      flags;
844 845
};
struct remote_interface_get_xml_desc_ret {
846
        remote_nonnull_string      xml;
847 848
};
struct remote_interface_define_xml_args {
849 850
        remote_nonnull_string      xml;
        u_int                      flags;
851 852
};
struct remote_interface_define_xml_ret {
853
        remote_nonnull_interface   iface;
854 855
};
struct remote_interface_undefine_args {
856
        remote_nonnull_interface   iface;
857 858
};
struct remote_interface_create_args {
859 860
        remote_nonnull_interface   iface;
        u_int                      flags;
861 862
};
struct remote_interface_destroy_args {
863 864
        remote_nonnull_interface   iface;
        u_int                      flags;
865
};
866
struct remote_interface_change_begin_args {
D
Daniel Veillard 已提交
867
        u_int                      flags;
868 869
};
struct remote_interface_change_commit_args {
D
Daniel Veillard 已提交
870
        u_int                      flags;
871 872
};
struct remote_interface_change_rollback_args {
D
Daniel Veillard 已提交
873
        u_int                      flags;
874
};
875
struct remote_auth_list_ret {
876 877 878 879
        struct {
                u_int              types_len;
                remote_auth_type * types_val;
        } types;
880 881
};
struct remote_auth_sasl_init_ret {
882
        remote_nonnull_string      mechlist;
883 884
};
struct remote_auth_sasl_start_args {
885 886 887 888 889 890
        remote_nonnull_string      mech;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
891 892
};
struct remote_auth_sasl_start_ret {
893 894 895 896 897 898
        int                        complete;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
899 900
};
struct remote_auth_sasl_step_args {
901 902 903 904 905
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
906 907
};
struct remote_auth_sasl_step_ret {
908 909 910 911 912 913
        int                        complete;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
914 915
};
struct remote_auth_polkit_ret {
916
        int                        complete;
917 918
};
struct remote_num_of_storage_pools_ret {
919
        int                        num;
920 921
};
struct remote_list_storage_pools_args {
922
        int                        maxnames;
923 924
};
struct remote_list_storage_pools_ret {
925 926 927 928
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
929 930
};
struct remote_num_of_defined_storage_pools_ret {
931
        int                        num;
932 933
};
struct remote_list_defined_storage_pools_args {
934
        int                        maxnames;
935 936
};
struct remote_list_defined_storage_pools_ret {
937 938 939 940
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
941 942
};
struct remote_find_storage_pool_sources_args {
943 944 945
        remote_nonnull_string      type;
        remote_string              srcSpec;
        u_int                      flags;
946 947
};
struct remote_find_storage_pool_sources_ret {
948
        remote_nonnull_string      xml;
949 950
};
struct remote_storage_pool_lookup_by_uuid_args {
951
        remote_uuid                uuid;
952 953
};
struct remote_storage_pool_lookup_by_uuid_ret {
954
        remote_nonnull_storage_pool pool;
955 956
};
struct remote_storage_pool_lookup_by_name_args {
957
        remote_nonnull_string      name;
958 959
};
struct remote_storage_pool_lookup_by_name_ret {
960
        remote_nonnull_storage_pool pool;
961 962
};
struct remote_storage_pool_lookup_by_volume_args {
963
        remote_nonnull_storage_vol vol;
964 965
};
struct remote_storage_pool_lookup_by_volume_ret {
966
        remote_nonnull_storage_pool pool;
967 968
};
struct remote_storage_pool_create_xml_args {
969 970
        remote_nonnull_string      xml;
        u_int                      flags;
971 972
};
struct remote_storage_pool_create_xml_ret {
973
        remote_nonnull_storage_pool pool;
974 975
};
struct remote_storage_pool_define_xml_args {
976 977
        remote_nonnull_string      xml;
        u_int                      flags;
978 979
};
struct remote_storage_pool_define_xml_ret {
980
        remote_nonnull_storage_pool pool;
981 982
};
struct remote_storage_pool_build_args {
983 984
        remote_nonnull_storage_pool pool;
        u_int                      flags;
985 986
};
struct remote_storage_pool_undefine_args {
987
        remote_nonnull_storage_pool pool;
988 989
};
struct remote_storage_pool_create_args {
990 991
        remote_nonnull_storage_pool pool;
        u_int                      flags;
992 993
};
struct remote_storage_pool_destroy_args {
994
        remote_nonnull_storage_pool pool;
995 996
};
struct remote_storage_pool_delete_args {
997 998
        remote_nonnull_storage_pool pool;
        u_int                      flags;
999 1000
};
struct remote_storage_pool_refresh_args {
1001 1002
        remote_nonnull_storage_pool pool;
        u_int                      flags;
1003
};
1004
struct remote_storage_pool_get_xml_desc_args {
1005 1006
        remote_nonnull_storage_pool pool;
        u_int                      flags;
1007
};
1008
struct remote_storage_pool_get_xml_desc_ret {
1009
        remote_nonnull_string      xml;
1010 1011
};
struct remote_storage_pool_get_info_args {
1012
        remote_nonnull_storage_pool pool;
1013 1014
};
struct remote_storage_pool_get_info_ret {
1015 1016 1017 1018
        u_char                     state;
        uint64_t                   capacity;
        uint64_t                   allocation;
        uint64_t                   available;
1019 1020
};
struct remote_storage_pool_get_autostart_args {
1021
        remote_nonnull_storage_pool pool;
1022 1023
};
struct remote_storage_pool_get_autostart_ret {
1024
        int                        autostart;
1025 1026
};
struct remote_storage_pool_set_autostart_args {
1027 1028
        remote_nonnull_storage_pool pool;
        int                        autostart;
1029 1030
};
struct remote_storage_pool_num_of_volumes_args {
1031
        remote_nonnull_storage_pool pool;
1032 1033
};
struct remote_storage_pool_num_of_volumes_ret {
1034
        int                        num;
1035 1036
};
struct remote_storage_pool_list_volumes_args {
1037 1038
        remote_nonnull_storage_pool pool;
        int                        maxnames;
1039 1040
};
struct remote_storage_pool_list_volumes_ret {
1041 1042 1043 1044
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1045 1046
};
struct remote_storage_vol_lookup_by_name_args {
1047 1048
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      name;
1049 1050
};
struct remote_storage_vol_lookup_by_name_ret {
1051
        remote_nonnull_storage_vol vol;
1052 1053
};
struct remote_storage_vol_lookup_by_key_args {
1054
        remote_nonnull_string      key;
1055 1056
};
struct remote_storage_vol_lookup_by_key_ret {
1057
        remote_nonnull_storage_vol vol;
1058 1059
};
struct remote_storage_vol_lookup_by_path_args {
1060
        remote_nonnull_string      path;
1061 1062
};
struct remote_storage_vol_lookup_by_path_ret {
1063
        remote_nonnull_storage_vol vol;
1064 1065
};
struct remote_storage_vol_create_xml_args {
1066 1067 1068
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      xml;
        u_int                      flags;
1069 1070
};
struct remote_storage_vol_create_xml_ret {
1071
        remote_nonnull_storage_vol vol;
1072 1073
};
struct remote_storage_vol_create_xml_from_args {
1074 1075 1076 1077
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      xml;
        remote_nonnull_storage_vol clonevol;
        u_int                      flags;
1078 1079
};
struct remote_storage_vol_create_xml_from_ret {
1080
        remote_nonnull_storage_vol vol;
1081 1082
};
struct remote_storage_vol_delete_args {
1083 1084
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1085 1086
};
struct remote_storage_vol_wipe_args {
1087 1088
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1089
};
1090
struct remote_storage_vol_get_xml_desc_args {
1091 1092
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1093
};
1094
struct remote_storage_vol_get_xml_desc_ret {
1095
        remote_nonnull_string      xml;
1096 1097
};
struct remote_storage_vol_get_info_args {
1098
        remote_nonnull_storage_vol vol;
1099 1100
};
struct remote_storage_vol_get_info_ret {
1101 1102 1103
        char                       type;
        uint64_t                   capacity;
        uint64_t                   allocation;
1104 1105
};
struct remote_storage_vol_get_path_args {
1106
        remote_nonnull_storage_vol vol;
1107 1108
};
struct remote_storage_vol_get_path_ret {
1109
        remote_nonnull_string      name;
1110 1111
};
struct remote_node_num_of_devices_args {
1112 1113
        remote_string              cap;
        u_int                      flags;
1114 1115
};
struct remote_node_num_of_devices_ret {
1116
        int                        num;
1117 1118
};
struct remote_node_list_devices_args {
1119 1120 1121
        remote_string              cap;
        int                        maxnames;
        u_int                      flags;
1122 1123
};
struct remote_node_list_devices_ret {
1124 1125 1126 1127
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1128 1129
};
struct remote_node_device_lookup_by_name_args {
1130
        remote_nonnull_string      name;
1131 1132
};
struct remote_node_device_lookup_by_name_ret {
1133
        remote_nonnull_node_device dev;
1134
};
1135
struct remote_node_device_get_xml_desc_args {
1136 1137
        remote_nonnull_string      name;
        u_int                      flags;
1138
};
1139
struct remote_node_device_get_xml_desc_ret {
1140
        remote_nonnull_string      xml;
1141 1142
};
struct remote_node_device_get_parent_args {
1143
        remote_nonnull_string      name;
1144 1145
};
struct remote_node_device_get_parent_ret {
1146
        remote_string              parent;
1147 1148
};
struct remote_node_device_num_of_caps_args {
1149
        remote_nonnull_string      name;
1150 1151
};
struct remote_node_device_num_of_caps_ret {
1152
        int                        num;
1153 1154
};
struct remote_node_device_list_caps_args {
1155 1156
        remote_nonnull_string      name;
        int                        maxnames;
1157 1158
};
struct remote_node_device_list_caps_ret {
1159 1160 1161 1162
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1163 1164
};
struct remote_node_device_dettach_args {
1165
        remote_nonnull_string      name;
1166 1167
};
struct remote_node_device_re_attach_args {
1168
        remote_nonnull_string      name;
1169 1170
};
struct remote_node_device_reset_args {
1171
        remote_nonnull_string      name;
1172 1173
};
struct remote_node_device_create_xml_args {
1174
        remote_nonnull_string      xml_desc;
1175
        u_int                      flags;
1176 1177
};
struct remote_node_device_create_xml_ret {
1178
        remote_nonnull_node_device dev;
1179 1180
};
struct remote_node_device_destroy_args {
1181
        remote_nonnull_string      name;
1182 1183
};
struct remote_domain_events_register_ret {
1184
        int                        cb_registered;
1185 1186
};
struct remote_domain_events_deregister_ret {
1187
        int                        cb_registered;
1188 1189
};
struct remote_domain_event_lifecycle_msg {
1190 1191 1192
        remote_nonnull_domain      dom;
        int                        event;
        int                        detail;
1193 1194
};
struct remote_domain_xml_from_native_args {
1195 1196 1197
        remote_nonnull_string      nativeFormat;
        remote_nonnull_string      nativeConfig;
        u_int                      flags;
1198 1199
};
struct remote_domain_xml_from_native_ret {
1200
        remote_nonnull_string      domainXml;
1201 1202
};
struct remote_domain_xml_to_native_args {
1203 1204 1205
        remote_nonnull_string      nativeFormat;
        remote_nonnull_string      domainXml;
        u_int                      flags;
1206 1207
};
struct remote_domain_xml_to_native_ret {
1208
        remote_nonnull_string      nativeConfig;
1209 1210
};
struct remote_num_of_secrets_ret {
1211
        int                        num;
1212 1213
};
struct remote_list_secrets_args {
1214
        int                        maxuuids;
1215 1216
};
struct remote_list_secrets_ret {
1217 1218 1219 1220
        struct {
                u_int              uuids_len;
                remote_nonnull_string * uuids_val;
        } uuids;
1221 1222
};
struct remote_secret_lookup_by_uuid_args {
1223
        remote_uuid                uuid;
1224 1225
};
struct remote_secret_lookup_by_uuid_ret {
1226
        remote_nonnull_secret      secret;
1227 1228
};
struct remote_secret_define_xml_args {
1229 1230
        remote_nonnull_string      xml;
        u_int                      flags;
1231 1232
};
struct remote_secret_define_xml_ret {
1233
        remote_nonnull_secret      secret;
1234 1235
};
struct remote_secret_get_xml_desc_args {
1236 1237
        remote_nonnull_secret      secret;
        u_int                      flags;
1238 1239
};
struct remote_secret_get_xml_desc_ret {
1240
        remote_nonnull_string      xml;
1241 1242
};
struct remote_secret_set_value_args {
1243 1244 1245 1246 1247 1248
        remote_nonnull_secret      secret;
        struct {
                u_int              value_len;
                char *             value_val;
        } value;
        u_int                      flags;
1249 1250
};
struct remote_secret_get_value_args {
1251 1252
        remote_nonnull_secret      secret;
        u_int                      flags;
1253 1254
};
struct remote_secret_get_value_ret {
1255 1256 1257 1258
        struct {
                u_int              value_len;
                char *             value_val;
        } value;
1259 1260
};
struct remote_secret_undefine_args {
1261
        remote_nonnull_secret      secret;
1262 1263
};
struct remote_secret_lookup_by_usage_args {
1264 1265
        int                        usageType;
        remote_nonnull_string      usageID;
1266 1267
};
struct remote_secret_lookup_by_usage_ret {
1268
        remote_nonnull_secret      secret;
1269 1270
};
struct remote_domain_migrate_prepare_tunnel_args {
1271 1272 1273 1274
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
        remote_nonnull_string      dom_xml;
1275 1276
};
struct remote_is_secure_ret {
1277
        int                        secure;
1278 1279
};
struct remote_domain_is_active_args {
1280
        remote_nonnull_domain      dom;
1281 1282
};
struct remote_domain_is_active_ret {
1283
        int                        active;
1284 1285
};
struct remote_domain_is_persistent_args {
1286
        remote_nonnull_domain      dom;
1287 1288
};
struct remote_domain_is_persistent_ret {
1289
        int                        persistent;
1290
};
O
Osier Yang 已提交
1291
struct remote_domain_is_updated_args {
1292
        remote_nonnull_domain      dom;
O
Osier Yang 已提交
1293 1294
};
struct remote_domain_is_updated_ret {
1295
        int                        updated;
O
Osier Yang 已提交
1296
};
1297
struct remote_network_is_active_args {
1298
        remote_nonnull_network     net;
1299 1300
};
struct remote_network_is_active_ret {
1301
        int                        active;
1302 1303
};
struct remote_network_is_persistent_args {
1304
        remote_nonnull_network     net;
1305 1306
};
struct remote_network_is_persistent_ret {
1307
        int                        persistent;
1308 1309
};
struct remote_storage_pool_is_active_args {
1310
        remote_nonnull_storage_pool pool;
1311 1312
};
struct remote_storage_pool_is_active_ret {
1313
        int                        active;
1314 1315
};
struct remote_storage_pool_is_persistent_args {
1316
        remote_nonnull_storage_pool pool;
1317 1318
};
struct remote_storage_pool_is_persistent_ret {
1319
        int                        persistent;
1320 1321
};
struct remote_interface_is_active_args {
1322
        remote_nonnull_interface   iface;
1323 1324
};
struct remote_interface_is_active_ret {
1325
        int                        active;
1326 1327
};
struct remote_cpu_compare_args {
1328 1329
        remote_nonnull_string      xml;
        u_int                      flags;
1330 1331
};
struct remote_cpu_compare_ret {
1332
        int                        result;
1333 1334
};
struct remote_cpu_baseline_args {
1335 1336 1337 1338 1339
        struct {
                u_int              xmlCPUs_len;
                remote_nonnull_string * xmlCPUs_val;
        } xmlCPUs;
        u_int                      flags;
1340 1341
};
struct remote_cpu_baseline_ret {
1342
        remote_nonnull_string      cpu;
1343 1344
};
struct remote_domain_get_job_info_args {
1345
        remote_nonnull_domain      dom;
1346 1347
};
struct remote_domain_get_job_info_ret {
1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359
        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;
1360 1361
};
struct remote_domain_abort_job_args {
1362
        remote_nonnull_domain      dom;
1363 1364
};
struct remote_domain_migrate_set_max_downtime_args {
1365 1366 1367
        remote_nonnull_domain      dom;
        uint64_t                   downtime;
        u_int                      flags;
1368
};
1369
struct remote_domain_migrate_set_max_speed_args {
1370 1371 1372
        remote_nonnull_domain      dom;
        uint64_t                   bandwidth;
        u_int                      flags;
1373
};
1374
struct remote_domain_events_register_any_args {
1375
        int                        eventID;
1376 1377
};
struct remote_domain_events_deregister_any_args {
1378
        int                        eventID;
1379 1380
};
struct remote_domain_event_reboot_msg {
1381
        remote_nonnull_domain      dom;
1382 1383
};
struct remote_domain_event_rtc_change_msg {
1384 1385
        remote_nonnull_domain      dom;
        int64_t                    offset;
1386 1387
};
struct remote_domain_event_watchdog_msg {
1388 1389
        remote_nonnull_domain      dom;
        int                        action;
1390 1391
};
struct remote_domain_event_io_error_msg {
1392 1393 1394 1395
        remote_nonnull_domain      dom;
        remote_nonnull_string      srcPath;
        remote_nonnull_string      devAlias;
        int                        action;
1396 1397
};
struct remote_domain_event_io_error_reason_msg {
1398 1399 1400 1401 1402
        remote_nonnull_domain      dom;
        remote_nonnull_string      srcPath;
        remote_nonnull_string      devAlias;
        int                        action;
        remote_nonnull_string      reason;
1403 1404
};
struct remote_domain_event_graphics_address {
1405 1406 1407
        int                        family;
        remote_nonnull_string      node;
        remote_nonnull_string      service;
1408 1409
};
struct remote_domain_event_graphics_identity {
1410 1411
        remote_nonnull_string      type;
        remote_nonnull_string      name;
1412 1413
};
struct remote_domain_event_graphics_msg {
1414 1415 1416 1417 1418 1419 1420 1421 1422
        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;
1423 1424
};
struct remote_domain_managed_save_args {
1425 1426
        remote_nonnull_domain      dom;
        u_int                      flags;
1427 1428
};
struct remote_domain_has_managed_save_image_args {
1429 1430
        remote_nonnull_domain      dom;
        u_int                      flags;
1431 1432
};
struct remote_domain_has_managed_save_image_ret {
1433
        int                        result;
1434 1435
};
struct remote_domain_managed_save_remove_args {
1436 1437
        remote_nonnull_domain      dom;
        u_int                      flags;
1438 1439
};
struct remote_domain_snapshot_create_xml_args {
1440
        remote_nonnull_domain      dom;
1441
        remote_nonnull_string      xml_desc;
1442
        u_int                      flags;
1443 1444
};
struct remote_domain_snapshot_create_xml_ret {
1445
        remote_nonnull_domain_snapshot snap;
1446
};
1447
struct remote_domain_snapshot_get_xml_desc_args {
1448
        remote_nonnull_domain_snapshot snap;
1449
        u_int                      flags;
1450
};
1451
struct remote_domain_snapshot_get_xml_desc_ret {
1452
        remote_nonnull_string      xml;
1453 1454
};
struct remote_domain_snapshot_num_args {
1455
        remote_nonnull_domain      dom;
1456
        u_int                      flags;
1457 1458
};
struct remote_domain_snapshot_num_ret {
1459
        int                        num;
1460 1461
};
struct remote_domain_snapshot_list_names_args {
1462
        remote_nonnull_domain      dom;
1463
        int                        maxnames;
1464
        u_int                      flags;
1465 1466
};
struct remote_domain_snapshot_list_names_ret {
1467 1468 1469 1470
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1471 1472
};
struct remote_domain_snapshot_lookup_by_name_args {
1473
        remote_nonnull_domain      dom;
1474
        remote_nonnull_string      name;
1475
        u_int                      flags;
1476 1477
};
struct remote_domain_snapshot_lookup_by_name_ret {
1478
        remote_nonnull_domain_snapshot snap;
1479 1480
};
struct remote_domain_has_current_snapshot_args {
1481
        remote_nonnull_domain      dom;
1482
        u_int                      flags;
1483 1484
};
struct remote_domain_has_current_snapshot_ret {
1485
        int                        result;
1486 1487
};
struct remote_domain_snapshot_current_args {
1488
        remote_nonnull_domain      dom;
1489
        u_int                      flags;
1490 1491
};
struct remote_domain_snapshot_current_ret {
1492
        remote_nonnull_domain_snapshot snap;
1493 1494
};
struct remote_domain_revert_to_snapshot_args {
1495
        remote_nonnull_domain_snapshot snap;
1496
        u_int                      flags;
1497 1498
};
struct remote_domain_snapshot_delete_args {
1499
        remote_nonnull_domain_snapshot snap;
1500
        u_int                      flags;
1501
};
1502
struct remote_domain_open_console_args {
1503
        remote_nonnull_domain      dom;
1504 1505
        remote_string              devname;
        u_int                      flags;
1506
};
1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518
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;
};
1519 1520 1521 1522 1523 1524 1525 1526
struct remote_domain_get_state_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
struct remote_domain_get_state_ret {
        int                        state;
        int                        reason;
};
1527 1528
struct remote_domain_migrate_begin3_args {
        remote_nonnull_domain      dom;
1529
        remote_string              xmlin;
1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576
        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;
1577
        remote_string              xmlin;
1578 1579 1580 1581
        struct {
                u_int              cookie_in_len;
                char *             cookie_in_val;
        } cookie_in;
1582 1583
        remote_string              dconnuri;
        remote_string              uri;
1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599
        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;
1600 1601
        remote_string              dconnuri;
        remote_string              uri;
1602 1603 1604 1605
        uint64_t                   flags;
        int                        cancelled;
};
struct remote_domain_migrate_finish3_ret {
1606
        remote_nonnull_domain      dom;
1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620
        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;
};
1621 1622 1623
struct remote_domain_event_control_error_msg {
        remote_nonnull_domain      dom;
};
1624
struct remote_message_header {
1625 1626 1627 1628 1629 1630
        u_int                      prog;
        u_int                      vers;
        int                        proc;
        remote_message_type        type;
        u_int                      serial;
        remote_message_status      status;
1631
};