remote_protocol.x 137.3 KB
Newer Older
1 2 3 4 5
/* -*- c -*-
 * remote_protocol.x: private protocol for communicating between
 *   remote_internal driver and libvirtd.  This protocol is
 *   internal and may change at any time.
 *
6
 * Copyright (C) 2006-2015 Red Hat, Inc.
7 8 9 10 11 12 13 14 15 16 17 18
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
19
 * License along with this library.  If not, see
20
 * <http://www.gnu.org/licenses/>.
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
 *
 * Author: Richard Jones <rjones@redhat.com>
 */

/* Notes:
 *
 * (1) The protocol is internal and may change at any time, without
 * notice.  Do not use it.  Instead link to libvirt and use the remote
 * driver.
 *
 * (2) See bottom of this file for a description of the home-brew RPC.
 *
 * (3) Authentication/encryption is done outside this protocol.
 *
 * (4) For namespace reasons, all exported names begin 'remote_' or
 * 'REMOTE_'.  This makes names quite long.
 */

39
%#include <libvirt/libvirt.h>
40
%#include "internal.h"
41
%#include "virxdrdefs.h"
42
%#include <arpa/inet.h>
43 44 45 46 47 48 49

/*----- Data types. -----*/

/* Length of long, but not unbounded, strings.
 * This is an arbitrary limit designed to stop the decoder from trying
 * to allocate unbounded amounts of memory when fed with a bad message.
 */
50
const REMOTE_STRING_MAX = 4194304;
51 52 53 54 55 56 57

/* A long string, which may NOT be NULL. */
typedef string remote_nonnull_string<REMOTE_STRING_MAX>;

/* A long string, which may be NULL. */
typedef remote_nonnull_string *remote_string;

58 59
/* Upper limit on lists of domains. */
const REMOTE_DOMAIN_LIST_MAX = 16384;
60 61

/* Upper limit on cpumap (bytes) passed to virDomainPinVcpu. */
62
const REMOTE_CPUMAP_MAX = 2048;
63 64

/* Upper limit on number of info fields returned by virDomainGetVcpus. */
65
const REMOTE_VCPUINFO_MAX = 16384;
66 67

/* Upper limit on cpumaps (bytes) passed to virDomainGetVcpus. */
68
const REMOTE_CPUMAPS_MAX = 8388608;
69

70
/* Upper limit on number of info fields returned by virDomainGetIOThreads. */
71
const REMOTE_IOTHREAD_INFO_MAX = 16384;
72

73
/* Upper limit on migrate cookie. */
74
const REMOTE_MIGRATE_COOKIE_MAX = 4194304;
75

76 77
/* Upper limit on lists of networks. */
const REMOTE_NETWORK_LIST_MAX = 16384;
78

79 80
/* Upper limit on lists of interfaces. */
const REMOTE_INTERFACE_LIST_MAX = 16384;
81

82
/* Upper limit on lists of storage pools. */
83
const REMOTE_STORAGE_POOL_LIST_MAX = 16384;
84

85 86
/* Upper limit on lists of storage vols. */
const REMOTE_STORAGE_VOL_LIST_MAX = 16384;
87

88
/* Upper limit on lists of node devices. */
89
const REMOTE_NODE_DEVICE_LIST_MAX = 65536;
90 91

/* Upper limit on lists of node device capabilities. */
M
Michal Privoznik 已提交
92
const REMOTE_NODE_DEVICE_CAPS_LIST_MAX = 65536;
93

94
/* Upper limit on lists of network filters. */
95
const REMOTE_NWFILTER_LIST_MAX = 16384;
96

97 98 99
/* Upper limit on lists of network filter bindings. */
const REMOTE_NWFILTER_BINDING_LIST_MAX = 16384;

100 101 102
/* Upper limit on list of scheduler parameters. */
const REMOTE_DOMAIN_SCHEDULER_PARAMETERS_MAX = 16;

103 104 105
/* Upper limit on list of blkio parameters. */
const REMOTE_DOMAIN_BLKIO_PARAMETERS_MAX = 16;

106 107 108
/* Upper limit on list of memory parameters. */
const REMOTE_DOMAIN_MEMORY_PARAMETERS_MAX = 16;

109
/* Upper limit on list of blockio tuning parameters. */
110
const REMOTE_DOMAIN_BLOCK_IO_TUNE_PARAMETERS_MAX = 32;
111

112 113 114
/* Upper limit on list of numa parameters. */
const REMOTE_DOMAIN_NUMA_PARAMETERS_MAX = 16;

115 116 117
/* Upper limit on list of perf events. */
const REMOTE_DOMAIN_PERF_EVENTS_MAX = 64;

118 119 120
/* Upper limit on block copy tunable parameters. */
const REMOTE_DOMAIN_BLOCK_COPY_PARAMETERS_MAX = 16;

121 122 123
/* Upper limit on list of node cpu stats. */
const REMOTE_NODE_CPU_STATS_MAX = 16;

124 125 126
/* Upper limit on list of node memory stats. */
const REMOTE_NODE_MEMORY_STATS_MAX = 16;

127 128 129
/* Upper limit on list of block stats. */
const REMOTE_DOMAIN_BLOCK_STATS_PARAMETERS_MAX = 16;

130 131 132
/* Upper limit on number of NUMA cells */
const REMOTE_NODE_MAX_CELLS = 1024;

133 134 135 136 137 138
/* Upper limit on SASL auth negotiation packet */
const REMOTE_AUTH_SASL_DATA_MAX = 65536;

/* Maximum number of auth types */
const REMOTE_AUTH_TYPE_LIST_MAX = 20;

139 140 141
/* Upper limit on list of memory stats */
const REMOTE_DOMAIN_MEMORY_STATS_MAX = 1024;

C
Chris Lalancette 已提交
142
/* Upper limit on lists of domain snapshots. */
143
const REMOTE_DOMAIN_SNAPSHOT_LIST_MAX = 16384;
C
Chris Lalancette 已提交
144

R
Richard W.M. Jones 已提交
145
/* Maximum length of a block peek buffer message.
146 147 148
 * Note applications need to be aware of this limit and issue multiple
 * requests for large amounts of data.
 */
149
const REMOTE_DOMAIN_BLOCK_PEEK_BUFFER_MAX = 4194304;
150

R
Richard W.M. Jones 已提交
151 152 153 154
/* Maximum length of a memory peek buffer message.
 * Note applications need to be aware of this limit and issue multiple
 * requests for large amounts of data.
 */
155
const REMOTE_DOMAIN_MEMORY_PEEK_BUFFER_MAX = 4194304;
R
Richard W.M. Jones 已提交
156

M
Marcelo Cerri 已提交
157 158 159 160 161
/*
 * Maximum length of a security label list.
 */
const REMOTE_SECURITY_LABEL_LIST_MAX=64;

162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
/*
 * Maximum length of a security model field.
 */
const REMOTE_SECURITY_MODEL_MAX = VIR_SECURITY_MODEL_BUFLEN;

/*
 * Maximum length of a security label field.
 */
const REMOTE_SECURITY_LABEL_MAX = VIR_SECURITY_LABEL_BUFLEN;

/*
 * Maximum length of a security DOI field.
 */
const REMOTE_SECURITY_DOI_MAX = VIR_SECURITY_DOI_BUFLEN;

177 178 179 180 181 182 183 184
/*
 * Maximum size of a secret value.
 */
const REMOTE_SECRET_VALUE_MAX = 65536;

/*
 * Upper limit on list of secrets.
 */
185
const REMOTE_SECRET_LIST_MAX = 16384;
186

187 188 189 190 191
/*
 * Upper limit on list of CPUs accepted when computing a baseline CPU.
 */
const REMOTE_CPU_BASELINE_MAX = 256;

192 193 194 195 196
/*
 * Max number of sending keycodes.
 */
const REMOTE_DOMAIN_SEND_KEY_MAX = 16;

197 198 199 200 201
/*
 * Upper limit on list of interface parameters
 */
const REMOTE_DOMAIN_INTERFACE_PARAMETERS_MAX = 16;

202 203 204 205 206 207 208 209 210 211 212
/*
 * Upper limit on cpus involved in per-cpu stats
 */
const REMOTE_DOMAIN_GET_CPU_STATS_NCPUS_MAX = 128;

/*
 * Upper limit on list of per-cpu stats:
 *  REMOTE_NODE_CPU_STATS_MAX * REMOTE_DOMAIN_GET_CPU_STATS_MAX
 */
const REMOTE_DOMAIN_GET_CPU_STATS_MAX = 2048;

213 214 215 216 217
/*
 * Upper limit on number of disks with errors
 */
const REMOTE_DOMAIN_DISK_ERRORS_MAX = 256;

218 219 220 221 222
/*
 * Upper limit on number of memory parameters
 */
const REMOTE_NODE_MEMORY_PARAMETERS_MAX = 64;

223 224 225
/* Upper limit on migrate parameters */
const REMOTE_DOMAIN_MIGRATE_PARAM_LIST_MAX = 64;

226
/* Upper limit on number of job stats */
227
const REMOTE_DOMAIN_JOB_STATS_MAX = 64;
228

229 230 231
/* Upper limit on number of CPU models */
const REMOTE_CONNECT_CPU_MODELS_MAX = 8192;

232 233 234
/* Upper limit on number of mountpoints to frozen */
const REMOTE_DOMAIN_FSFREEZE_MOUNTPOINTS_MAX = 256;

235 236 237
/* Upper limit on the maximum number of leases in one lease file */
const REMOTE_NETWORK_DHCP_LEASES_MAX = 65536;

238
/* Upper limit on count of parameters returned via bulk stats API */
239
const REMOTE_CONNECT_GET_ALL_DOMAIN_STATS_MAX = 262144;
240

241
/* Upper limit of message size for tunable event. */
242
const REMOTE_DOMAIN_EVENT_TUNABLE_MAX = 2048;
243

244 245 246 247 248 249
/* Upper limit on number of mountpoints in fsinfo */
const REMOTE_DOMAIN_FSINFO_MAX = 256;

/* Upper limit on number of disks per mountpoint in fsinfo */
const REMOTE_DOMAIN_FSINFO_DISKS_MAX = 256;

250 251 252 253 254 255
/* Upper limit on number of interfaces per domain */
const REMOTE_DOMAIN_INTERFACE_MAX = 2048;

/* Upper limit on number of IP addresses per interface */
const REMOTE_DOMAIN_IP_ADDR_MAX = 2048;

256 257 258
/* Upper limit on number of guest vcpu information entries */
const REMOTE_DOMAIN_GUEST_VCPU_PARAMS_MAX = 64;

259 260 261
/* Upper limit on number of SEV parameters */
const REMOTE_NODE_SEV_INFO_MAX = 64;

262 263 264
/* Upper limit on number of launch security information entries */
const REMOTE_DOMAIN_LAUNCH_SECURITY_INFO_PARAMS_MAX = 64;

265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280
/* UUID.  VIR_UUID_BUFLEN definition comes from libvirt.h */
typedef opaque remote_uuid[VIR_UUID_BUFLEN];

/* A domain which may not be NULL. */
struct remote_nonnull_domain {
    remote_nonnull_string name;
    remote_uuid uuid;
    int id;
};

/* A network which may not be NULL. */
struct remote_nonnull_network {
    remote_nonnull_string name;
    remote_uuid uuid;
};

281 282 283 284 285 286
/* A network filter which may not be NULL. */
struct remote_nonnull_nwfilter {
    remote_nonnull_string name;
    remote_uuid uuid;
};

287 288 289 290 291 292
/* A network filter binding which may not be NULL. */
struct remote_nonnull_nwfilter_binding {
    remote_nonnull_string portdev;
    remote_nonnull_string filtername;
};

D
Daniel Veillard 已提交
293 294 295 296 297 298
/* An interface which may not be NULL. */
struct remote_nonnull_interface {
    remote_nonnull_string name;
    remote_nonnull_string mac;
};

299 300 301 302 303 304 305 306 307 308 309 310 311
/* A storage pool which may not be NULL. */
struct remote_nonnull_storage_pool {
    remote_nonnull_string name;
    remote_uuid uuid;
};

/* A storage vol which may not be NULL. */
struct remote_nonnull_storage_vol {
    remote_nonnull_string pool;
    remote_nonnull_string name;
    remote_nonnull_string key;
};

312 313 314 315 316
/* A node device which may not be NULL. */
struct remote_nonnull_node_device {
    remote_nonnull_string name;
};

317 318
/* A secret which may not be null. */
struct remote_nonnull_secret {
319
    remote_uuid uuid;
320 321
    int usageType;
    remote_nonnull_string usageID;
322 323
};

C
Chris Lalancette 已提交
324 325 326
/* A snapshot which may not be NULL. */
struct remote_nonnull_domain_snapshot {
    remote_nonnull_string name;
327
    remote_nonnull_domain dom;
C
Chris Lalancette 已提交
328 329
};

330 331 332
/* A domain or network which may be NULL. */
typedef remote_nonnull_domain *remote_domain;
typedef remote_nonnull_network *remote_network;
333
typedef remote_nonnull_nwfilter *remote_nwfilter;
334
typedef remote_nonnull_nwfilter_binding *remote_nwfilter_binding;
335 336
typedef remote_nonnull_storage_pool *remote_storage_pool;
typedef remote_nonnull_storage_vol *remote_storage_vol;
337
typedef remote_nonnull_node_device *remote_node_device;
338
typedef remote_nonnull_secret *remote_secret;
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361

/* Error message. See <virterror.h> for explanation of fields. */

/* NB. Fields "code", "domain" and "level" are really enums.  The
 * numeric value should remain compatible between libvirt and
 * libvirtd.  This means, no changing or reordering the enums as
 * defined in <virterror.h> (but we don't do that anyway, for separate
 * ABI reasons).
 */
struct remote_error {
    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;
};

362 363 364
/* Authentication types available thus far.... */
enum remote_auth_type {
    REMOTE_AUTH_NONE = 0,
365 366
    REMOTE_AUTH_SASL = 1,
    REMOTE_AUTH_POLKIT = 2
367 368 369
};


370 371 372 373 374 375 376 377
/* Wire encoding of virVcpuInfo. */
struct remote_vcpu_info {
    unsigned int number;
    int state;
    unsigned hyper cpu_time;
    int cpu;
};

378
/* Wire encoding of virTypedParameter.
379 380
 * Note the enum (type) which must remain binary compatible.
 */
381 382
union remote_typed_param_value switch (int type) {
 case VIR_TYPED_PARAM_INT:
383
     int i;
384
 case VIR_TYPED_PARAM_UINT:
385
     unsigned int ui;
386
 case VIR_TYPED_PARAM_LLONG:
387
     hyper l;
388
 case VIR_TYPED_PARAM_ULLONG:
389
     unsigned hyper ul;
390
 case VIR_TYPED_PARAM_DOUBLE:
391
     double d;
392
 case VIR_TYPED_PARAM_BOOLEAN:
393
     int b;
394 395
 case VIR_TYPED_PARAM_STRING:
     remote_nonnull_string s;
396 397
};

398
struct remote_typed_param {
399
    remote_nonnull_string field;
400
    remote_typed_param_value value;
401 402
};

403 404 405 406 407
struct remote_node_get_cpu_stats {
    remote_nonnull_string field;
    unsigned hyper value;
};

408 409 410 411 412
struct remote_node_get_memory_stats {
    remote_nonnull_string field;
    unsigned hyper value;
};

413 414 415 416
struct remote_domain_disk_error {
    remote_nonnull_string disk;
    int error;
};
417

418 419 420 421 422 423 424 425
/*----- Calls. -----*/

/* For each call we may have a 'remote_CALL_args' and 'remote_CALL_ret'
 * type.  These are omitted when they are void.  The virConnectPtr
 * is not passed at all (it is inferred on the remote server from the
 * connection).  Errors are returned implicitly in the RPC protocol.
 *
 * Please follow the naming convention carefully - this file is
426
 * parsed by 'gendispatch.pl'.
427 428 429
 *
 * 'remote_CALL_ret' members that are filled via call-by-reference must be
 * annotated with a insert@<offset> comment to indicate the offset in the
430 431 432 433 434
 * parameter list of the function to be called.
 *
 * If the 'remote_CALL_ret' maps to a struct in the public API then it is
 * also filled via call-by-reference and must be annotated with a
 * insert@<offset> comment to indicate the offset in the parameter list of
435 436
 * the function to be called.
 *
437 438 439 440 441
 * For cases where the API allocates memory and fills the arguments (mostly
 * typed parameters) a similar comment indicates the type and offset
 * of the variable to be filled with the count of returned elements.
 * alloc@<offset>@unsigned int@<count offset>
 *
442 443
 * Dynamic opaque and remote_nonnull_string arrays can be annotated with an
 * optional typecast */
444

445
struct remote_connect_open_args {
446 447 448 449
    /* NB. "name" might be NULL although in practice you can't
     * yet do that using the remote_internal driver.
     */
    remote_string name;
450
    unsigned int flags;
451 452
};

453
struct remote_connect_supports_feature_args {
454 455 456
    int feature;
};

457
struct remote_connect_supports_feature_ret {
458 459 460
    int supported;
};

461
struct remote_connect_get_type_ret {
462 463 464
    remote_nonnull_string type;
};

465
struct remote_connect_get_version_ret {
466
    unsigned hyper hv_ver;
467 468
};

469
struct remote_connect_get_lib_version_ret {
470
    unsigned hyper lib_ver;
471 472
};

473
struct remote_connect_get_hostname_ret {
474 475 476
    remote_nonnull_string hostname;
};

477
struct remote_connect_get_sysinfo_args {
478 479 480
    unsigned int flags;
};

481
struct remote_connect_get_sysinfo_ret {
482 483 484
    remote_nonnull_string sysinfo;
};

485
struct remote_connect_get_uri_ret {
486 487 488
    remote_nonnull_string uri;
};

489
struct remote_connect_get_max_vcpus_args {
490 491 492 493 494 495
    /* The only backend which supports this call is Xen HV, and
     * there the type is ignored so it could be NULL.
     */
    remote_string type;
};

496
struct remote_connect_get_max_vcpus_ret {
497 498 499
    int max_vcpus;
};

500
struct remote_node_get_info_ret { /* insert@1 */
501
    char model[32];
502
    unsigned hyper memory;
503 504 505 506 507 508 509 510
    int cpus;
    int mhz;
    int nodes;
    int sockets;
    int cores;
    int threads;
};

511
struct remote_connect_get_capabilities_ret {
512 513 514
    remote_nonnull_string capabilities;
};

515 516 517 518 519 520 521 522 523 524 525 526
struct remote_connect_get_domain_capabilities_args {
    remote_string emulatorbin;
    remote_string arch;
    remote_string machine;
    remote_string virttype;
    unsigned int flags;
};

struct remote_connect_get_domain_capabilities_ret {
    remote_nonnull_string capabilities;
};

527 528 529 530 531 532 533 534 535 536 537
struct remote_node_get_cpu_stats_args {
    int cpuNum;
    int nparams;
    unsigned int flags;
};

struct remote_node_get_cpu_stats_ret {
    remote_node_get_cpu_stats params<REMOTE_NODE_CPU_STATS_MAX>;
    int nparams;
};

538 539 540 541 542 543 544 545 546 547 548
struct remote_node_get_memory_stats_args {
    int nparams;
    int cellNum;
    unsigned int flags;
};

struct remote_node_get_memory_stats_ret {
    remote_node_get_memory_stats params<REMOTE_NODE_MEMORY_STATS_MAX>;
    int nparams;
};

549 550
struct remote_node_get_cells_free_memory_args {
    int startCell;
551
    int maxcells;
552 553 554
};

struct remote_node_get_cells_free_memory_ret {
555
    unsigned hyper cells<REMOTE_NODE_MAX_CELLS>; /* insert@1 */
556 557 558
};

struct remote_node_get_free_memory_ret {
559
    unsigned hyper freeMem;
560 561
};

562 563 564 565 566 567 568 569 570 571 572
struct remote_domain_get_scheduler_type_args {
    remote_nonnull_domain dom;
};

struct remote_domain_get_scheduler_type_ret {
    remote_nonnull_string type;
    int nparams;
};

struct remote_domain_get_scheduler_parameters_args {
    remote_nonnull_domain dom;
573
    int nparams; /* call-by-reference */
574 575 576
};

struct remote_domain_get_scheduler_parameters_ret {
577
    remote_typed_param params<REMOTE_DOMAIN_SCHEDULER_PARAMETERS_MAX>; /* insert@1 */
578 579
};

580 581
struct remote_domain_get_scheduler_parameters_flags_args {
    remote_nonnull_domain dom;
582
    int nparams; /* call-by-reference */
583 584 585 586
    unsigned int flags;
};

struct remote_domain_get_scheduler_parameters_flags_ret {
587
    remote_typed_param params<REMOTE_DOMAIN_SCHEDULER_PARAMETERS_MAX>; /* insert@1 */
588 589
};

590 591
struct remote_domain_set_scheduler_parameters_args {
    remote_nonnull_domain dom;
592
    remote_typed_param params<REMOTE_DOMAIN_SCHEDULER_PARAMETERS_MAX>;
593 594
};

595 596
struct remote_domain_set_scheduler_parameters_flags_args {
    remote_nonnull_domain dom;
597
    remote_typed_param params<REMOTE_DOMAIN_SCHEDULER_PARAMETERS_MAX>;
598 599 600
    unsigned int flags;
};

601 602
struct remote_domain_set_blkio_parameters_args {
    remote_nonnull_domain dom;
603
    remote_typed_param params<REMOTE_DOMAIN_BLKIO_PARAMETERS_MAX>;
604 605 606 607 608 609 610 611 612 613
    unsigned int flags;
};

struct remote_domain_get_blkio_parameters_args {
    remote_nonnull_domain dom;
    int nparams;
    unsigned int flags;
};

struct remote_domain_get_blkio_parameters_ret {
614
    remote_typed_param params<REMOTE_DOMAIN_BLKIO_PARAMETERS_MAX>;
615 616 617
    int nparams;
};

618 619
struct remote_domain_set_memory_parameters_args {
    remote_nonnull_domain dom;
620
    remote_typed_param params<REMOTE_DOMAIN_MEMORY_PARAMETERS_MAX>;
621 622 623 624 625 626 627 628 629 630
    unsigned int flags;
};

struct remote_domain_get_memory_parameters_args {
    remote_nonnull_domain dom;
    int nparams;
    unsigned int flags;
};

struct remote_domain_get_memory_parameters_ret {
631
    remote_typed_param params<REMOTE_DOMAIN_MEMORY_PARAMETERS_MAX>;
632 633 634
    int nparams;
};

635 636 637 638 639 640 641
struct remote_domain_block_resize_args {
    remote_nonnull_domain dom;
    remote_nonnull_string disk;
    unsigned hyper size;
    unsigned int flags;
};

642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658
struct remote_domain_set_numa_parameters_args {
    remote_nonnull_domain dom;
    remote_typed_param params<REMOTE_DOMAIN_NUMA_PARAMETERS_MAX>;
    unsigned int flags;
};

struct remote_domain_get_numa_parameters_args {
    remote_nonnull_domain dom;
    int nparams;
    unsigned int flags;
};

struct remote_domain_get_numa_parameters_ret {
    remote_typed_param params<REMOTE_DOMAIN_NUMA_PARAMETERS_MAX>;
    int nparams;
};

659 660 661
struct remote_domain_set_perf_events_args {
    remote_nonnull_domain dom;
    remote_typed_param params<REMOTE_DOMAIN_PERF_EVENTS_MAX>;
662
    unsigned int flags;
663 664 665 666
};

struct remote_domain_get_perf_events_args {
    remote_nonnull_domain dom;
667
    unsigned int flags;
668 669 670 671 672 673
};

struct remote_domain_get_perf_events_ret {
    remote_typed_param params<REMOTE_DOMAIN_PERF_EVENTS_MAX>;
};

674 675 676 677 678
struct remote_domain_block_stats_args {
    remote_nonnull_domain dom;
    remote_nonnull_string path;
};

679
struct remote_domain_block_stats_ret { /* insert@2 */
680 681 682 683 684 685 686
    hyper rd_req;
    hyper rd_bytes;
    hyper wr_req;
    hyper wr_bytes;
    hyper errs;
};

687 688 689 690 691 692 693 694 695 696 697 698
struct remote_domain_block_stats_flags_args {
    remote_nonnull_domain dom;
    remote_nonnull_string path;
    int nparams;
    unsigned int flags;
};

