remote_protocol-structs 102.9 KB
Newer Older
1
/* -*- c -*- */
2 3 4 5 6 7 8
enum {
        VIR_TYPED_PARAM_INT = 1,
        VIR_TYPED_PARAM_UINT = 2,
        VIR_TYPED_PARAM_LLONG = 3,
        VIR_TYPED_PARAM_ULLONG = 4,
        VIR_TYPED_PARAM_DOUBLE = 5,
        VIR_TYPED_PARAM_BOOLEAN = 6,
9
        VIR_TYPED_PARAM_STRING = 7,
10
};
11
struct remote_nonnull_domain {
12 13 14
        remote_nonnull_string      name;
        remote_uuid                uuid;
        int                        id;
15 16
};
struct remote_nonnull_network {
17 18
        remote_nonnull_string      name;
        remote_uuid                uuid;
19 20
};
struct remote_nonnull_nwfilter {
21 22
        remote_nonnull_string      name;
        remote_uuid                uuid;
23 24
};
struct remote_nonnull_interface {
25 26
        remote_nonnull_string      name;
        remote_nonnull_string      mac;
27 28
};
struct remote_nonnull_storage_pool {
29 30
        remote_nonnull_string      name;
        remote_uuid                uuid;
31 32
};
struct remote_nonnull_storage_vol {
33 34 35
        remote_nonnull_string      pool;
        remote_nonnull_string      name;
        remote_nonnull_string      key;
36 37
};
struct remote_nonnull_node_device {
38
        remote_nonnull_string      name;
39 40
};
struct remote_nonnull_secret {
41 42 43
        remote_uuid                uuid;
        int                        usageType;
        remote_nonnull_string      usageID;
44 45
};
struct remote_nonnull_domain_snapshot {
46
        remote_nonnull_string      name;
47
        remote_nonnull_domain      dom;
48 49
};
struct remote_error {
50 51 52 53 54 55 56 57 58 59 60
        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;
61
};
62 63 64 65 66
enum remote_auth_type {
        REMOTE_AUTH_NONE = 0,
        REMOTE_AUTH_SASL = 1,
        REMOTE_AUTH_POLKIT = 2,
};
67
struct remote_vcpu_info {
68 69 70 71
        u_int                      number;
        int                        state;
        uint64_t                   cpu_time;
        int                        cpu;
72
};
73
struct remote_typed_param_value {
74 75 76 77 78 79 80 81
        int                        type;
        union {
                int                i;
                u_int              ui;
                int64_t            l;
                uint64_t           ul;
                double             d;
                int                b;
82
                remote_nonnull_string s;
83
        } remote_typed_param_value_u;
84
};
85
struct remote_typed_param {
86
        remote_nonnull_string      field;
87
        remote_typed_param_value   value;
88
};
89 90 91 92
struct remote_node_get_cpu_stats {
        remote_nonnull_string      field;
        uint64_t                   value;
};
93 94 95 96
struct remote_node_get_memory_stats {
        remote_nonnull_string      field;
        uint64_t                   value;
};
97 98 99 100
struct remote_domain_disk_error {
        remote_nonnull_string      disk;
        int                        error;
};
101
struct remote_connect_open_args {
102
        remote_string              name;
103
        u_int                      flags;
104
};
105
struct remote_connect_supports_feature_args {
106
        int                        feature;
107
};
108
struct remote_connect_supports_feature_ret {
109
        int                        supported;
110
};
111
struct remote_connect_get_type_ret {
112
        remote_nonnull_string      type;
113
};
114
struct remote_connect_get_version_ret {
115
        uint64_t                   hv_ver;
116
};
117
struct remote_connect_get_lib_version_ret {
118
        uint64_t                   lib_ver;
119
};
120
struct remote_connect_get_hostname_ret {
121
        remote_nonnull_string      hostname;
122
};
123
struct remote_connect_get_sysinfo_args {
124
        u_int                      flags;
125
};
126
struct remote_connect_get_sysinfo_ret {
127
        remote_nonnull_string      sysinfo;
128
};
129
struct remote_connect_get_uri_ret {
130
        remote_nonnull_string      uri;
131
};
132
struct remote_connect_get_max_vcpus_args {
133
        remote_string              type;
134
};
135
struct remote_connect_get_max_vcpus_ret {
136
        int                        max_vcpus;
137 138
};
struct remote_node_get_info_ret {
139
        char                       model[32];
140
        uint64_t                   memory;
141 142 143 144 145 146
        int                        cpus;
        int                        mhz;
        int                        nodes;
        int                        sockets;
        int                        cores;
        int                        threads;
147
};
148
struct remote_connect_get_capabilities_ret {
149
        remote_nonnull_string      capabilities;
150
};
151 152 153 154 155 156 157 158 159 160
struct remote_connect_get_domain_capabilities_args {
        remote_string              emulatorbin;
        remote_string              arch;
        remote_string              machine;
        remote_string              virttype;
        u_int                      flags;
};
struct remote_connect_get_domain_capabilities_ret {
        remote_nonnull_string      capabilities;
};
161 162 163 164 165 166 167 168 169 170 171 172
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;
};
173 174 175 176 177 178 179 180 181 182 183 184
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;
};
185
struct remote_node_get_cells_free_memory_args {
186
        int                        startCell;
187
        int                        maxcells;
188 189
};
struct remote_node_get_cells_free_memory_ret {
190
        struct {
191
                u_int              cells_len;
192
                uint64_t *         cells_val;
193
        } cells;
194 195
};
struct remote_node_get_free_memory_ret {
196
        uint64_t                   freeMem;
197 198
};
struct remote_domain_get_scheduler_type_args {
199
        remote_nonnull_domain      dom;
200 201
};
struct remote_domain_get_scheduler_type_ret {
202 203
        remote_nonnull_string      type;
        int                        nparams;
204 205
};
struct remote_domain_get_scheduler_parameters_args {
206 207
        remote_nonnull_domain      dom;
        int                        nparams;
208 209
};
struct remote_domain_get_scheduler_parameters_ret {
210 211
        struct {
                u_int              params_len;
212
                remote_typed_param * params_val;
213
        } params;
214
};
215 216 217 218 219 220 221 222 223 224 225
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;
};
226
struct remote_domain_set_scheduler_parameters_args {
227 228 229
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
230
                remote_typed_param * params_val;
231
        } params;
232
};
233 234 235 236
struct remote_domain_set_scheduler_parameters_flags_args {
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
237
                remote_typed_param * params_val;
238 239 240
        } params;
        u_int                      flags;
};
241
struct remote_domain_set_blkio_parameters_args {
242 243 244
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
245
                remote_typed_param * params_val;
246 247
        } params;
        u_int                      flags;
248 249
};
struct remote_domain_get_blkio_parameters_args {
250 251 252
        remote_nonnull_domain      dom;
        int                        nparams;
        u_int                      flags;
253 254
};
struct remote_domain_get_blkio_parameters_ret {
255 256
        struct {
                u_int              params_len;
257
                remote_typed_param * params_val;
258 259
        } params;
        int                        nparams;
260
};
261
struct remote_domain_set_memory_parameters_args {
262 263 264
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
265
                remote_typed_param * params_val;
266 267
        } params;
        u_int                      flags;