struct remote_domain_block_stats_flags_ret {
    remote_typed_param params<REMOTE_DOMAIN_BLOCK_STATS_PARAMETERS_MAX>;
    int nparams;
};

699 700
struct remote_domain_interface_stats_args {
    remote_nonnull_domain dom;
701
    remote_nonnull_string device;
702 703
};

704
struct remote_domain_interface_stats_ret { /* insert@2 */
705 706 707 708 709 710 711 712 713 714
    hyper rx_bytes;
    hyper rx_packets;
    hyper rx_errs;
    hyper rx_drop;
    hyper tx_bytes;
    hyper tx_packets;
    hyper tx_errs;
    hyper tx_drop;
};

715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733
struct remote_domain_set_interface_parameters_args {
    remote_nonnull_domain dom;
    remote_nonnull_string device;
    remote_typed_param params<REMOTE_DOMAIN_INTERFACE_PARAMETERS_MAX>;
    unsigned int flags;
};

struct remote_domain_get_interface_parameters_args {
    remote_nonnull_domain dom;
    remote_nonnull_string device;
    int nparams;
    unsigned int flags;
};

struct remote_domain_get_interface_parameters_ret {
    remote_typed_param params<REMOTE_DOMAIN_INTERFACE_PARAMETERS_MAX>;
    int nparams;
};

734
struct remote_domain_memory_stats_args {
735
    remote_nonnull_domain dom;
736 737
    unsigned int maxStats;
    unsigned int flags;
738 739 740 741 742 743 744 745 746 747 748
};

struct remote_domain_memory_stat {
    int tag;
    unsigned hyper val;
};

struct remote_domain_memory_stats_ret {
    remote_domain_memory_stat stats<REMOTE_DOMAIN_MEMORY_STATS_MAX>;
};

749 750 751 752
struct remote_domain_block_peek_args {
    remote_nonnull_domain dom;
    remote_nonnull_string path;
    unsigned hyper offset;
753 754
    unsigned int size;
    unsigned int flags;
755 756 757 758 759 760
};

struct remote_domain_block_peek_ret {
    opaque buffer<REMOTE_DOMAIN_BLOCK_PEEK_BUFFER_MAX>;
};

R
Richard W.M. Jones 已提交
761 762 763
struct remote_domain_memory_peek_args {
    remote_nonnull_domain dom;
    unsigned hyper offset;
764 765
    unsigned int size;
    unsigned int flags;
R
Richard W.M. Jones 已提交
766 767 768 769 770 771
};

struct remote_domain_memory_peek_ret {
    opaque buffer<REMOTE_DOMAIN_MEMORY_PEEK_BUFFER_MAX>;
};

772 773 774
struct remote_domain_get_block_info_args {
    remote_nonnull_domain dom;
    remote_nonnull_string path;
775
    unsigned int flags;
776 777
};

778
struct remote_domain_get_block_info_ret { /* insert@2 */
779 780 781 782 783
    unsigned hyper allocation;
    unsigned hyper capacity;
    unsigned hyper physical;
};

784
struct remote_connect_list_domains_args {
785 786 787
    int maxids;
};

788
struct remote_connect_list_domains_ret {
789
    int ids<REMOTE_DOMAIN_LIST_MAX>; /* insert@1 */
790 791
};

792
struct remote_connect_num_of_domains_ret {
793 794 795
    int num;
};

796
struct remote_domain_create_xml_args {
797
    remote_nonnull_string xml_desc;
798
    unsigned int flags;
799 800
};

801
struct remote_domain_create_xml_ret {
802 803 804
    remote_nonnull_domain dom;
};

805 806 807 808 809 810 811 812 813
struct remote_domain_create_xml_with_files_args {
    remote_nonnull_string xml_desc;
    unsigned int flags;
};

struct remote_domain_create_xml_with_files_ret {
    remote_nonnull_domain dom;
};

814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841
struct remote_domain_lookup_by_id_args {
    int id;
};

struct remote_domain_lookup_by_id_ret {
    remote_nonnull_domain dom;
};

struct remote_domain_lookup_by_uuid_args {
    remote_uuid uuid;
};

struct remote_domain_lookup_by_uuid_ret {
    remote_nonnull_domain dom;
};

struct remote_domain_lookup_by_name_args {
    remote_nonnull_string name;
};

struct remote_domain_lookup_by_name_ret {
    remote_nonnull_domain dom;
};

struct remote_domain_suspend_args {
    remote_nonnull_domain dom;
};

842 843 844 845
struct remote_domain_resume_args {
    remote_nonnull_domain dom;
};

846 847 848 849 850 851 852
struct remote_domain_pm_suspend_for_duration_args {
    remote_nonnull_domain dom;
    unsigned int target;
    unsigned hyper duration;
    unsigned int flags;
};

853
struct remote_domain_pm_wakeup_args {
854
    remote_nonnull_domain dom;
855
    unsigned int flags;
856 857 858 859 860 861 862 863
};

struct remote_domain_shutdown_args {
    remote_nonnull_domain dom;
};

struct remote_domain_reboot_args {
    remote_nonnull_domain dom;
864
    unsigned int flags;
865 866
};

867 868 869 870 871
struct remote_domain_reset_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

872 873 874 875
struct remote_domain_destroy_args {
    remote_nonnull_domain dom;
};

876 877 878 879 880
struct remote_domain_destroy_flags_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906
struct remote_domain_get_os_type_args {
    remote_nonnull_domain dom;
};

struct remote_domain_get_os_type_ret {
    remote_nonnull_string type;
};

struct remote_domain_get_max_memory_args {
    remote_nonnull_domain dom;
};

struct remote_domain_get_max_memory_ret {
    unsigned hyper memory;
};

struct remote_domain_set_max_memory_args {
    remote_nonnull_domain dom;
    unsigned hyper memory;
};

struct remote_domain_set_memory_args {
    remote_nonnull_domain dom;
    unsigned hyper memory;
};

907 908 909 910 911 912
struct remote_domain_set_memory_flags_args {
    remote_nonnull_domain dom;
    unsigned hyper memory;
    unsigned int flags;
};

913 914 915 916 917 918
struct remote_domain_set_memory_stats_period_args {
    remote_nonnull_domain dom;
    int period;
    unsigned int flags;
};

919 920 921 922
struct remote_domain_get_info_args {
    remote_nonnull_domain dom;
};

923
struct remote_domain_get_info_ret { /* insert@1 */
924
    unsigned char state;
925
    unsigned hyper maxMem;
926
    unsigned hyper memory;
927 928
    unsigned short nrVirtCpu;
    unsigned hyper cpuTime;
929 930 931 932 933 934 935
};

struct remote_domain_save_args {
    remote_nonnull_domain dom;
    remote_nonnull_string to;
};

E
Eric Blake 已提交
936 937 938 939 940 941 942
struct remote_domain_save_flags_args {
    remote_nonnull_domain dom;
    remote_nonnull_string to;
    remote_string dxml;
    unsigned int flags;
};

943 944 945 946
struct remote_domain_restore_args {
    remote_nonnull_string from;
};

E
Eric Blake 已提交
947 948 949 950 951 952
struct remote_domain_restore_flags_args {
    remote_nonnull_string from;
    remote_string dxml;
    unsigned int flags;
};

E
Eric Blake 已提交
953 954 955 956 957 958 959 960 961 962 963 964 965 966 967
struct remote_domain_save_image_get_xml_desc_args {
    remote_nonnull_string file;
    unsigned 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;
    unsigned int flags;
};

968 969 970
struct remote_domain_core_dump_args {
    remote_nonnull_domain dom;
    remote_nonnull_string to;
971
    unsigned int flags;
972 973
};

974 975 976 977 978 979 980
struct remote_domain_core_dump_with_format_args {
    remote_nonnull_domain dom;
    remote_nonnull_string to;
    unsigned int dumpformat;
    unsigned int flags;
};

981 982 983 984 985 986 987 988 989 990
struct remote_domain_screenshot_args {
    remote_nonnull_domain dom;
    unsigned int screen;
    unsigned int flags;
};

struct remote_domain_screenshot_ret {
    remote_string mime;
};

991
struct remote_domain_get_xml_desc_args {
992
    remote_nonnull_domain dom;
993
    unsigned int flags;
994 995
};

996
struct remote_domain_get_xml_desc_ret {
997 998 999
    remote_nonnull_string xml;
};

1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031
struct remote_domain_migrate_prepare_args {
    remote_string uri_in;
    unsigned hyper flags;
    remote_string dname;
    unsigned hyper resource;
};

struct remote_domain_migrate_prepare_ret {
    opaque cookie<REMOTE_MIGRATE_COOKIE_MAX>;
    remote_string uri_out;
};

struct remote_domain_migrate_perform_args {
    remote_nonnull_domain dom;
    opaque cookie<REMOTE_MIGRATE_COOKIE_MAX>;
    remote_nonnull_string uri;
    unsigned hyper flags;
    remote_string dname;
    unsigned hyper resource;
};

struct remote_domain_migrate_finish_args {
    remote_nonnull_string dname;
    opaque cookie<REMOTE_MIGRATE_COOKIE_MAX>;
    remote_nonnull_string uri;
    unsigned hyper flags;
};

struct remote_domain_migrate_finish_ret {
    remote_nonnull_domain ddom;
};

D
Daniel Veillard 已提交
1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056
struct remote_domain_migrate_prepare2_args {
    remote_string uri_in;
    unsigned hyper flags;
    remote_string dname;
    unsigned hyper resource;
    remote_nonnull_string dom_xml;
};

struct remote_domain_migrate_prepare2_ret {
    opaque cookie<REMOTE_MIGRATE_COOKIE_MAX>;
    remote_string uri_out;
};

struct remote_domain_migrate_finish2_args {
    remote_nonnull_string dname;
    opaque cookie<REMOTE_MIGRATE_COOKIE_MAX>;
    remote_nonnull_string uri;
    unsigned hyper flags;
    int retcode;
};

struct remote_domain_migrate_finish2_ret {
    remote_nonnull_domain ddom;
};

1057
struct remote_connect_list_defined_domains_args {
1058 1059 1060
    int maxnames;
};

1061
struct remote_connect_list_defined_domains_ret {
1062
    remote_nonnull_string names<REMOTE_DOMAIN_LIST_MAX>; /* insert@1 */
1063 1064
};

1065
struct remote_connect_num_of_defined_domains_ret {
1066 1067 1068 1069 1070 1071 1072
    int num;
};

struct remote_domain_create_args {
    remote_nonnull_domain dom;
};

1073 1074 1075 1076 1077 1078 1079 1080 1081
struct remote_domain_create_with_flags_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

struct remote_domain_create_with_flags_ret {
    remote_nonnull_domain dom;
};

1082 1083 1084 1085 1086 1087 1088 1089 1090
struct remote_domain_create_with_files_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

struct remote_domain_create_with_files_ret {
    remote_nonnull_domain dom;
};

1091 1092 1093 1094 1095 1096 1097 1098
struct remote_domain_define_xml_args {
    remote_nonnull_string xml;
};

struct remote_domain_define_xml_ret {
    remote_nonnull_domain dom;
};

1099 1100 1101 1102 1103 1104 1105 1106 1107
struct remote_domain_define_xml_flags_args {
    remote_nonnull_string xml;
    unsigned int flags;
};

struct remote_domain_define_xml_flags_ret {
    remote_nonnull_domain dom;
};

1108 1109 1110 1111
struct remote_domain_undefine_args {
    remote_nonnull_domain dom;
};

1112 1113 1114 1115 1116
struct remote_domain_undefine_flags_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

1117 1118 1119 1120 1121
struct remote_domain_inject_nmi_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

1122 1123 1124 1125 1126 1127 1128 1129
struct remote_domain_send_key_args {
    remote_nonnull_domain dom;
    unsigned int codeset;
    unsigned int holdtime;
    unsigned int keycodes<REMOTE_DOMAIN_SEND_KEY_MAX>;
    unsigned int flags;
};

1130 1131 1132 1133 1134 1135 1136
struct remote_domain_send_process_signal_args {
    remote_nonnull_domain dom;
    hyper pid_value;
    unsigned int signum;
    unsigned int flags;
};

1137 1138
struct remote_domain_set_vcpus_args {
    remote_nonnull_domain dom;
1139
    unsigned int nvcpus;
1140 1141
};

E
Eric Blake 已提交
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156
struct remote_domain_set_vcpus_flags_args {
    remote_nonnull_domain dom;
    unsigned int nvcpus;
    unsigned int flags;
};

struct remote_domain_get_vcpus_flags_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

struct remote_domain_get_vcpus_flags_ret {
    int num;
};

1157 1158
struct remote_domain_pin_vcpu_args {
    remote_nonnull_domain dom;
1159
    unsigned int vcpu;
1160
    opaque cpumap<REMOTE_CPUMAP_MAX>; /* (unsigned char *) */
1161 1162
};

1163 1164 1165
struct remote_domain_pin_vcpu_flags_args {
    remote_nonnull_domain dom;
    unsigned int vcpu;
1166
    opaque cpumap<REMOTE_CPUMAP_MAX>; /* (unsigned char *) */
1167 1168 1169
    unsigned int flags;
};

E
Eric Blake 已提交
1170
struct remote_domain_get_vcpu_pin_info_args {
1171 1172 1173 1174 1175 1176
    remote_nonnull_domain dom;
    int ncpumaps;
    int maplen;
    unsigned int flags;
};

E
Eric Blake 已提交
1177
struct remote_domain_get_vcpu_pin_info_ret {
1178 1179 1180 1181
    opaque cpumaps<REMOTE_CPUMAPS_MAX>;
    int num;
};

1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198
struct remote_domain_pin_emulator_args {
    remote_nonnull_domain dom;
    opaque cpumap<REMOTE_CPUMAP_MAX>; /* (unsigned char *) */
    unsigned int flags;
};

struct remote_domain_get_emulator_pin_info_args {
    remote_nonnull_domain dom;
    int maplen;
    unsigned int flags;
};

struct remote_domain_get_emulator_pin_info_ret {
    opaque cpumaps<REMOTE_CPUMAPS_MAX>;
    int ret;
};

1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217
struct remote_domain_get_vcpus_args {
    remote_nonnull_domain dom;
    int maxinfo;
    int maplen;
};

struct remote_domain_get_vcpus_ret {
    remote_vcpu_info info<REMOTE_VCPUINFO_MAX>;
    opaque cpumaps<REMOTE_CPUMAPS_MAX>;
};

struct remote_domain_get_max_vcpus_args {
    remote_nonnull_domain dom;
};

struct remote_domain_get_max_vcpus_ret {
    int num;
};

1218 1219 1220 1221 1222
struct remote_domain_iothread_info {
    unsigned int iothread_id;
    opaque cpumap<REMOTE_CPUMAP_MAX>;
};

1223
struct remote_domain_get_iothread_info_args {
1224 1225 1226 1227
    remote_nonnull_domain dom;
    unsigned int flags;
};

1228 1229
struct remote_domain_get_iothread_info_ret {
    remote_domain_iothread_info info<REMOTE_IOTHREAD_INFO_MAX>;
1230 1231 1232
    unsigned int ret;
};

1233 1234 1235 1236 1237 1238 1239
struct remote_domain_pin_iothread_args {
    remote_nonnull_domain dom;
    unsigned int iothreads_id;
    opaque cpumap<REMOTE_CPUMAP_MAX>; /* (unsigned char *) */
    unsigned int flags;
};

1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251
struct remote_domain_add_iothread_args {
    remote_nonnull_domain dom;
    unsigned int iothread_id;
    unsigned int flags;
};

struct remote_domain_del_iothread_args {
    remote_nonnull_domain dom;
    unsigned int iothread_id;
    unsigned int flags;
};

1252 1253 1254 1255 1256 1257 1258 1259 1260
struct remote_domain_get_security_label_args {
    remote_nonnull_domain dom;
};

struct remote_domain_get_security_label_ret {
    char label<REMOTE_SECURITY_LABEL_MAX>;
    int enforcing;
};

M
Marcelo Cerri 已提交
1261 1262 1263 1264 1265 1266 1267 1268 1269
struct remote_domain_get_security_label_list_args {
    remote_nonnull_domain dom;
};

struct remote_domain_get_security_label_list_ret {
    remote_domain_get_security_label_ret labels<REMOTE_SECURITY_LABEL_LIST_MAX>;
    int ret;
};

1270 1271 1272 1273 1274
struct remote_node_get_security_model_ret {
    char model<REMOTE_SECURITY_MODEL_MAX>;
    char doi<REMOTE_SECURITY_DOI_MAX>;
};

1275 1276 1277 1278 1279
struct remote_domain_attach_device_args {
    remote_nonnull_domain dom;
    remote_nonnull_string xml;
};

J
Jim Fehlig 已提交
1280 1281 1282 1283 1284 1285
struct remote_domain_attach_device_flags_args {
    remote_nonnull_domain dom;
    remote_nonnull_string xml;
    unsigned int flags;
};

1286 1287 1288 1289 1290
struct remote_domain_detach_device_args {
    remote_nonnull_domain dom;
    remote_nonnull_string xml;
};

J
Jim Fehlig 已提交
1291 1292 1293 1294 1295 1296
struct remote_domain_detach_device_flags_args {
    remote_nonnull_domain dom;
    remote_nonnull_string xml;
    unsigned int flags;
};

1297 1298 1299 1300 1301 1302
struct remote_domain_update_device_flags_args {
    remote_nonnull_domain dom;
    remote_nonnull_string xml;
    unsigned int flags;
};

1303 1304 1305 1306 1307 1308
struct remote_domain_detach_device_alias_args {
    remote_nonnull_domain dom;
    remote_nonnull_string alias;
    unsigned int flags;
};

1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321
struct remote_domain_get_autostart_args {
    remote_nonnull_domain dom;
};

struct remote_domain_get_autostart_ret {
    int autostart;
};

struct remote_domain_set_autostart_args {
    remote_nonnull_domain dom;
    int autostart;
};

1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341
struct remote_domain_set_metadata_args {
    remote_nonnull_domain dom;
    int type;
    remote_string metadata;
    remote_string key;
    remote_string uri;
    unsigned int flags;
};

struct remote_domain_get_metadata_args {
    remote_nonnull_domain dom;
    int type;
    remote_string uri;
    unsigned int flags;
};

struct remote_domain_get_metadata_ret {
    remote_nonnull_string metadata;
};

1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374
struct remote_domain_block_job_abort_args {
    remote_nonnull_domain dom;
    remote_nonnull_string path;
    unsigned int flags;
};

struct remote_domain_get_block_job_info_args {
    remote_nonnull_domain dom;
    remote_nonnull_string path;
    unsigned int flags;
};

struct remote_domain_get_block_job_info_ret {
    int found;
    int type;
    unsigned hyper bandwidth;
    unsigned hyper cur;
    unsigned hyper end;
};

struct remote_domain_block_job_set_speed_args {
    remote_nonnull_domain dom;
    remote_nonnull_string path;
    unsigned hyper bandwidth;
    unsigned int flags;
};

struct remote_domain_block_pull_args {
    remote_nonnull_domain dom;
    remote_nonnull_string path;
    unsigned hyper bandwidth;
    unsigned int flags;
};
1375 1376 1377 1378 1379 1380 1381
struct remote_domain_block_rebase_args {
    remote_nonnull_domain dom;
    remote_nonnull_string path;
    remote_string base;
    unsigned hyper bandwidth;
    unsigned int flags;
};
1382 1383 1384 1385 1386 1387 1388
struct remote_domain_block_copy_args {
    remote_nonnull_domain dom;
    remote_nonnull_string path;
    remote_nonnull_string destxml;
    remote_typed_param params<REMOTE_DOMAIN_BLOCK_COPY_PARAMETERS_MAX>;
    unsigned int flags;
};
1389 1390 1391 1392 1393 1394 1395 1396
struct remote_domain_block_commit_args {
    remote_nonnull_domain dom;
    remote_nonnull_string disk;
    remote_string base;
    remote_string top;
    unsigned hyper bandwidth;
    unsigned int flags;
};
1397

1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416
struct remote_domain_set_block_io_tune_args {
    remote_nonnull_domain dom;
    remote_nonnull_string disk;
    remote_typed_param params<REMOTE_DOMAIN_BLOCK_IO_TUNE_PARAMETERS_MAX>;
    unsigned int flags;
};

struct remote_domain_get_block_io_tune_args {
    remote_nonnull_domain dom;
    remote_string disk;
    int nparams;
    unsigned int flags;
};

struct remote_domain_get_block_io_tune_ret {
    remote_typed_param params<REMOTE_DOMAIN_BLOCK_IO_TUNE_PARAMETERS_MAX>;
    int nparams;
};

1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429
struct remote_domain_get_cpu_stats_args {
    remote_nonnull_domain dom;
    unsigned int nparams;
    int          start_cpu;
    unsigned int ncpus;
    unsigned int flags;
};

struct remote_domain_get_cpu_stats_ret {
    remote_typed_param params<REMOTE_DOMAIN_GET_CPU_STATS_MAX>;
    int nparams;
};

1430 1431 1432 1433 1434 1435 1436 1437 1438
struct remote_domain_get_hostname_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

struct remote_domain_get_hostname_ret {
    remote_nonnull_string hostname;
};

1439 1440
/* Network calls: */

1441
struct remote_connect_num_of_networks_ret {
1442 1443 1444
    int num;
};

1445
struct remote_connect_list_networks_args {
1446 1447 1448
    int maxnames;
};

1449
struct remote_connect_list_networks_ret {
1450
    remote_nonnull_string names<REMOTE_NETWORK_LIST_MAX>; /* insert@1 */
1451 1452
};

1453
struct remote_connect_num_of_defined_networks_ret {
1454 1455 1456
    int num;
};

1457
struct remote_connect_list_defined_networks_args {
1458 1459 1460
    int maxnames;
};

1461
struct remote_connect_list_defined_networks_ret {
1462
    remote_nonnull_string names<REMOTE_NETWORK_LIST_MAX>; /* insert@1 */
1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500
};

struct remote_network_lookup_by_uuid_args {
    remote_uuid uuid;
};

struct remote_network_lookup_by_uuid_ret {
    remote_nonnull_network net;
};

struct remote_network_lookup_by_name_args {
    remote_nonnull_string name;
};

struct remote_network_lookup_by_name_ret {
    remote_nonnull_network net;
};

struct remote_network_create_xml_args {
    remote_nonnull_string xml;
};

struct remote_network_create_xml_ret {
    remote_nonnull_network net;
};

struct remote_network_define_xml_args {
    remote_nonnull_string xml;
};

struct remote_network_define_xml_ret {
    remote_nonnull_network net;
};

struct remote_network_undefine_args {
    remote_nonnull_network net;
};

1501 1502 1503 1504 1505 1506 1507 1508 1509
struct remote_network_update_args {
    remote_nonnull_network net;
    unsigned int command;
    unsigned int section;
    int parentIndex;
    remote_nonnull_string xml;
    unsigned int flags;
};

1510 1511 1512 1513 1514 1515 1516 1517
struct remote_network_create_args {
    remote_nonnull_network net;
};

struct remote_network_destroy_args {
    remote_nonnull_network net;
};

1518
struct remote_network_get_xml_desc_args {
1519
    remote_nonnull_network net;
1520
    unsigned int flags;
1521 1522
};

1523
struct remote_network_get_xml_desc_ret {
1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547
    remote_nonnull_string xml;
};

struct remote_network_get_bridge_name_args {
    remote_nonnull_network net;
};

struct remote_network_get_bridge_name_ret {
    remote_nonnull_string name;
};

struct remote_network_get_autostart_args {
    remote_nonnull_network net;
};

struct remote_network_get_autostart_ret {
    int autostart;
};

struct remote_network_set_autostart_args {
    remote_nonnull_network net;
    int autostart;
};

1548 1549
/* network filter calls */

1550
struct remote_connect_num_of_nwfilters_ret {
1551 1552 1553
    int num;
};

1554
struct remote_connect_list_nwfilters_args {
1555 1556 1557
    int maxnames;
};

1558
struct remote_connect_list_nwfilters_ret {
1559
    remote_nonnull_string names<REMOTE_NWFILTER_LIST_MAX>; /* insert@1 */
1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591
};

struct remote_nwfilter_lookup_by_uuid_args {
    remote_uuid uuid;
};

struct remote_nwfilter_lookup_by_uuid_ret {
    remote_nonnull_nwfilter nwfilter;
};

struct remote_nwfilter_lookup_by_name_args {
    remote_nonnull_string name;
};

struct remote_nwfilter_lookup_by_name_ret {
    remote_nonnull_nwfilter nwfilter;
};

struct remote_nwfilter_define_xml_args {
    remote_nonnull_string xml;
};

struct remote_nwfilter_define_xml_ret {
    remote_nonnull_nwfilter nwfilter;
};

struct remote_nwfilter_undefine_args {
    remote_nonnull_nwfilter nwfilter;
};

struct remote_nwfilter_get_xml_desc_args {
    remote_nonnull_nwfilter nwfilter;
1592
    unsigned int flags;
1593 1594 1595 1596 1597 1598
};

struct remote_nwfilter_get_xml_desc_ret {
    remote_nonnull_string xml;
};

1599

D
Daniel Veillard 已提交
1600 1601
/* Interface calls: */

1602
struct remote_connect_num_of_interfaces_ret {
D
Daniel Veillard 已提交
1603 1604 1605
    int num;
};

1606
struct remote_connect_list_interfaces_args {
D
Daniel Veillard 已提交
1607 1608 1609
    int maxnames;
};

1610
struct remote_connect_list_interfaces_ret {
1611
    remote_nonnull_string names<REMOTE_INTERFACE_LIST_MAX>; /* insert@1 */
D
Daniel Veillard 已提交
1612 1613
};

1614
struct remote_connect_num_of_defined_interfaces_ret {
1615 1616 1617
    int num;
};

1618
struct remote_connect_list_defined_interfaces_args {
1619 1620 1621
    int maxnames;
};

1622
struct remote_connect_list_defined_interfaces_ret {
1623
    remote_nonnull_string names<REMOTE_INTERFACE_LIST_MAX>; /* insert@1 */
1624 1625
};

D
Daniel Veillard 已提交
1626 1627 1628 1629 1630
struct remote_interface_lookup_by_name_args {
    remote_nonnull_string name;
};

struct remote_interface_lookup_by_name_ret {
1631
    remote_nonnull_interface iface;
D
Daniel Veillard 已提交
1632 1633 1634 1635 1636 1637 1638
};

struct remote_interface_lookup_by_mac_string_args {
    remote_nonnull_string mac;
};

struct remote_interface_lookup_by_mac_string_ret {
1639
    remote_nonnull_interface iface;
D
Daniel Veillard 已提交
1640 1641 1642
};

struct remote_interface_get_xml_desc_args {
1643
    remote_nonnull_interface iface;
D
Daniel Veillard 已提交
1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656
    unsigned int flags;
};

struct remote_interface_get_xml_desc_ret {
    remote_nonnull_string xml;
};

struct remote_interface_define_xml_args {
    remote_nonnull_string xml;
    unsigned int flags;
};

struct remote_interface_define_xml_ret {
1657
    remote_nonnull_interface iface;
D
Daniel Veillard 已提交
1658 1659 1660
};

struct remote_interface_undefine_args {
1661
    remote_nonnull_interface iface;
D
Daniel Veillard 已提交
1662 1663 1664
};

struct remote_interface_create_args {
1665
    remote_nonnull_interface iface;
D
Daniel Veillard 已提交
1666 1667 1668 1669
    unsigned int flags;
};

struct remote_interface_destroy_args {
1670
    remote_nonnull_interface iface;
D
Daniel Veillard 已提交
1671 1672 1673
    unsigned int flags;
};

1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685
struct remote_interface_change_begin_args {
    unsigned int flags;
};

struct remote_interface_change_commit_args {
    unsigned int flags;
};

struct remote_interface_change_rollback_args {
    unsigned int flags;
};

D
Daniel Veillard 已提交
1686 1687 1688

/* Auth calls: */

1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719
struct remote_auth_list_ret {
    remote_auth_type types<REMOTE_AUTH_TYPE_LIST_MAX>;
};

struct remote_auth_sasl_init_ret {
    remote_nonnull_string mechlist;
};

struct remote_auth_sasl_start_args {
    remote_nonnull_string mech;
    int nil;
    char data<REMOTE_AUTH_SASL_DATA_MAX>;
};

struct remote_auth_sasl_start_ret {
    int complete;
    int nil;
    char data<REMOTE_AUTH_SASL_DATA_MAX>;
};

struct remote_auth_sasl_step_args {
    int nil;
    char data<REMOTE_AUTH_SASL_DATA_MAX>;
};

struct remote_auth_sasl_step_ret {
    int complete;
    int nil;
    char data<REMOTE_AUTH_SASL_DATA_MAX>;
};

1720 1721 1722 1723
struct remote_auth_polkit_ret {
    int complete;
};

1724 1725 1726 1727


/* Storage pool calls: */

1728
struct remote_connect_num_of_storage_pools_ret {
1729 1730 1731
    int num;
};

1732
struct remote_connect_list_storage_pools_args {
1733 1734 1735
    int maxnames;
};

1736
struct remote_connect_list_storage_pools_ret {
1737
    remote_nonnull_string names<REMOTE_STORAGE_POOL_LIST_MAX>; /* insert@1 */
1738 1739
};

1740
struct remote_connect_num_of_defined_storage_pools_ret {
1741 1742 1743
    int num;
};

1744
struct remote_connect_list_defined_storage_pools_args {
1745 1746 1747
    int maxnames;
};

1748
struct remote_connect_list_defined_storage_pools_ret {
1749
    remote_nonnull_string names<REMOTE_STORAGE_POOL_LIST_MAX>; /* insert@1 */
1750 1751
};

1752
struct remote_connect_find_storage_pool_sources_args {
1753 1754
    remote_nonnull_string type;
    remote_string srcSpec;
1755
    unsigned int flags;
1756 1757
};

1758
struct remote_connect_find_storage_pool_sources_ret {
1759 1760 1761
    remote_nonnull_string xml;
};

1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785
struct remote_storage_pool_lookup_by_uuid_args {
    remote_uuid uuid;
};

struct remote_storage_pool_lookup_by_uuid_ret {
    remote_nonnull_storage_pool pool;
};

struct remote_storage_pool_lookup_by_name_args {
    remote_nonnull_string name;
};

struct remote_storage_pool_lookup_by_name_ret {
    remote_nonnull_storage_pool pool;
};

struct remote_storage_pool_lookup_by_volume_args {
    remote_nonnull_storage_vol vol;
};

struct remote_storage_pool_lookup_by_volume_ret {
    remote_nonnull_storage_pool pool;
};

1786 1787 1788 1789 1790 1791 1792 1793
struct remote_storage_pool_lookup_by_target_path_args {
    remote_nonnull_string path;
};

struct remote_storage_pool_lookup_by_target_path_ret {
    remote_nonnull_storage_pool pool;
};

1794 1795
struct remote_storage_pool_create_xml_args {
    remote_nonnull_string xml;
1796
    unsigned int flags;
1797 1798 1799 1800 1801 1802 1803 1804
};

struct remote_storage_pool_create_xml_ret {
    remote_nonnull_storage_pool pool;
};

struct remote_storage_pool_define_xml_args {
    remote_nonnull_string xml;
1805
    unsigned int flags;
1806 1807 1808 1809 1810 1811 1812 1813
};

struct remote_storage_pool_define_xml_ret {
    remote_nonnull_storage_pool pool;
};

struct remote_storage_pool_build_args {
    remote_nonnull_storage_pool pool;
1814
    unsigned int flags;
1815 1816 1817 1818 1819 1820 1821 1822
};

struct remote_storage_pool_undefine_args {
    remote_nonnull_storage_pool pool;
};

struct remote_storage_pool_create_args {
    remote_nonnull_storage_pool pool;
1823
    unsigned int flags;
1824 1825 1826 1827 1828 1829 1830 1831
};

struct remote_storage_pool_destroy_args {
    remote_nonnull_storage_pool pool;
};

struct remote_storage_pool_delete_args {
    remote_nonnull_storage_pool pool;
1832
    unsigned int flags;
1833 1834 1835 1836
};

struct remote_storage_pool_refresh_args {
    remote_nonnull_storage_pool pool;
1837
    unsigned int flags;
1838 1839
};

1840
struct remote_storage_pool_get_xml_desc_args {
1841
    remote_nonnull_storage_pool pool;
1842
    unsigned int flags;
1843 1844
};

1845
struct remote_storage_pool_get_xml_desc_ret {
1846 1847 1848 1849 1850 1851 1852
    remote_nonnull_string xml;
};

struct remote_storage_pool_get_info_args {
    remote_nonnull_storage_pool pool;
};

1853
struct remote_storage_pool_get_info_ret { /* insert@1 */
1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886
    unsigned char state;
    unsigned hyper capacity;
    unsigned hyper allocation;
    unsigned hyper available;
};

struct remote_storage_pool_get_autostart_args {
    remote_nonnull_storage_pool pool;
};

struct remote_storage_pool_get_autostart_ret {
    int autostart;
};

struct remote_storage_pool_set_autostart_args {
    remote_nonnull_storage_pool pool;
    int autostart;
};

struct remote_storage_pool_num_of_volumes_args {
    remote_nonnull_storage_pool pool;
};

struct remote_storage_pool_num_of_volumes_ret {
    int num;
};

struct remote_storage_pool_list_volumes_args {
    remote_nonnull_storage_pool pool;
    int maxnames;
};

struct remote_storage_pool_list_volumes_ret {
1887
    remote_nonnull_string names<REMOTE_STORAGE_VOL_LIST_MAX>; /* insert@1 */
1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921
};



/* Storage vol calls: */

struct remote_storage_vol_lookup_by_name_args {
    remote_nonnull_storage_pool pool;
    remote_nonnull_string name;
};

struct remote_storage_vol_lookup_by_name_ret {
    remote_nonnull_storage_vol vol;
};

struct remote_storage_vol_lookup_by_key_args {
    remote_nonnull_string key;
};

struct remote_storage_vol_lookup_by_key_ret {
    remote_nonnull_storage_vol vol;
};

struct remote_storage_vol_lookup_by_path_args {
    remote_nonnull_string path;
};

struct remote_storage_vol_lookup_by_path_ret {
    remote_nonnull_storage_vol vol;
};

struct remote_storage_vol_create_xml_args {
    remote_nonnull_storage_pool pool;
    remote_nonnull_string xml;
1922
    unsigned int flags;
1923 1924 1925 1926 1927 1928
};

struct remote_storage_vol_create_xml_ret {
    remote_nonnull_storage_vol vol;
};

1929 1930 1931 1932
struct remote_storage_vol_create_xml_from_args {
    remote_nonnull_storage_pool pool;
    remote_nonnull_string xml;
    remote_nonnull_storage_vol clonevol;
1933
    unsigned int flags;
1934 1935 1936 1937 1938 1939
};

struct remote_storage_vol_create_xml_from_ret {
    remote_nonnull_storage_vol vol;
};

1940 1941
struct remote_storage_vol_delete_args {
    remote_nonnull_storage_vol vol;
1942
    unsigned int flags;
1943 1944
};

1945 1946
struct remote_storage_vol_wipe_args {
    remote_nonnull_storage_vol vol;
1947
    unsigned int flags;
1948 1949
};

1950 1951 1952 1953 1954 1955
struct remote_storage_vol_wipe_pattern_args {
    remote_nonnull_storage_vol vol;
    unsigned int algorithm;
    unsigned int flags;
};

1956
struct remote_storage_vol_get_xml_desc_args {
1957
    remote_nonnull_storage_vol vol;
1958
    unsigned int flags;
1959 1960
};

1961
struct remote_storage_vol_get_xml_desc_ret {
1962 1963 1964 1965 1966 1967 1968
    remote_nonnull_string xml;
};

struct remote_storage_vol_get_info_args {
    remote_nonnull_storage_vol vol;
};

1969
struct remote_storage_vol_get_info_ret { /* insert@1 */
1970 1971 1972 1973 1974
    char type;
    unsigned hyper capacity;
    unsigned hyper allocation;
};

1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985
struct remote_storage_vol_get_info_flags_args {
    remote_nonnull_storage_vol vol;
    unsigned int flags;
};

struct remote_storage_vol_get_info_flags_ret { /* insert@1 */
    char type;
    unsigned hyper capacity;
    unsigned hyper allocation;
};

1986 1987 1988 1989 1990 1991 1992 1993
struct remote_storage_vol_get_path_args {
    remote_nonnull_storage_vol vol;
};

struct remote_storage_vol_get_path_ret {
    remote_nonnull_string name;
};

1994 1995
struct remote_storage_vol_resize_args {
    remote_nonnull_storage_vol vol;
E
Eric Blake 已提交
1996
    unsigned hyper capacity;
1997 1998 1999
    unsigned int flags;
};

2000 2001 2002 2003
/* Node driver calls: */

struct remote_node_num_of_devices_args {
    remote_string cap;
2004
    unsigned int flags;
2005 2006 2007 2008 2009 2010 2011 2012 2013
};

struct remote_node_num_of_devices_ret {
    int num;
};

struct remote_node_list_devices_args {
    remote_string cap;
    int maxnames;
2014
    unsigned int flags;
2015 2016 2017
};

struct remote_node_list_devices_ret {
2018
    remote_nonnull_string names<REMOTE_NODE_DEVICE_LIST_MAX>; /* insert@2 */
2019 2020 2021 2022 2023 2024 2025 2026 2027 2028
};

struct remote_node_device_lookup_by_name_args {
    remote_nonnull_string name;
};

struct remote_node_device_lookup_by_name_ret {
    remote_nonnull_node_device dev;
};

O
Osier Yang 已提交
2029 2030 2031 2032 2033 2034 2035 2036 2037 2038
struct remote_node_device_lookup_scsi_host_by_wwn_args {
    remote_nonnull_string wwnn;
    remote_nonnull_string wwpn;
    unsigned int flags;
};

struct remote_node_device_lookup_scsi_host_by_wwn_ret {
    remote_nonnull_node_device dev;
};

2039
struct remote_node_device_get_xml_desc_args {
2040
    remote_nonnull_string name;
2041
    unsigned int flags;
2042 2043
};

2044
struct remote_node_device_get_xml_desc_ret {
2045 2046 2047 2048 2049 2050 2051 2052
    remote_nonnull_string xml;
};

struct remote_node_device_get_parent_args {
    remote_nonnull_string name;
};

struct remote_node_device_get_parent_ret {
2053
    remote_string parentName;
2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069
};

struct remote_node_device_num_of_caps_args {
    remote_nonnull_string name;
};

struct remote_node_device_num_of_caps_ret {
    int num;
};

struct remote_node_device_list_caps_args {
    remote_nonnull_string name;
    int maxnames;
};

struct remote_node_device_list_caps_ret {
2070
    remote_nonnull_string names<REMOTE_NODE_DEVICE_CAPS_LIST_MAX>; /* insert@1 */
2071 2072
};

2073 2074 2075 2076
struct remote_node_device_dettach_args {
    remote_nonnull_string name;
};

2077 2078 2079 2080 2081 2082
struct remote_node_device_detach_flags_args {
    remote_nonnull_string name;
    remote_string driverName;
    unsigned int flags;
};

2083 2084 2085 2086 2087 2088 2089 2090
struct remote_node_device_re_attach_args {
    remote_nonnull_string name;
};

struct remote_node_device_reset_args {
    remote_nonnull_string name;
};

2091 2092
struct remote_node_device_create_xml_args {
    remote_nonnull_string xml_desc;
2093
    unsigned int flags;
2094 2095 2096 2097 2098 2099 2100 2101 2102 2103
};

struct remote_node_device_create_xml_ret {
    remote_nonnull_node_device dev;
};

struct remote_node_device_destroy_args {
    remote_nonnull_string name;
};

2104

2105
/*
2106
 * Events Register/Deregister:
2107
 * It would seem rpcgen does not like both args and ret
2108 2109 2110
 * to be null. It will not generate the prototype otherwise.
 * Pass back a redundant boolean to force prototype generation.
 */
2111
struct remote_connect_domain_event_register_ret {
2112 2113 2114
    int cb_registered;
};

2115
struct remote_connect_domain_event_deregister_ret {
2116 2117 2118
    int cb_registered;
};

2119
struct remote_domain_event_lifecycle_msg {
2120 2121
    remote_nonnull_domain dom;
    int event;
2122
    int detail;
2123
};
2124 2125 2126 2127
struct remote_domain_event_callback_lifecycle_msg {
    int callbackID;
    remote_domain_event_lifecycle_msg msg;
};
2128

2129

2130
struct remote_connect_domain_xml_from_native_args {
2131 2132
    remote_nonnull_string nativeFormat;
    remote_nonnull_string nativeConfig;
2133
    unsigned int flags;
2134 2135
};

2136
struct remote_connect_domain_xml_from_native_ret {
2137 2138 2139 2140
    remote_nonnull_string domainXml;
};


2141
struct remote_connect_domain_xml_to_native_args {
2142 2143
    remote_nonnull_string nativeFormat;
    remote_nonnull_string domainXml;
2144
    unsigned int flags;
2145 2146
};

2147
struct remote_connect_domain_xml_to_native_ret {
2148 2149 2150 2151
    remote_nonnull_string nativeConfig;
};


2152
struct remote_connect_num_of_secrets_ret {
2153 2154 2155
    int num;
};

2156
struct remote_connect_list_secrets_args {
2157 2158 2159
    int maxuuids;
};

2160
struct remote_connect_list_secrets_ret {
2161
    remote_nonnull_string uuids<REMOTE_SECRET_LIST_MAX>; /* insert@1 */
2162 2163
};

2164 2165
struct remote_secret_lookup_by_uuid_args {
    remote_uuid uuid;
2166 2167
};

2168
struct remote_secret_lookup_by_uuid_ret {
2169 2170 2171 2172 2173
    remote_nonnull_secret secret;
};

struct remote_secret_define_xml_args {
    remote_nonnull_string xml;
2174
    unsigned int flags;
2175 2176 2177 2178 2179 2180 2181 2182
};

struct remote_secret_define_xml_ret {
    remote_nonnull_secret secret;
};

struct remote_secret_get_xml_desc_args {
    remote_nonnull_secret secret;
2183
    unsigned int flags;
2184 2185 2186 2187 2188 2189 2190 2191
};

struct remote_secret_get_xml_desc_ret {
    remote_nonnull_string xml;
};

struct remote_secret_set_value_args {
    remote_nonnull_secret secret;
2192
    opaque value<REMOTE_SECRET_VALUE_MAX>; /* (const unsigned char *) */
2193
    unsigned int flags;
2194 2195 2196 2197
};

struct remote_secret_get_value_args {
    remote_nonnull_secret secret;
2198
    unsigned int flags;
2199 2200 2201 2202 2203 2204 2205 2206 2207 2208
};

struct remote_secret_get_value_ret {
    opaque value<REMOTE_SECRET_VALUE_MAX>;
};

struct remote_secret_undefine_args {
    remote_nonnull_secret secret;
};

2209 2210 2211 2212 2213 2214 2215 2216 2217
struct remote_secret_lookup_by_usage_args {
    int usageType;
    remote_nonnull_string usageID;
};

struct remote_secret_lookup_by_usage_ret {
    remote_nonnull_secret secret;
};

C
Chris Lalancette 已提交
2218 2219 2220 2221 2222 2223 2224
struct remote_domain_migrate_prepare_tunnel_args {
    unsigned hyper flags;
    remote_string dname;
    unsigned hyper resource;
    remote_nonnull_string dom_xml;
};

2225

2226
struct remote_connect_is_secure_ret {
2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247
    int secure;
};


struct remote_domain_is_active_args {
    remote_nonnull_domain dom;
};

struct remote_domain_is_active_ret {
    int active;
};


struct remote_domain_is_persistent_args {
    remote_nonnull_domain dom;
};

struct remote_domain_is_persistent_ret {
    int persistent;
};

O
Osier Yang 已提交
2248 2249 2250 2251 2252 2253 2254
struct remote_domain_is_updated_args {
    remote_nonnull_domain dom;
};

struct remote_domain_is_updated_ret {
    int updated;
};
2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298

struct remote_network_is_active_args {
    remote_nonnull_network net;
};

struct remote_network_is_active_ret {
    int active;
};

struct remote_network_is_persistent_args {
    remote_nonnull_network net;
};

struct remote_network_is_persistent_ret {
    int persistent;
};


struct remote_storage_pool_is_active_args {
    remote_nonnull_storage_pool pool;
};

struct remote_storage_pool_is_active_ret {
    int active;
};

struct remote_storage_pool_is_persistent_args {
    remote_nonnull_storage_pool pool;
};

struct remote_storage_pool_is_persistent_ret {
    int persistent;
};


struct remote_interface_is_active_args {
    remote_nonnull_interface iface;
};

struct remote_interface_is_active_ret {
    int active;
};


2299
struct remote_connect_compare_cpu_args {
2300
    remote_nonnull_string xml;
2301
    unsigned int flags;
2302 2303
};

2304
struct remote_connect_compare_cpu_ret {
2305 2306 2307 2308
    int result;
};


2309
struct remote_connect_baseline_cpu_args {
2310
    remote_nonnull_string xmlCPUs<REMOTE_CPU_BASELINE_MAX>; /* (const char **) */
2311
    unsigned int flags;
2312 2313
};

2314
struct remote_connect_baseline_cpu_ret {
2315 2316 2317 2318
    remote_nonnull_string cpu;
};


2319 2320 2321 2322
struct remote_domain_get_job_info_args {
    remote_nonnull_domain dom;
};

2323
struct remote_domain_get_job_info_ret { /* insert@1 */
2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342
    int type;

    unsigned hyper timeElapsed;
    unsigned hyper timeRemaining;

    unsigned hyper dataTotal;
    unsigned hyper dataProcessed;
    unsigned hyper dataRemaining;

    unsigned hyper memTotal;
    unsigned hyper memProcessed;
    unsigned hyper memRemaining;

    unsigned hyper fileTotal;
    unsigned hyper fileProcessed;
    unsigned hyper fileRemaining;
};


2343 2344 2345 2346 2347 2348 2349
struct remote_domain_get_job_stats_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

struct remote_domain_get_job_stats_ret {
    int type;
2350
    remote_typed_param params<REMOTE_DOMAIN_JOB_STATS_MAX>;
2351 2352 2353
};


2354 2355 2356 2357 2358
struct remote_domain_abort_job_args {
    remote_nonnull_domain dom;
};


2359 2360 2361 2362 2363 2364 2365 2366 2367
struct remote_domain_migrate_get_max_downtime_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

struct remote_domain_migrate_get_max_downtime_ret {
     unsigned hyper downtime; /* insert@1 */
};

2368 2369 2370
struct remote_domain_migrate_set_max_downtime_args {
    remote_nonnull_domain dom;
    unsigned hyper downtime;
2371
    unsigned int flags;
2372 2373
};

2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388
struct remote_domain_migrate_get_compression_cache_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

struct remote_domain_migrate_get_compression_cache_ret {
    unsigned hyper cacheSize; /* insert@1 */
};

struct remote_domain_migrate_set_compression_cache_args {
    remote_nonnull_domain dom;
    unsigned hyper cacheSize;
    unsigned int flags;
};

2389 2390 2391
struct remote_domain_migrate_set_max_speed_args {
    remote_nonnull_domain dom;
    unsigned hyper bandwidth;
2392
    unsigned int flags;
2393 2394
};

2395 2396 2397 2398 2399 2400 2401 2402 2403 2404
struct remote_domain_migrate_get_max_speed_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

struct remote_domain_migrate_get_max_speed_ret {
     unsigned hyper bandwidth; /* insert@1 */
};


2405
struct remote_connect_domain_event_register_any_args {
2406 2407 2408
    int eventID;
};

2409
struct remote_connect_domain_event_deregister_any_args {
2410 2411 2412
    int eventID;
};

2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425
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;
};

2426 2427 2428
struct remote_domain_event_reboot_msg {
    remote_nonnull_domain dom;
};
2429 2430 2431 2432
struct remote_domain_event_callback_reboot_msg {
    int callbackID;
    remote_domain_event_reboot_msg msg;
};
2433

2434 2435 2436 2437
struct remote_domain_event_rtc_change_msg {
    remote_nonnull_domain dom;
    hyper offset;
};
2438 2439 2440 2441
struct remote_domain_event_callback_rtc_change_msg {
    int callbackID;
    remote_domain_event_rtc_change_msg msg;
};
2442

2443 2444 2445 2446
struct remote_domain_event_watchdog_msg {
    remote_nonnull_domain dom;
    int action;
};
2447 2448 2449 2450
struct remote_domain_event_callback_watchdog_msg {
    int callbackID;
    remote_domain_event_watchdog_msg msg;
};
2451