268 269
};
struct remote_domain_get_memory_parameters_args {
270 271 272
        remote_nonnull_domain      dom;
        int                        nparams;
        u_int                      flags;
273 274
};
struct remote_domain_get_memory_parameters_ret {
275 276
        struct {
                u_int              params_len;
277
                remote_typed_param * params_val;
278 279
        } params;
        int                        nparams;
280
};
281 282 283 284 285 286
struct remote_domain_block_resize_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      disk;
        uint64_t                   size;
        u_int                      flags;
};
287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306
struct remote_domain_set_numa_parameters_args {
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        u_int                      flags;
};
struct remote_domain_get_numa_parameters_args {
        remote_nonnull_domain      dom;
        int                        nparams;
        u_int                      flags;
};
struct remote_domain_get_numa_parameters_ret {
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        int                        nparams;
};
307
struct remote_domain_block_stats_args {
308 309
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
310 311
};
struct remote_domain_block_stats_ret {
312 313 314 315 316
        int64_t                    rd_req;
        int64_t                    rd_bytes;
        int64_t                    wr_req;
        int64_t                    wr_bytes;
        int64_t                    errs;
317
};
318 319 320 321 322 323 324 325 326 327 328 329 330
struct remote_domain_block_stats_flags_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        int                        nparams;
        u_int                      flags;
};
struct remote_domain_block_stats_flags_ret {
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        int                        nparams;
};
331
struct remote_domain_interface_stats_args {
332 333
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
334 335
};
struct remote_domain_interface_stats_ret {
336 337 338 339 340 341 342 343
        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;
344
};
345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366
struct remote_domain_set_interface_parameters_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      device;
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        u_int                      flags;
};
struct remote_domain_get_interface_parameters_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      device;
        int                        nparams;
        u_int                      flags;
};
struct remote_domain_get_interface_parameters_ret {
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        int                        nparams;
};
367
struct remote_domain_memory_stats_args {
368 369 370
        remote_nonnull_domain      dom;
        u_int                      maxStats;
        u_int                      flags;
371 372
};
struct remote_domain_memory_stat {
373 374
        int                        tag;
        uint64_t                   val;
375 376
};
struct remote_domain_memory_stats_ret {
377 378 379 380
        struct {
                u_int              stats_len;
                remote_domain_memory_stat * stats_val;
        } stats;
381 382
};
struct remote_domain_block_peek_args {
383 384 385 386 387
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        uint64_t                   offset;
        u_int                      size;
        u_int                      flags;
388 389
};
struct remote_domain_block_peek_ret {
390 391 392 393
        struct {
                u_int              buffer_len;
                char *             buffer_val;
        } buffer;
394 395
};
struct remote_domain_memory_peek_args {
396 397 398 399
        remote_nonnull_domain      dom;
        uint64_t                   offset;
        u_int                      size;
        u_int                      flags;
400 401
};
struct remote_domain_memory_peek_ret {
402 403 404 405
        struct {
                u_int              buffer_len;
                char *             buffer_val;
        } buffer;
406 407
};
struct remote_domain_get_block_info_args {
408 409 410
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        u_int                      flags;
411 412
};
struct remote_domain_get_block_info_ret {
413 414 415
        uint64_t                   allocation;
        uint64_t                   capacity;
        uint64_t                   physical;
416
};
417
struct remote_connect_list_domains_args {
418
        int                        maxids;
419
};
420
struct remote_connect_list_domains_ret {
421 422 423 424
        struct {
                u_int              ids_len;
                int *              ids_val;
        } ids;
425
};
426
struct remote_connect_num_of_domains_ret {
427
        int                        num;
428 429
};
struct remote_domain_create_xml_args {
430
        remote_nonnull_string      xml_desc;
431
        u_int                      flags;
432 433
};
struct remote_domain_create_xml_ret {
434
        remote_nonnull_domain      dom;
435
};
436 437 438 439 440 441 442
struct remote_domain_create_xml_with_files_args {
        remote_nonnull_string      xml_desc;
        u_int                      flags;
};
struct remote_domain_create_xml_with_files_ret {
        remote_nonnull_domain      dom;
};
443
struct remote_domain_lookup_by_id_args {
444
        int                        id;
445 446
};
struct remote_domain_lookup_by_id_ret {
447
        remote_nonnull_domain      dom;
448 449
};
struct remote_domain_lookup_by_uuid_args {
450
        remote_uuid                uuid;
451 452
};
struct remote_domain_lookup_by_uuid_ret {
453
        remote_nonnull_domain      dom;
454 455
};
struct remote_domain_lookup_by_name_args {
456
        remote_nonnull_string      name;
457 458
};
struct remote_domain_lookup_by_name_ret {
459
        remote_nonnull_domain      dom;
460 461
};
struct remote_domain_suspend_args {
462
        remote_nonnull_domain      dom;
463
};
464 465 466
struct remote_domain_resume_args {
        remote_nonnull_domain      dom;
};
467 468 469 470 471 472
struct remote_domain_pm_suspend_for_duration_args {
        remote_nonnull_domain      dom;
        u_int                      target;
        uint64_t                   duration;
        u_int                      flags;
};
473
struct remote_domain_pm_wakeup_args {
474
        remote_nonnull_domain      dom;
475
        u_int                      flags;
476 477
};
struct remote_domain_shutdown_args {
478
        remote_nonnull_domain      dom;
479 480
};
struct remote_domain_reboot_args {
481
        remote_nonnull_domain      dom;
482
        u_int                      flags;
483
};
484 485 486 487
struct remote_domain_reset_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
488
struct remote_domain_destroy_args {
489
        remote_nonnull_domain      dom;
490
};
491 492 493 494
struct remote_domain_destroy_flags_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
495
struct remote_domain_get_os_type_args {
496
        remote_nonnull_domain      dom;
497 498
};
struct remote_domain_get_os_type_ret {
499
        remote_nonnull_string      type;
500 501
};
struct remote_domain_get_max_memory_args {
502
        remote_nonnull_domain      dom;
503 504
};
struct remote_domain_get_max_memory_ret {
505
        uint64_t                   memory;
506 507
};
struct remote_domain_set_max_memory_args {
508 509
        remote_nonnull_domain      dom;
        uint64_t                   memory;
510 511
};
struct remote_domain_set_memory_args {
512 513
        remote_nonnull_domain      dom;
        uint64_t                   memory;
514
};
515
struct remote_domain_set_memory_flags_args {
516 517 518
        remote_nonnull_domain      dom;
        uint64_t                   memory;
        u_int                      flags;
519
};
520 521 522 523 524
struct remote_domain_set_memory_stats_period_args {
        remote_nonnull_domain      dom;
        int                        period;
        u_int                      flags;
};
525
struct remote_domain_get_info_args {
526
        remote_nonnull_domain      dom;
527 528
};
struct remote_domain_get_info_ret {
529
        u_char                     state;
530
        uint64_t                   maxMem;
531
        uint64_t                   memory;
532 533
        u_short                    nrVirtCpu;
        uint64_t                   cpuTime;
534 535
};
struct remote_domain_save_args {
536 537
        remote_nonnull_domain      dom;
        remote_nonnull_string      to;
538
};
E
Eric Blake 已提交
539 540 541 542 543 544
struct remote_domain_save_flags_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      to;
        remote_string              dxml;
        u_int                      flags;
};
545
struct remote_domain_restore_args {
546
        remote_nonnull_string      from;
547
};
E
Eric Blake 已提交
548 549 550 551 552
struct remote_domain_restore_flags_args {
        remote_nonnull_string      from;
        remote_string              dxml;
        u_int                      flags;
};
E
Eric Blake 已提交
553 554 555 556 557 558 559 560 561 562 563 564
struct remote_domain_save_image_get_xml_desc_args {
        remote_nonnull_string      file;
        u_int                      flags;
};
struct remote_domain_save_image_get_xml_desc_ret {
        remote_nonnull_string      xml;
};
struct remote_domain_save_image_define_xml_args {
        remote_nonnull_string      file;
        remote_nonnull_string      dxml;
        u_int                      flags;
};
565
struct remote_domain_core_dump_args {
566 567
        remote_nonnull_domain      dom;
        remote_nonnull_string      to;
568
        u_int                      flags;
569
};
570 571 572 573 574 575
struct remote_domain_core_dump_with_format_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      to;
        u_int                      dumpformat;
        u_int                      flags;
};
576 577
struct remote_domain_screenshot_args {
        remote_nonnull_domain      dom;
E
Eric Blake 已提交
578 579
        u_int                      screen;
        u_int                      flags;
580 581 582 583
};
struct remote_domain_screenshot_ret {
        remote_string              mime;
};
584
struct remote_domain_get_xml_desc_args {
585
        remote_nonnull_domain      dom;
586
        u_int                      flags;
587
};
588
struct remote_domain_get_xml_desc_ret {
589
        remote_nonnull_string      xml;
590 591
};
struct remote_domain_migrate_prepare_args {
592 593 594 595
        remote_string              uri_in;
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
596 597
};
struct remote_domain_migrate_prepare_ret {
598 599 600 601 602
        struct {
                u_int              cookie_len;
                char *             cookie_val;
        } cookie;
        remote_string              uri_out;
603 604
};
struct remote_domain_migrate_perform_args {
605 606 607 608 609 610 611 612 613
        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;
614 615
};
struct remote_domain_migrate_finish_args {
616 617 618 619 620 621 622
        remote_nonnull_string      dname;
        struct {
                u_int              cookie_len;
                char *             cookie_val;
        } cookie;
        remote_nonnull_string      uri;
        uint64_t                   flags;
623 624
};
struct remote_domain_migrate_finish_ret {
625
        remote_nonnull_domain      ddom;
626 627
};
struct remote_domain_migrate_prepare2_args {
628 629 630 631 632
        remote_string              uri_in;
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
        remote_nonnull_string      dom_xml;
633 634
};
struct remote_domain_migrate_prepare2_ret {
635 636 637 638 639
        struct {
                u_int              cookie_len;
                char *             cookie_val;
        } cookie;
        remote_string              uri_out;
640 641
};
struct remote_domain_migrate_finish2_args {
642 643 644 645 646 647 648 649
        remote_nonnull_string      dname;
        struct {
                u_int              cookie_len;
                char *             cookie_val;
        } cookie;
        remote_nonnull_string      uri;
        uint64_t                   flags;
        int                        retcode;
650 651
};
struct remote_domain_migrate_finish2_ret {
652
        remote_nonnull_domain      ddom;
653
};
654
struct remote_connect_list_defined_domains_args {
655
        int                        maxnames;
656
};
657
struct remote_connect_list_defined_domains_ret {
658 659 660 661
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
662
};
663
struct remote_connect_num_of_defined_domains_ret {
664
        int                        num;
665 666
};
struct remote_domain_create_args {
667
        remote_nonnull_domain      dom;
668 669
};
struct remote_domain_create_with_flags_args {
670 671
        remote_nonnull_domain      dom;
        u_int                      flags;
672 673
};
struct remote_domain_create_with_flags_ret {
674
        remote_nonnull_domain      dom;
675
};
676 677 678 679 680 681 682
struct remote_domain_create_with_files_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
struct remote_domain_create_with_files_ret {
        remote_nonnull_domain      dom;
};
683
struct remote_domain_define_xml_args {
684
        remote_nonnull_string      xml;
685 686
};
struct remote_domain_define_xml_ret {
687
        remote_nonnull_domain      dom;
688
};
689 690 691 692 693 694 695
struct remote_domain_define_xml_flags_args {
        remote_nonnull_string      xml;
        u_int                      flags;
};
struct remote_domain_define_xml_flags_ret {
        remote_nonnull_domain      dom;
};
696
struct remote_domain_undefine_args {
697
        remote_nonnull_domain      dom;
698
};
699 700 701 702
struct remote_domain_undefine_flags_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
703 704 705 706
struct remote_domain_inject_nmi_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
707 708 709 710 711 712 713 714 715 716
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;
};
717 718 719 720 721 722
struct remote_domain_send_process_signal_args {
        remote_nonnull_domain      dom;
        int64_t                    pid_value;
        u_int                      signum;
        u_int                      flags;
};
723
struct remote_domain_set_vcpus_args {
724
        remote_nonnull_domain      dom;
725
        u_int                      nvcpus;
726
};
E
Eric Blake 已提交
727
struct remote_domain_set_vcpus_flags_args {
728 729 730
        remote_nonnull_domain      dom;
        u_int                      nvcpus;
        u_int                      flags;
E
Eric Blake 已提交
731 732
};
struct remote_domain_get_vcpus_flags_args {
733 734
        remote_nonnull_domain      dom;
        u_int                      flags;
E
Eric Blake 已提交
735 736
};
struct remote_domain_get_vcpus_flags_ret {
737
        int                        num;
E
Eric Blake 已提交
738
};
739
struct remote_domain_pin_vcpu_args {
740
        remote_nonnull_domain      dom;
741
        u_int                      vcpu;
742 743 744 745
        struct {
                u_int              cpumap_len;
                char *             cpumap_val;
        } cpumap;
746
};
747 748 749 750 751 752 753 754 755
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;
};
E
Eric Blake 已提交
756
struct remote_domain_get_vcpu_pin_info_args {
757 758 759 760 761
        remote_nonnull_domain      dom;
        int                        ncpumaps;
        int                        maplen;
        u_int                      flags;
};
E
Eric Blake 已提交
762
struct remote_domain_get_vcpu_pin_info_ret {
763 764 765 766 767 768
        struct {
                u_int              cpumaps_len;
                char *             cpumaps_val;
        } cpumaps;
        int                        num;
};
769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788
struct remote_domain_pin_emulator_args {
        remote_nonnull_domain      dom;
        struct {
                u_int              cpumap_len;
                char *             cpumap_val;
        } cpumap;
        u_int                      flags;
};
struct remote_domain_get_emulator_pin_info_args {
        remote_nonnull_domain      dom;
        int                        maplen;
        u_int                      flags;
};
struct remote_domain_get_emulator_pin_info_ret {
        struct {
                u_int              cpumaps_len;
                char *             cpumaps_val;
        } cpumaps;
        int                        ret;
};
789
struct remote_domain_get_vcpus_args {
790 791 792
        remote_nonnull_domain      dom;
        int                        maxinfo;
        int                        maplen;
793 794
};
struct remote_domain_get_vcpus_ret {
795 796 797 798 799 800 801 802
        struct {
                u_int              info_len;
                remote_vcpu_info * info_val;
        } info;
        struct {
                u_int              cpumaps_len;
                char *             cpumaps_val;
        } cpumaps;
803 804
};
struct remote_domain_get_max_vcpus_args {
805
        remote_nonnull_domain      dom;
806 807
};
struct remote_domain_get_max_vcpus_ret {
808
        int                        num;
809
};
810 811 812 813 814 815 816
struct remote_domain_iothread_info {
        u_int                      iothread_id;
        struct {
                u_int              cpumap_len;
                char *             cpumap_val;
        } cpumap;
};
817
struct remote_domain_get_iothread_info_args {
818 819 820
        remote_nonnull_domain      dom;
        u_int                      flags;
};
821
struct remote_domain_get_iothread_info_ret {
822 823 824 825 826 827
        struct {
                u_int              info_len;
                remote_domain_iothread_info * info_val;
        } info;
        u_int                      ret;
};
828 829 830 831 832 833 834 835 836
struct remote_domain_pin_iothread_args {
        remote_nonnull_domain      dom;
        u_int                      iothreads_id;
        struct {
                u_int              cpumap_len;
                char *             cpumap_val;
        } cpumap;
        u_int                      flags;
};
837
struct remote_domain_get_security_label_args {
838
        remote_nonnull_domain      dom;
839 840
};
struct remote_domain_get_security_label_ret {
841 842 843 844 845
        struct {
                u_int              label_len;
                char *             label_val;
        } label;
        int                        enforcing;
846
};
M
Marcelo Cerri 已提交
847 848 849 850 851 852 853 854 855 856
struct remote_domain_get_security_label_list_args {
        remote_nonnull_domain      dom;
};
struct remote_domain_get_security_label_list_ret {
        struct {
                u_int              labels_len;
                remote_domain_get_security_label_ret * labels_val;
        } labels;
        int                        ret;
};
857
struct remote_node_get_security_model_ret {
858 859 860 861 862 863 864 865
        struct {
                u_int              model_len;
                char *             model_val;
        } model;
        struct {
                u_int              doi_len;
                char *             doi_val;
        } doi;
866 867
};
struct remote_domain_attach_device_args {
868 869
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
870 871
};
struct remote_domain_attach_device_flags_args {
872 873 874
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
        u_int                      flags;
875 876
};
struct remote_domain_detach_device_args {
877 878
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
879 880
};
struct remote_domain_detach_device_flags_args {
881 882 883
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
        u_int                      flags;
884 885
};
struct remote_domain_update_device_flags_args {
886 887 888
        remote_nonnull_domain      dom;
        remote_nonnull_string      xml;
        u_int                      flags;
889 890
};
struct remote_domain_get_autostart_args {
891
        remote_nonnull_domain      dom;
892 893
};
struct remote_domain_get_autostart_ret {
894
        int                        autostart;
895 896
};
struct remote_domain_set_autostart_args {
897 898
        remote_nonnull_domain      dom;
        int                        autostart;
899
};
900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916
struct remote_domain_set_metadata_args {
        remote_nonnull_domain      dom;
        int                        type;
        remote_string              metadata;
        remote_string              key;
        remote_string              uri;
        u_int                      flags;
};
struct remote_domain_get_metadata_args {
        remote_nonnull_domain      dom;
        int                        type;
        remote_string              uri;
        u_int                      flags;
};
struct remote_domain_get_metadata_ret {
        remote_nonnull_string      metadata;
};
917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945
struct remote_domain_block_job_abort_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        u_int                      flags;
};
struct remote_domain_get_block_job_info_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        u_int                      flags;
};
struct remote_domain_get_block_job_info_ret {
        int                        found;
        int                        type;
        uint64_t                   bandwidth;
        uint64_t                   cur;
        uint64_t                   end;
};
struct remote_domain_block_job_set_speed_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        uint64_t                   bandwidth;
        u_int                      flags;
};
struct remote_domain_block_pull_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        uint64_t                   bandwidth;
        u_int                      flags;
};
946 947 948 949 950 951 952
struct remote_domain_block_rebase_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        remote_string              base;
        uint64_t                   bandwidth;
        u_int                      flags;
};
953 954 955 956 957 958 959 960 961 962
struct remote_domain_block_copy_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        remote_nonnull_string      destxml;
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        u_int                      flags;
};
963 964 965 966 967 968 969 970
struct remote_domain_block_commit_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      disk;
        remote_string              base;
        remote_string              top;
        uint64_t                   bandwidth;
        u_int                      flags;
};
971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992
struct remote_domain_set_block_io_tune_args {
        remote_nonnull_domain      dom;
        remote_nonnull_string      disk;
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        u_int                      flags;
};
struct remote_domain_get_block_io_tune_args {
        remote_nonnull_domain      dom;
        remote_string              disk;
        int                        nparams;
        u_int                      flags;
};
struct remote_domain_get_block_io_tune_ret {
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        int                        nparams;
};
993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006
struct remote_domain_get_cpu_stats_args {
        remote_nonnull_domain      dom;
        u_int                      nparams;
        int                        start_cpu;
        u_int                      ncpus;
        u_int                      flags;
};
struct remote_domain_get_cpu_stats_ret {
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        int                        nparams;
};
1007 1008 1009 1010 1011 1012 1013
struct remote_domain_get_hostname_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
struct remote_domain_get_hostname_ret {
        remote_nonnull_string      hostname;
};
1014
struct remote_connect_num_of_networks_ret {
1015
        int                        num;
1016
};
1017
struct remote_connect_list_networks_args {
1018
        int                        maxnames;
1019
};
1020
struct remote_connect_list_networks_ret {
1021 1022 1023 1024
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1025
};
1026
struct remote_connect_num_of_defined_networks_ret {
1027
        int                        num;
1028
};
1029
struct remote_connect_list_defined_networks_args {
1030
        int                        maxnames;
1031
};
1032
struct remote_connect_list_defined_networks_ret {
1033 1034 1035 1036
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1037 1038
};
struct remote_network_lookup_by_uuid_args {
1039
        remote_uuid                uuid;
1040 1041
};
struct remote_network_lookup_by_uuid_ret {
1042
        remote_nonnull_network     net;
1043 1044
};
struct remote_network_lookup_by_name_args {
1045
        remote_nonnull_string      name;
1046 1047
};
struct remote_network_lookup_by_name_ret {
1048
        remote_nonnull_network     net;
1049 1050
};
struct remote_network_create_xml_args {
1051
        remote_nonnull_string      xml;
1052 1053
};
struct remote_network_create_xml_ret {
1054
        remote_nonnull_network     net;
1055 1056
};
struct remote_network_define_xml_args {
1057
        remote_nonnull_string      xml;
1058 1059
};
struct remote_network_define_xml_ret {
1060
        remote_nonnull_network     net;
1061 1062
};
struct remote_network_undefine_args {
1063
        remote_nonnull_network     net;
1064
};
1065 1066 1067 1068
struct remote_network_update_args {
        remote_nonnull_network     net;
        u_int                      command;
        u_int                      section;
1069
        int                        parentIndex;
1070 1071 1072
        remote_nonnull_string      xml;
        u_int                      flags;
};
1073
struct remote_network_create_args {
1074
        remote_nonnull_network     net;
1075 1076
};
struct remote_network_destroy_args {
1077
        remote_nonnull_network     net;
1078
};
1079
struct remote_network_get_xml_desc_args {
1080
        remote_nonnull_network     net;
1081
        u_int                      flags;
1082
};
1083
struct remote_network_get_xml_desc_ret {
1084
        remote_nonnull_string      xml;
1085 1086
};
struct remote_network_get_bridge_name_args {
1087
        remote_nonnull_network     net;
1088 1089
};
struct remote_network_get_bridge_name_ret {
1090
        remote_nonnull_string      name;
1091 1092
};
struct remote_network_get_autostart_args {
1093
        remote_nonnull_network     net;
1094 1095
};
struct remote_network_get_autostart_ret {
1096
        int                        autostart;
1097 1098
};
struct remote_network_set_autostart_args {
1099 1100
        remote_nonnull_network     net;
        int                        autostart;
1101
};
1102
struct remote_connect_num_of_nwfilters_ret {
1103
        int                        num;
1104
};
1105
struct remote_connect_list_nwfilters_args {
1106
        int                        maxnames;
1107
};
1108
struct remote_connect_list_nwfilters_ret {
1109 1110 1111 1112
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1113 1114
};
struct remote_nwfilter_lookup_by_uuid_args {
1115
        remote_uuid                uuid;
1116 1117
};
struct remote_nwfilter_lookup_by_uuid_ret {
1118
        remote_nonnull_nwfilter    nwfilter;
1119 1120
};
struct remote_nwfilter_lookup_by_name_args {
1121
        remote_nonnull_string      name;
1122 1123
};
struct remote_nwfilter_lookup_by_name_ret {
1124
        remote_nonnull_nwfilter    nwfilter;
1125 1126
};
struct remote_nwfilter_define_xml_args {
1127
        remote_nonnull_string      xml;
1128 1129
};
struct remote_nwfilter_define_xml_ret {
1130
        remote_nonnull_nwfilter    nwfilter;
1131 1132
};
struct remote_nwfilter_undefine_args {
1133
        remote_nonnull_nwfilter    nwfilter;
1134 1135
};
struct remote_nwfilter_get_xml_desc_args {
1136
        remote_nonnull_nwfilter    nwfilter;
1137
        u_int                      flags;
1138 1139
};
struct remote_nwfilter_get_xml_desc_ret {
1140
        remote_nonnull_string      xml;
1141
};
1142
struct remote_connect_num_of_interfaces_ret {
1143
        int                        num;
1144
};
1145
struct remote_connect_list_interfaces_args {
1146
        int                        maxnames;
1147
};
1148
struct remote_connect_list_interfaces_ret {
1149 1150 1151 1152
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1153
};
1154
struct remote_connect_num_of_defined_interfaces_ret {
1155
        int                        num;
1156
};
1157
struct remote_connect_list_defined_interfaces_args {
1158
        int                        maxnames;
1159
};
1160
struct remote_connect_list_defined_interfaces_ret {
1161 1162 1163 1164
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1165 1166
};
struct remote_interface_lookup_by_name_args {
1167
        remote_nonnull_string      name;
1168 1169
};
struct remote_interface_lookup_by_name_ret {
1170
        remote_nonnull_interface   iface;
1171 1172
};
struct remote_interface_lookup_by_mac_string_args {
1173
        remote_nonnull_string      mac;
1174 1175
};
struct remote_interface_lookup_by_mac_string_ret {
1176
        remote_nonnull_interface   iface;
1177 1178
};
struct remote_interface_get_xml_desc_args {
1179 1180
        remote_nonnull_interface   iface;
        u_int                      flags;
1181 1182
};
struct remote_interface_get_xml_desc_ret {
1183
        remote_nonnull_string      xml;
1184 1185
};
struct remote_interface_define_xml_args {
1186 1187
        remote_nonnull_string      xml;
        u_int                      flags;
1188 1189
};
struct remote_interface_define_xml_ret {
1190
        remote_nonnull_interface   iface;
1191 1192
};
struct remote_interface_undefine_args {
1193
        remote_nonnull_interface   iface;
1194 1195
};
struct remote_interface_create_args {
1196 1197
        remote_nonnull_interface   iface;
        u_int                      flags;
1198 1199
};
struct remote_interface_destroy_args {
1200 1201
        remote_nonnull_interface   iface;
        u_int                      flags;
1202
};
1203
struct remote_interface_change_begin_args {
D
Daniel Veillard 已提交
1204
        u_int                      flags;
1205 1206
};
struct remote_interface_change_commit_args {
D
Daniel Veillard 已提交
1207
        u_int                      flags;
1208 1209
};
struct remote_interface_change_rollback_args {
D
Daniel Veillard 已提交
1210
        u_int                      flags;
1211
};
1212
struct remote_auth_list_ret {
1213 1214 1215 1216
        struct {
                u_int              types_len;
                remote_auth_type * types_val;
        } types;
1217 1218
};
struct remote_auth_sasl_init_ret {
1219
        remote_nonnull_string      mechlist;
1220 1221
};
struct remote_auth_sasl_start_args {
1222 1223 1224 1225 1226 1227
        remote_nonnull_string      mech;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
1228 1229
};
struct remote_auth_sasl_start_ret {
1230 1231 1232 1233 1234 1235
        int                        complete;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
1236 1237
};
struct remote_auth_sasl_step_args {
1238 1239 1240 1241 1242
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
1243 1244
};
struct remote_auth_sasl_step_ret {
1245 1246 1247 1248 1249 1250
        int                        complete;
        int                        nil;
        struct {
                u_int              data_len;
                char *             data_val;
        } data;
1251 1252
};
struct remote_auth_polkit_ret {
1253
        int                        complete;
1254
};
1255
struct remote_connect_num_of_storage_pools_ret {
1256
        int                        num;
1257
};
1258
struct remote_connect_list_storage_pools_args {
1259
        int                        maxnames;
1260
};
1261
struct remote_connect_list_storage_pools_ret {
1262 1263 1264 1265
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1266
};
1267
struct remote_connect_num_of_defined_storage_pools_ret {
1268
        int                        num;
1269
};
1270
struct remote_connect_list_defined_storage_pools_args {
1271
        int                        maxnames;
1272
};
1273
struct remote_connect_list_defined_storage_pools_ret {
1274 1275 1276 1277
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1278
};
1279
struct remote_connect_find_storage_pool_sources_args {
1280 1281 1282
        remote_nonnull_string      type;
        remote_string              srcSpec;
        u_int                      flags;
1283
};
1284
struct remote_connect_find_storage_pool_sources_ret {
1285
        remote_nonnull_string      xml;
1286 1287
};
struct remote_storage_pool_lookup_by_uuid_args {
1288
        remote_uuid                uuid;
1289 1290
};
struct remote_storage_pool_lookup_by_uuid_ret {
1291
        remote_nonnull_storage_pool pool;
1292 1293
};
struct remote_storage_pool_lookup_by_name_args {
1294
        remote_nonnull_string      name;
1295 1296
};
struct remote_storage_pool_lookup_by_name_ret {
1297
        remote_nonnull_storage_pool pool;
1298 1299
};
struct remote_storage_pool_lookup_by_volume_args {
1300
        remote_nonnull_storage_vol vol;
1301 1302
};
struct remote_storage_pool_lookup_by_volume_ret {
1303
        remote_nonnull_storage_pool pool;
1304 1305
};
struct remote_storage_pool_create_xml_args {
1306 1307
        remote_nonnull_string      xml;
        u_int                      flags;
1308 1309
};
struct remote_storage_pool_create_xml_ret {
1310
        remote_nonnull_storage_pool pool;
1311 1312
};
struct remote_storage_pool_define_xml_args {
1313 1314
        remote_nonnull_string      xml;
        u_int                      flags;
1315 1316
};
struct remote_storage_pool_define_xml_ret {
1317
        remote_nonnull_storage_pool pool;
1318 1319
};
struct remote_storage_pool_build_args {
1320 1321
        remote_nonnull_storage_pool pool;
        u_int                      flags;
1322 1323
};
struct remote_storage_pool_undefine_args {
1324
        remote_nonnull_storage_pool pool;
1325 1326
};
struct remote_storage_pool_create_args {
1327 1328
        remote_nonnull_storage_pool pool;
        u_int                      flags;
1329 1330
};
struct remote_storage_pool_destroy_args {
1331
        remote_nonnull_storage_pool pool;
1332 1333
};
struct remote_storage_pool_delete_args {
1334 1335
        remote_nonnull_storage_pool pool;
        u_int                      flags;
1336 1337
};
struct remote_storage_pool_refresh_args {
1338 1339
        remote_nonnull_storage_pool pool;
        u_int                      flags;
1340
};
1341
struct remote_storage_pool_get_xml_desc_args {
1342 1343
        remote_nonnull_storage_pool pool;
        u_int                      flags;
1344
};
1345
struct remote_storage_pool_get_xml_desc_ret {
1346
        remote_nonnull_string      xml;
1347 1348
};
struct remote_storage_pool_get_info_args {
1349
        remote_nonnull_storage_pool pool;
1350 1351
};
struct remote_storage_pool_get_info_ret {
1352 1353 1354 1355
        u_char                     state;
        uint64_t                   capacity;
        uint64_t                   allocation;
        uint64_t                   available;
1356 1357
};
struct remote_storage_pool_get_autostart_args {
1358
        remote_nonnull_storage_pool pool;
1359 1360
};
struct remote_storage_pool_get_autostart_ret {
1361
        int                        autostart;
1362 1363
};
struct remote_storage_pool_set_autostart_args {
1364 1365
        remote_nonnull_storage_pool pool;
        int                        autostart;
1366 1367
};
struct remote_storage_pool_num_of_volumes_args {
1368
        remote_nonnull_storage_pool pool;
1369 1370
};
struct remote_storage_pool_num_of_volumes_ret {
1371
        int                        num;
1372 1373
};
struct remote_storage_pool_list_volumes_args {
1374 1375
        remote_nonnull_storage_pool pool;
        int                        maxnames;
1376 1377
};
struct remote_storage_pool_list_volumes_ret {
1378 1379 1380 1381
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1382 1383
};
struct remote_storage_vol_lookup_by_name_args {
1384 1385
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      name;
1386 1387
};
struct remote_storage_vol_lookup_by_name_ret {
1388
        remote_nonnull_storage_vol vol;
1389 1390
};
struct remote_storage_vol_lookup_by_key_args {
1391
        remote_nonnull_string      key;
1392 1393
};
struct remote_storage_vol_lookup_by_key_ret {
1394
        remote_nonnull_storage_vol vol;
1395 1396
};
struct remote_storage_vol_lookup_by_path_args {
1397
        remote_nonnull_string      path;
1398 1399
};
struct remote_storage_vol_lookup_by_path_ret {
1400
        remote_nonnull_storage_vol vol;
1401 1402
};
struct remote_storage_vol_create_xml_args {
1403 1404 1405
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      xml;
        u_int                      flags;
1406 1407
};
struct remote_storage_vol_create_xml_ret {
1408
        remote_nonnull_storage_vol vol;
1409 1410
};
struct remote_storage_vol_create_xml_from_args {
1411 1412 1413 1414
        remote_nonnull_storage_pool pool;
        remote_nonnull_string      xml;
        remote_nonnull_storage_vol clonevol;
        u_int                      flags;
1415 1416
};
struct remote_storage_vol_create_xml_from_ret {
1417
        remote_nonnull_storage_vol vol;
1418 1419
};
struct remote_storage_vol_delete_args {
1420 1421
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1422 1423
};
struct remote_storage_vol_wipe_args {
1424 1425
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1426
};
1427 1428 1429 1430 1431
struct remote_storage_vol_wipe_pattern_args {
        remote_nonnull_storage_vol vol;
        u_int                      algorithm;
        u_int                      flags;
};
1432
struct remote_storage_vol_get_xml_desc_args {
1433 1434
        remote_nonnull_storage_vol vol;
        u_int                      flags;
1435
};
1436
struct remote_storage_vol_get_xml_desc_ret {
1437
        remote_nonnull_string      xml;
1438 1439
};
struct remote_storage_vol_get_info_args {
1440
        remote_nonnull_storage_vol vol;
1441 1442
};
struct remote_storage_vol_get_info_ret {
1443 1444 1445
        char                       type;
        uint64_t                   capacity;
        uint64_t                   allocation;
1446 1447
};
struct remote_storage_vol_get_path_args {
1448
        remote_nonnull_storage_vol vol;
1449 1450
};
struct remote_storage_vol_get_path_ret {
1451
        remote_nonnull_string      name;
1452
};
1453 1454
struct remote_storage_vol_resize_args {
        remote_nonnull_storage_vol vol;
E
Eric Blake 已提交
1455
        uint64_t                   capacity;
1456 1457
        u_int                      flags;
};
1458
struct remote_node_num_of_devices_args {
1459 1460
        remote_string              cap;
        u_int                      flags;
1461 1462
};
struct remote_node_num_of_devices_ret {
1463
        int                        num;
1464 1465
};
struct remote_node_list_devices_args {
1466 1467 1468
        remote_string              cap;
        int                        maxnames;
        u_int                      flags;
1469 1470
};
struct remote_node_list_devices_ret {
1471 1472 1473 1474
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1475 1476
};
struct remote_node_device_lookup_by_name_args {
1477
        remote_nonnull_string      name;
1478 1479
};
struct remote_node_device_lookup_by_name_ret {
1480
        remote_nonnull_node_device dev;
1481
};
O
Osier Yang 已提交
1482
struct remote_node_device_lookup_scsi_host_by_wwn_args {
1483 1484 1485
        remote_nonnull_string      wwnn;
        remote_nonnull_string      wwpn;
        u_int                      flags;
O
Osier Yang 已提交
1486 1487 1488 1489
};
struct remote_node_device_lookup_scsi_host_by_wwn_ret {
        remote_nonnull_node_device dev;
};
1490
struct remote_node_device_get_xml_desc_args {
1491 1492
        remote_nonnull_string      name;
        u_int                      flags;
1493
};
1494
struct remote_node_device_get_xml_desc_ret {
1495
        remote_nonnull_string      xml;
1496 1497
};
struct remote_node_device_get_parent_args {
1498
        remote_nonnull_string      name;
1499 1500
};
struct remote_node_device_get_parent_ret {
1501
        remote_string              parent;
1502 1503
};
struct remote_node_device_num_of_caps_args {
1504
        remote_nonnull_string      name;
1505 1506
};
struct remote_node_device_num_of_caps_ret {
1507
        int                        num;
1508 1509
};
struct remote_node_device_list_caps_args {
1510 1511
        remote_nonnull_string      name;
        int                        maxnames;
1512 1513
};
struct remote_node_device_list_caps_ret {
1514 1515 1516 1517
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1518 1519
};
struct remote_node_device_dettach_args {
1520
        remote_nonnull_string      name;
1521
};
1522 1523 1524 1525 1526
struct remote_node_device_detach_flags_args {
        remote_nonnull_string      name;
        remote_string              driverName;
        u_int                      flags;
};
1527
struct remote_node_device_re_attach_args {
1528
        remote_nonnull_string      name;
1529 1530
};
struct remote_node_device_reset_args {
1531
        remote_nonnull_string      name;
1532 1533
};
struct remote_node_device_create_xml_args {
1534
        remote_nonnull_string      xml_desc;
1535
        u_int                      flags;
1536 1537
};
struct remote_node_device_create_xml_ret {
1538
        remote_nonnull_node_device dev;
1539 1540
};
struct remote_node_device_destroy_args {
1541
        remote_nonnull_string      name;
1542
};
1543
struct remote_connect_domain_event_register_ret {
1544
        int                        cb_registered;
1545
};
1546
struct remote_connect_domain_event_deregister_ret {
1547
        int                        cb_registered;
1548 1549
};
struct remote_domain_event_lifecycle_msg {
1550 1551 1552
        remote_nonnull_domain      dom;
        int                        event;
        int                        detail;
1553
};
1554 1555 1556 1557
struct remote_domain_event_callback_lifecycle_msg {
        int                        callbackID;
        remote_domain_event_lifecycle_msg msg;
};
1558
struct remote_connect_domain_xml_from_native_args {
1559 1560 1561
        remote_nonnull_string      nativeFormat;
        remote_nonnull_string      nativeConfig;
        u_int                      flags;
1562
};
1563
struct remote_connect_domain_xml_from_native_ret {
1564
        remote_nonnull_string      domainXml;
1565
};
1566
struct remote_connect_domain_xml_to_native_args {
1567 1568 1569
        remote_nonnull_string      nativeFormat;
        remote_nonnull_string      domainXml;
        u_int                      flags;
1570
};
1571
struct remote_connect_domain_xml_to_native_ret {
1572
        remote_nonnull_string      nativeConfig;
1573
};
1574
struct remote_connect_num_of_secrets_ret {
1575
        int                        num;
1576
};
1577
struct remote_connect_list_secrets_args {
1578
        int                        maxuuids;
1579
};
1580
struct remote_connect_list_secrets_ret {
1581 1582 1583 1584
        struct {
                u_int              uuids_len;
                remote_nonnull_string * uuids_val;
        } uuids;
1585 1586
};
struct remote_secret_lookup_by_uuid_args {
1587
        remote_uuid                uuid;
1588 1589
};
struct remote_secret_lookup_by_uuid_ret {
1590
        remote_nonnull_secret      secret;
1591 1592
};
struct remote_secret_define_xml_args {
1593 1594
        remote_nonnull_string      xml;
        u_int                      flags;
1595 1596
};
struct remote_secret_define_xml_ret {
1597
        remote_nonnull_secret      secret;
1598 1599
};
struct remote_secret_get_xml_desc_args {
1600 1601
        remote_nonnull_secret      secret;
        u_int                      flags;
1602 1603
};
struct remote_secret_get_xml_desc_ret {
1604
        remote_nonnull_string      xml;
1605 1606
};
struct remote_secret_set_value_args {
1607 1608 1609 1610 1611 1612
        remote_nonnull_secret      secret;
        struct {
                u_int              value_len;
                char *             value_val;
        } value;
        u_int                      flags;
1613 1614
};
struct remote_secret_get_value_args {
1615 1616
        remote_nonnull_secret      secret;
        u_int                      flags;
1617 1618
};
struct remote_secret_get_value_ret {
1619 1620 1621 1622
        struct {
                u_int              value_len;
                char *             value_val;
        } value;
1623 1624
};
struct remote_secret_undefine_args {
1625
        remote_nonnull_secret      secret;
1626 1627
};
struct remote_secret_lookup_by_usage_args {
1628 1629
        int                        usageType;
        remote_nonnull_string      usageID;
1630 1631
};
struct remote_secret_lookup_by_usage_ret {
1632
        remote_nonnull_secret      secret;
1633 1634
};
struct remote_domain_migrate_prepare_tunnel_args {
1635 1636 1637 1638
        uint64_t                   flags;
        remote_string              dname;
        uint64_t                   resource;
        remote_nonnull_string      dom_xml;
1639
};
1640
struct remote_connect_is_secure_ret {
1641
        int                        secure;
1642 1643
};
struct remote_domain_is_active_args {
1644
        remote_nonnull_domain      dom;
1645 1646
};
struct remote_domain_is_active_ret {
1647
        int                        active;
1648 1649
};
struct remote_domain_is_persistent_args {
1650
        remote_nonnull_domain      dom;
1651 1652
};
struct remote_domain_is_persistent_ret {
1653
        int                        persistent;
1654
};
O
Osier Yang 已提交
1655
struct remote_domain_is_updated_args {
1656
        remote_nonnull_domain      dom;
O
Osier Yang 已提交
1657 1658
};
struct remote_domain_is_updated_ret {
1659
        int                        updated;
O
Osier Yang 已提交
1660
};
1661
struct remote_network_is_active_args {
1662
        remote_nonnull_network     net;
1663 1664
};
struct remote_network_is_active_ret {
1665
        int                        active;
1666 1667
};
struct remote_network_is_persistent_args {
1668
        remote_nonnull_network     net;
1669 1670
};
struct remote_network_is_persistent_ret {
1671
        int                        persistent;
1672 1673
};
struct remote_storage_pool_is_active_args {
1674
        remote_nonnull_storage_pool pool;
1675 1676
};
struct remote_storage_pool_is_active_ret {
1677
        int                        active;
1678 1679
};
struct remote_storage_pool_is_persistent_args {
1680
        remote_nonnull_storage_pool pool;
1681 1682
};
struct remote_storage_pool_is_persistent_ret {
1683
        int                        persistent;
1684 1685
};
struct remote_interface_is_active_args {
1686
        remote_nonnull_interface   iface;
1687 1688
};
struct remote_interface_is_active_ret {
1689
        int                        active;
1690
};
1691
struct remote_connect_compare_cpu_args {
1692 1693
        remote_nonnull_string      xml;
        u_int                      flags;
1694
};
1695
struct remote_connect_compare_cpu_ret {
1696
        int                        result;
1697
};
1698
struct remote_connect_baseline_cpu_args {
1699 1700 1701 1702 1703
        struct {
                u_int              xmlCPUs_len;
                remote_nonnull_string * xmlCPUs_val;
        } xmlCPUs;
        u_int                      flags;
1704
};
1705
struct remote_connect_baseline_cpu_ret {
1706
        remote_nonnull_string      cpu;
1707 1708
};
struct remote_domain_get_job_info_args {
1709
        remote_nonnull_domain      dom;
1710 1711
};
struct remote_domain_get_job_info_ret {
1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723
        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;
1724
};
1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735
struct remote_domain_get_job_stats_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
struct remote_domain_get_job_stats_ret {
        int                        type;
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
};
1736
struct remote_domain_abort_job_args {
1737
        remote_nonnull_domain      dom;
1738 1739
};
struct remote_domain_migrate_set_max_downtime_args {
1740 1741 1742
        remote_nonnull_domain      dom;
        uint64_t                   downtime;
        u_int                      flags;
1743
};
1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755
struct remote_domain_migrate_get_compression_cache_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
struct remote_domain_migrate_get_compression_cache_ret {
        uint64_t                   cacheSize;
};
struct remote_domain_migrate_set_compression_cache_args {
        remote_nonnull_domain      dom;
        uint64_t                   cacheSize;
        u_int                      flags;
};
1756
struct remote_domain_migrate_set_max_speed_args {
1757 1758 1759
        remote_nonnull_domain      dom;
        uint64_t                   bandwidth;
        u_int                      flags;
1760
};
1761 1762 1763 1764 1765 1766 1767
struct remote_domain_migrate_get_max_speed_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
struct remote_domain_migrate_get_max_speed_ret {
        uint64_t                   bandwidth;
};
1768
struct remote_connect_domain_event_register_any_args {
1769
        int                        eventID;
1770
};
1771
struct remote_connect_domain_event_deregister_any_args {
1772
        int                        eventID;
1773
};
1774 1775 1776 1777 1778 1779 1780 1781 1782 1783
struct remote_connect_domain_event_callback_register_any_args {
        int                        eventID;
        remote_domain              dom;
};
struct remote_connect_domain_event_callback_register_any_ret {
        int                        callbackID;
};
struct remote_connect_domain_event_callback_deregister_any_args {
        int                        callbackID;
};
1784
struct remote_domain_event_reboot_msg {
1785
        remote_nonnull_domain      dom;
1786
};
1787 1788 1789 1790
struct remote_domain_event_callback_reboot_msg {
        int                        callbackID;
        remote_domain_event_reboot_msg msg;
};
1791
struct remote_domain_event_rtc_change_msg {
1792 1793
        remote_nonnull_domain      dom;
        int64_t                    offset;
1794
};
1795 1796 1797 1798
struct remote_domain_event_callback_rtc_change_msg {
        int                        callbackID;
        remote_domain_event_rtc_change_msg msg;
};
1799
struct remote_domain_event_watchdog_msg {
1800 1801
        remote_nonnull_domain      dom;
        int                        action;
1802
};
1803 1804 1805 1806
struct remote_domain_event_callback_watchdog_msg {
        int                        callbackID;
        remote_domain_event_watchdog_msg msg;
};
1807
struct remote_domain_event_io_error_msg {
1808 1809 1810 1811
        remote_nonnull_domain      dom;
        remote_nonnull_string      srcPath;
        remote_nonnull_string      devAlias;
        int                        action;
1812
};
1813 1814 1815 1816
struct remote_domain_event_callback_io_error_msg {
        int                        callbackID;
        remote_domain_event_io_error_msg msg;
};
1817
struct remote_domain_event_io_error_reason_msg {
1818 1819 1820 1821 1822
        remote_nonnull_domain      dom;
        remote_nonnull_string      srcPath;
        remote_nonnull_string      devAlias;
        int                        action;
        remote_nonnull_string      reason;
1823
};
1824 1825 1826 1827
struct remote_domain_event_callback_io_error_reason_msg {
        int                        callbackID;
        remote_domain_event_io_error_reason_msg msg;
};
1828
struct remote_domain_event_graphics_address {
1829 1830 1831
        int                        family;
        remote_nonnull_string      node;
        remote_nonnull_string      service;
1832 1833
};
struct remote_domain_event_graphics_identity {
1834 1835
        remote_nonnull_string      type;
        remote_nonnull_string      name;
1836 1837
};
struct remote_domain_event_graphics_msg {
1838 1839 1840 1841 1842 1843 1844 1845 1846
        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;
1847
};
1848 1849 1850 1851
struct remote_domain_event_callback_graphics_msg {
        int                        callbackID;
        remote_domain_event_graphics_msg msg;
};
1852 1853 1854 1855 1856 1857
struct remote_domain_event_block_job_msg {
        remote_nonnull_domain      dom;
        remote_nonnull_string      path;
        int                        type;
        int                        status;
};
1858 1859 1860 1861
struct remote_domain_event_callback_block_job_msg {
        int                        callbackID;
        remote_domain_event_block_job_msg msg;
};
1862 1863 1864 1865 1866 1867 1868
struct remote_domain_event_disk_change_msg {
        remote_nonnull_domain      dom;
        remote_string              oldSrcPath;
        remote_string              newSrcPath;
        remote_nonnull_string      devAlias;
        int                        reason;
};
1869 1870 1871 1872
struct remote_domain_event_callback_disk_change_msg {
        int                        callbackID;
        remote_domain_event_disk_change_msg msg;
};
1873 1874 1875 1876
struct remote_domain_event_tray_change_msg {
        remote_nonnull_domain      dom;
        remote_nonnull_string      devAlias;
        int                        reason;
1877
};
1878 1879 1880 1881
struct remote_domain_event_callback_tray_change_msg {
        int                        callbackID;
        remote_domain_event_tray_change_msg msg;
};
O
Osier Yang 已提交
1882 1883
struct remote_domain_event_pmwakeup_msg {
        remote_nonnull_domain      dom;
1884
};
1885 1886
struct remote_domain_event_callback_pmwakeup_msg {
        int                        callbackID;
E
Eric Blake 已提交
1887
        int                        reason;
1888 1889
        remote_domain_event_pmwakeup_msg msg;
};
O
Osier Yang 已提交
1890 1891
struct remote_domain_event_pmsuspend_msg {
        remote_nonnull_domain      dom;
1892
};
1893 1894
struct remote_domain_event_callback_pmsuspend_msg {
        int                        callbackID;
E
Eric Blake 已提交
1895
        int                        reason;
1896 1897
        remote_domain_event_pmsuspend_msg msg;
};
1898 1899 1900 1901
struct remote_domain_event_balloon_change_msg {
        remote_nonnull_domain      dom;
        uint64_t                   actual;
};
1902 1903 1904 1905
struct remote_domain_event_callback_balloon_change_msg {
        int                        callbackID;
        remote_domain_event_balloon_change_msg msg;
};
1906 1907 1908
struct remote_domain_event_pmsuspend_disk_msg {
        remote_nonnull_domain      dom;
};
1909 1910
struct remote_domain_event_callback_pmsuspend_disk_msg {
        int                        callbackID;
E
Eric Blake 已提交
1911
        int                        reason;
1912 1913
        remote_domain_event_pmsuspend_disk_msg msg;
};
1914
struct remote_domain_managed_save_args {
1915 1916
        remote_nonnull_domain      dom;
        u_int                      flags;
1917 1918
};
struct remote_domain_has_managed_save_image_args {
1919 1920
        remote_nonnull_domain      dom;
        u_int                      flags;
1921 1922
};
struct remote_domain_has_managed_save_image_ret {
1923
        int                        result;
1924 1925
};
struct remote_domain_managed_save_remove_args {
1926 1927
        remote_nonnull_domain      dom;
        u_int                      flags;
1928 1929
};
struct remote_domain_snapshot_create_xml_args {
1930
        remote_nonnull_domain      dom;
1931
        remote_nonnull_string      xml_desc;
1932
        u_int                      flags;
1933 1934
};
struct remote_domain_snapshot_create_xml_ret {
1935
        remote_nonnull_domain_snapshot snap;
1936
};
1937
struct remote_domain_snapshot_get_xml_desc_args {
1938
        remote_nonnull_domain_snapshot snap;
1939
        u_int                      flags;
1940
};
1941
struct remote_domain_snapshot_get_xml_desc_ret {
1942
        remote_nonnull_string      xml;
1943 1944
};
struct remote_domain_snapshot_num_args {
1945
        remote_nonnull_domain      dom;
1946
        u_int                      flags;
1947 1948
};
struct remote_domain_snapshot_num_ret {
1949
        int                        num;
1950 1951
};
struct remote_domain_snapshot_list_names_args {
1952
        remote_nonnull_domain      dom;
1953
        int                        maxnames;
1954
        u_int                      flags;
1955 1956
};
struct remote_domain_snapshot_list_names_ret {
1957 1958 1959 1960
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
1961
};
1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973
struct remote_domain_list_all_snapshots_args {
        remote_nonnull_domain      dom;
        int                        need_results;
        u_int                      flags;
};
struct remote_domain_list_all_snapshots_ret {
        struct {
                u_int              snapshots_len;
                remote_nonnull_domain_snapshot * snapshots_val;
        } snapshots;
        int                        ret;
};
1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991
struct remote_domain_snapshot_num_children_args {
        remote_nonnull_domain_snapshot snap;
        u_int                      flags;
};
struct remote_domain_snapshot_num_children_ret {
        int                        num;
};
struct remote_domain_snapshot_list_children_names_args {
        remote_nonnull_domain_snapshot snap;
        int                        maxnames;
        u_int                      flags;
};
struct remote_domain_snapshot_list_children_names_ret {
        struct {
                u_int              names_len;
                remote_nonnull_string * names_val;
        } names;
};
1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003
struct remote_domain_snapshot_list_all_children_args {
        remote_nonnull_domain_snapshot snapshot;
        int                        need_results;
        u_int                      flags;
};
struct remote_domain_snapshot_list_all_children_ret {
        struct {
                u_int              snapshots_len;
                remote_nonnull_domain_snapshot * snapshots_val;
        } snapshots;
        int                        ret;
};
2004
struct remote_domain_snapshot_lookup_by_name_args {
2005
        remote_nonnull_domain      dom;
2006
        remote_nonnull_string      name;
2007
        u_int                      flags;
2008 2009
};
struct remote_domain_snapshot_lookup_by_name_ret {
2010
        remote_nonnull_domain_snapshot snap;
2011 2012
};
struct remote_domain_has_current_snapshot_args {
2013
        remote_nonnull_domain      dom;
2014
        u_int                      flags;
2015 2016
};
struct remote_domain_has_current_snapshot_ret {
2017
        int                        result;
2018
};
2019 2020 2021 2022 2023 2024 2025
struct remote_domain_snapshot_get_parent_args {
        remote_nonnull_domain_snapshot snap;
        u_int                      flags;
};
struct remote_domain_snapshot_get_parent_ret {
        remote_nonnull_domain_snapshot snap;
};
2026
struct remote_domain_snapshot_current_args {
2027
        remote_nonnull_domain      dom;
2028
        u_int                      flags;
2029 2030
};
struct remote_domain_snapshot_current_ret {
2031
        remote_nonnull_domain_snapshot snap;
2032
};
E
Eric Blake 已提交
2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046
struct remote_domain_snapshot_is_current_args {
        remote_nonnull_domain_snapshot snap;
        u_int                      flags;
};
struct remote_domain_snapshot_is_current_ret {
        int                        current;
};
struct remote_domain_snapshot_has_metadata_args {
        remote_nonnull_domain_snapshot snap;
        u_int                      flags;
};
struct remote_domain_snapshot_has_metadata_ret {
        int                        metadata;
};
2047
struct remote_domain_revert_to_snapshot_args {
2048
        remote_nonnull_domain_snapshot snap;
2049
        u_int                      flags;
2050 2051
};
struct remote_domain_snapshot_delete_args {
2052
        remote_nonnull_domain_snapshot snap;
2053
        u_int                      flags;
2054
};
2055
struct remote_domain_open_console_args {
2056
        remote_nonnull_domain      dom;
2057
        remote_string              dev_name;
2058
        u_int                      flags;
2059
};
2060 2061 2062 2063 2064
struct remote_domain_open_channel_args {
        remote_nonnull_domain      dom;
        remote_string              name;
        u_int                      flags;
};
2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076
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;
};
2077 2078 2079 2080 2081 2082 2083 2084
struct remote_domain_get_state_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
struct remote_domain_get_state_ret {
        int                        state;
        int                        reason;
};
2085 2086
struct remote_domain_migrate_begin3_args {
        remote_nonnull_domain      dom;
2087
        remote_string              xmlin;
2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134
        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;
2135
        remote_string              xmlin;
2136 2137 2138 2139
        struct {
                u_int              cookie_in_len;
                char *             cookie_in_val;
        } cookie_in;
2140 2141
        remote_string              dconnuri;
        remote_string              uri;
2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157
        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;
2158 2159
        remote_string              dconnuri;
        remote_string              uri;
2160 2161 2162 2163
        uint64_t                   flags;
        int                        cancelled;
};
struct remote_domain_migrate_finish3_ret {
2164
        remote_nonnull_domain      dom;
2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178
        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;
};
2179 2180 2181
struct remote_domain_event_control_error_msg {
        remote_nonnull_domain      dom;
};
2182 2183 2184 2185
struct remote_domain_event_callback_control_error_msg {
        int                        callbackID;
        remote_domain_event_control_error_msg msg;
};
2186 2187 2188 2189 2190 2191 2192 2193 2194
struct remote_domain_get_control_info_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
struct remote_domain_get_control_info_ret {
        u_int                      state;
        u_int                      details;
        uint64_t                   stateTime;
};
2195 2196 2197 2198 2199
struct remote_domain_open_graphics_args {
        remote_nonnull_domain      dom;
        u_int                      idx;
        u_int                      flags;
};
2200 2201 2202 2203 2204
struct remote_domain_open_graphics_fd_args {
        remote_nonnull_domain      dom;
        u_int                      idx;
        u_int                      flags;
};
2205 2206 2207 2208 2209
struct remote_node_suspend_for_duration_args {
        u_int                      target;
        uint64_t                   duration;
        u_int                      flags;
};
2210 2211 2212 2213
struct remote_domain_shutdown_flags_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225
struct remote_domain_get_disk_errors_args {
        remote_nonnull_domain      dom;
        u_int                      maxerrors;
        u_int                      flags;
};
struct remote_domain_get_disk_errors_ret {
        struct {
                u_int              errors_len;
                remote_domain_disk_error * errors_val;
        } errors;
        int                        nerrors;
};
2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236
struct remote_connect_list_all_domains_args {
        int                        need_results;
        u_int                      flags;
};
struct remote_connect_list_all_domains_ret {
        struct {
                u_int              domains_len;
                remote_nonnull_domain * domains_val;
        } domains;
        u_int                      ret;
};
2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247
struct remote_connect_list_all_storage_pools_args {
        int                        need_results;
        u_int                      flags;
};
struct remote_connect_list_all_storage_pools_ret {
        struct {
                u_int              pools_len;
                remote_nonnull_storage_pool * pools_val;
        } pools;
        u_int                      ret;
};
2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259
struct remote_storage_pool_list_all_volumes_args {
        remote_nonnull_storage_pool pool;
        int                        need_results;
        u_int                      flags;
};
struct remote_storage_pool_list_all_volumes_ret {
        struct {
                u_int              vols_len;
                remote_nonnull_storage_vol * vols_val;
        } vols;
        u_int                      ret;
};
2260
struct remote_connect_list_all_networks_args {
2261 2262 2263
        int                        need_results;
        u_int                      flags;
};
2264
struct remote_connect_list_all_networks_ret {
2265 2266 2267 2268 2269 2270
        struct {
                u_int              nets_len;
                remote_nonnull_network * nets_val;
        } nets;
        u_int                      ret;
};
2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281
struct remote_connect_list_all_interfaces_args {
        int                        need_results;
        u_int                      flags;
};
struct remote_connect_list_all_interfaces_ret {
        struct {
                u_int              ifaces_len;
                remote_nonnull_interface * ifaces_val;
        } ifaces;
        u_int                      ret;
};
2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292
struct remote_connect_list_all_node_devices_args {
        int                        need_results;
        u_int                      flags;
};
struct remote_connect_list_all_node_devices_ret {
        struct {
                u_int              devices_len;
                remote_nonnull_node_device * devices_val;
        } devices;
        u_int                      ret;
};
2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303
struct remote_connect_list_all_nwfilters_args {
        int                        need_results;
        u_int                      flags;
};
struct remote_connect_list_all_nwfilters_ret {
        struct {
                u_int              filters_len;
                remote_nonnull_nwfilter * filters_val;
        } filters;
        u_int                      ret;
};
2304
struct remote_connect_list_all_secrets_args {
2305 2306 2307
        int                        need_results;
        u_int                      flags;
};
2308
struct remote_connect_list_all_secrets_ret {
2309 2310 2311 2312 2313 2314
        struct {
                u_int              secrets_len;
                remote_nonnull_secret * secrets_val;
        } secrets;
        u_int                      ret;
};
2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332
struct remote_node_set_memory_parameters_args {
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        u_int                      flags;
};
struct remote_node_get_memory_parameters_args {
        int                        nparams;
        u_int                      flags;
};
struct remote_node_get_memory_parameters_ret {
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        int                        nparams;
};
2333
struct remote_node_get_cpu_map_args {
2334 2335
        int                        need_map;
        int                        need_online;
2336 2337 2338 2339 2340 2341 2342 2343 2344 2345
        u_int                      flags;
};
struct remote_node_get_cpu_map_ret {
        struct {
                u_int              cpumap_len;
                char *             cpumap_val;
        } cpumap;
        u_int                      online;
        int                        ret;
};
2346 2347 2348 2349 2350 2351
struct remote_domain_fstrim_args {
        remote_nonnull_domain      dom;
        remote_string              mountPoint;
        uint64_t                   minimum;
        u_int                      flags;
};
2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365
struct remote_domain_get_time_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
struct remote_domain_get_time_ret {
        int64_t                    seconds;
        u_int                      nseconds;
};
struct remote_domain_set_time_args {
        remote_nonnull_domain      dom;
        int64_t                    seconds;
        u_int                      nseconds;
        u_int                      flags;
};
2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466
struct remote_domain_migrate_begin3_params_args {
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        u_int                      flags;
};
struct remote_domain_migrate_begin3_params_ret {
        struct {
                u_int              cookie_out_len;
                char *             cookie_out_val;
        } cookie_out;
        remote_nonnull_string      xml;
};
struct remote_domain_migrate_prepare3_params_args {
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        struct {
                u_int              cookie_in_len;
                char *             cookie_in_val;
        } cookie_in;
        u_int                      flags;
};
struct remote_domain_migrate_prepare3_params_ret {
        struct {
                u_int              cookie_out_len;
                char *             cookie_out_val;
        } cookie_out;
        remote_string              uri_out;
};
struct remote_domain_migrate_prepare_tunnel3_params_args {
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        struct {
                u_int              cookie_in_len;
                char *             cookie_in_val;
        } cookie_in;
        u_int                      flags;
};
struct remote_domain_migrate_prepare_tunnel3_params_ret {
        struct {
                u_int              cookie_out_len;
                char *             cookie_out_val;
        } cookie_out;
};
struct remote_domain_migrate_perform3_params_args {
        remote_nonnull_domain      dom;
        remote_string              dconnuri;
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        struct {
                u_int              cookie_in_len;
                char *             cookie_in_val;
        } cookie_in;
        u_int                      flags;
};
struct remote_domain_migrate_perform3_params_ret {
        struct {
                u_int              cookie_out_len;
                char *             cookie_out_val;
        } cookie_out;
};
struct remote_domain_migrate_finish3_params_args {
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        struct {
                u_int              cookie_in_len;
                char *             cookie_in_val;
        } cookie_in;
        u_int                      flags;
        int                        cancelled;
};
struct remote_domain_migrate_finish3_params_ret {
        remote_nonnull_domain      dom;
        struct {
                u_int              cookie_out_len;
                char *             cookie_out_val;
        } cookie_out;
};
struct remote_domain_migrate_confirm3_params_args {
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
        struct {
                u_int              cookie_in_len;
                char *             cookie_in_val;
        } cookie_in;
        u_int                      flags;
        int                        cancelled;
};
2467 2468 2469 2470
struct remote_domain_event_device_removed_msg {
        remote_nonnull_domain      dom;
        remote_nonnull_string      devAlias;
};
2471 2472 2473 2474
struct remote_domain_event_callback_device_removed_msg {
        int                        callbackID;
        remote_domain_event_device_removed_msg msg;
};
2475 2476 2477 2478 2479 2480 2481
struct remote_domain_event_block_job_2_msg {
        int                        callbackID;
        remote_nonnull_domain      dom;
        remote_nonnull_string      dst;
        int                        type;
        int                        status;
};
2482 2483 2484 2485 2486 2487 2488 2489
struct remote_domain_event_callback_tunable_msg {
        int                        callbackID;
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
};
2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501
struct remote_connect_get_cpu_model_names_args {
        remote_nonnull_string      arch;
        int                        need_results;
        u_int                      flags;
};
struct remote_connect_get_cpu_model_names_ret {
        struct {
                u_int              models_len;
                remote_nonnull_string * models_val;
        } models;
        int                        ret;
};
2502 2503
struct remote_connect_network_event_register_any_args {
        int                        eventID;
2504
        remote_network             net;
2505 2506
};
struct remote_connect_network_event_register_any_ret {
2507
        int                        callbackID;
2508 2509
};
struct remote_connect_network_event_deregister_any_args {
2510
        int                        callbackID;
2511 2512
};
struct remote_network_event_lifecycle_msg {
2513
        int                        callbackID;
2514 2515 2516 2517
        remote_nonnull_network     net;
        int                        event;
        int                        detail;
};
2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539
struct remote_domain_fsfreeze_args {
        remote_nonnull_domain      dom;
        struct {
                u_int              mountpoints_len;
                remote_nonnull_string * mountpoints_val;
        } mountpoints;
        u_int                      flags;
};
struct remote_domain_fsfreeze_ret {
        int                        filesystems;
};
struct remote_domain_fsthaw_args {
        remote_nonnull_domain      dom;
        struct {
                u_int              mountpoints_len;
                remote_nonnull_string * mountpoints_val;
        } mountpoints;
        u_int                      flags;
};
struct remote_domain_fsthaw_ret {
        int                        filesystems;
};
M
Michal Privoznik 已提交
2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554
struct remote_node_get_free_pages_args {
        struct {
                u_int              pages_len;
                u_int *            pages_val;
        } pages;
        int                        startCell;
        u_int                      cellCount;
        u_int                      flags;
};
struct remote_node_get_free_pages_ret {
        struct {
                u_int              counts_len;
                uint64_t *         counts_val;
        } counts;
};
M
Michal Privoznik 已提交
2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570
struct remote_node_alloc_pages_args {
        struct {
                u_int              pageSizes_len;
                u_int *            pageSizes_val;
        } pageSizes;
        struct {
                u_int              pageCounts_len;
                uint64_t *         pageCounts_val;
        } pageCounts;
        int                        startCell;
        u_int                      cellCount;
        u_int                      flags;
};
struct remote_node_alloc_pages_ret {
        int                        ret;
};
2571
struct remote_network_dhcp_lease {
2572
        remote_nonnull_string      iface;
2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583
        int64_t                    expirytime;
        int                        type;
        remote_string              mac;
        remote_string              iaid;
        remote_nonnull_string      ipaddr;
        u_int                      prefix;
        remote_string              hostname;
        remote_string              clientid;
};
struct remote_network_get_dhcp_leases_args {
        remote_nonnull_network     net;
2584
        remote_string              mac;
2585 2586 2587 2588 2589 2590 2591 2592 2593 2594
        int                        need_results;
        u_int                      flags;
};
struct remote_network_get_dhcp_leases_ret {
        struct {
                u_int              leases_len;
                remote_network_dhcp_lease * leases_val;
        } leases;
        u_int                      ret;
};
2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609
struct remote_domain_stats_record {
        remote_nonnull_domain      dom;
        struct {
                u_int              params_len;
                remote_typed_param * params_val;
        } params;
};
struct remote_connect_get_all_domain_stats_args {
        struct {
                u_int              doms_len;
                remote_nonnull_domain * doms_val;
        } doms;
        u_int                      stats;
        u_int                      flags;
};
2610 2611 2612 2613 2614 2615
struct remote_domain_event_callback_agent_lifecycle_msg {
        int                        callbackID;
        remote_nonnull_domain      dom;
        int                        state;
        int                        reason;
};
2616 2617 2618 2619 2620 2621
struct remote_connect_get_all_domain_stats_ret {
        struct {
                u_int              retStats_len;
                remote_domain_stats_record * retStats_val;
        } retStats;
};
2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641
struct remote_domain_fsinfo {
        remote_nonnull_string      mountpoint;
        remote_nonnull_string      name;
        remote_nonnull_string      fstype;
        struct {
                u_int              dev_aliases_len;
                remote_nonnull_string * dev_aliases_val;
        } dev_aliases;
};
struct remote_domain_get_fsinfo_args {
        remote_nonnull_domain      dom;
        u_int                      flags;
};
struct remote_domain_get_fsinfo_ret {
        struct {
                u_int              info_len;
                remote_domain_fsinfo * info_val;
        } info;
        u_int                      ret;
};
2642 2643 2644 2645 2646 2647 2648
struct remote_domain_ip_addr {
        int                        type;
        remote_nonnull_string      addr;
        u_int                      prefix;
};
struct remote_domain_interface {
        remote_nonnull_string      name;
2649
        remote_string              hwaddr;
2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665
        struct {
                u_int              addrs_len;
                remote_domain_ip_addr * addrs_val;
        } addrs;
};
struct remote_domain_interface_addresses_args {
        remote_nonnull_domain      dom;
        u_int                      source;
        u_int                      flags;
};
struct remote_domain_interface_addresses_ret {
        struct {
                u_int              ifaces_len;
                remote_domain_interface * ifaces_val;
        } ifaces;
};
2666
enum remote_procedure {
2667 2668 2669 2670 2671
        REMOTE_PROC_CONNECT_OPEN = 1,
        REMOTE_PROC_CONNECT_CLOSE = 2,
        REMOTE_PROC_CONNECT_GET_TYPE = 3,
        REMOTE_PROC_CONNECT_GET_VERSION = 4,
        REMOTE_PROC_CONNECT_GET_MAX_VCPUS = 5,
2672
        REMOTE_PROC_NODE_GET_INFO = 6,
2673
        REMOTE_PROC_CONNECT_GET_CAPABILITIES = 7,
2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686
        REMOTE_PROC_DOMAIN_ATTACH_DEVICE = 8,
        REMOTE_PROC_DOMAIN_CREATE = 9,
        REMOTE_PROC_DOMAIN_CREATE_XML = 10,
        REMOTE_PROC_DOMAIN_DEFINE_XML = 11,
        REMOTE_PROC_DOMAIN_DESTROY = 12,
        REMOTE_PROC_DOMAIN_DETACH_DEVICE = 13,
        REMOTE_PROC_DOMAIN_GET_XML_DESC = 14,
        REMOTE_PROC_DOMAIN_GET_AUTOSTART = 15,
        REMOTE_PROC_DOMAIN_GET_INFO = 16,
        REMOTE_PROC_DOMAIN_GET_MAX_MEMORY = 17,
        REMOTE_PROC_DOMAIN_GET_MAX_VCPUS = 18,
        REMOTE_PROC_DOMAIN_GET_OS_TYPE = 19,
        REMOTE_PROC_DOMAIN_GET_VCPUS = 20,
2687
        REMOTE_PROC_CONNECT_LIST_DEFINED_DOMAINS = 21,
2688 2689 2690
        REMOTE_PROC_DOMAIN_LOOKUP_BY_ID = 22,
        REMOTE_PROC_DOMAIN_LOOKUP_BY_NAME = 23,
        REMOTE_PROC_DOMAIN_LOOKUP_BY_UUID = 24,
2691
        REMOTE_PROC_CONNECT_NUM_OF_DEFINED_DOMAINS = 25,
2692 2693 2694 2695 2696 2697 2698 2699 2700 2701
        REMOTE_PROC_DOMAIN_PIN_VCPU = 26,
        REMOTE_PROC_DOMAIN_REBOOT = 27,
        REMOTE_PROC_DOMAIN_RESUME = 28,
        REMOTE_PROC_DOMAIN_SET_AUTOSTART = 29,
        REMOTE_PROC_DOMAIN_SET_MAX_MEMORY = 30,
        REMOTE_PROC_DOMAIN_SET_MEMORY = 31,
        REMOTE_PROC_DOMAIN_SET_VCPUS = 32,
        REMOTE_PROC_DOMAIN_SHUTDOWN = 33,
        REMOTE_PROC_DOMAIN_SUSPEND = 34,
        REMOTE_PROC_DOMAIN_UNDEFINE = 35,
2702 2703 2704
        REMOTE_PROC_CONNECT_LIST_DEFINED_NETWORKS = 36,
        REMOTE_PROC_CONNECT_LIST_DOMAINS = 37,
        REMOTE_PROC_CONNECT_LIST_NETWORKS = 38,
2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715
        REMOTE_PROC_NETWORK_CREATE = 39,
        REMOTE_PROC_NETWORK_CREATE_XML = 40,
        REMOTE_PROC_NETWORK_DEFINE_XML = 41,
        REMOTE_PROC_NETWORK_DESTROY = 42,
        REMOTE_PROC_NETWORK_GET_XML_DESC = 43,
        REMOTE_PROC_NETWORK_GET_AUTOSTART = 44,
        REMOTE_PROC_NETWORK_GET_BRIDGE_NAME = 45,
        REMOTE_PROC_NETWORK_LOOKUP_BY_NAME = 46,
        REMOTE_PROC_NETWORK_LOOKUP_BY_UUID = 47,
        REMOTE_PROC_NETWORK_SET_AUTOSTART = 48,
        REMOTE_PROC_NETWORK_UNDEFINE = 49,
2716 2717 2718
        REMOTE_PROC_CONNECT_NUM_OF_DEFINED_NETWORKS = 50,
        REMOTE_PROC_CONNECT_NUM_OF_DOMAINS = 51,
        REMOTE_PROC_CONNECT_NUM_OF_NETWORKS = 52,
2719 2720 2721 2722 2723 2724
        REMOTE_PROC_DOMAIN_CORE_DUMP = 53,
        REMOTE_PROC_DOMAIN_RESTORE = 54,
        REMOTE_PROC_DOMAIN_SAVE = 55,
        REMOTE_PROC_DOMAIN_GET_SCHEDULER_TYPE = 56,
        REMOTE_PROC_DOMAIN_GET_SCHEDULER_PARAMETERS = 57,
        REMOTE_PROC_DOMAIN_SET_SCHEDULER_PARAMETERS = 58,
2725 2726
        REMOTE_PROC_CONNECT_GET_HOSTNAME = 59,
        REMOTE_PROC_CONNECT_SUPPORTS_FEATURE = 60,
2727 2728 2729 2730 2731 2732 2733 2734 2735 2736
        REMOTE_PROC_DOMAIN_MIGRATE_PREPARE = 61,
        REMOTE_PROC_DOMAIN_MIGRATE_PERFORM = 62,
        REMOTE_PROC_DOMAIN_MIGRATE_FINISH = 63,
        REMOTE_PROC_DOMAIN_BLOCK_STATS = 64,
        REMOTE_PROC_DOMAIN_INTERFACE_STATS = 65,
        REMOTE_PROC_AUTH_LIST = 66,
        REMOTE_PROC_AUTH_SASL_INIT = 67,
        REMOTE_PROC_AUTH_SASL_START = 68,
        REMOTE_PROC_AUTH_SASL_STEP = 69,
        REMOTE_PROC_AUTH_POLKIT = 70,
2737 2738 2739 2740 2741
        REMOTE_PROC_CONNECT_NUM_OF_STORAGE_POOLS = 71,
        REMOTE_PROC_CONNECT_LIST_STORAGE_POOLS = 72,
        REMOTE_PROC_CONNECT_NUM_OF_DEFINED_STORAGE_POOLS = 73,
        REMOTE_PROC_CONNECT_LIST_DEFINED_STORAGE_POOLS = 74,
        REMOTE_PROC_CONNECT_FIND_STORAGE_POOL_SOURCES = 75,
2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770
        REMOTE_PROC_STORAGE_POOL_CREATE_XML = 76,
        REMOTE_PROC_STORAGE_POOL_DEFINE_XML = 77,
        REMOTE_PROC_STORAGE_POOL_CREATE = 78,
        REMOTE_PROC_STORAGE_POOL_BUILD = 79,
        REMOTE_PROC_STORAGE_POOL_DESTROY = 80,
        REMOTE_PROC_STORAGE_POOL_DELETE = 81,
        REMOTE_PROC_STORAGE_POOL_UNDEFINE = 82,
        REMOTE_PROC_STORAGE_POOL_REFRESH = 83,
        REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_NAME = 84,
        REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_UUID = 85,
        REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_VOLUME = 86,
        REMOTE_PROC_STORAGE_POOL_GET_INFO = 87,
        REMOTE_PROC_STORAGE_POOL_GET_XML_DESC = 88,
        REMOTE_PROC_STORAGE_POOL_GET_AUTOSTART = 89,
        REMOTE_PROC_STORAGE_POOL_SET_AUTOSTART = 90,
        REMOTE_PROC_STORAGE_POOL_NUM_OF_VOLUMES = 91,
        REMOTE_PROC_STORAGE_POOL_LIST_VOLUMES = 92,
        REMOTE_PROC_STORAGE_VOL_CREATE_XML = 93,
        REMOTE_PROC_STORAGE_VOL_DELETE = 94,
        REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_NAME = 95,
        REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_KEY = 96,
        REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_PATH = 97,
        REMOTE_PROC_STORAGE_VOL_GET_INFO = 98,
        REMOTE_PROC_STORAGE_VOL_GET_XML_DESC = 99,
        REMOTE_PROC_STORAGE_VOL_GET_PATH = 100,
        REMOTE_PROC_NODE_GET_CELLS_FREE_MEMORY = 101,
        REMOTE_PROC_NODE_GET_FREE_MEMORY = 102,
        REMOTE_PROC_DOMAIN_BLOCK_PEEK = 103,
        REMOTE_PROC_DOMAIN_MEMORY_PEEK = 104,
2771 2772
        REMOTE_PROC_CONNECT_DOMAIN_EVENT_REGISTER = 105,
        REMOTE_PROC_CONNECT_DOMAIN_EVENT_DEREGISTER = 106,
2773 2774 2775
        REMOTE_PROC_DOMAIN_EVENT_LIFECYCLE = 107,
        REMOTE_PROC_DOMAIN_MIGRATE_PREPARE2 = 108,
        REMOTE_PROC_DOMAIN_MIGRATE_FINISH2 = 109,
2776
        REMOTE_PROC_CONNECT_GET_URI = 110,
2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791
        REMOTE_PROC_NODE_NUM_OF_DEVICES = 111,
        REMOTE_PROC_NODE_LIST_DEVICES = 112,
        REMOTE_PROC_NODE_DEVICE_LOOKUP_BY_NAME = 113,
        REMOTE_PROC_NODE_DEVICE_GET_XML_DESC = 114,
        REMOTE_PROC_NODE_DEVICE_GET_PARENT = 115,
        REMOTE_PROC_NODE_DEVICE_NUM_OF_CAPS = 116,
        REMOTE_PROC_NODE_DEVICE_LIST_CAPS = 117,
        REMOTE_PROC_NODE_DEVICE_DETTACH = 118,
        REMOTE_PROC_NODE_DEVICE_RE_ATTACH = 119,
        REMOTE_PROC_NODE_DEVICE_RESET = 120,
        REMOTE_PROC_DOMAIN_GET_SECURITY_LABEL = 121,
        REMOTE_PROC_NODE_GET_SECURITY_MODEL = 122,
        REMOTE_PROC_NODE_DEVICE_CREATE_XML = 123,
        REMOTE_PROC_NODE_DEVICE_DESTROY = 124,
        REMOTE_PROC_STORAGE_VOL_CREATE_XML_FROM = 125,
2792 2793
        REMOTE_PROC_CONNECT_NUM_OF_INTERFACES = 126,
        REMOTE_PROC_CONNECT_LIST_INTERFACES = 127,
2794 2795 2796 2797 2798 2799 2800
        REMOTE_PROC_INTERFACE_LOOKUP_BY_NAME = 128,
        REMOTE_PROC_INTERFACE_LOOKUP_BY_MAC_STRING = 129,
        REMOTE_PROC_INTERFACE_GET_XML_DESC = 130,
        REMOTE_PROC_INTERFACE_DEFINE_XML = 131,
        REMOTE_PROC_INTERFACE_UNDEFINE = 132,
        REMOTE_PROC_INTERFACE_CREATE = 133,
        REMOTE_PROC_INTERFACE_DESTROY = 134,
2801 2802 2803 2804 2805 2806
        REMOTE_PROC_CONNECT_DOMAIN_XML_FROM_NATIVE = 135,
        REMOTE_PROC_CONNECT_DOMAIN_XML_TO_NATIVE = 136,
        REMOTE_PROC_CONNECT_NUM_OF_DEFINED_INTERFACES = 137,
        REMOTE_PROC_CONNECT_LIST_DEFINED_INTERFACES = 138,
        REMOTE_PROC_CONNECT_NUM_OF_SECRETS = 139,
        REMOTE_PROC_CONNECT_LIST_SECRETS = 140,
2807 2808 2809 2810 2811 2812 2813 2814
        REMOTE_PROC_SECRET_LOOKUP_BY_UUID = 141,
        REMOTE_PROC_SECRET_DEFINE_XML = 142,
        REMOTE_PROC_SECRET_GET_XML_DESC = 143,
        REMOTE_PROC_SECRET_SET_VALUE = 144,
        REMOTE_PROC_SECRET_GET_VALUE = 145,
        REMOTE_PROC_SECRET_UNDEFINE = 146,
        REMOTE_PROC_SECRET_LOOKUP_BY_USAGE = 147,
        REMOTE_PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL = 148,
2815
        REMOTE_PROC_CONNECT_IS_SECURE = 149,
2816 2817 2818 2819 2820 2821 2822
        REMOTE_PROC_DOMAIN_IS_ACTIVE = 150,
        REMOTE_PROC_DOMAIN_IS_PERSISTENT = 151,
        REMOTE_PROC_NETWORK_IS_ACTIVE = 152,
        REMOTE_PROC_NETWORK_IS_PERSISTENT = 153,
        REMOTE_PROC_STORAGE_POOL_IS_ACTIVE = 154,
        REMOTE_PROC_STORAGE_POOL_IS_PERSISTENT = 155,
        REMOTE_PROC_INTERFACE_IS_ACTIVE = 156,
2823 2824
        REMOTE_PROC_CONNECT_GET_LIB_VERSION = 157,
        REMOTE_PROC_CONNECT_COMPARE_CPU = 158,
2825 2826 2827
        REMOTE_PROC_DOMAIN_MEMORY_STATS = 159,
        REMOTE_PROC_DOMAIN_ATTACH_DEVICE_FLAGS = 160,
        REMOTE_PROC_DOMAIN_DETACH_DEVICE_FLAGS = 161,
2828
        REMOTE_PROC_CONNECT_BASELINE_CPU = 162,
2829 2830 2831 2832
        REMOTE_PROC_DOMAIN_GET_JOB_INFO = 163,
        REMOTE_PROC_DOMAIN_ABORT_JOB = 164,
        REMOTE_PROC_STORAGE_VOL_WIPE = 165,
        REMOTE_PROC_DOMAIN_MIGRATE_SET_MAX_DOWNTIME = 166,
2833 2834
        REMOTE_PROC_CONNECT_DOMAIN_EVENT_REGISTER_ANY = 167,
        REMOTE_PROC_CONNECT_DOMAIN_EVENT_DEREGISTER_ANY = 168,
2835 2836 2837 2838 2839 2840 2841 2842 2843
        REMOTE_PROC_DOMAIN_EVENT_REBOOT = 169,
        REMOTE_PROC_DOMAIN_EVENT_RTC_CHANGE = 170,
        REMOTE_PROC_DOMAIN_EVENT_WATCHDOG = 171,
        REMOTE_PROC_DOMAIN_EVENT_IO_ERROR = 172,
        REMOTE_PROC_DOMAIN_EVENT_GRAPHICS = 173,
        REMOTE_PROC_DOMAIN_UPDATE_DEVICE_FLAGS = 174,
        REMOTE_PROC_NWFILTER_LOOKUP_BY_NAME = 175,
        REMOTE_PROC_NWFILTER_LOOKUP_BY_UUID = 176,
        REMOTE_PROC_NWFILTER_GET_XML_DESC = 177,
2844 2845
        REMOTE_PROC_CONNECT_NUM_OF_NWFILTERS = 178,
        REMOTE_PROC_CONNECT_LIST_NWFILTERS = 179,
2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868
        REMOTE_PROC_NWFILTER_DEFINE_XML = 180,
        REMOTE_PROC_NWFILTER_UNDEFINE = 181,
        REMOTE_PROC_DOMAIN_MANAGED_SAVE = 182,
        REMOTE_PROC_DOMAIN_HAS_MANAGED_SAVE_IMAGE = 183,
        REMOTE_PROC_DOMAIN_MANAGED_SAVE_REMOVE = 184,
        REMOTE_PROC_DOMAIN_SNAPSHOT_CREATE_XML = 185,
        REMOTE_PROC_DOMAIN_SNAPSHOT_GET_XML_DESC = 186,
        REMOTE_PROC_DOMAIN_SNAPSHOT_NUM = 187,
        REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_NAMES = 188,
        REMOTE_PROC_DOMAIN_SNAPSHOT_LOOKUP_BY_NAME = 189,
        REMOTE_PROC_DOMAIN_HAS_CURRENT_SNAPSHOT = 190,
        REMOTE_PROC_DOMAIN_SNAPSHOT_CURRENT = 191,
        REMOTE_PROC_DOMAIN_REVERT_TO_SNAPSHOT = 192,
        REMOTE_PROC_DOMAIN_SNAPSHOT_DELETE = 193,
        REMOTE_PROC_DOMAIN_GET_BLOCK_INFO = 194,
        REMOTE_PROC_DOMAIN_EVENT_IO_ERROR_REASON = 195,
        REMOTE_PROC_DOMAIN_CREATE_WITH_FLAGS = 196,
        REMOTE_PROC_DOMAIN_SET_MEMORY_PARAMETERS = 197,
        REMOTE_PROC_DOMAIN_GET_MEMORY_PARAMETERS = 198,
        REMOTE_PROC_DOMAIN_SET_VCPUS_FLAGS = 199,
        REMOTE_PROC_DOMAIN_GET_VCPUS_FLAGS = 200,
        REMOTE_PROC_DOMAIN_OPEN_CONSOLE = 201,
        REMOTE_PROC_DOMAIN_IS_UPDATED = 202,
2869
        REMOTE_PROC_CONNECT_GET_SYSINFO = 203,
2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896
        REMOTE_PROC_DOMAIN_SET_MEMORY_FLAGS = 204,
        REMOTE_PROC_DOMAIN_SET_BLKIO_PARAMETERS = 205,
        REMOTE_PROC_DOMAIN_GET_BLKIO_PARAMETERS = 206,
        REMOTE_PROC_DOMAIN_MIGRATE_SET_MAX_SPEED = 207,
        REMOTE_PROC_STORAGE_VOL_UPLOAD = 208,
        REMOTE_PROC_STORAGE_VOL_DOWNLOAD = 209,
        REMOTE_PROC_DOMAIN_INJECT_NMI = 210,
        REMOTE_PROC_DOMAIN_SCREENSHOT = 211,
        REMOTE_PROC_DOMAIN_GET_STATE = 212,
        REMOTE_PROC_DOMAIN_MIGRATE_BEGIN3 = 213,
        REMOTE_PROC_DOMAIN_MIGRATE_PREPARE3 = 214,
        REMOTE_PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL3 = 215,
        REMOTE_PROC_DOMAIN_MIGRATE_PERFORM3 = 216,
        REMOTE_PROC_DOMAIN_MIGRATE_FINISH3 = 217,
        REMOTE_PROC_DOMAIN_MIGRATE_CONFIRM3 = 218,
        REMOTE_PROC_DOMAIN_SET_SCHEDULER_PARAMETERS_FLAGS = 219,
        REMOTE_PROC_INTERFACE_CHANGE_BEGIN = 220,
        REMOTE_PROC_INTERFACE_CHANGE_COMMIT = 221,
        REMOTE_PROC_INTERFACE_CHANGE_ROLLBACK = 222,
        REMOTE_PROC_DOMAIN_GET_SCHEDULER_PARAMETERS_FLAGS = 223,
        REMOTE_PROC_DOMAIN_EVENT_CONTROL_ERROR = 224,
        REMOTE_PROC_DOMAIN_PIN_VCPU_FLAGS = 225,
        REMOTE_PROC_DOMAIN_SEND_KEY = 226,
        REMOTE_PROC_NODE_GET_CPU_STATS = 227,
        REMOTE_PROC_NODE_GET_MEMORY_STATS = 228,
        REMOTE_PROC_DOMAIN_GET_CONTROL_INFO = 229,
        REMOTE_PROC_DOMAIN_GET_VCPU_PIN_INFO = 230,
E
Eric Blake 已提交
2897
        REMOTE_PROC_DOMAIN_UNDEFINE_FLAGS = 231,
E
Eric Blake 已提交
2898 2899
        REMOTE_PROC_DOMAIN_SAVE_FLAGS = 232,
        REMOTE_PROC_DOMAIN_RESTORE_FLAGS = 233,
2900
        REMOTE_PROC_DOMAIN_DESTROY_FLAGS = 234,
E
Eric Blake 已提交
2901 2902
        REMOTE_PROC_DOMAIN_SAVE_IMAGE_GET_XML_DESC = 235,
        REMOTE_PROC_DOMAIN_SAVE_IMAGE_DEFINE_XML = 236,
2903 2904 2905 2906
        REMOTE_PROC_DOMAIN_BLOCK_JOB_ABORT = 237,
        REMOTE_PROC_DOMAIN_GET_BLOCK_JOB_INFO = 238,
        REMOTE_PROC_DOMAIN_BLOCK_JOB_SET_SPEED = 239,
        REMOTE_PROC_DOMAIN_BLOCK_PULL = 240,
2907
        REMOTE_PROC_DOMAIN_EVENT_BLOCK_JOB = 241,
2908
        REMOTE_PROC_DOMAIN_MIGRATE_GET_MAX_SPEED = 242,
2909
        REMOTE_PROC_DOMAIN_BLOCK_STATS_FLAGS = 243,
2910
        REMOTE_PROC_DOMAIN_SNAPSHOT_GET_PARENT = 244,
2911
        REMOTE_PROC_DOMAIN_RESET = 245,
2912 2913
        REMOTE_PROC_DOMAIN_SNAPSHOT_NUM_CHILDREN = 246,
        REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_CHILDREN_NAMES = 247,
2914
        REMOTE_PROC_DOMAIN_EVENT_DISK_CHANGE = 248,
2915
        REMOTE_PROC_DOMAIN_OPEN_GRAPHICS = 249,
2916
        REMOTE_PROC_NODE_SUSPEND_FOR_DURATION = 250,
E
Eric Blake 已提交
2917
        REMOTE_PROC_DOMAIN_BLOCK_RESIZE = 251,
2918 2919
        REMOTE_PROC_DOMAIN_SET_BLOCK_IO_TUNE = 252,
        REMOTE_PROC_DOMAIN_GET_BLOCK_IO_TUNE = 253,
2920 2921
        REMOTE_PROC_DOMAIN_SET_NUMA_PARAMETERS = 254,
        REMOTE_PROC_DOMAIN_GET_NUMA_PARAMETERS = 255,
2922 2923
        REMOTE_PROC_DOMAIN_SET_INTERFACE_PARAMETERS = 256,
        REMOTE_PROC_DOMAIN_GET_INTERFACE_PARAMETERS = 257,
2924
        REMOTE_PROC_DOMAIN_SHUTDOWN_FLAGS = 258,
2925
        REMOTE_PROC_STORAGE_VOL_WIPE_PATTERN = 259,
2926
        REMOTE_PROC_STORAGE_VOL_RESIZE = 260,
2927
        REMOTE_PROC_DOMAIN_PM_SUSPEND_FOR_DURATION = 261,
2928
        REMOTE_PROC_DOMAIN_GET_CPU_STATS = 262,
2929
        REMOTE_PROC_DOMAIN_GET_DISK_ERRORS = 263,
2930 2931
        REMOTE_PROC_DOMAIN_SET_METADATA = 264,
        REMOTE_PROC_DOMAIN_GET_METADATA = 265,
2932
        REMOTE_PROC_DOMAIN_BLOCK_REBASE = 266,
2933
        REMOTE_PROC_DOMAIN_PM_WAKEUP = 267,
2934 2935 2936
        REMOTE_PROC_DOMAIN_EVENT_TRAY_CHANGE = 268,
        REMOTE_PROC_DOMAIN_EVENT_PMWAKEUP = 269,
        REMOTE_PROC_DOMAIN_EVENT_PMSUSPEND = 270,
E
Eric Blake 已提交
2937 2938
        REMOTE_PROC_DOMAIN_SNAPSHOT_IS_CURRENT = 271,
        REMOTE_PROC_DOMAIN_SNAPSHOT_HAS_METADATA = 272,
2939
        REMOTE_PROC_CONNECT_LIST_ALL_DOMAINS = 273,
2940 2941
        REMOTE_PROC_DOMAIN_LIST_ALL_SNAPSHOTS = 274,
        REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_ALL_CHILDREN = 275,
2942
        REMOTE_PROC_DOMAIN_EVENT_BALLOON_CHANGE = 276,
2943
        REMOTE_PROC_DOMAIN_GET_HOSTNAME = 277,
M
Marcelo Cerri 已提交
2944
        REMOTE_PROC_DOMAIN_GET_SECURITY_LABEL_LIST = 278,
2945 2946
        REMOTE_PROC_DOMAIN_PIN_EMULATOR = 279,
        REMOTE_PROC_DOMAIN_GET_EMULATOR_PIN_INFO = 280,
2947
        REMOTE_PROC_CONNECT_LIST_ALL_STORAGE_POOLS = 281,
2948
        REMOTE_PROC_STORAGE_POOL_LIST_ALL_VOLUMES = 282,
2949
        REMOTE_PROC_CONNECT_LIST_ALL_NETWORKS = 283,
2950
        REMOTE_PROC_CONNECT_LIST_ALL_INTERFACES = 284,
2951
        REMOTE_PROC_CONNECT_LIST_ALL_NODE_DEVICES = 285,
2952
        REMOTE_PROC_CONNECT_LIST_ALL_NWFILTERS = 286,
2953
        REMOTE_PROC_CONNECT_LIST_ALL_SECRETS = 287,
2954 2955
        REMOTE_PROC_NODE_SET_MEMORY_PARAMETERS = 288,
        REMOTE_PROC_NODE_GET_MEMORY_PARAMETERS = 289,
2956
        REMOTE_PROC_DOMAIN_BLOCK_COMMIT = 290,
2957
        REMOTE_PROC_NETWORK_UPDATE = 291,
2958
        REMOTE_PROC_DOMAIN_EVENT_PMSUSPEND_DISK = 292,
2959
        REMOTE_PROC_NODE_GET_CPU_MAP = 293,
2960
        REMOTE_PROC_DOMAIN_FSTRIM = 294,
2961
        REMOTE_PROC_DOMAIN_SEND_PROCESS_SIGNAL = 295,
2962
        REMOTE_PROC_DOMAIN_OPEN_CHANNEL = 296,
O
Osier Yang 已提交
2963
        REMOTE_PROC_NODE_DEVICE_LOOKUP_SCSI_HOST_BY_WWN = 297,
2964
        REMOTE_PROC_DOMAIN_GET_JOB_STATS = 298,
2965 2966
        REMOTE_PROC_DOMAIN_MIGRATE_GET_COMPRESSION_CACHE = 299,
        REMOTE_PROC_DOMAIN_MIGRATE_SET_COMPRESSION_CACHE = 300,
2967
        REMOTE_PROC_NODE_DEVICE_DETACH_FLAGS = 301,
2968 2969 2970 2971 2972 2973
        REMOTE_PROC_DOMAIN_MIGRATE_BEGIN3_PARAMS = 302,
        REMOTE_PROC_DOMAIN_MIGRATE_PREPARE3_PARAMS = 303,
        REMOTE_PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL3_PARAMS = 304,
        REMOTE_PROC_DOMAIN_MIGRATE_PERFORM3_PARAMS = 305,
        REMOTE_PROC_DOMAIN_MIGRATE_FINISH3_PARAMS = 306,
        REMOTE_PROC_DOMAIN_MIGRATE_CONFIRM3_PARAMS = 307,
2974
        REMOTE_PROC_DOMAIN_SET_MEMORY_STATS_PERIOD = 308,
2975 2976
        REMOTE_PROC_DOMAIN_CREATE_XML_WITH_FILES = 309,
        REMOTE_PROC_DOMAIN_CREATE_WITH_FILES = 310,
2977
        REMOTE_PROC_DOMAIN_EVENT_DEVICE_REMOVED = 311,
2978
        REMOTE_PROC_CONNECT_GET_CPU_MODEL_NAMES = 312,
2979 2980 2981
        REMOTE_PROC_CONNECT_NETWORK_EVENT_REGISTER_ANY = 313,
        REMOTE_PROC_CONNECT_NETWORK_EVENT_DEREGISTER_ANY = 314,
        REMOTE_PROC_NETWORK_EVENT_LIFECYCLE = 315,
2982 2983 2984
        REMOTE_PROC_CONNECT_DOMAIN_EVENT_CALLBACK_REGISTER_ANY = 316,
        REMOTE_PROC_CONNECT_DOMAIN_EVENT_CALLBACK_DEREGISTER_ANY = 317,
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_LIFECYCLE = 318,
2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_REBOOT = 319,
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_RTC_CHANGE = 320,
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_WATCHDOG = 321,
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_IO_ERROR = 322,
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_GRAPHICS = 323,
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_IO_ERROR_REASON = 324,
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_CONTROL_ERROR = 325,
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_BLOCK_JOB = 326,
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_DISK_CHANGE = 327,
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_TRAY_CHANGE = 328,
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_PMWAKEUP = 329,
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_PMSUSPEND = 330,
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_BALLOON_CHANGE = 331,
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_PMSUSPEND_DISK = 332,
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_DEVICE_REMOVED = 333,
3000
        REMOTE_PROC_DOMAIN_CORE_DUMP_WITH_FORMAT = 334,
3001 3002
        REMOTE_PROC_DOMAIN_FSFREEZE = 335,
        REMOTE_PROC_DOMAIN_FSTHAW = 336,
3003 3004
        REMOTE_PROC_DOMAIN_GET_TIME = 337,
        REMOTE_PROC_DOMAIN_SET_TIME = 338,
3005
        REMOTE_PROC_DOMAIN_EVENT_BLOCK_JOB_2 = 339,
M
Michal Privoznik 已提交
3006
        REMOTE_PROC_NODE_GET_FREE_PAGES = 340,
3007
        REMOTE_PROC_NETWORK_GET_DHCP_LEASES = 341,
3008
        REMOTE_PROC_CONNECT_GET_DOMAIN_CAPABILITIES = 342,
3009
        REMOTE_PROC_DOMAIN_OPEN_GRAPHICS_FD = 343,
3010
        REMOTE_PROC_CONNECT_GET_ALL_DOMAIN_STATS = 344,
3011
        REMOTE_PROC_DOMAIN_BLOCK_COPY = 345,
3012
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_TUNABLE = 346,
M
Michal Privoznik 已提交
3013
        REMOTE_PROC_NODE_ALLOC_PAGES = 347,
3014
        REMOTE_PROC_DOMAIN_EVENT_CALLBACK_AGENT_LIFECYCLE = 348,
3015
        REMOTE_PROC_DOMAIN_GET_FSINFO = 349,
3016
        REMOTE_PROC_DOMAIN_DEFINE_XML_FLAGS = 350,
3017
        REMOTE_PROC_DOMAIN_GET_IOTHREAD_INFO = 351,
3018
        REMOTE_PROC_DOMAIN_PIN_IOTHREAD = 352,
3019
        REMOTE_PROC_DOMAIN_INTERFACE_ADDRESSES = 353,
3020
};