2452 2453 2454 2455 2456 2457
struct remote_domain_event_io_error_msg {
    remote_nonnull_domain dom;
    remote_nonnull_string srcPath;
    remote_nonnull_string devAlias;
    int action;
};
2458 2459 2460 2461
struct remote_domain_event_callback_io_error_msg {
    int callbackID;
    remote_domain_event_io_error_msg msg;
};
2462

2463 2464 2465 2466 2467 2468 2469
struct remote_domain_event_io_error_reason_msg {
    remote_nonnull_domain dom;
    remote_nonnull_string srcPath;
    remote_nonnull_string devAlias;
    int action;
    remote_nonnull_string reason;
};
2470 2471 2472 2473
struct remote_domain_event_callback_io_error_reason_msg {
    int callbackID;
    remote_domain_event_io_error_reason_msg msg;
};
2474

2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495
struct remote_domain_event_graphics_address {
    int family;
    remote_nonnull_string node;
    remote_nonnull_string service;
};

const REMOTE_DOMAIN_EVENT_GRAPHICS_IDENTITY_MAX = 20;

struct remote_domain_event_graphics_identity {
    remote_nonnull_string type;
    remote_nonnull_string name;
};

struct remote_domain_event_graphics_msg {
    remote_nonnull_domain dom;
    int phase;
    remote_domain_event_graphics_address local;
    remote_domain_event_graphics_address remote;
    remote_nonnull_string authScheme;
    remote_domain_event_graphics_identity subject<REMOTE_DOMAIN_EVENT_GRAPHICS_IDENTITY_MAX>;
};
2496 2497 2498 2499
struct remote_domain_event_callback_graphics_msg {
    int callbackID;
    remote_domain_event_graphics_msg msg;
};
2500

2501 2502 2503 2504 2505 2506
struct remote_domain_event_block_job_msg {
    remote_nonnull_domain dom;
    remote_nonnull_string path;
    int type;
    int status;
};
2507 2508 2509 2510
struct remote_domain_event_callback_block_job_msg {
    int callbackID;
    remote_domain_event_block_job_msg msg;
};
2511

2512 2513 2514 2515 2516 2517 2518
struct remote_domain_event_disk_change_msg {
    remote_nonnull_domain dom;
    remote_string oldSrcPath;
    remote_string newSrcPath;
    remote_nonnull_string devAlias;
    int reason;
};
2519 2520 2521 2522
struct remote_domain_event_callback_disk_change_msg {
    int callbackID;
    remote_domain_event_disk_change_msg msg;
};
2523

2524 2525 2526 2527 2528
struct remote_domain_event_tray_change_msg {
    remote_nonnull_domain dom;
    remote_nonnull_string devAlias;
    int reason;
};
2529 2530 2531 2532
struct remote_domain_event_callback_tray_change_msg {
    int callbackID;
    remote_domain_event_tray_change_msg msg;
};
2533

O
Osier Yang 已提交
2534 2535 2536
struct remote_domain_event_pmwakeup_msg {
    remote_nonnull_domain dom;
};
2537 2538
struct remote_domain_event_callback_pmwakeup_msg {
    int callbackID;
E
Eric Blake 已提交
2539
    int reason;
2540 2541
    remote_domain_event_pmwakeup_msg msg;
};
O
Osier Yang 已提交
2542

O
Osier Yang 已提交
2543 2544 2545
struct remote_domain_event_pmsuspend_msg {
    remote_nonnull_domain dom;
};
2546 2547
struct remote_domain_event_callback_pmsuspend_msg {
    int callbackID;
E
Eric Blake 已提交
2548
    int reason;
2549 2550
    remote_domain_event_pmsuspend_msg msg;
};
O
Osier Yang 已提交
2551

2552 2553 2554 2555
struct remote_domain_event_balloon_change_msg {
    remote_nonnull_domain dom;
    unsigned hyper actual;
};
2556 2557 2558 2559
struct remote_domain_event_callback_balloon_change_msg {
    int callbackID;
    remote_domain_event_balloon_change_msg msg;
};
2560

2561 2562 2563
struct remote_domain_event_pmsuspend_disk_msg {
    remote_nonnull_domain dom;
};
2564 2565
struct remote_domain_event_callback_pmsuspend_disk_msg {
    int callbackID;
E
Eric Blake 已提交
2566
    int reason;
2567 2568
    remote_domain_event_pmsuspend_disk_msg msg;
};
2569

2570 2571
struct remote_domain_managed_save_args {
    remote_nonnull_domain dom;
2572
    unsigned int flags;
2573 2574 2575 2576
};

struct remote_domain_has_managed_save_image_args {
    remote_nonnull_domain dom;
2577
    unsigned int flags;
2578 2579 2580
};

struct remote_domain_has_managed_save_image_ret {
2581
    int result;
2582 2583 2584 2585
};

struct remote_domain_managed_save_remove_args {
    remote_nonnull_domain dom;
2586
    unsigned int flags;
2587 2588
};

2589 2590 2591 2592 2593 2594 2595 2596 2597
struct remote_domain_managed_save_get_xml_desc_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

struct remote_domain_managed_save_get_xml_desc_ret {
    remote_nonnull_string xml;
};

2598 2599 2600 2601 2602 2603
struct remote_domain_managed_save_define_xml_args {
    remote_nonnull_domain dom;
    remote_string dxml;
    unsigned int flags;
};

C
Chris Lalancette 已提交
2604
struct remote_domain_snapshot_create_xml_args {
2605
    remote_nonnull_domain dom;
C
Chris Lalancette 已提交
2606
    remote_nonnull_string xml_desc;
2607
    unsigned int flags;
C
Chris Lalancette 已提交
2608 2609 2610 2611 2612 2613
};

struct remote_domain_snapshot_create_xml_ret {
    remote_nonnull_domain_snapshot snap;
};

2614
struct remote_domain_snapshot_get_xml_desc_args {
C
Chris Lalancette 已提交
2615
    remote_nonnull_domain_snapshot snap;
2616
    unsigned int flags;
C
Chris Lalancette 已提交
2617 2618
};

2619
struct remote_domain_snapshot_get_xml_desc_ret {
C
Chris Lalancette 已提交
2620 2621 2622 2623
    remote_nonnull_string xml;
};

struct remote_domain_snapshot_num_args {
2624
    remote_nonnull_domain dom;
2625
    unsigned int flags;
C
Chris Lalancette 已提交
2626 2627 2628 2629 2630 2631 2632
};

struct remote_domain_snapshot_num_ret {
    int num;
};

struct remote_domain_snapshot_list_names_args {
2633
    remote_nonnull_domain dom;
2634
    int maxnames;
2635
    unsigned int flags;
C
Chris Lalancette 已提交
2636 2637 2638
};

struct remote_domain_snapshot_list_names_ret {
2639
    remote_nonnull_string names<REMOTE_DOMAIN_SNAPSHOT_LIST_MAX>; /* insert@1 */
C
Chris Lalancette 已提交
2640 2641
};

2642 2643 2644 2645 2646 2647
struct remote_domain_list_all_snapshots_args {
    remote_nonnull_domain dom;
    int need_results;
    unsigned int flags;
};

2648
struct remote_domain_list_all_snapshots_ret { /* insert@1 */
2649
    remote_nonnull_domain_snapshot snapshots<REMOTE_DOMAIN_SNAPSHOT_LIST_MAX>;
2650 2651 2652
    int ret;
};

2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668
struct remote_domain_snapshot_num_children_args {
    remote_nonnull_domain_snapshot snap;
    unsigned 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;
    unsigned int flags;
};

struct remote_domain_snapshot_list_children_names_ret {
2669
    remote_nonnull_string names<REMOTE_DOMAIN_SNAPSHOT_LIST_MAX>; /* insert@1 */
2670 2671
};

2672 2673 2674 2675 2676 2677
struct remote_domain_snapshot_list_all_children_args {
    remote_nonnull_domain_snapshot snapshot;
    int need_results;
    unsigned int flags;
};

2678
struct remote_domain_snapshot_list_all_children_ret { /* insert@1 */
2679
    remote_nonnull_domain_snapshot snapshots<REMOTE_DOMAIN_SNAPSHOT_LIST_MAX>;
2680 2681 2682
    int ret;
};

C
Chris Lalancette 已提交
2683
struct remote_domain_snapshot_lookup_by_name_args {
2684
    remote_nonnull_domain dom;
C
Chris Lalancette 已提交
2685
    remote_nonnull_string name;
2686
    unsigned int flags;
C
Chris Lalancette 已提交
2687 2688 2689 2690 2691 2692 2693
};

struct remote_domain_snapshot_lookup_by_name_ret {
    remote_nonnull_domain_snapshot snap;
};

struct remote_domain_has_current_snapshot_args {
2694
    remote_nonnull_domain dom;
2695
    unsigned int flags;
C
Chris Lalancette 已提交
2696 2697 2698 2699 2700 2701
};

struct remote_domain_has_current_snapshot_ret {
    int result;
};

2702 2703 2704 2705 2706 2707 2708 2709 2710
struct remote_domain_snapshot_get_parent_args {
    remote_nonnull_domain_snapshot snap;
    unsigned int flags;
};

struct remote_domain_snapshot_get_parent_ret {
    remote_nonnull_domain_snapshot snap;
};

C
Chris Lalancette 已提交
2711
struct remote_domain_snapshot_current_args {
2712
    remote_nonnull_domain dom;
2713
    unsigned int flags;
C
Chris Lalancette 已提交
2714 2715 2716 2717 2718 2719
};

struct remote_domain_snapshot_current_ret {
    remote_nonnull_domain_snapshot snap;
};

E
Eric Blake 已提交
2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737
struct remote_domain_snapshot_is_current_args {
    remote_nonnull_domain_snapshot snap;
    unsigned int flags;
};

struct remote_domain_snapshot_is_current_ret {
    int current;
};

struct remote_domain_snapshot_has_metadata_args {
    remote_nonnull_domain_snapshot snap;
    unsigned int flags;
};

struct remote_domain_snapshot_has_metadata_ret {
    int metadata;
};

C
Chris Lalancette 已提交
2738 2739
struct remote_domain_revert_to_snapshot_args {
    remote_nonnull_domain_snapshot snap;
2740
    unsigned int flags;
C
Chris Lalancette 已提交
2741 2742 2743 2744
};

struct remote_domain_snapshot_delete_args {
    remote_nonnull_domain_snapshot snap;
2745
    unsigned int flags;
C
Chris Lalancette 已提交
2746 2747
};

2748
struct remote_domain_open_console_args {
2749
    remote_nonnull_domain dom;
2750
    remote_string dev_name;
2751 2752
    unsigned int flags;
};
C
Chris Lalancette 已提交
2753

2754 2755 2756 2757 2758 2759
struct remote_domain_open_channel_args {
    remote_nonnull_domain dom;
    remote_string name;
    unsigned int flags;
};

2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773
struct remote_storage_vol_upload_args {
    remote_nonnull_storage_vol vol;
    unsigned hyper offset;
    unsigned hyper length;
    unsigned int flags;
};

struct remote_storage_vol_download_args {
    remote_nonnull_storage_vol vol;
    unsigned hyper offset;
    unsigned hyper length;
    unsigned int flags;
};

2774 2775 2776 2777 2778 2779 2780 2781 2782 2783
struct remote_domain_get_state_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

struct remote_domain_get_state_ret {
    int state;
    int reason;
};

2784 2785
struct remote_domain_migrate_begin3_args {
    remote_nonnull_domain dom;
2786
    remote_string xmlin;
2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819
    unsigned hyper flags;
    remote_string dname;
    unsigned hyper resource;
};

struct remote_domain_migrate_begin3_ret {
    opaque cookie_out<REMOTE_MIGRATE_COOKIE_MAX>;
    remote_nonnull_string xml;
};

struct remote_domain_migrate_prepare3_args {
    opaque cookie_in<REMOTE_MIGRATE_COOKIE_MAX>;
    remote_string uri_in;
    unsigned hyper flags;
    remote_string dname;
    unsigned hyper resource;
    remote_nonnull_string dom_xml;
};

struct remote_domain_migrate_prepare3_ret {
    opaque cookie_out<REMOTE_MIGRATE_COOKIE_MAX>;
    remote_string uri_out;
};

struct remote_domain_migrate_prepare_tunnel3_args {
    opaque cookie_in<REMOTE_MIGRATE_COOKIE_MAX>;
    unsigned hyper flags;
    remote_string dname;
    unsigned hyper resource;
    remote_nonnull_string dom_xml;
};

struct remote_domain_migrate_prepare_tunnel3_ret {
2820
    opaque cookie_out<REMOTE_MIGRATE_COOKIE_MAX>; /* insert@3 */
2821 2822 2823 2824
};

struct remote_domain_migrate_perform3_args {
    remote_nonnull_domain dom;
2825
    remote_string xmlin;
2826
    opaque cookie_in<REMOTE_MIGRATE_COOKIE_MAX>;
2827 2828
    remote_string dconnuri;
    remote_string uri;
2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840
    unsigned hyper flags;
    remote_string dname;
    unsigned hyper resource;
};

struct remote_domain_migrate_perform3_ret {
    opaque cookie_out<REMOTE_MIGRATE_COOKIE_MAX>;
};

struct remote_domain_migrate_finish3_args {
    remote_nonnull_string dname;
    opaque cookie_in<REMOTE_MIGRATE_COOKIE_MAX>;
2841 2842
    remote_string dconnuri;
    remote_string uri;
2843 2844 2845 2846 2847
    unsigned hyper flags;
    int cancelled;
};

struct remote_domain_migrate_finish3_ret {
2848
    remote_nonnull_domain dom;
2849 2850 2851 2852 2853 2854 2855 2856 2857
    opaque cookie_out<REMOTE_MIGRATE_COOKIE_MAX>;
};

struct remote_domain_migrate_confirm3_args {
    remote_nonnull_domain dom;
    opaque cookie_in<REMOTE_MIGRATE_COOKIE_MAX>;
    unsigned hyper flags;
    int cancelled;
};
2858

2859 2860 2861
struct remote_domain_event_control_error_msg {
    remote_nonnull_domain dom;
};
2862 2863 2864 2865
struct remote_domain_event_callback_control_error_msg {
    int callbackID;
    remote_domain_event_control_error_msg msg;
};
2866

2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877
struct remote_domain_get_control_info_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

struct remote_domain_get_control_info_ret { /* insert@1 */
    unsigned int state;
    unsigned int details;
    unsigned hyper stateTime;
};

2878 2879 2880 2881 2882 2883
struct remote_domain_open_graphics_args {
    remote_nonnull_domain dom;
    unsigned int idx;
    unsigned int flags;
};

2884 2885 2886 2887 2888 2889
struct remote_domain_open_graphics_fd_args {
    remote_nonnull_domain dom;
    unsigned int idx;
    unsigned int flags;
};

2890 2891 2892 2893 2894 2895
struct remote_node_suspend_for_duration_args {
    unsigned int target;
    unsigned hyper duration;
    unsigned int flags;
};

2896 2897 2898 2899 2900
struct remote_domain_shutdown_flags_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911
struct remote_domain_get_disk_errors_args {
    remote_nonnull_domain dom;
    unsigned int maxerrors;
    unsigned int flags;
};

struct remote_domain_get_disk_errors_ret {
    remote_domain_disk_error errors<REMOTE_DOMAIN_DISK_ERRORS_MAX>;
    int nerrors;
};

2912 2913 2914 2915 2916
struct remote_connect_list_all_domains_args {
    int need_results;
    unsigned int flags;
};

2917
struct remote_connect_list_all_domains_ret { /* insert@1 */
2918
    remote_nonnull_domain domains<REMOTE_DOMAIN_LIST_MAX>;
2919 2920 2921
    unsigned int ret;
};

2922 2923 2924 2925 2926
struct remote_connect_list_all_storage_pools_args {
    int need_results;
    unsigned int flags;
};

2927
struct remote_connect_list_all_storage_pools_ret { /* insert@1 */
2928
    remote_nonnull_storage_pool pools<REMOTE_STORAGE_POOL_LIST_MAX>;
2929 2930
    unsigned int ret;
};
2931

2932 2933 2934 2935 2936 2937
struct remote_storage_pool_list_all_volumes_args {
    remote_nonnull_storage_pool pool;
    int need_results;
    unsigned int flags;
};

2938
struct remote_storage_pool_list_all_volumes_ret { /* insert@1 */
2939
    remote_nonnull_storage_vol vols<REMOTE_STORAGE_VOL_LIST_MAX>;
2940 2941 2942
    unsigned int ret;
};

2943 2944 2945 2946 2947
struct remote_connect_list_all_networks_args {
    int need_results;
    unsigned int flags;
};

2948
struct remote_connect_list_all_networks_ret { /* insert@1 */
2949
    remote_nonnull_network nets<REMOTE_NETWORK_LIST_MAX>;
2950 2951 2952
    unsigned int ret;
};

2953 2954 2955 2956 2957
struct remote_connect_list_all_interfaces_args {
    int need_results;
    unsigned int flags;
};

2958
struct remote_connect_list_all_interfaces_ret { /* insert@1 */
2959
    remote_nonnull_interface ifaces<REMOTE_INTERFACE_LIST_MAX>;
2960 2961 2962
    unsigned int ret;
};

2963 2964 2965 2966 2967
struct remote_connect_list_all_node_devices_args {
    int need_results;
    unsigned int flags;
};

2968
struct remote_connect_list_all_node_devices_ret { /* insert@1 */
2969
    remote_nonnull_node_device devices<REMOTE_NODE_DEVICE_LIST_MAX>;
2970 2971 2972
    unsigned int ret;
};

2973 2974 2975 2976 2977
struct remote_connect_list_all_nwfilters_args {
    int need_results;
    unsigned int flags;
};

2978
struct remote_connect_list_all_nwfilters_ret { /* insert@1 */
2979
    remote_nonnull_nwfilter filters<REMOTE_NWFILTER_LIST_MAX>;
2980 2981 2982
    unsigned int ret;
};

2983 2984 2985 2986 2987
struct remote_connect_list_all_secrets_args {
    int need_results;
    unsigned int flags;
};

2988
struct remote_connect_list_all_secrets_ret { /* insert@1 */
2989
    remote_nonnull_secret secrets<REMOTE_SECRET_LIST_MAX>;
2990 2991 2992
    unsigned int ret;
};

2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007
struct remote_node_set_memory_parameters_args {
    remote_typed_param params<REMOTE_NODE_MEMORY_PARAMETERS_MAX>;
    unsigned int flags;
};

struct remote_node_get_memory_parameters_args {
    int nparams;
    unsigned int flags;
};

struct remote_node_get_memory_parameters_ret {
    remote_typed_param params<REMOTE_NODE_MEMORY_PARAMETERS_MAX>;
    int nparams;
};

3008
struct remote_node_get_cpu_map_args {
3009 3010
    int need_map;
    int need_online;
3011 3012 3013 3014 3015 3016 3017 3018 3019
    unsigned int flags;
};

struct remote_node_get_cpu_map_ret {
    opaque cpumap<REMOTE_CPUMAP_MAX>;
    unsigned int online;
    int ret;
};

3020 3021 3022 3023 3024 3025 3026
struct remote_domain_fstrim_args {
    remote_nonnull_domain dom;
    remote_string mountPoint;
    unsigned hyper minimum;
    unsigned int flags;
};

3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043
struct remote_domain_get_time_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

struct remote_domain_get_time_ret {
    hyper seconds;
    unsigned int nseconds;
};

struct remote_domain_set_time_args {
    remote_nonnull_domain dom;
    hyper seconds;
    unsigned int nseconds;
    unsigned int flags;
};

3044 3045
struct remote_domain_migrate_begin3_params_args {
    remote_nonnull_domain dom;
3046
    remote_typed_param params<REMOTE_DOMAIN_MIGRATE_PARAM_LIST_MAX>;
3047 3048 3049 3050 3051 3052 3053 3054 3055
    unsigned int flags;
};

struct remote_domain_migrate_begin3_params_ret {
    opaque cookie_out<REMOTE_MIGRATE_COOKIE_MAX>;
    remote_nonnull_string xml;
};

struct remote_domain_migrate_prepare3_params_args {
3056
    remote_typed_param params<REMOTE_DOMAIN_MIGRATE_PARAM_LIST_MAX>;
3057 3058 3059 3060 3061 3062 3063 3064 3065 3066
    opaque cookie_in<REMOTE_MIGRATE_COOKIE_MAX>;
    unsigned int flags;
};

struct remote_domain_migrate_prepare3_params_ret {
    opaque cookie_out<REMOTE_MIGRATE_COOKIE_MAX>;
    remote_string uri_out;
};

struct remote_domain_migrate_prepare_tunnel3_params_args {
3067
    remote_typed_param params<REMOTE_DOMAIN_MIGRATE_PARAM_LIST_MAX>;
3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078
    opaque cookie_in<REMOTE_MIGRATE_COOKIE_MAX>;
    unsigned int flags;
};

struct remote_domain_migrate_prepare_tunnel3_params_ret {
    opaque cookie_out<REMOTE_MIGRATE_COOKIE_MAX>;
};

struct remote_domain_migrate_perform3_params_args {
    remote_nonnull_domain dom;
    remote_string dconnuri;
3079
    remote_typed_param params<REMOTE_DOMAIN_MIGRATE_PARAM_LIST_MAX>;
3080 3081 3082 3083 3084 3085 3086 3087 3088
    opaque cookie_in<REMOTE_MIGRATE_COOKIE_MAX>;
    unsigned int flags;
};

struct remote_domain_migrate_perform3_params_ret {
    opaque cookie_out<REMOTE_MIGRATE_COOKIE_MAX>;
};

struct remote_domain_migrate_finish3_params_args {
3089
    remote_typed_param params<REMOTE_DOMAIN_MIGRATE_PARAM_LIST_MAX>;
3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101
    opaque cookie_in<REMOTE_MIGRATE_COOKIE_MAX>;
    unsigned int flags;
    int cancelled;
};

struct remote_domain_migrate_finish3_params_ret {
    remote_nonnull_domain dom;
    opaque cookie_out<REMOTE_MIGRATE_COOKIE_MAX>;
};

struct remote_domain_migrate_confirm3_params_args {
    remote_nonnull_domain dom;
3102
    remote_typed_param params<REMOTE_DOMAIN_MIGRATE_PARAM_LIST_MAX>;
3103 3104 3105 3106 3107
    opaque cookie_in<REMOTE_MIGRATE_COOKIE_MAX>;
    unsigned int flags;
    int cancelled;
};

3108 3109 3110
/* The device removed event is the last event where we have to support
 * dual forms for back-compat to older clients; all future events can
 * use just the modern form with callbackID.  */
3111 3112 3113 3114
struct remote_domain_event_device_removed_msg {
    remote_nonnull_domain dom;
    remote_nonnull_string devAlias;
};
3115 3116 3117 3118
struct remote_domain_event_callback_device_removed_msg {
    int callbackID;
    remote_domain_event_device_removed_msg msg;
};
3119

3120 3121 3122 3123 3124 3125 3126 3127
struct remote_domain_event_block_job_2_msg {
    int callbackID;
    remote_nonnull_domain dom;
    remote_nonnull_string dst;
    int type;
    int status;
};

3128 3129 3130 3131 3132 3133 3134 3135 3136
struct remote_domain_event_block_threshold_msg {
    int callbackID;
    remote_nonnull_domain dom;
    remote_nonnull_string dev;
    remote_string path;
    unsigned hyper threshold;
    unsigned hyper excess;
};

3137 3138 3139 3140 3141 3142
struct remote_domain_event_callback_tunable_msg {
    int callbackID;
    remote_nonnull_domain dom;
    remote_typed_param params<REMOTE_DOMAIN_EVENT_TUNABLE_MAX>;
};

3143 3144 3145 3146 3147 3148
struct remote_domain_event_callback_device_added_msg {
    int callbackID;
    remote_nonnull_domain dom;
    remote_nonnull_string devAlias;
};

3149 3150 3151 3152
struct remote_connect_event_connection_closed_msg {
    int reason;
};

3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163
struct remote_connect_get_cpu_model_names_args {
    remote_nonnull_string arch;
    int need_results;
    unsigned int flags;
};

struct remote_connect_get_cpu_model_names_ret {
    remote_nonnull_string models<REMOTE_CONNECT_CPU_MODELS_MAX>;
    int ret;
};

3164 3165
struct remote_connect_network_event_register_any_args {
    int eventID;
3166
    remote_network net;
3167 3168 3169
};

struct remote_connect_network_event_register_any_ret {
3170
    int callbackID;
3171 3172 3173
};

struct remote_connect_network_event_deregister_any_args {
3174
    int callbackID;
3175 3176 3177
};

struct remote_network_event_lifecycle_msg {
3178
    int callbackID;
3179 3180 3181 3182 3183
    remote_nonnull_network net;
    int event;
    int detail;
};

3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203
struct remote_connect_storage_pool_event_register_any_args {
    int eventID;
    remote_storage_pool pool;
};

struct remote_connect_storage_pool_event_register_any_ret {
    int callbackID;
};

struct remote_connect_storage_pool_event_deregister_any_args {
    int callbackID;
};

struct remote_storage_pool_event_lifecycle_msg {
    int callbackID;
    remote_nonnull_storage_pool pool;
    int event;
    int detail;
};

3204 3205 3206 3207 3208
struct remote_storage_pool_event_refresh_msg {
    int callbackID;
    remote_nonnull_storage_pool pool;
};

3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228
struct remote_connect_node_device_event_register_any_args {
    int eventID;
    remote_node_device dev;
};

struct remote_connect_node_device_event_register_any_ret {
    int callbackID;
};

struct remote_connect_node_device_event_deregister_any_args {
    int callbackID;
};

struct remote_node_device_event_lifecycle_msg {
    int callbackID;
    remote_nonnull_node_device dev;
    int event;
    int detail;
};

3229 3230 3231 3232 3233
struct remote_node_device_event_update_msg {
    int callbackID;
    remote_nonnull_node_device dev;
};

3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252
struct remote_domain_fsfreeze_args {
    remote_nonnull_domain dom;
    remote_nonnull_string mountpoints<REMOTE_DOMAIN_FSFREEZE_MOUNTPOINTS_MAX>; /* (const char **) */
    unsigned int flags;
};

struct remote_domain_fsfreeze_ret {
    int filesystems;
};

struct remote_domain_fsthaw_args {
    remote_nonnull_domain dom;
    remote_nonnull_string mountpoints<REMOTE_DOMAIN_FSFREEZE_MOUNTPOINTS_MAX>; /* (const char **) */
    unsigned int flags;
};

struct remote_domain_fsthaw_ret {
    int filesystems;
};
3253

M
Michal Privoznik 已提交
3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264
struct remote_node_get_free_pages_args {
    unsigned int pages<REMOTE_NODE_MAX_CELLS>;
    int startCell;
    unsigned int cellCount;
    unsigned int flags;
};

struct remote_node_get_free_pages_ret {
    unsigned hyper counts<REMOTE_NODE_MAX_CELLS>;
};

M
Michal Privoznik 已提交
3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276
struct remote_node_alloc_pages_args {
    unsigned int pageSizes<REMOTE_NODE_MAX_CELLS>;
    unsigned hyper pageCounts<REMOTE_NODE_MAX_CELLS>;
    int startCell;
    unsigned int cellCount;
    unsigned int flags;
};

struct remote_node_alloc_pages_ret {
    int ret;
};

3277
struct remote_network_dhcp_lease {
3278
    remote_nonnull_string iface;
3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290
    hyper expirytime;
    int type;
    remote_string mac;
    remote_string iaid;
    remote_nonnull_string ipaddr;
    unsigned int prefix;
    remote_string hostname;
    remote_string clientid;
};

struct remote_network_get_dhcp_leases_args {
    remote_nonnull_network net;
3291
    remote_string mac;
3292 3293 3294 3295 3296 3297 3298 3299 3300
    int need_results;
    unsigned int flags;
};

struct remote_network_get_dhcp_leases_ret {
    remote_network_dhcp_lease leases<REMOTE_NETWORK_DHCP_LEASES_MAX>;
    unsigned int ret;
};

3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311
struct remote_domain_stats_record {
    remote_nonnull_domain dom;
    remote_typed_param params<REMOTE_CONNECT_GET_ALL_DOMAIN_STATS_MAX>;
};

struct remote_connect_get_all_domain_stats_args {
    remote_nonnull_domain doms<REMOTE_DOMAIN_LIST_MAX>;
    unsigned int stats;
    unsigned int flags;
};

3312 3313 3314 3315 3316 3317 3318 3319
struct remote_domain_event_callback_agent_lifecycle_msg {
    int callbackID;
    remote_nonnull_domain dom;

    int state;
    int reason;
};

3320 3321 3322
struct remote_connect_get_all_domain_stats_ret {
    remote_domain_stats_record retStats<REMOTE_DOMAIN_LIST_MAX>;
};
3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340

struct remote_domain_fsinfo {
    remote_nonnull_string mountpoint;
    remote_nonnull_string name;
    remote_nonnull_string fstype;
    remote_nonnull_string dev_aliases<REMOTE_DOMAIN_FSINFO_DISKS_MAX>; /* (const char **) */
};

struct remote_domain_get_fsinfo_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

struct remote_domain_get_fsinfo_ret {
    remote_domain_fsinfo info<REMOTE_DOMAIN_FSINFO_MAX>;
    unsigned int ret;
};

3341 3342 3343 3344 3345 3346 3347 3348
struct remote_domain_ip_addr {
    int type;
    remote_nonnull_string addr;
    unsigned int prefix;
};

struct remote_domain_interface {
    remote_nonnull_string name;
3349
    remote_string hwaddr;
3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362
    remote_domain_ip_addr addrs<REMOTE_DOMAIN_IP_ADDR_MAX>;
};

struct remote_domain_interface_addresses_args {
    remote_nonnull_domain dom;
    unsigned int source;
    unsigned int flags;
};

struct remote_domain_interface_addresses_ret {
    remote_domain_interface ifaces<REMOTE_DOMAIN_INTERFACE_MAX>;
};

3363 3364 3365 3366 3367 3368 3369
struct remote_domain_set_user_password_args {
    remote_nonnull_domain dom;
    remote_string user;
    remote_string password;
    unsigned int flags;
};

T
Tomas Meszaros 已提交
3370 3371 3372 3373 3374 3375 3376
struct remote_domain_rename_args {
    remote_nonnull_domain dom;
    remote_string new_name;
    unsigned int flags;
};

struct remote_domain_rename_ret {
3377
    int retcode;
T
Tomas Meszaros 已提交
3378
};
3379

3380 3381 3382 3383 3384 3385
struct remote_domain_event_callback_migration_iteration_msg {
    int callbackID;
    remote_nonnull_domain dom;
    int iteration;
};

J
Jiri Denemark 已提交
3386 3387 3388 3389 3390 3391
struct remote_domain_event_callback_job_completed_msg {
    int callbackID;
    remote_nonnull_domain dom;
    remote_typed_param params<REMOTE_DOMAIN_JOB_STATS_MAX>;
};

3392 3393 3394 3395 3396
struct remote_domain_migrate_start_post_copy_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

3397 3398 3399 3400 3401 3402
struct remote_domain_event_callback_device_removal_failed_msg {
    int callbackID;
    remote_nonnull_domain dom;
    remote_nonnull_string devAlias;
};

3403 3404 3405 3406 3407 3408 3409 3410 3411
struct remote_domain_get_guest_vcpus_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

struct remote_domain_get_guest_vcpus_ret {
    remote_typed_param params<REMOTE_DOMAIN_GUEST_VCPU_PARAMS_MAX>; /* alloc@1@unsigned int@2 */
};

3412 3413 3414 3415 3416 3417 3418
struct remote_domain_set_guest_vcpus_args {
    remote_nonnull_domain dom;
    remote_nonnull_string cpumap;
    int state;
    unsigned int flags;
};

3419 3420 3421 3422 3423 3424 3425
struct remote_domain_set_vcpu_args {
    remote_nonnull_domain dom;
    remote_nonnull_string cpumap;
    int state;
    unsigned int flags;
};

3426

3427 3428 3429 3430 3431 3432 3433
struct remote_domain_event_callback_metadata_change_msg {
    int callbackID;
    remote_nonnull_domain dom;
    int type;
    remote_string nsuri;
};

3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453
struct remote_connect_secret_event_register_any_args {
    int eventID;
    remote_secret secret;
};

struct remote_connect_secret_event_register_any_ret {
    int callbackID;
};

struct remote_connect_secret_event_deregister_any_args {
    int callbackID;
};

struct remote_secret_event_lifecycle_msg {
    int callbackID;
    remote_nonnull_secret secret;
    int event;
    int detail;
};

3454 3455 3456 3457 3458
struct remote_secret_event_value_changed_msg {
    int callbackID;
    remote_nonnull_secret secret;
};

3459 3460 3461 3462 3463 3464 3465
struct remote_domain_set_block_threshold_args {
    remote_nonnull_domain dom;
    remote_nonnull_string dev;
    unsigned hyper threshold;
    unsigned int flags;
};

3466 3467 3468 3469 3470 3471
struct remote_domain_set_lifecycle_action_args {
    remote_nonnull_domain dom;
    unsigned int type;
    unsigned int action;
    unsigned int flags;
};
3472

3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485
struct remote_connect_compare_hypervisor_cpu_args {
    remote_string emulator;
    remote_string arch;
    remote_string machine;
    remote_string virttype;
    remote_nonnull_string xmlCPU;
    unsigned int flags;
};

struct remote_connect_compare_hypervisor_cpu_ret {
    int result;
};

3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498
struct remote_connect_baseline_hypervisor_cpu_args {
    remote_string emulator;
    remote_string arch;
    remote_string machine;
    remote_string virttype;
    remote_nonnull_string xmlCPUs<REMOTE_CPU_BASELINE_MAX>; /* (const char **) */
    unsigned int flags;
};

struct remote_connect_baseline_hypervisor_cpu_ret {
    remote_nonnull_string cpu;
};

3499 3500 3501 3502 3503 3504 3505 3506 3507 3508
struct remote_node_get_sev_info_args {
    int nparams;
    unsigned int flags;
};

struct remote_node_get_sev_info_ret {
    remote_typed_param params<REMOTE_NODE_SEV_INFO_MAX>;
    int nparams;
};

3509 3510 3511 3512 3513 3514 3515 3516
struct remote_domain_get_launch_security_info_args {
    remote_nonnull_domain dom;
    unsigned int flags;
};

struct remote_domain_get_launch_security_info_ret {
    remote_typed_param params<REMOTE_DOMAIN_LAUNCH_SECURITY_INFO_PARAMS_MAX>;
};
3517

3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559
/* nwfilter binding */

struct remote_nwfilter_binding_lookup_by_port_dev_args {
    remote_nonnull_string name;
};

struct remote_nwfilter_binding_lookup_by_port_dev_ret {
    remote_nonnull_nwfilter_binding nwfilter;
};

struct remote_nwfilter_binding_create_xml_args {
    remote_nonnull_string xml;
    unsigned int flags;
};

struct remote_nwfilter_binding_create_xml_ret {
    remote_nonnull_nwfilter_binding nwfilter;
};

struct remote_nwfilter_binding_delete_args {
    remote_nonnull_nwfilter_binding nwfilter;
};

struct remote_nwfilter_binding_get_xml_desc_args {
    remote_nonnull_nwfilter_binding nwfilter;
    unsigned int flags;
};

struct remote_nwfilter_binding_get_xml_desc_ret {
    remote_nonnull_string xml;
};

struct remote_connect_list_all_nwfilter_bindings_args {
    int need_results;
    unsigned int flags;
};

struct remote_connect_list_all_nwfilter_bindings_ret { /* insert@1 */
    remote_nonnull_nwfilter_binding bindings<REMOTE_NWFILTER_BINDING_LIST_MAX>;
    unsigned int ret;
};

3560 3561 3562 3563 3564 3565 3566
/*----- Protocol. -----*/

/* Define the program number, protocol version and procedure numbers here. */
const REMOTE_PROGRAM = 0x20008086;
const REMOTE_PROTOCOL_VERSION = 1;

enum remote_procedure {
3567 3568 3569 3570 3571 3572 3573 3574 3575 3576
    /* Each function must be preceded by a comment providing one or
     * more annotations:
     *
     * - @generate: none|client|server|both
     *
     *   Whether to generate the dispatch stubs for the server
     *   and/or client code.
     *
     * - @readstream: paramnumber
     * - @writestream: paramnumber
3577
     *
3578 3579 3580 3581 3582
     *   The @readstream or @writestream annotations let daemon and src/remote
     *   create a stream.  The direction is defined from the src/remote point
     *   of view.  A readstream transfers data from daemon to src/remote.  The
     *   <paramnumber> specifies at which offset the stream parameter is inserted
     *   in the function parameter list.
3583
     *
3584
     * - @priority: low|high
3585
     *
3586 3587 3588 3589 3590
     *   Each API that might eventually access hypervisor's monitor (and thus
     *   block) MUST fall into low priority. However, there are some exceptions
     *   to this rule, e.g. domainDestroy. Other APIs MAY be marked as high
     *   priority. If in doubt, it's safe to choose low. Low is taken as default,
     *   and thus can be left out.
3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609
     *
     * - @acl: <object>:<permission>
     * - @acl: <object>:<permission>:<flagname>
     *
     *   Declare the access control requirements for the API. May be repeated
     *   multiple times, if multiple rules are required.
     *
     *     <object> is one of 'connect', 'domain', 'network', 'storagepool',
     *              'interface', 'nodedev', 'secret'.
     *     <permission> is one of the permissions in access/viraccessperm.h
     *     <flagname> indicates the rule only applies if the named flag
     *     is set in the API call
     *
     * - @aclfilter: <object>:<permission>
     *
     *   Declare an access control filter that will be applied to a list
     *   of objects being returned by an API. This allows the returned
     *   list to be filtered to only show those the user has permissions
     *   against
3610 3611 3612 3613 3614
     */

    /**
     * @generate: none
     * @priority: high
3615
     * @acl: connect:getattr
3616
     */
3617
    REMOTE_PROC_CONNECT_OPEN = 1,
3618 3619 3620 3621

    /**
     * @generate: none
     * @priority: high
3622
     * @acl: none
3623
     */
3624
    REMOTE_PROC_CONNECT_CLOSE = 2,
3625 3626 3627 3628

    /**
     * @generate: server
     * @priority: high
3629
     * @acl: connect:getattr
3630
     */
3631
    REMOTE_PROC_CONNECT_GET_TYPE = 3,
3632 3633 3634 3635

    /**
     * @generate: both
     * @priority: high
3636
     * @acl: connect:getattr
3637
     */
3638
    REMOTE_PROC_CONNECT_GET_VERSION = 4,
3639 3640 3641 3642

    /**
     * @generate: both
     * @priority: high
3643
     * @acl: connect:read
3644
     */
3645
    REMOTE_PROC_CONNECT_GET_MAX_VCPUS = 5,
3646 3647 3648 3649

    /**
     * @generate: both
     * @priority: high
3650
     * @acl: connect:read
3651 3652 3653 3654 3655
     */
    REMOTE_PROC_NODE_GET_INFO = 6,

    /**
     * @generate: both
3656
     * @acl: connect:read
3657
     */
3658
    REMOTE_PROC_CONNECT_GET_CAPABILITIES = 7,
3659 3660 3661

    /**
     * @generate: both
3662
     * @acl: domain:write
3663 3664 3665 3666 3667
     */
    REMOTE_PROC_DOMAIN_ATTACH_DEVICE = 8,

    /**
     * @generate: server
3668
     * @acl: domain:start
3669 3670 3671 3672 3673
     */
    REMOTE_PROC_DOMAIN_CREATE = 9,

    /**
     * @generate: both
3674 3675
     * @acl: domain:write
     * @acl: domain:start
3676 3677 3678 3679 3680 3681
     */
    REMOTE_PROC_DOMAIN_CREATE_XML = 10,

    /**
     * @generate: both
     * @priority: high
3682 3683
     * @acl: domain:write
     * @acl: domain:save
3684 3685 3686 3687 3688 3689
     */
    REMOTE_PROC_DOMAIN_DEFINE_XML = 11,

    /**
     * @generate: both
     * @priority: high
3690
     * @acl: domain:stop
3691 3692 3693 3694 3695
     */
    REMOTE_PROC_DOMAIN_DESTROY = 12,

    /**
     * @generate: both
3696
     * @acl: domain:write
3697 3698 3699 3700 3701
     */
    REMOTE_PROC_DOMAIN_DETACH_DEVICE = 13,

    /**
     * @generate: both
3702 3703
     * @acl: domain:read
     * @acl: domain:read_secure:VIR_DOMAIN_XML_SECURE
3704
     * @acl: domain:read_secure:VIR_DOMAIN_XML_MIGRATABLE
3705 3706 3707 3708 3709 3710
     */
    REMOTE_PROC_DOMAIN_GET_XML_DESC = 14,

    /**
     * @generate: both
     * @priority: high
3711
     * @acl: domain:read
3712 3713 3714 3715 3716
     */
    REMOTE_PROC_DOMAIN_GET_AUTOSTART = 15,

    /**
     * @generate: both
3717
     * @acl: domain:read
3718 3719 3720 3721 3722 3723
     */
    REMOTE_PROC_DOMAIN_GET_INFO = 16,

    /**
     * @generate: both
     * @priority: high
3724
     * @acl: domain:read
3725 3726 3727 3728 3729 3730
     */
    REMOTE_PROC_DOMAIN_GET_MAX_MEMORY = 17,

    /**
     * @generate: both
     * @priority: high
3731
     * @acl: domain:read
3732 3733 3734 3735 3736 3737
     */
    REMOTE_PROC_DOMAIN_GET_MAX_VCPUS = 18,

    /**
     * @generate: both
     * @priority: high
3738
     * @acl: domain:read
3739 3740 3741 3742 3743 3744
     */
    REMOTE_PROC_DOMAIN_GET_OS_TYPE = 19,

    /**
     * @generate: none
     * @priority: high
3745
     * @acl: domain:read
3746 3747 3748 3749 3750 3751
     */
    REMOTE_PROC_DOMAIN_GET_VCPUS = 20,

    /**
     * @generate: both
     * @priority: high
3752 3753
     * @acl: connect:search_domains
     * @aclfilter: domain:getattr
3754
     */
3755
    REMOTE_PROC_CONNECT_LIST_DEFINED_DOMAINS = 21,
3756 3757 3758 3759

    /**
     * @generate: both
     * @priority: high
3760
     * @acl: domain:getattr
3761 3762 3763 3764 3765 3766
     */
    REMOTE_PROC_DOMAIN_LOOKUP_BY_ID = 22,

    /**
     * @generate: both
     * @priority: high
3767
     * @acl: domain:getattr
3768 3769 3770 3771 3772 3773
     */
    REMOTE_PROC_DOMAIN_LOOKUP_BY_NAME = 23,

    /**
     * @generate: both
     * @priority: high
3774
     * @acl: domain:getattr
3775 3776 3777 3778 3779 3780
     */
    REMOTE_PROC_DOMAIN_LOOKUP_BY_UUID = 24,

    /**
     * @generate: both
     * @priority: high
3781 3782
     * @acl: connect:search_domains
     * @aclfilter: domain:getattr
3783
     */
3784
    REMOTE_PROC_CONNECT_NUM_OF_DEFINED_DOMAINS = 25,
3785 3786 3787

    /**
     * @generate: both
3788
     * @acl: domain:write
3789 3790 3791 3792 3793
     */
    REMOTE_PROC_DOMAIN_PIN_VCPU = 26,

    /**
     * @generate: both
3794
     * @acl: domain:init_control
3795
     * @acl: domain:write:VIR_DOMAIN_REBOOT_GUEST_AGENT
3796 3797 3798 3799 3800
     */
    REMOTE_PROC_DOMAIN_REBOOT = 27,

    /**
     * @generate: both
3801
     * @acl: domain:suspend
3802 3803 3804 3805 3806 3807
     */
    REMOTE_PROC_DOMAIN_RESUME = 28,

    /**
     * @generate: both
     * @priority: high
3808
     * @acl: domain:write
3809 3810 3811 3812 3813 3814
     */
    REMOTE_PROC_DOMAIN_SET_AUTOSTART = 29,

    /**
     * @generate: both
     * @priority: high
3815
     * @acl: domain:write
3816 3817 3818 3819 3820
     */
    REMOTE_PROC_DOMAIN_SET_MAX_MEMORY = 30,

    /**
     * @generate: both
3821
     * @acl: domain:write
3822 3823 3824 3825 3826
     */
    REMOTE_PROC_DOMAIN_SET_MEMORY = 31,

    /**
     * @generate: both
3827
     * @acl: domain:write
3828 3829 3830 3831 3832
     */
    REMOTE_PROC_DOMAIN_SET_VCPUS = 32,

    /**
     * @generate: both
3833
     * @acl: domain:init_control
3834 3835 3836 3837 3838
     */
    REMOTE_PROC_DOMAIN_SHUTDOWN = 33,

    /**
     * @generate: both
3839
     * @acl: domain:suspend
3840 3841 3842 3843 3844 3845
     */
    REMOTE_PROC_DOMAIN_SUSPEND = 34,

    /**
     * @generate: both
     * @priority: high
3846
     * @acl: domain:delete
3847 3848 3849 3850 3851 3852
     */
    REMOTE_PROC_DOMAIN_UNDEFINE = 35,

    /**
     * @generate: both
     * @priority: high
3853 3854
     * @acl: connect:search_networks
     * @aclfilter: network:getattr
3855
     */
3856
    REMOTE_PROC_CONNECT_LIST_DEFINED_NETWORKS = 36,
3857 3858 3859 3860

    /**
     * @generate: server
     * @priority: high
3861 3862
     * @acl: connect:search_domains
     * @aclfilter: domain:getattr
3863
     */
3864
    REMOTE_PROC_CONNECT_LIST_DOMAINS = 37,
3865 3866 3867 3868

    /**
     * @generate: both
     * @priority: high
3869 3870
     * @acl: connect:search_networks
     * @aclfilter: network:getattr
3871
     */
3872
    REMOTE_PROC_CONNECT_LIST_NETWORKS = 38,
3873 3874 3875

    /**
     * @generate: both
3876
     * @acl: network:start
3877 3878 3879 3880 3881
     */
    REMOTE_PROC_NETWORK_CREATE = 39,

    /**
     * @generate: both
3882 3883
     * @acl: network:write
     * @acl: network:start
3884 3885 3886 3887 3888 3889
     */
    REMOTE_PROC_NETWORK_CREATE_XML = 40,

    /**
     * @generate: both
     * @priority: high
3890 3891
     * @acl: network:write
     * @acl: network:save
3892 3893 3894 3895 3896 3897
     */
    REMOTE_PROC_NETWORK_DEFINE_XML = 41,

    /**
     * @generate: both
     * @priority: high
3898
     * @acl: network:stop
3899 3900 3901 3902 3903 3904
     */
    REMOTE_PROC_NETWORK_DESTROY = 42,

    /**
     * @generate: both
     * @priority: high
3905
     * @acl: network:read
3906 3907 3908 3909 3910 3911
     */
    REMOTE_PROC_NETWORK_GET_XML_DESC = 43,

    /**
     * @generate: both
     * @priority: high
3912
     * @acl: network:read
3913 3914 3915 3916 3917 3918
     */
    REMOTE_PROC_NETWORK_GET_AUTOSTART = 44,

    /**
     * @generate: both
     * @priority: high
3919
     * @acl: network:read
3920 3921 3922 3923 3924 3925
     */
    REMOTE_PROC_NETWORK_GET_BRIDGE_NAME = 45,

    /**
     * @generate: both
     * @priority: high
3926
     * @acl: network:getattr
3927 3928 3929 3930 3931 3932
     */
    REMOTE_PROC_NETWORK_LOOKUP_BY_NAME = 46,

    /**
     * @generate: both
     * @priority: high
3933
     * @acl: network:getattr
3934 3935 3936 3937 3938 3939
     */
    REMOTE_PROC_NETWORK_LOOKUP_BY_UUID = 47,

    /**
     * @generate: both
     * @priority: high
3940
     * @acl: network:write
3941 3942 3943 3944 3945 3946
     */
    REMOTE_PROC_NETWORK_SET_AUTOSTART = 48,

    /**
     * @generate: both
     * @priority: high
3947
     * @acl: network:delete
3948 3949 3950 3951 3952 3953
     */
    REMOTE_PROC_NETWORK_UNDEFINE = 49,

    /**
     * @generate: both
     * @priority: high
3954 3955
     * @acl: connect:search_networks
     * @aclfilter: network:getattr
3956
     */
3957
    REMOTE_PROC_CONNECT_NUM_OF_DEFINED_NETWORKS = 50,
3958 3959 3960 3961

    /**
     * @generate: both
     * @priority: high
3962 3963
     * @acl: connect:search_domains
     * @aclfilter: domain:getattr
3964
     */
3965
    REMOTE_PROC_CONNECT_NUM_OF_DOMAINS = 51,
3966 3967 3968 3969

    /**
     * @generate: both
     * @priority: high
3970 3971
     * @acl: connect:search_networks
     * @aclfilter: network:getattr
3972
     */
3973
    REMOTE_PROC_CONNECT_NUM_OF_NETWORKS = 52,
3974 3975 3976

    /**
     * @generate: both
3977
     * @acl: domain:core_dump
3978 3979 3980 3981 3982
     */
    REMOTE_PROC_DOMAIN_CORE_DUMP = 53,

    /**
     * @generate: both
3983 3984
     * @acl: domain:start
     * @acl: domain:write
3985 3986 3987 3988 3989
     */
    REMOTE_PROC_DOMAIN_RESTORE = 54,

    /**
     * @generate: both
3990
     * @acl: domain:hibernate
3991 3992 3993 3994 3995
     */
    REMOTE_PROC_DOMAIN_SAVE = 55,

    /**
     * @generate: none
3996
     * @acl: domain:read
3997 3998 3999 4000 4001
     */
    REMOTE_PROC_DOMAIN_GET_SCHEDULER_TYPE = 56,

    /**
     * @generate: client
4002
     * @acl: domain:read
4003 4004 4005 4006 4007
     */
    REMOTE_PROC_DOMAIN_GET_SCHEDULER_PARAMETERS = 57,

    /**
     * @generate: both
4008
     * @acl: domain:read
4009 4010 4011 4012 4013 4014
     */
    REMOTE_PROC_DOMAIN_SET_SCHEDULER_PARAMETERS = 58,

    /**
     * @generate: both
     * @priority: high
4015
     * @acl: connect:getattr
4016
     */
4017
    REMOTE_PROC_CONNECT_GET_HOSTNAME = 59,
4018 4019 4020 4021

    /**
     * @generate: client
     * @priority: high
4022
     * @acl: connect:getattr
4023
     */
4024
    REMOTE_PROC_CONNECT_SUPPORTS_FEATURE = 60,
4025 4026 4027

    /**
     * @generate: none
4028 4029 4030
     * @acl: domain:migrate
     * @acl: domain:start
     * @acl: domain:write
4031 4032 4033 4034 4035
     */
    REMOTE_PROC_DOMAIN_MIGRATE_PREPARE = 61,

    /**
     * @generate: both
4036
     * @acl: domain:migrate
4037 4038 4039 4040 4041
     */
    REMOTE_PROC_DOMAIN_MIGRATE_PERFORM = 62,

    /**
     * @generate: both
4042
     * @acl: domain:migrate
4043 4044 4045 4046 4047
     */
    REMOTE_PROC_DOMAIN_MIGRATE_FINISH = 63,

    /**
     * @generate: both
4048
     * @acl: domain:read
4049 4050 4051 4052 4053 4054
     */
    REMOTE_PROC_DOMAIN_BLOCK_STATS = 64,

    /**
     * @generate: both
     * @priority: high
4055
     * @acl: domain:read
4056 4057 4058 4059 4060 4061
     */
    REMOTE_PROC_DOMAIN_INTERFACE_STATS = 65,

    /**
     * @generate: none
     * @priority: high
4062
     * @acl: none
4063 4064 4065 4066 4067 4068
     */
    REMOTE_PROC_AUTH_LIST = 66,

    /**
     * @generate: none
     * @priority: high
4069
     * @acl: none
4070 4071 4072 4073 4074 4075
     */
    REMOTE_PROC_AUTH_SASL_INIT = 67,

    /**
     * @generate: none
     * @priority: high
4076
     * @acl: none
4077 4078 4079 4080 4081 4082
     */
    REMOTE_PROC_AUTH_SASL_START = 68,

    /**
     * @generate: none
     * @priority: high
4083
     * @acl: none
4084 4085 4086 4087 4088 4089
     */
    REMOTE_PROC_AUTH_SASL_STEP = 69,

    /**
     * @generate: none
     * @priority: high
4090
     * @acl: none
4091 4092 4093 4094 4095 4096
     */
    REMOTE_PROC_AUTH_POLKIT = 70,

    /**
     * @generate: both
     * @priority: high
4097 4098
     * @acl: connect:search_storage_pools
     * @aclfilter: storage_pool:getattr
4099
     */
4100
    REMOTE_PROC_CONNECT_NUM_OF_STORAGE_POOLS = 71,
4101 4102 4103 4104

    /**
     * @generate: both
     * @priority: high
4105 4106
     * @acl: connect:search_storage_pools
     * @aclfilter: storage_pool:getattr
4107
     */
4108
    REMOTE_PROC_CONNECT_LIST_STORAGE_POOLS = 72,
4109 4110 4111 4112

    /**
     * @generate: both
     * @priority: high
4113 4114
     * @acl: connect:search_storage_pools
     * @aclfilter: storage_pool:getattr
4115
     */
4116
    REMOTE_PROC_CONNECT_NUM_OF_DEFINED_STORAGE_POOLS = 73,
4117 4118 4119 4120

    /**
     * @generate: both
     * @priority: high
4121 4122
     * @acl: connect:search_storage_pools
     * @aclfilter: storage_pool:getattr
4123
     */
4124
    REMOTE_PROC_CONNECT_LIST_DEFINED_STORAGE_POOLS = 74,
4125 4126 4127

    /**
     * @generate: server
4128
     * @acl: connect:detect_storage_pools
4129
     */
4130
    REMOTE_PROC_CONNECT_FIND_STORAGE_POOL_SOURCES = 75,
4131 4132 4133

    /**
     * @generate: both
4134 4135
     * @acl: storage_pool:start
     * @acl: storage_pool:write
4136 4137 4138 4139 4140 4141
     */
    REMOTE_PROC_STORAGE_POOL_CREATE_XML = 76,

    /**
     * @generate: both
     * @priority: high
4142 4143
     * @acl: storage_pool:write
     * @acl: storage_pool:save
4144 4145 4146 4147 4148
     */
    REMOTE_PROC_STORAGE_POOL_DEFINE_XML = 77,

    /**
     * @generate: both
4149
     * @acl: storage_pool:start
4150 4151 4152 4153 4154
     */
    REMOTE_PROC_STORAGE_POOL_CREATE = 78,

    /**
     * @generate: both
4155
     * @acl: storage_pool:format
4156 4157 4158 4159 4160 4161
     */
    REMOTE_PROC_STORAGE_POOL_BUILD = 79,

    /**
     * @generate: both
     * @priority: high
4162
     * @acl: storage_pool:stop
4163 4164 4165 4166 4167
     */
    REMOTE_PROC_STORAGE_POOL_DESTROY = 80,

    /**
     * @generate: both
4168
     * @acl: storage_pool:format
4169 4170 4171 4172 4173 4174
     */
    REMOTE_PROC_STORAGE_POOL_DELETE = 81,

    /**
     * @generate: both
     * @priority: high
4175
     * @acl: storage_pool:delete
4176 4177 4178 4179 4180
     */
    REMOTE_PROC_STORAGE_POOL_UNDEFINE = 82,

    /**
     * @generate: both
4181
     * @acl: storage_pool:refresh
4182 4183 4184 4185 4186 4187
     */
    REMOTE_PROC_STORAGE_POOL_REFRESH = 83,

    /**
     * @generate: both
     * @priority: high
4188
     * @acl: storage_pool:getattr
4189 4190 4191 4192 4193 4194
     */
    REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_NAME = 84,

    /**
     * @generate: both
     * @priority: high
4195
     * @acl: storage_pool:getattr
4196 4197 4198 4199 4200 4201
     */
    REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_UUID = 85,

    /**
     * @generate: both
     * @priority: high
4202
     * @acl: storage_pool:getattr
4203 4204 4205 4206 4207 4208
     */
    REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_VOLUME = 86,

    /**
     * @generate: both
     * @priority: high
4209
     * @acl: storage_pool:read
4210 4211 4212 4213 4214 4215
     */
    REMOTE_PROC_STORAGE_POOL_GET_INFO = 87,

    /**
     * @generate: both
     * @priority: high
4216
     * @acl: storage_pool:read
4217 4218 4219 4220 4221 4222
     */
    REMOTE_PROC_STORAGE_POOL_GET_XML_DESC = 88,

    /**
     * @generate: both
     * @priority: high
4223
     * @acl: storage_pool:read
4224 4225 4226 4227 4228 4229
     */
    REMOTE_PROC_STORAGE_POOL_GET_AUTOSTART = 89,

    /**
     * @generate: both
     * @priority: high
4230
     * @acl: storage_pool:write
4231 4232 4233 4234 4235 4236
     */
    REMOTE_PROC_STORAGE_POOL_SET_AUTOSTART = 90,

    /**
     * @generate: both
     * @priority: high
4237 4238
     * @acl: storage_pool:search_storage_vols
     * @aclfilter: storage_vol:getattr
4239 4240 4241 4242 4243 4244
     */
    REMOTE_PROC_STORAGE_POOL_NUM_OF_VOLUMES = 91,

    /**
     * @generate: both
     * @priority: high
4245 4246
     * @acl: storage_pool:search_storage_vols
     * @aclfilter: storage_vol:getattr
4247 4248 4249 4250 4251
     */
    REMOTE_PROC_STORAGE_POOL_LIST_VOLUMES = 92,

    /**
     * @generate: both
4252
     * @acl: storage_vol:create
4253 4254 4255 4256 4257
     */
    REMOTE_PROC_STORAGE_VOL_CREATE_XML = 93,

    /**
     * @generate: both
4258
     * @acl: storage_vol:delete
4259 4260 4261 4262 4263 4264
     */
    REMOTE_PROC_STORAGE_VOL_DELETE = 94,

    /**
     * @generate: both
     * @priority: high
4265
     * @acl: storage_vol:getattr
4266 4267 4268 4269 4270 4271
     */
    REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_NAME = 95,

    /**
     * @generate: both
     * @priority: high
4272
     * @acl: storage_vol:getattr
4273 4274 4275 4276 4277 4278
     */
    REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_KEY = 96,

    /**
     * @generate: both
     * @priority: high
4279
     * @acl: storage_vol:getattr
4280 4281 4282 4283 4284 4285
     */
    REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_PATH = 97,

    /**
     * @generate: both
     * @priority: high
4286
     * @acl: storage_vol:read
4287 4288 4289 4290 4291 4292
     */
    REMOTE_PROC_STORAGE_VOL_GET_INFO = 98,

    /**
     * @generate: both
     * @priority: high
4293
     * @acl: storage_vol:read
4294 4295 4296 4297 4298 4299
     */
    REMOTE_PROC_STORAGE_VOL_GET_XML_DESC = 99,

    /**
     * @generate: both
     * @priority: high
4300
     * @acl: storage_vol:read
4301 4302 4303 4304 4305 4306
     */
    REMOTE_PROC_STORAGE_VOL_GET_PATH = 100,

    /**
     * @generate: server
     * @priority: high
4307
     * @acl: connect:read
4308 4309 4310 4311 4312 4313
     */
    REMOTE_PROC_NODE_GET_CELLS_FREE_MEMORY = 101,

    /**
     * @generate: both
     * @priority: high
4314
     * @acl: connect:read
4315 4316 4317 4318 4319
     */
    REMOTE_PROC_NODE_GET_FREE_MEMORY = 102,

    /**
     * @generate: none
4320
     * @acl: domain:block_read
4321 4322 4323 4324 4325
     */
    REMOTE_PROC_DOMAIN_BLOCK_PEEK = 103,

    /**
     * @generate: none
4326
     * @acl: domain:mem_read
4327 4328 4329 4330 4331 4332
     */
    REMOTE_PROC_DOMAIN_MEMORY_PEEK = 104,

    /**
     * @generate: none
     * @priority: high
4333 4334
     * @acl: connect:search_domains
     * @aclfilter: domain:getattr
4335
     */
4336
    REMOTE_PROC_CONNECT_DOMAIN_EVENT_REGISTER = 105,
4337 4338 4339 4340

    /**
     * @generate: none
     * @priority: high
4341
     * @acl: connect:read
4342
     */
4343
    REMOTE_PROC_CONNECT_DOMAIN_EVENT_DEREGISTER = 106,
4344 4345 4346

    /**
     * @generate: both
4347
     * @acl: none
4348 4349 4350 4351 4352
     */
    REMOTE_PROC_DOMAIN_EVENT_LIFECYCLE = 107,

    /**
     * @generate: none
4353 4354 4355
     * @acl: domain:migrate
     * @acl: domain:start
     * @acl: domain:write
4356 4357 4358 4359 4360
     */
    REMOTE_PROC_DOMAIN_MIGRATE_PREPARE2 = 108,

    /**
     * @generate: both
4361
     * @acl: domain:migrate
4362 4363 4364 4365 4366 4367
     */
    REMOTE_PROC_DOMAIN_MIGRATE_FINISH2 = 109,

    /**
     * @generate: server
     * @priority: high
4368
     * @acl: connect:getattr
4369
     */
4370
    REMOTE_PROC_CONNECT_GET_URI = 110,
4371 4372 4373 4374

    /**
     * @generate: both
     * @priority: high
4375 4376
     * @acl: connect:search_node_devices
     * @aclfilter: node_device:getattr
4377 4378 4379 4380 4381 4382
     */
    REMOTE_PROC_NODE_NUM_OF_DEVICES = 111,

    /**
     * @generate: both
     * @priority: high
4383 4384
     * @acl: connect:search_node_devices
     * @aclfilter: node_device:getattr
4385 4386 4387 4388 4389 4390
     */
    REMOTE_PROC_NODE_LIST_DEVICES = 112,

    /**
     * @generate: both
     * @priority: high
4391
     * @acl: node_device:getattr
4392 4393 4394 4395 4396
     */
    REMOTE_PROC_NODE_DEVICE_LOOKUP_BY_NAME = 113,

    /**
     * @generate: both
4397
     * @acl: node_device:read
4398 4399 4400 4401 4402 4403
     */
    REMOTE_PROC_NODE_DEVICE_GET_XML_DESC = 114,

    /**
     * @generate: client
     * @priority: high
4404
     * @acl: node_device:read
4405 4406 4407 4408 4409 4410
     */
    REMOTE_PROC_NODE_DEVICE_GET_PARENT = 115,

    /**
     * @generate: both
     * @priority: high
4411
     * @acl: node_device:read
4412 4413 4414 4415 4416 4417
     */
    REMOTE_PROC_NODE_DEVICE_NUM_OF_CAPS = 116,

    /**
     * @generate: both
     * @priority: high
4418
     * @acl: node_device:read
4419 4420 4421 4422 4423
     */
    REMOTE_PROC_NODE_DEVICE_LIST_CAPS = 117,

    /**
     * @generate: server
4424
     * @acl: node_device:detach
4425 4426 4427 4428 4429
     */
    REMOTE_PROC_NODE_DEVICE_DETTACH = 118,

    /**
     * @generate: server
4430
     * @acl: node_device:detach
4431 4432 4433 4434 4435
     */
    REMOTE_PROC_NODE_DEVICE_RE_ATTACH = 119,

    /**
     * @generate: server
4436
     * @acl: node_device:detach
4437 4438 4439 4440 4441 4442
     */
    REMOTE_PROC_NODE_DEVICE_RESET = 120,

    /**
     * @generate: none
     * @priority: high
4443
     * @acl: domain:read
4444 4445 4446 4447 4448 4449
     */
    REMOTE_PROC_DOMAIN_GET_SECURITY_LABEL = 121,

    /**
     * @generate: none
     * @priority: high
4450
     * @acl: connect:read
4451 4452 4453 4454 4455
     */
    REMOTE_PROC_NODE_GET_SECURITY_MODEL = 122,

    /**
     * @generate: both
4456 4457
     * @acl: node_device:write
     * @acl: node_device:start
4458 4459 4460 4461 4462 4463
     */
    REMOTE_PROC_NODE_DEVICE_CREATE_XML = 123,

    /**
     * @generate: both
     * @priority: high
4464
     * @acl: node_device:stop
4465 4466 4467 4468 4469
     */
    REMOTE_PROC_NODE_DEVICE_DESTROY = 124,

    /**
     * @generate: both
4470
     * @acl: storage_vol:create
4471 4472 4473 4474 4475 4476
     */
    REMOTE_PROC_STORAGE_VOL_CREATE_XML_FROM = 125,

    /**
     * @generate: both
     * @priority: high
4477 4478
     * @acl: connect:search_interfaces
     * @aclfilter: interface:getattr
4479
     */
4480
    REMOTE_PROC_CONNECT_NUM_OF_INTERFACES = 126,
4481 4482 4483 4484

    /**
     * @generate: both
     * @priority: high
4485 4486
     * @acl: connect:search_interfaces
     * @aclfilter: interface:getattr
4487
     */
4488
    REMOTE_PROC_CONNECT_LIST_INTERFACES = 127,
4489 4490 4491 4492

    /**
     * @generate: both
     * @priority: high
4493
     * @acl: interface:getattr
4494 4495 4496 4497 4498 4499
     */
    REMOTE_PROC_INTERFACE_LOOKUP_BY_NAME = 128,

    /**
     * @generate: both
     * @priority: high
4500
     * @acl: interface:getattr
4501 4502 4503 4504 4505
     */
    REMOTE_PROC_INTERFACE_LOOKUP_BY_MAC_STRING = 129,

    /**
     * @generate: both
4506
     * @acl: interface:read
4507 4508 4509 4510 4511 4512
     */
    REMOTE_PROC_INTERFACE_GET_XML_DESC = 130,

    /**
     * @generate: both
     * @priority: high
4513 4514
     * @acl: interface:write
     * @acl: interface:save
4515 4516 4517 4518 4519 4520
     */
    REMOTE_PROC_INTERFACE_DEFINE_XML = 131,

    /**
     * @generate: both
     * @priority: high
4521
     * @acl: interface:delete
4522 4523 4524 4525 4526
     */
    REMOTE_PROC_INTERFACE_UNDEFINE = 132,

    /**
     * @generate: both
4527
     * @acl: interface:start
4528 4529 4530 4531 4532 4533
     */
    REMOTE_PROC_INTERFACE_CREATE = 133,

    /**
     * @generate: both
     * @priority: high
4534
     * @acl: interface:stop
4535 4536 4537 4538 4539
     */
    REMOTE_PROC_INTERFACE_DESTROY = 134,

    /**
     * @generate: both
4540
     * @acl: connect:write
4541
     */
4542
    REMOTE_PROC_CONNECT_DOMAIN_XML_FROM_NATIVE = 135,
4543 4544 4545

    /**
     * @generate: both
4546
     * @acl: connect:write
4547
     */
4548
    REMOTE_PROC_CONNECT_DOMAIN_XML_TO_NATIVE = 136,
4549 4550 4551 4552

    /**
     * @generate: both
     * @priority: high
4553 4554
     * @acl: connect:search_interfaces
     * @aclfilter: interface:getattr
4555
     */
4556
    REMOTE_PROC_CONNECT_NUM_OF_DEFINED_INTERFACES = 137,
4557 4558 4559 4560

    /**
     * @generate: both
     * @priority: high
4561 4562
     * @acl: connect:search_interfaces
     * @aclfilter: interface:getattr
4563
     */
4564
    REMOTE_PROC_CONNECT_LIST_DEFINED_INTERFACES = 138,
4565 4566 4567 4568

    /**
     * @generate: both
     * @priority: high
4569 4570
     * @acl: connect:search_secrets
     * @aclfilter: secret:getattr
4571
     */
4572
    REMOTE_PROC_CONNECT_NUM_OF_SECRETS = 139,
4573 4574 4575 4576

    /**
     * @generate: both
     * @priority: high
4577 4578
     * @acl: connect:search_secrets
     * @aclfilter: secret:getattr
4579
     */
4580
    REMOTE_PROC_CONNECT_LIST_SECRETS = 140,
4581 4582 4583 4584

    /**
     * @generate: both
     * @priority: high
4585
     * @acl: secret:getattr
4586 4587 4588 4589 4590 4591
     */
    REMOTE_PROC_SECRET_LOOKUP_BY_UUID = 141,

    /**
     * @generate: both
     * @priority: high
4592 4593
     * @acl: secret:write
     * @acl: secret:save
4594 4595 4596 4597 4598 4599
     */
    REMOTE_PROC_SECRET_DEFINE_XML = 142,

    /**
     * @generate: both
     * @priority: high
4600
     * @acl: secret:read
4601 4602 4603 4604 4605 4606
     */
    REMOTE_PROC_SECRET_GET_XML_DESC = 143,

    /**
     * @generate: both
     * @priority: high
4607
     * @acl: secret:write
4608 4609 4610 4611 4612 4613
     */
    REMOTE_PROC_SECRET_SET_VALUE = 144,

    /**
     * @generate: none
     * @priority: high
4614
     * @acl: secret:read_secure
4615 4616 4617 4618 4619 4620
     */
    REMOTE_PROC_SECRET_GET_VALUE = 145,

    /**
     * @generate: both
     * @priority: high
4621
     * @acl: secret:delete
4622 4623 4624 4625 4626 4627
     */
    REMOTE_PROC_SECRET_UNDEFINE = 146,

    /**
     * @generate: both
     * @priority: high
4628
     * @acl: secret:getattr
4629 4630 4631 4632 4633 4634
     */
    REMOTE_PROC_SECRET_LOOKUP_BY_USAGE = 147,

    /**
     * @generate: both
     * @writestream: 1
4635 4636 4637
     * @acl: domain:migrate
     * @acl: domain:start
     * @acl: domain:write
4638 4639 4640 4641 4642 4643
     */
    REMOTE_PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL = 148,

    /**
     * @generate: server
     * @priority: high
4644
     * @acl: none
4645
     */
4646
    REMOTE_PROC_CONNECT_IS_SECURE = 149,
4647 4648 4649 4650

    /**
     * @generate: both
     * @priority: high
4651
     * @acl: domain:read
4652 4653 4654 4655 4656 4657
     */
    REMOTE_PROC_DOMAIN_IS_ACTIVE = 150,

    /**
     * @generate: both
     * @priority: high
4658
     * @acl: domain:read
4659 4660 4661 4662 4663 4664
     */
    REMOTE_PROC_DOMAIN_IS_PERSISTENT = 151,

    /**
     * @generate: both
     * @priority: high
4665
     * @acl: network:read
4666 4667 4668 4669 4670 4671
     */
    REMOTE_PROC_NETWORK_IS_ACTIVE = 152,

    /**
     * @generate: both
     * @priority: high
4672
     * @acl: network:read
4673 4674 4675 4676 4677 4678
     */
    REMOTE_PROC_NETWORK_IS_PERSISTENT = 153,

    /**
     * @generate: both
     * @priority: high
4679
     * @acl: storage_pool:read
4680 4681 4682 4683 4684 4685
     */
    REMOTE_PROC_STORAGE_POOL_IS_ACTIVE = 154,

    /**
     * @generate: both
     * @priority: high
4686
     * @acl: storage_pool:read
4687 4688 4689 4690 4691 4692
     */
    REMOTE_PROC_STORAGE_POOL_IS_PERSISTENT = 155,

    /**
     * @generate: both
     * @priority: high
4693
     * @acl: interface:read
4694 4695 4696 4697 4698 4699
     */
    REMOTE_PROC_INTERFACE_IS_ACTIVE = 156,

    /**
     * @generate: both
     * @priority: high
4700
     * @acl: connect:getattr
4701
     */
4702
    REMOTE_PROC_CONNECT_GET_LIB_VERSION = 157,
4703 4704 4705 4706

    /**
     * @generate: both
     * @priority: high
4707
     * @acl: connect:read
4708
     */
4709
    REMOTE_PROC_CONNECT_COMPARE_CPU = 158,
4710 4711 4712

    /**
     * @generate: none
4713
     * @acl: domain:read
4714 4715 4716 4717 4718
     */
    REMOTE_PROC_DOMAIN_MEMORY_STATS = 159,

    /**
     * @generate: both
4719 4720 4721
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
4722 4723 4724 4725 4726
     */
    REMOTE_PROC_DOMAIN_ATTACH_DEVICE_FLAGS = 160,

    /**
     * @generate: both
4727 4728 4729
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
4730 4731 4732 4733 4734
     */
    REMOTE_PROC_DOMAIN_DETACH_DEVICE_FLAGS = 161,

    /**
     * @generate: both
4735
     * @acl: connect:read
4736
     */
4737
    REMOTE_PROC_CONNECT_BASELINE_CPU = 162,
4738 4739 4740

    /**
     * @generate: both
4741
     * @acl: domain:read
4742 4743 4744 4745 4746
     */
    REMOTE_PROC_DOMAIN_GET_JOB_INFO = 163,

    /**
     * @generate: both
4747
     * @acl: domain:write
4748 4749 4750 4751 4752
     */
    REMOTE_PROC_DOMAIN_ABORT_JOB = 164,

    /**
     * @generate: both
4753
     * @acl: storage_vol:format
4754 4755 4756 4757 4758
     */
    REMOTE_PROC_STORAGE_VOL_WIPE = 165,

    /**
     * @generate: both
4759
     * @acl: domain:migrate
4760 4761 4762 4763 4764 4765
     */
    REMOTE_PROC_DOMAIN_MIGRATE_SET_MAX_DOWNTIME = 166,

    /**
     * @generate: none
     * @priority: high
4766 4767
     * @acl: connect:search_domains
     * @aclfilter: domain:getattr
4768
     */
4769
    REMOTE_PROC_CONNECT_DOMAIN_EVENT_REGISTER_ANY = 167,
4770 4771 4772 4773

    /**
     * @generate: none
     * @priority: high
4774
     * @acl: connect:read
4775
     */
4776
    REMOTE_PROC_CONNECT_DOMAIN_EVENT_DEREGISTER_ANY = 168,
4777 4778 4779

    /**
     * @generate: both
4780
     * @acl: none
4781 4782 4783 4784 4785
     */
    REMOTE_PROC_DOMAIN_EVENT_REBOOT = 169,

    /**
     * @generate: both
4786
     * @acl: none
4787 4788 4789 4790 4791
     */
    REMOTE_PROC_DOMAIN_EVENT_RTC_CHANGE = 170,

    /**
     * @generate: both
4792
     * @acl: none
4793 4794 4795 4796 4797
     */
    REMOTE_PROC_DOMAIN_EVENT_WATCHDOG = 171,

    /**
     * @generate: both
4798
     * @acl: none
4799 4800 4801 4802 4803
     */
    REMOTE_PROC_DOMAIN_EVENT_IO_ERROR = 172,

    /**
     * @generate: both
4804
     * @acl: none
4805 4806 4807 4808 4809
     */
    REMOTE_PROC_DOMAIN_EVENT_GRAPHICS = 173,

    /**
     * @generate: both
4810 4811 4812
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
4813 4814 4815 4816 4817 4818
     */
    REMOTE_PROC_DOMAIN_UPDATE_DEVICE_FLAGS = 174,

    /**
     * @generate: both
     * @priority: high
4819
     * @acl: nwfilter:getattr
4820 4821 4822 4823 4824 4825
     */
    REMOTE_PROC_NWFILTER_LOOKUP_BY_NAME = 175,

    /**
     * @generate: both
     * @priority: high
4826
     * @acl: nwfilter:getattr
4827 4828 4829 4830 4831 4832
     */
    REMOTE_PROC_NWFILTER_LOOKUP_BY_UUID = 176,

    /**
     * @generate: both
     * @priority: high
4833
     * @acl: nwfilter:read
4834 4835 4836 4837 4838 4839
     */
    REMOTE_PROC_NWFILTER_GET_XML_DESC = 177,

    /**
     * @generate: both
     * @priority: high
4840 4841
     * @acl: connect:search_nwfilters
     * @aclfilter: nwfilter:getattr
4842
     */
4843
    REMOTE_PROC_CONNECT_NUM_OF_NWFILTERS = 178,
4844 4845 4846 4847

    /**
     * @generate: both
     * @priority: high
4848 4849
     * @acl: connect:search_nwfilters
     * @aclfilter: nwfilter:getattr
4850
     */
4851
    REMOTE_PROC_CONNECT_LIST_NWFILTERS = 179,
4852 4853 4854 4855

    /**
     * @generate: both
     * @priority: high
4856 4857
     * @acl: nwfilter:write
     * @acl: nwfilter:save
4858 4859 4860 4861 4862 4863
     */
    REMOTE_PROC_NWFILTER_DEFINE_XML = 180,

    /**
     * @generate: both
     * @priority: high
4864
     * @acl: nwfilter:delete
4865 4866 4867 4868 4869
     */
    REMOTE_PROC_NWFILTER_UNDEFINE = 181,

    /**
     * @generate: both
4870
     * @acl: domain:hibernate
4871 4872 4873 4874 4875
     */
    REMOTE_PROC_DOMAIN_MANAGED_SAVE = 182,

    /**
     * @generate: both
4876
     * @acl: domain:read
4877 4878 4879 4880 4881
     */
    REMOTE_PROC_DOMAIN_HAS_MANAGED_SAVE_IMAGE = 183,

    /**
     * @generate: both
4882
     * @acl: domain:hibernate
4883 4884 4885 4886 4887
     */
    REMOTE_PROC_DOMAIN_MANAGED_SAVE_REMOVE = 184,

    /**
     * @generate: both
4888
     * @acl: domain:snapshot
4889
     * @acl: domain:fs_freeze:VIR_DOMAIN_SNAPSHOT_CREATE_QUIESCE
4890 4891 4892 4893 4894 4895
     */
    REMOTE_PROC_DOMAIN_SNAPSHOT_CREATE_XML = 185,

    /**
     * @generate: both
     * @priority: high
4896
     * @acl: domain:read
4897
     * @acl: domain:read_secure:VIR_DOMAIN_XML_SECURE
4898 4899 4900 4901 4902 4903
     */
    REMOTE_PROC_DOMAIN_SNAPSHOT_GET_XML_DESC = 186,

    /**
     * @generate: both
     * @priority: high
4904
     * @acl: domain:read
4905 4906 4907 4908 4909 4910
     */
    REMOTE_PROC_DOMAIN_SNAPSHOT_NUM = 187,

    /**
     * @generate: both
     * @priority: high
4911
     * @acl: domain:read
4912 4913 4914 4915 4916 4917
     */
    REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_NAMES = 188,

    /**
     * @generate: both
     * @priority: high
4918
     * @acl: domain:read
4919 4920 4921 4922 4923
     */
    REMOTE_PROC_DOMAIN_SNAPSHOT_LOOKUP_BY_NAME = 189,

    /**
     * @generate: both
4924
     * @acl: domain:read
4925 4926 4927 4928 4929
     */
    REMOTE_PROC_DOMAIN_HAS_CURRENT_SNAPSHOT = 190,

    /**
     * @generate: both
4930
     * @acl: domain:read
4931 4932 4933 4934 4935
     */
    REMOTE_PROC_DOMAIN_SNAPSHOT_CURRENT = 191,

    /**
     * @generate: both
4936
     * @acl: domain:snapshot
4937 4938 4939 4940 4941
     */
    REMOTE_PROC_DOMAIN_REVERT_TO_SNAPSHOT = 192,

    /**
     * @generate: both
4942
     * @acl: domain:snapshot
4943 4944 4945 4946 4947
     */
    REMOTE_PROC_DOMAIN_SNAPSHOT_DELETE = 193,

    /**
     * @generate: both
4948
     * @acl: domain:read
4949 4950 4951 4952 4953
     */
    REMOTE_PROC_DOMAIN_GET_BLOCK_INFO = 194,

    /**
     * @generate: both
4954
     * @acl: none
4955 4956 4957 4958
     */
    REMOTE_PROC_DOMAIN_EVENT_IO_ERROR_REASON = 195,

    /**
4959
     * @generate: both
4960
     * @acl: domain:start
4961 4962 4963 4964 4965
     */
    REMOTE_PROC_DOMAIN_CREATE_WITH_FLAGS = 196,

    /**
     * @generate: both
4966 4967 4968
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
4969 4970 4971 4972 4973
     */
    REMOTE_PROC_DOMAIN_SET_MEMORY_PARAMETERS = 197,

    /**
     * @generate: none
4974
     * @acl: domain:read
4975 4976 4977 4978 4979
     */
    REMOTE_PROC_DOMAIN_GET_MEMORY_PARAMETERS = 198,

    /**
     * @generate: both
4980 4981 4982
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
4983
     * @acl: domain:write:VIR_DOMAIN_VCPU_GUEST
4984 4985 4986 4987 4988
     */
    REMOTE_PROC_DOMAIN_SET_VCPUS_FLAGS = 199,

    /**
     * @generate: both
4989
     * @acl: domain:read
4990
     * @acl: domain:write:VIR_DOMAIN_VCPU_GUEST
4991 4992 4993 4994 4995 4996
     */
    REMOTE_PROC_DOMAIN_GET_VCPUS_FLAGS = 200,

    /**
     * @generate: both
     * @readstream: 2
4997
     * @acl: domain:open_device
4998 4999 5000 5001 5002 5003
     */
    REMOTE_PROC_DOMAIN_OPEN_CONSOLE = 201,

    /**
     * @generate: both
     * @priority: high
5004
     * @acl: domain:read
5005 5006 5007 5008 5009 5010
     */
    REMOTE_PROC_DOMAIN_IS_UPDATED = 202,

    /**
     * @generate: both
     * @priority: high
5011
     * @acl: connect:read
5012
     */
5013
    REMOTE_PROC_CONNECT_GET_SYSINFO = 203,
5014 5015 5016

    /**
     * @generate: both
5017 5018 5019
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
5020 5021 5022 5023 5024
     */
    REMOTE_PROC_DOMAIN_SET_MEMORY_FLAGS = 204,

    /**
     * @generate: both
5025 5026 5027
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
5028 5029 5030 5031 5032
     */
    REMOTE_PROC_DOMAIN_SET_BLKIO_PARAMETERS = 205,

    /**
     * @generate: none
5033
     * @acl: domain:read
5034 5035 5036 5037 5038
     */
    REMOTE_PROC_DOMAIN_GET_BLKIO_PARAMETERS = 206,

    /**
     * @generate: both
5039
     * @acl: domain:migrate
5040 5041 5042 5043 5044 5045
     */
    REMOTE_PROC_DOMAIN_MIGRATE_SET_MAX_SPEED = 207,

    /**
     * @generate: both
     * @writestream: 1
5046
     * @sparseflag: VIR_STORAGE_VOL_UPLOAD_SPARSE_STREAM
5047
     * @acl: storage_vol:data_write
5048 5049 5050 5051 5052 5053
     */
    REMOTE_PROC_STORAGE_VOL_UPLOAD = 208,

    /**
     * @generate: both
     * @readstream: 1
5054
     * @sparseflag: VIR_STORAGE_VOL_DOWNLOAD_SPARSE_STREAM
5055
     * @acl: storage_vol:data_read
5056 5057 5058 5059 5060
     */
    REMOTE_PROC_STORAGE_VOL_DOWNLOAD = 209,

    /**
     * @generate: both
5061
     * @acl: domain:inject_nmi
5062 5063 5064 5065 5066 5067
     */
    REMOTE_PROC_DOMAIN_INJECT_NMI = 210,

    /**
     * @generate: both
     * @readstream: 1
5068
     * @acl: domain:screenshot
5069 5070 5071 5072 5073 5074
     */
    REMOTE_PROC_DOMAIN_SCREENSHOT = 211,

    /**
     * @generate: none
     * @priority: high
5075
     * @acl: domain:read
5076 5077 5078 5079 5080
     */
    REMOTE_PROC_DOMAIN_GET_STATE = 212,

    /**
     * @generate: none
5081
     * @acl: domain:migrate
5082 5083 5084 5085 5086
     */
    REMOTE_PROC_DOMAIN_MIGRATE_BEGIN3 = 213,

    /**
     * @generate: none
5087 5088 5089
     * @acl: domain:migrate
     * @acl: domain:start
     * @acl: domain:write
5090 5091 5092 5093 5094 5095
     */
    REMOTE_PROC_DOMAIN_MIGRATE_PREPARE3 = 214,

    /**
     * @generate: server
     * @writestream: 1
5096 5097 5098
     * @acl: domain:migrate
     * @acl: domain:start
     * @acl: domain:write
5099 5100 5101 5102 5103
     */
    REMOTE_PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL3 = 215,

    /**
     * @generate: none
5104
     * @acl: domain:migrate
5105 5106 5107 5108 5109
     */
    REMOTE_PROC_DOMAIN_MIGRATE_PERFORM3 = 216,

    /**
     * @generate: none
5110
     * @acl: domain:migrate
5111 5112 5113 5114 5115
     */
    REMOTE_PROC_DOMAIN_MIGRATE_FINISH3 = 217,

    /**
     * @generate: none
5116
     * @acl: domain:migrate
5117 5118 5119 5120 5121
     */
    REMOTE_PROC_DOMAIN_MIGRATE_CONFIRM3 = 218,

    /**
     * @generate: both
5122 5123 5124
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
5125 5126 5127 5128 5129
     */
    REMOTE_PROC_DOMAIN_SET_SCHEDULER_PARAMETERS_FLAGS = 219,

    /**
     * @generate: both
5130
     * @acl: connect:interface_transaction
5131 5132 5133 5134 5135
     */
    REMOTE_PROC_INTERFACE_CHANGE_BEGIN = 220,

    /**
     * @generate: both
5136
     * @acl: connect:interface_transaction
5137 5138 5139 5140 5141
     */
    REMOTE_PROC_INTERFACE_CHANGE_COMMIT = 221,

    /**
     * @generate: both
5142
     * @acl: connect:interface_transaction
5143 5144 5145 5146 5147
     */
    REMOTE_PROC_INTERFACE_CHANGE_ROLLBACK = 222,

    /**
     * @generate: client
5148
     * @acl: domain:read
5149 5150 5151 5152 5153
     */
    REMOTE_PROC_DOMAIN_GET_SCHEDULER_PARAMETERS_FLAGS = 223,

    /**
     * @generate: none
5154
     * @acl: none
5155 5156 5157 5158 5159
     */
    REMOTE_PROC_DOMAIN_EVENT_CONTROL_ERROR = 224,

    /**
     * @generate: both
5160 5161 5162
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
5163 5164 5165 5166 5167
     */
    REMOTE_PROC_DOMAIN_PIN_VCPU_FLAGS = 225,

    /**
     * @generate: both
5168
     * @acl: domain:send_input
5169 5170 5171 5172 5173 5174
     */
    REMOTE_PROC_DOMAIN_SEND_KEY = 226,

    /**
     * @generate: none
     * @priority: high
5175
     * @acl: connect:read
5176 5177 5178 5179 5180 5181
     */
    REMOTE_PROC_NODE_GET_CPU_STATS = 227,

    /**
     * @generate: none
     * @priority: high
5182
     * @acl: connect:read
5183 5184 5185 5186 5187 5188
     */
    REMOTE_PROC_NODE_GET_MEMORY_STATS = 228,

    /**
     * @generate: both
     * @priority: high
5189
     * @acl: domain:read
5190 5191 5192 5193 5194
     */
    REMOTE_PROC_DOMAIN_GET_CONTROL_INFO = 229,

    /**
     * @generate: none
5195
     * @acl: domain:read
5196 5197 5198 5199 5200 5201
     */
    REMOTE_PROC_DOMAIN_GET_VCPU_PIN_INFO = 230,

    /**
     * @generate: both
     * @priority: high
5202
     * @acl: domain:delete
5203 5204 5205 5206 5207
     */
    REMOTE_PROC_DOMAIN_UNDEFINE_FLAGS = 231,

    /**
     * @generate: both
5208
     * @acl: domain:hibernate
5209 5210 5211 5212 5213
     */
    REMOTE_PROC_DOMAIN_SAVE_FLAGS = 232,

    /**
     * @generate: both
5214 5215
     * @acl: domain:start
     * @acl: domain:write
5216 5217 5218 5219 5220 5221
     */
    REMOTE_PROC_DOMAIN_RESTORE_FLAGS = 233,

    /**
     * @generate: both
     * @priority: high
5222
     * @acl: domain:stop
5223 5224 5225 5226 5227 5228
     */
    REMOTE_PROC_DOMAIN_DESTROY_FLAGS = 234,

    /**
     * @generate: both
     * @priority: high
5229
     * @acl: domain:read
5230
     * @acl: domain:read_secure:VIR_DOMAIN_XML_SECURE
5231 5232 5233 5234 5235 5236
     */
    REMOTE_PROC_DOMAIN_SAVE_IMAGE_GET_XML_DESC = 235,

    /**
     * @generate: both
     * @priority: high
5237 5238
     * @acl: domain:write
     * @acl: domain:hibernate
5239 5240 5241 5242 5243
     */
    REMOTE_PROC_DOMAIN_SAVE_IMAGE_DEFINE_XML = 236,

    /**
     * @generate: both
5244
     * @acl: domain:write
5245 5246 5247 5248 5249
     */
    REMOTE_PROC_DOMAIN_BLOCK_JOB_ABORT = 237,

    /**
     * @generate: none
5250
     * @acl: domain:read
5251 5252 5253 5254 5255
     */
    REMOTE_PROC_DOMAIN_GET_BLOCK_JOB_INFO = 238,

    /**
     * @generate: both
5256
     * @acl: domain:write
5257 5258 5259 5260 5261
     */
    REMOTE_PROC_DOMAIN_BLOCK_JOB_SET_SPEED = 239,

    /**
     * @generate: both
5262
     * @acl: domain:block_write
5263 5264 5265 5266 5267
     */
    REMOTE_PROC_DOMAIN_BLOCK_PULL = 240,

    /**
     * @generate: none
5268
     * @acl: none
5269 5270 5271 5272 5273
     */
    REMOTE_PROC_DOMAIN_EVENT_BLOCK_JOB = 241,

    /**
     * @generate: both
5274
     * @acl: domain:migrate
5275 5276 5277 5278 5279
     */
    REMOTE_PROC_DOMAIN_MIGRATE_GET_MAX_SPEED = 242,

    /**
     * @generate: none
5280
     * @acl: domain:read
5281 5282 5283 5284 5285 5286
     */
    REMOTE_PROC_DOMAIN_BLOCK_STATS_FLAGS = 243,

    /**
     * @generate: both
     * @priority: high
5287
     * @acl: domain:read
5288 5289 5290 5291 5292
     */
    REMOTE_PROC_DOMAIN_SNAPSHOT_GET_PARENT = 244,

    /**
     * @generate: both
5293
     * @acl: domain:reset
5294 5295 5296 5297 5298 5299
     */
    REMOTE_PROC_DOMAIN_RESET = 245,

    /**
     * @generate: both
     * @priority: high
5300
     * @acl: domain:read
5301 5302 5303 5304 5305 5306
     */
    REMOTE_PROC_DOMAIN_SNAPSHOT_NUM_CHILDREN = 246,

    /**
     * @generate: both
     * @priority: high
5307
     * @acl: domain:read
5308 5309 5310 5311 5312
     */
    REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_CHILDREN_NAMES = 247,

    /**
     * @generate: none
5313
     * @acl: none
5314 5315 5316 5317 5318
     */
    REMOTE_PROC_DOMAIN_EVENT_DISK_CHANGE = 248,

    /**
     * @generate: none
5319
     * @acl: domain:open_graphics
5320 5321 5322 5323 5324
     */
    REMOTE_PROC_DOMAIN_OPEN_GRAPHICS = 249,

    /**
     * @generate: both
5325
     * @acl: connect:pm_control
5326 5327 5328 5329 5330
     */
    REMOTE_PROC_NODE_SUSPEND_FOR_DURATION = 250,

    /**
     * @generate: both
5331
     * @acl: domain:block_write
5332 5333 5334 5335 5336
     */
    REMOTE_PROC_DOMAIN_BLOCK_RESIZE = 251,

    /**
     * @generate: both
5337 5338 5339
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
5340 5341 5342 5343 5344
     */
    REMOTE_PROC_DOMAIN_SET_BLOCK_IO_TUNE = 252,

    /**
     * @generate: none
5345
     * @acl: domain:read
5346 5347 5348 5349 5350
     */
    REMOTE_PROC_DOMAIN_GET_BLOCK_IO_TUNE = 253,

    /**
     * @generate: both
5351 5352 5353
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
5354 5355 5356 5357 5358
     */
    REMOTE_PROC_DOMAIN_SET_NUMA_PARAMETERS = 254,

    /**
     * @generate: none
5359
     * @acl: domain:read
5360 5361 5362 5363 5364
     */
    REMOTE_PROC_DOMAIN_GET_NUMA_PARAMETERS = 255,

    /**
     * @generate: both
5365 5366 5367
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
5368 5369 5370 5371 5372
     */
    REMOTE_PROC_DOMAIN_SET_INTERFACE_PARAMETERS = 256,

    /**
     * @generate: none
5373
     * @acl: domain:read
5374 5375 5376 5377 5378
     */
    REMOTE_PROC_DOMAIN_GET_INTERFACE_PARAMETERS = 257,

    /**
     * @generate: both
5379
     * @acl: domain:init_control
5380
     * @acl: domain:write:VIR_DOMAIN_SHUTDOWN_GUEST_AGENT
5381 5382 5383 5384 5385
     */
    REMOTE_PROC_DOMAIN_SHUTDOWN_FLAGS = 258,

    /**
     * @generate: both
5386
     * @acl: storage_vol:format
5387 5388 5389 5390 5391
     */
    REMOTE_PROC_STORAGE_VOL_WIPE_PATTERN = 259,

    /**
     * @generate: both
5392
     * @acl: storage_vol:resize
5393 5394 5395 5396 5397
     */
    REMOTE_PROC_STORAGE_VOL_RESIZE = 260,

    /**
     * @generate: both
5398
     * @acl: domain:pm_control
5399 5400 5401 5402 5403
     */
    REMOTE_PROC_DOMAIN_PM_SUSPEND_FOR_DURATION = 261,

    /**
     * @generate: none
5404
     * @acl: domain:read
5405 5406 5407 5408 5409
     */
    REMOTE_PROC_DOMAIN_GET_CPU_STATS = 262,

    /**
     * @generate: none
5410
     * @acl: domain:read
5411 5412 5413 5414 5415
     */
    REMOTE_PROC_DOMAIN_GET_DISK_ERRORS = 263,

    /**
     * @generate: both
5416 5417 5418
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
5419 5420 5421 5422 5423
     */
    REMOTE_PROC_DOMAIN_SET_METADATA = 264,

    /**
     * @generate: both
5424
     * @acl: domain:read
5425 5426 5427 5428 5429
     */
    REMOTE_PROC_DOMAIN_GET_METADATA = 265,

    /**
     * @generate: both
5430
     * @acl: domain:block_write
5431 5432 5433 5434 5435
     */
    REMOTE_PROC_DOMAIN_BLOCK_REBASE = 266,

    /**
     * @generate: both
5436
     * @acl: domain:pm_control
5437 5438 5439 5440 5441
     */
    REMOTE_PROC_DOMAIN_PM_WAKEUP = 267,

    /**
     * @generate: both
5442
     * @acl: none
5443 5444 5445 5446 5447
     */
    REMOTE_PROC_DOMAIN_EVENT_TRAY_CHANGE = 268,

    /**
     * @generate: both
5448
     * @acl: none
5449 5450 5451 5452 5453
     */
    REMOTE_PROC_DOMAIN_EVENT_PMWAKEUP = 269,

    /**
     * @generate: both
5454
     * @acl: none
5455 5456 5457 5458 5459
     */
    REMOTE_PROC_DOMAIN_EVENT_PMSUSPEND = 270,

    /**
     * @generate: both
5460
     * @acl: domain:read
5461 5462 5463 5464 5465
     */
    REMOTE_PROC_DOMAIN_SNAPSHOT_IS_CURRENT = 271,

    /**
     * @generate: both
5466
     * @acl: domain:read
5467 5468 5469 5470
     */
    REMOTE_PROC_DOMAIN_SNAPSHOT_HAS_METADATA = 272,

    /**
5471
     * @generate: both
5472
     * @priority: high
5473 5474
     * @acl: connect:search_domains
     * @aclfilter: domain:getattr
5475 5476 5477 5478
     */
    REMOTE_PROC_CONNECT_LIST_ALL_DOMAINS = 273,

    /**
5479
     * @generate: both
5480
     * @priority: high
5481
     * @acl: domain:read
5482 5483 5484 5485
     */
    REMOTE_PROC_DOMAIN_LIST_ALL_SNAPSHOTS = 274,

    /**
5486
     * @generate: both
5487
     * @priority: high
5488
     * @acl: domain:read
5489 5490 5491 5492 5493
     */
    REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_ALL_CHILDREN = 275,

    /**
     * @generate: both
5494
     * @acl: none
5495 5496 5497 5498 5499
     */
    REMOTE_PROC_DOMAIN_EVENT_BALLOON_CHANGE = 276,

    /**
     * @generate: both
5500
     * @acl: domain:read
5501 5502 5503 5504 5505 5506
     */
    REMOTE_PROC_DOMAIN_GET_HOSTNAME = 277,

    /**
     * @generate: none
     * @priority: high
5507
     * @acl: domain:read
5508 5509 5510 5511 5512
     */
    REMOTE_PROC_DOMAIN_GET_SECURITY_LABEL_LIST = 278,

    /**
     * @generate: none
5513 5514 5515
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
5516 5517 5518 5519 5520
     */
    REMOTE_PROC_DOMAIN_PIN_EMULATOR = 279,

    /**
     * @generate: none
5521
     * @acl: domain:read
5522 5523 5524 5525
     */
    REMOTE_PROC_DOMAIN_GET_EMULATOR_PIN_INFO = 280,

    /**
5526
     * @generate: both
5527
     * @priority: high
5528 5529
     * @acl: connect:search_storage_pools
     * @aclfilter: storage_pool:getattr
5530 5531 5532 5533
     */
    REMOTE_PROC_CONNECT_LIST_ALL_STORAGE_POOLS = 281,

    /**
5534
     * @generate: both
5535
     * @priority: high
5536 5537
     * @acl: storage_pool:search_storage_vols
     * @aclfilter: storage_vol:getattr
5538 5539 5540 5541
     */
    REMOTE_PROC_STORAGE_POOL_LIST_ALL_VOLUMES = 282,

    /**
5542
     * @generate: both
5543
     * @priority: high
5544 5545
     * @acl: connect:search_networks
     * @aclfilter: network:getattr
5546 5547 5548 5549
     */
    REMOTE_PROC_CONNECT_LIST_ALL_NETWORKS = 283,

    /**
5550
     * @generate: both
5551
     * @priority: high
5552 5553
     * @acl: connect:search_interfaces
     * @aclfilter: interface:getattr
5554 5555 5556 5557
     */
    REMOTE_PROC_CONNECT_LIST_ALL_INTERFACES = 284,

    /**
5558
     * @generate: both
5559
     * @priority: high
5560 5561
     * @acl: connect:search_node_devices
     * @aclfilter: node_device:getattr
5562 5563 5564 5565
     */
    REMOTE_PROC_CONNECT_LIST_ALL_NODE_DEVICES = 285,

    /**
5566
     * @generate: both
5567
     * @priority: high
5568 5569
     * @acl: connect:search_nwfilters
     * @aclfilter: nwfilter:getattr
5570 5571 5572 5573
     */
    REMOTE_PROC_CONNECT_LIST_ALL_NWFILTERS = 286,

    /**
5574
     * @generate: both
5575
     * @priority: high
5576 5577
     * @acl: connect:search_secrets
     * @aclfilter: secret:getattr
5578 5579 5580 5581 5582
     */
    REMOTE_PROC_CONNECT_LIST_ALL_SECRETS = 287,

    /**
     * @generate: both
5583
     * @acl: connect:write
5584 5585 5586 5587 5588
     */
    REMOTE_PROC_NODE_SET_MEMORY_PARAMETERS = 288,

    /**
     * @generate: none
5589
     * @acl: connect:read
5590 5591 5592 5593 5594
     */
    REMOTE_PROC_NODE_GET_MEMORY_PARAMETERS = 289,

    /**
     * @generate: both
5595
     * @acl: domain:block_write
5596 5597 5598 5599 5600 5601
     */
    REMOTE_PROC_DOMAIN_BLOCK_COMMIT = 290,

    /**
     * @generate: both
     * @priority: high
5602 5603 5604
     * @acl: network:write
     * @acl: network:save:!VIR_NETWORK_UPDATE_AFFECT_CONFIG|VIR_NETWORK_UPDATE_AFFECT_LIVE
     * @acl: network:save:VIR_NETWORK_UPDATE_AFFECT_CONFIG
5605 5606 5607 5608 5609
     */
    REMOTE_PROC_NETWORK_UPDATE = 291,

    /**
     * @generate: both
5610
     * @acl: none
5611 5612 5613 5614 5615
     */
    REMOTE_PROC_DOMAIN_EVENT_PMSUSPEND_DISK = 292,

    /**
     * @generate: none
5616
     * @acl: connect:read
5617 5618 5619 5620 5621
     */
    REMOTE_PROC_NODE_GET_CPU_MAP = 293,

    /**
     * @generate: both
5622
     * @acl: domain:fs_trim
5623 5624 5625 5626 5627
     */
    REMOTE_PROC_DOMAIN_FSTRIM = 294,

    /**
     * @generate: both
5628
     * @acl: domain:send_signal
5629 5630 5631 5632 5633 5634
     */
    REMOTE_PROC_DOMAIN_SEND_PROCESS_SIGNAL = 295,

    /**
     * @generate: both
     * @readstream: 2
5635
     * @acl: domain:open_device
5636 5637 5638 5639 5640 5641
     */
    REMOTE_PROC_DOMAIN_OPEN_CHANNEL = 296,

    /**
     * @generate: both
     * @priority: high
5642
     * @acl: node_device:getattr
5643 5644 5645 5646 5647
     */
    REMOTE_PROC_NODE_DEVICE_LOOKUP_SCSI_HOST_BY_WWN = 297,

    /**
     * @generate: none
5648
     * @acl: domain:read
5649 5650 5651 5652 5653
     */
    REMOTE_PROC_DOMAIN_GET_JOB_STATS = 298,

    /**
     * @generate: both
5654
     * @acl: domain:migrate
5655 5656 5657 5658 5659
     */
    REMOTE_PROC_DOMAIN_MIGRATE_GET_COMPRESSION_CACHE = 299,

    /**
     * @generate: both
5660
     * @acl: domain:migrate
5661
     */
5662 5663 5664 5665
    REMOTE_PROC_DOMAIN_MIGRATE_SET_COMPRESSION_CACHE = 300,

    /**
     * @generate: server
5666
     * @acl: node_device:detach
5667
     */
5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707
    REMOTE_PROC_NODE_DEVICE_DETACH_FLAGS = 301,

    /**
     * @generate: none
     * @acl: domain:migrate
     */
    REMOTE_PROC_DOMAIN_MIGRATE_BEGIN3_PARAMS = 302,

    /**
     * @generate: none
     * @acl: domain:migrate
     * @acl: domain:start
     * @acl: domain:write
     */
    REMOTE_PROC_DOMAIN_MIGRATE_PREPARE3_PARAMS = 303,

    /**
     * @generate: none
     * @acl: domain:migrate
     * @acl: domain:start
     * @acl: domain:write
     */
    REMOTE_PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL3_PARAMS = 304,

    /**
     * @generate: none
     * @acl: domain:migrate
     */
    REMOTE_PROC_DOMAIN_MIGRATE_PERFORM3_PARAMS = 305,

    /**
     * @generate: none
     * @acl: domain:migrate
     */
    REMOTE_PROC_DOMAIN_MIGRATE_FINISH3_PARAMS = 306,

    /**
     * @generate: none
     * @acl: domain:migrate
     */
5708
    REMOTE_PROC_DOMAIN_MIGRATE_CONFIRM3_PARAMS = 307,
5709

5710 5711 5712 5713 5714 5715
    /**
     * @generate: both
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
     */
5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728
    REMOTE_PROC_DOMAIN_SET_MEMORY_STATS_PERIOD = 308,

    /**
     * @generate: none
     * @acl: domain:write
     * @acl: domain:start
     */
    REMOTE_PROC_DOMAIN_CREATE_XML_WITH_FILES = 309,

    /**
     * @generate: none
     * @acl: domain:start
     */
5729 5730 5731 5732 5733 5734
    REMOTE_PROC_DOMAIN_CREATE_WITH_FILES = 310,

    /**
     * @generate: both
     * @acl: none
     */
5735 5736 5737 5738 5739 5740
    REMOTE_PROC_DOMAIN_EVENT_DEVICE_REMOVED = 311,

    /**
     * @generate: none
     * @acl: connect:read
     */
5741 5742 5743 5744 5745
    REMOTE_PROC_CONNECT_GET_CPU_MODEL_NAMES = 312,

    /**
     * @generate: none
     * @priority: high
5746 5747
     * @acl: connect:search_networks
     * @aclfilter: network:getattr
5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761
     */
    REMOTE_PROC_CONNECT_NETWORK_EVENT_REGISTER_ANY = 313,

    /**
     * @generate: none
     * @priority: high
     * @acl: connect:read
     */
    REMOTE_PROC_CONNECT_NETWORK_EVENT_DEREGISTER_ANY = 314,

    /**
     * @generate: both
     * @acl: none
     */
5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782
    REMOTE_PROC_NETWORK_EVENT_LIFECYCLE = 315,

    /**
     * @generate: none
     * @priority: high
     * @acl: connect:search_domains
     * @aclfilter: domain:getattr
     */
    REMOTE_PROC_CONNECT_DOMAIN_EVENT_CALLBACK_REGISTER_ANY = 316,

    /**
     * @generate: none
     * @priority: high
     * @acl: connect:read
     */
    REMOTE_PROC_CONNECT_DOMAIN_EVENT_CALLBACK_DEREGISTER_ANY = 317,

    /**
     * @generate: both
     * @acl: none
     */
5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_LIFECYCLE = 318,

    /**
     * @generate: both
     * @acl: none
     */
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_REBOOT = 319,

    /**
     * @generate: both
     * @acl: none
     */
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_RTC_CHANGE = 320,

    /**
     * @generate: both
     * @acl: none
     */
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_WATCHDOG = 321,

    /**
     * @generate: both
     * @acl: none
     */
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_IO_ERROR = 322,

    /**
     * @generate: both
     * @acl: none
     */
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_GRAPHICS = 323,

    /**
     * @generate: both
     * @acl: none
     */
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_IO_ERROR_REASON = 324,

    /**
     * @generate: both
     * @acl: none
     */
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_CONTROL_ERROR = 325,

    /**
     * @generate: both
     * @acl: none
     */
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_BLOCK_JOB = 326,

    /**
     * @generate: both
     * @acl: none
     */
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_DISK_CHANGE = 327,

    /**
     * @generate: both
     * @acl: none
     */
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_TRAY_CHANGE = 328,

    /**
     * @generate: both
     * @acl: none
     */
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_PMWAKEUP = 329,

    /**
     * @generate: both
     * @acl: none
     */
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_PMSUSPEND = 330,

    /**
     * @generate: both
     * @acl: none
     */
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_BALLOON_CHANGE = 331,

    /**
     * @generate: both
     * @acl: none
     */
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_PMSUSPEND_DISK = 332,

    /**
     * @generate: both
     * @acl: none
     */
5873 5874 5875 5876 5877 5878
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_DEVICE_REMOVED = 333,

    /**
     * @generate: both
     * @acl: domain:core_dump
     */
5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890
    REMOTE_PROC_DOMAIN_CORE_DUMP_WITH_FORMAT = 334,

    /**
     * @generate: both
     * @acl: domain:fs_freeze
     */
    REMOTE_PROC_DOMAIN_FSFREEZE = 335,

    /**
     * @generate: both
     * @acl: domain:fs_freeze
     */
5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902
    REMOTE_PROC_DOMAIN_FSTHAW = 336,

    /**
     * @generate: none
     * @acl: domain:read
     */
    REMOTE_PROC_DOMAIN_GET_TIME = 337,

    /**
     * @generate: both
     * @acl: domain:set_time
     */
5903 5904 5905 5906 5907 5908
    REMOTE_PROC_DOMAIN_SET_TIME = 338,

    /**
     * @generate: none
     * @acl: none
     */
M
Michal Privoznik 已提交
5909 5910 5911 5912 5913 5914 5915
    REMOTE_PROC_DOMAIN_EVENT_BLOCK_JOB_2 = 339,

    /**
     * @generate: none
     * @priority: high
     * @acl: connect:read
     */
5916 5917 5918 5919 5920 5921
    REMOTE_PROC_NODE_GET_FREE_PAGES = 340,

    /**
     * @generate: none
     * @acl: network:read
     */
5922
    REMOTE_PROC_NETWORK_GET_DHCP_LEASES = 341,
5923

5924 5925 5926 5927
    /**
     * @generate: both
     * @acl: connect:write
     */
5928 5929 5930 5931 5932 5933
    REMOTE_PROC_CONNECT_GET_DOMAIN_CAPABILITIES = 342,

    /**
     * @generate: none
     * @acl: domain:open_graphics
     */
5934
    REMOTE_PROC_DOMAIN_OPEN_GRAPHICS_FD = 343,
5935

5936 5937 5938 5939 5940
    /**
     * @generate: none
     * @acl: connect:search_domains
     * @aclfilter: domain:read
     */
5941 5942 5943 5944 5945 5946
    REMOTE_PROC_CONNECT_GET_ALL_DOMAIN_STATS = 344,

    /**
     * @generate: both
     * @acl: domain:block_write
     */
5947 5948 5949 5950 5951 5952
    REMOTE_PROC_DOMAIN_BLOCK_COPY = 345,

    /**
     * @generate: both
     * @acl: none
     */
M
Michal Privoznik 已提交
5953 5954 5955 5956 5957 5958
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_TUNABLE = 346,

    /**
     * @generate: none
     * @acl: connect:write
     */
5959 5960 5961 5962 5963 5964
    REMOTE_PROC_NODE_ALLOC_PAGES = 347,

    /**
     * @generate: both
     * @acl: none
     */
5965 5966 5967 5968 5969 5970
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_AGENT_LIFECYCLE = 348,

    /**
     * @generate: none
     * @acl: domain:fs_freeze
     */
5971 5972 5973 5974 5975 5976 5977 5978
    REMOTE_PROC_DOMAIN_GET_FSINFO = 349,

    /**
     * @priority: high
     * @generate: both
     * @acl: domain:write
     * @acl: domain:save
     */
5979 5980 5981 5982 5983 5984
    REMOTE_PROC_DOMAIN_DEFINE_XML_FLAGS = 350,

    /**
     * @generate: none
     * @acl: domain:read
     */
5985
    REMOTE_PROC_DOMAIN_GET_IOTHREAD_INFO = 351,
5986 5987 5988 5989 5990 5991 5992

    /**
     * @generate: both
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
     */
5993 5994 5995 5996 5997 5998
    REMOTE_PROC_DOMAIN_PIN_IOTHREAD = 352,

    /**
     * @generate: none
     * @acl: domain:read
     */
5999 6000 6001 6002 6003 6004
    REMOTE_PROC_DOMAIN_INTERFACE_ADDRESSES = 353,

    /**
     * @generate: both
     * @acl: none
     */
6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_DEVICE_ADDED = 354,

    /**
     * @generate:both
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
     */
    REMOTE_PROC_DOMAIN_ADD_IOTHREAD = 355,

    /**
     * @generate:both
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
     */
6021 6022 6023 6024 6025 6026
    REMOTE_PROC_DOMAIN_DEL_IOTHREAD = 356,

    /**
     * @generate:both
     * @acl: domain:set_password
     */
T
Tomas Meszaros 已提交
6027 6028 6029
    REMOTE_PROC_DOMAIN_SET_USER_PASSWORD = 357,

    /**
6030
     * @generate: server
T
Tomas Meszaros 已提交
6031 6032 6033
     * @acl: domain:write
     * @acl: domain:save
     */
6034 6035 6036 6037 6038 6039
    REMOTE_PROC_DOMAIN_RENAME = 358,

    /**
     * @generate: both
     * @acl: none
     */
6040 6041 6042 6043
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_MIGRATION_ITERATION = 359,

    /**
     * @generate: none
6044
     * @acl: connect:getattr
6045
     */
6046
    REMOTE_PROC_CONNECT_REGISTER_CLOSE_CALLBACK = 360,
6047 6048 6049

    /**
     * @generate: none
6050
     * @acl: connect:getattr
6051
     */
6052
    REMOTE_PROC_CONNECT_UNREGISTER_CLOSE_CALLBACK = 361,
6053 6054 6055 6056 6057

    /**
     * @generate: none
     * @acl: none
     */
J
Jiri Denemark 已提交
6058 6059 6060 6061 6062 6063
    REMOTE_PROC_CONNECT_EVENT_CONNECTION_CLOSED = 362,

    /**
     * @generate: both
     * @acl: none
     */
6064 6065 6066 6067 6068 6069
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_JOB_COMPLETED = 363,

    /**
     * @generate: both
     * @acl: domain:migrate
     */
6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081
    REMOTE_PROC_DOMAIN_MIGRATE_START_POST_COPY = 364,

    /**
     * @generate: none
     * @acl: domain:read
     */
    REMOTE_PROC_DOMAIN_GET_PERF_EVENTS = 365,

    /**
     * @generate: both
     * @acl: domain:write
     */
6082 6083 6084 6085 6086 6087
    REMOTE_PROC_DOMAIN_SET_PERF_EVENTS = 366,

    /**
     * @generate: both
     * @acl: none
     */
6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_DEVICE_REMOVAL_FAILED = 367,

    /**
     * @generate: none
     * @priority: high
     * @acl: connect:search_storage_pools
     * @aclfilter: storage_pool:getattr
     */
    REMOTE_PROC_CONNECT_STORAGE_POOL_EVENT_REGISTER_ANY = 368,

    /**
     * @generate: none
     * @priority: high
     * @acl: connect:read
     */
    REMOTE_PROC_CONNECT_STORAGE_POOL_EVENT_DEREGISTER_ANY = 369,

    /**
     * @generate: both
     * @acl: none
     */
6109 6110 6111 6112 6113 6114
    REMOTE_PROC_STORAGE_POOL_EVENT_LIFECYCLE = 370,

    /**
     * @generate: both
     * @acl: domain:write
     */
6115 6116 6117 6118 6119 6120
    REMOTE_PROC_DOMAIN_GET_GUEST_VCPUS = 371,

    /**
     * @generate: both
     * @acl: domain:write
     */
6121 6122 6123 6124 6125 6126
    REMOTE_PROC_DOMAIN_SET_GUEST_VCPUS = 372,

    /**
     * @generate: both
     * @acl: none
     */
6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147
    REMOTE_PROC_STORAGE_POOL_EVENT_REFRESH = 373,

    /**
     * @generate: none
     * @priority: high
     * @acl: connect:search_node_devices
     * @aclfilter: node_device:getattr
     */
    REMOTE_PROC_CONNECT_NODE_DEVICE_EVENT_REGISTER_ANY = 374,

    /**
     * @generate: none
     * @priority: high
     * @acl: connect:read
     */
    REMOTE_PROC_CONNECT_NODE_DEVICE_EVENT_DEREGISTER_ANY = 375,

    /**
     * @generate: both
     * @acl: none
     */
6148 6149 6150 6151 6152 6153
    REMOTE_PROC_NODE_DEVICE_EVENT_LIFECYCLE = 376,

    /**
     * @generate: both
     * @acl: none
     */
6154 6155 6156 6157 6158 6159 6160
    REMOTE_PROC_NODE_DEVICE_EVENT_UPDATE = 377,

    /**
     * @generate: none
     * @priority: high
     * @acl: storage_vol:read
     */
6161 6162 6163 6164 6165 6166
    REMOTE_PROC_STORAGE_VOL_GET_INFO_FLAGS = 378,

    /**
     * @generate: both
     * @acl: none
     */
6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187
    REMOTE_PROC_DOMAIN_EVENT_CALLBACK_METADATA_CHANGE = 379,

    /**
     * @generate: none
     * @priority: high
     * @acl: connect:search_secrets
     * @aclfilter: secret:getattr
     */
    REMOTE_PROC_CONNECT_SECRET_EVENT_REGISTER_ANY = 380,

    /**
     * @generate: none
     * @priority: high
     * @acl: connect:read
     */
    REMOTE_PROC_CONNECT_SECRET_EVENT_DEREGISTER_ANY = 381,

    /**
     * @generate: both
     * @acl: none
     */
6188 6189 6190 6191 6192 6193
    REMOTE_PROC_SECRET_EVENT_LIFECYCLE = 382,

    /**
     * @generate: both
     * @acl: none
     */
6194
    REMOTE_PROC_SECRET_EVENT_VALUE_CHANGED = 383,
6195

6196 6197 6198 6199 6200 6201
    /**
     * @generate: both
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
     */
6202 6203 6204 6205 6206 6207
    REMOTE_PROC_DOMAIN_SET_VCPU = 384,

    /**
     * @generate: both
     * @acl: none
     */
6208 6209 6210 6211 6212 6213
    REMOTE_PROC_DOMAIN_EVENT_BLOCK_THRESHOLD = 385,

    /**
     * @generate: both
     * @acl: domain:write
     */
6214
    REMOTE_PROC_DOMAIN_SET_BLOCK_THRESHOLD = 386,
6215

6216 6217 6218 6219
    /**
     * @generate: both
     * @acl: domain:migrate
     */
6220
    REMOTE_PROC_DOMAIN_MIGRATE_GET_MAX_DOWNTIME = 387,
6221

6222 6223 6224 6225 6226
    /**
     * @generate: both
     * @acl: domain:read
     * @acl: domain:read_secure:VIR_DOMAIN_XML_SECURE
     */
6227 6228 6229 6230 6231 6232 6233
    REMOTE_PROC_DOMAIN_MANAGED_SAVE_GET_XML_DESC = 388,

    /**
     * @generate: both
     * @acl: domain:write
     * @acl: domain:hibernate
     */
6234 6235 6236 6237 6238 6239
    REMOTE_PROC_DOMAIN_MANAGED_SAVE_DEFINE_XML = 389,

    /**
     * @generate: both
     * @acl: domain:write
     */
6240 6241 6242 6243 6244 6245 6246
    REMOTE_PROC_DOMAIN_SET_LIFECYCLE_ACTION = 390,

    /**
     * @generate: both
     * @priority: high
     * @acl: storage_pool:getattr
     */
6247 6248 6249 6250 6251 6252 6253 6254
    REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_TARGET_PATH = 391,

    /**
     * @generate: both
     * @acl: domain:write
     * @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
     * @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
     */
6255 6256 6257 6258 6259 6260
    REMOTE_PROC_DOMAIN_DETACH_DEVICE_ALIAS = 392,

    /**
     * @generate: both
     * @acl: connect:write
     */
6261 6262 6263 6264 6265 6266
    REMOTE_PROC_CONNECT_COMPARE_HYPERVISOR_CPU = 393,

    /**
     * @generate: both
     * @acl: connect:write
     */
6267 6268 6269 6270 6271 6272
    REMOTE_PROC_CONNECT_BASELINE_HYPERVISOR_CPU = 394,

    /**
     * @generate: none
     * @acl: connect:read
     */
6273 6274 6275 6276 6277 6278
    REMOTE_PROC_NODE_GET_SEV_INFO = 395,

    /**
     * @generate: none
     * @acl: domain:read
     */
6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315
    REMOTE_PROC_DOMAIN_GET_LAUNCH_SECURITY_INFO = 396,

    /**
     * @generate: both
     * @priority: high
     * @acl: nwfilter_binding:getattr
     */
    REMOTE_PROC_NWFILTER_BINDING_LOOKUP_BY_PORT_DEV = 397,

    /**
     * @generate: both
     * @priority: high
     * @acl: nwfilter_binding:read
     */
    REMOTE_PROC_NWFILTER_BINDING_GET_XML_DESC = 398,

    /**
     * @generate: both
     * @priority: high
     * @acl: nwfilter_binding:create
     */
    REMOTE_PROC_NWFILTER_BINDING_CREATE_XML = 399,

    /**
     * @generate: both
     * @priority: high
     * @acl: nwfilter_binding:delete
     */
    REMOTE_PROC_NWFILTER_BINDING_DELETE = 400,

    /**
     * @generate: both
     * @priority: high
     * @acl: connect:search_nwfilter_bindings
     * @aclfilter: nwfilter_binding:getattr
     */
    REMOTE_PROC_CONNECT_LIST_ALL_NWFILTER_BINDINGS = 401
6316
};