-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathremote_protocol-structs
3714 lines (3714 loc) · 128 KB
/
remote_protocol-structs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
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
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
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
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* -*- c -*- */
struct remote_nonnull_domain {
remote_nonnull_string name;
remote_uuid uuid;
int id;
};
struct remote_nonnull_network {
remote_nonnull_string name;
remote_uuid uuid;
};
struct remote_nonnull_network_port {
remote_nonnull_network net;
remote_uuid uuid;
};
struct remote_nonnull_nwfilter {
remote_nonnull_string name;
remote_uuid uuid;
};
struct remote_nonnull_nwfilter_binding {
remote_nonnull_string portdev;
remote_nonnull_string filtername;
};
struct remote_nonnull_interface {
remote_nonnull_string name;
remote_nonnull_string mac;
};
struct remote_nonnull_storage_pool {
remote_nonnull_string name;
remote_uuid uuid;
};
struct remote_nonnull_storage_vol {
remote_nonnull_string pool;
remote_nonnull_string name;
remote_nonnull_string key;
};
struct remote_nonnull_node_device {
remote_nonnull_string name;
};
struct remote_nonnull_secret {
remote_uuid uuid;
int usageType;
remote_nonnull_string usageID;
};
struct remote_nonnull_domain_checkpoint {
remote_nonnull_string name;
remote_nonnull_domain dom;
};
struct remote_nonnull_domain_snapshot {
remote_nonnull_string name;
remote_nonnull_domain dom;
};
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;
};
enum remote_auth_type {
REMOTE_AUTH_NONE = 0,
REMOTE_AUTH_SASL = 1,
REMOTE_AUTH_POLKIT = 2,
};
struct remote_vcpu_info {
u_int number;
int state;
uint64_t cpu_time;
int cpu;
};
struct remote_typed_param_value {
int type;
union {
int i;
u_int ui;
int64_t l;
uint64_t ul;
double d;
int b;
remote_nonnull_string s;
} remote_typed_param_value_u;
};
struct remote_typed_param {
remote_nonnull_string field;
remote_typed_param_value value;
};
struct remote_node_get_cpu_stats {
remote_nonnull_string field;
uint64_t value;
};
struct remote_node_get_memory_stats {
remote_nonnull_string field;
uint64_t value;
};
struct remote_domain_disk_error {
remote_nonnull_string disk;
int error;
};
struct remote_connect_open_args {
remote_string name;
u_int flags;
};
struct remote_connect_supports_feature_args {
int feature;
};
struct remote_connect_supports_feature_ret {
int supported;
};
struct remote_connect_get_type_ret {
remote_nonnull_string type;
};
struct remote_connect_get_version_ret {
uint64_t hv_ver;
};
struct remote_connect_get_lib_version_ret {
uint64_t lib_ver;
};
struct remote_connect_get_hostname_ret {
remote_nonnull_string hostname;
};
struct remote_connect_get_sysinfo_args {
u_int flags;
};
struct remote_connect_get_sysinfo_ret {
remote_nonnull_string sysinfo;
};
struct remote_connect_get_uri_ret {
remote_nonnull_string uri;
};
struct remote_connect_get_max_vcpus_args {
remote_string type;
};
struct remote_connect_get_max_vcpus_ret {
int max_vcpus;
};
struct remote_node_get_info_ret {
char model[32];
uint64_t memory;
int cpus;
int mhz;
int nodes;
int sockets;
int cores;
int threads;
};
struct remote_connect_get_capabilities_ret {
remote_nonnull_string capabilities;
};
struct remote_connect_get_domain_capabilities_args {
remote_string emulatorbin;
remote_string arch;
remote_string machine;
remote_string virttype;
u_int flags;
};
struct remote_connect_get_domain_capabilities_ret {
remote_nonnull_string capabilities;
};
struct remote_node_get_cpu_stats_args {
int cpuNum;
int nparams;
u_int flags;
};
struct remote_node_get_cpu_stats_ret {
struct {
u_int params_len;
remote_node_get_cpu_stats * params_val;
} params;
int nparams;
};
struct remote_node_get_memory_stats_args {
int nparams;
int cellNum;
u_int flags;
};
struct remote_node_get_memory_stats_ret {
struct {
u_int params_len;
remote_node_get_memory_stats * params_val;
} params;
int nparams;
};
struct remote_node_get_cells_free_memory_args {
int startCell;
int maxcells;
};
struct remote_node_get_cells_free_memory_ret {
struct {
u_int cells_len;
uint64_t * cells_val;
} cells;
};
struct remote_node_get_free_memory_ret {
uint64_t freeMem;
};
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;
int nparams;
};
struct remote_domain_get_scheduler_parameters_ret {
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
};
struct remote_domain_get_scheduler_parameters_flags_args {
remote_nonnull_domain dom;
int nparams;
u_int flags;
};
struct remote_domain_get_scheduler_parameters_flags_ret {
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
};
struct remote_domain_set_scheduler_parameters_args {
remote_nonnull_domain dom;
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
};
struct remote_domain_set_scheduler_parameters_flags_args {
remote_nonnull_domain dom;
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
u_int flags;
};
struct remote_domain_set_blkio_parameters_args {
remote_nonnull_domain dom;
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
u_int flags;
};
struct remote_domain_get_blkio_parameters_args {
remote_nonnull_domain dom;
int nparams;
u_int flags;
};
struct remote_domain_get_blkio_parameters_ret {
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
int nparams;
};
struct remote_domain_set_memory_parameters_args {
remote_nonnull_domain dom;
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
u_int flags;
};
struct remote_domain_get_memory_parameters_args {
remote_nonnull_domain dom;
int nparams;
u_int flags;
};
struct remote_domain_get_memory_parameters_ret {
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
int nparams;
};
struct remote_domain_block_resize_args {
remote_nonnull_domain dom;
remote_nonnull_string disk;
uint64_t size;
u_int flags;
};
struct remote_domain_set_numa_parameters_args {
remote_nonnull_domain dom;
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
u_int flags;
};
struct remote_domain_get_numa_parameters_args {
remote_nonnull_domain dom;
int nparams;
u_int flags;
};
struct remote_domain_get_numa_parameters_ret {
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
int nparams;
};
struct remote_domain_set_perf_events_args {
remote_nonnull_domain dom;
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
u_int flags;
};
struct remote_domain_get_perf_events_args {
remote_nonnull_domain dom;
u_int flags;
};
struct remote_domain_get_perf_events_ret {
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
};
struct remote_domain_block_stats_args {
remote_nonnull_domain dom;
remote_nonnull_string path;
};
struct remote_domain_block_stats_ret {
int64_t rd_req;
int64_t rd_bytes;
int64_t wr_req;
int64_t wr_bytes;
int64_t errs;
};
struct remote_domain_block_stats_flags_args {
remote_nonnull_domain dom;
remote_nonnull_string path;
int nparams;
u_int flags;
};
struct remote_domain_block_stats_flags_ret {
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
int nparams;
};
struct remote_domain_interface_stats_args {
remote_nonnull_domain dom;
remote_nonnull_string device;
};
struct remote_domain_interface_stats_ret {
int64_t rx_bytes;
int64_t rx_packets;
int64_t rx_errs;
int64_t rx_drop;
int64_t tx_bytes;
int64_t tx_packets;
int64_t tx_errs;
int64_t tx_drop;
};
struct remote_domain_set_interface_parameters_args {
remote_nonnull_domain dom;
remote_nonnull_string device;
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
u_int flags;
};
struct remote_domain_get_interface_parameters_args {
remote_nonnull_domain dom;
remote_nonnull_string device;
int nparams;
u_int flags;
};
struct remote_domain_get_interface_parameters_ret {
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
int nparams;
};
struct remote_domain_memory_stats_args {
remote_nonnull_domain dom;
u_int maxStats;
u_int flags;
};
struct remote_domain_memory_stat {
int tag;
uint64_t val;
};
struct remote_domain_memory_stats_ret {
struct {
u_int stats_len;
remote_domain_memory_stat * stats_val;
} stats;
};
struct remote_domain_block_peek_args {
remote_nonnull_domain dom;
remote_nonnull_string path;
uint64_t offset;
u_int size;
u_int flags;
};
struct remote_domain_block_peek_ret {
struct {
u_int buffer_len;
char * buffer_val;
} buffer;
};
struct remote_domain_memory_peek_args {
remote_nonnull_domain dom;
uint64_t offset;
u_int size;
u_int flags;
};
struct remote_domain_memory_peek_ret {
struct {
u_int buffer_len;
char * buffer_val;
} buffer;
};
struct remote_domain_get_block_info_args {
remote_nonnull_domain dom;
remote_nonnull_string path;
u_int flags;
};
struct remote_domain_get_block_info_ret {
uint64_t allocation;
uint64_t capacity;
uint64_t physical;
};
struct remote_connect_list_domains_args {
int maxids;
};
struct remote_connect_list_domains_ret {
struct {
u_int ids_len;
int * ids_val;
} ids;
};
struct remote_connect_num_of_domains_ret {
int num;
};
struct remote_domain_create_xml_args {
remote_nonnull_string xml_desc;
u_int flags;
};
struct remote_domain_create_xml_ret {
remote_nonnull_domain dom;
};
struct remote_domain_create_xml_with_files_args {
remote_nonnull_string xml_desc;
u_int flags;
};
struct remote_domain_create_xml_with_files_ret {
remote_nonnull_domain dom;
};
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;
};
struct remote_domain_resume_args {
remote_nonnull_domain dom;
};
struct remote_domain_pm_suspend_for_duration_args {
remote_nonnull_domain dom;
u_int target;
uint64_t duration;
u_int flags;
};
struct remote_domain_pm_wakeup_args {
remote_nonnull_domain dom;
u_int flags;
};
struct remote_domain_shutdown_args {
remote_nonnull_domain dom;
};
struct remote_domain_reboot_args {
remote_nonnull_domain dom;
u_int flags;
};
struct remote_domain_reset_args {
remote_nonnull_domain dom;
u_int flags;
};
struct remote_domain_destroy_args {
remote_nonnull_domain dom;
};
struct remote_domain_destroy_flags_args {
remote_nonnull_domain dom;
u_int flags;
};
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 {
uint64_t memory;
};
struct remote_domain_set_max_memory_args {
remote_nonnull_domain dom;
uint64_t memory;
};
struct remote_domain_set_memory_args {
remote_nonnull_domain dom;
uint64_t memory;
};
struct remote_domain_set_memory_flags_args {
remote_nonnull_domain dom;
uint64_t memory;
u_int flags;
};
struct remote_domain_set_memory_stats_period_args {
remote_nonnull_domain dom;
int period;
u_int flags;
};
struct remote_domain_get_info_args {
remote_nonnull_domain dom;
};
struct remote_domain_get_info_ret {
u_char state;
uint64_t maxMem;
uint64_t memory;
u_short nrVirtCpu;
uint64_t cpuTime;
};
struct remote_domain_save_args {
remote_nonnull_domain dom;
remote_nonnull_string to;
};
struct remote_domain_save_flags_args {
remote_nonnull_domain dom;
remote_nonnull_string to;
remote_string dxml;
u_int flags;
};
struct remote_domain_save_params_args {
remote_nonnull_domain dom;
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
u_int flags;
};
struct remote_domain_restore_args {
remote_nonnull_string from;
};
struct remote_domain_restore_flags_args {
remote_nonnull_string from;
remote_string dxml;
u_int flags;
};
struct remote_domain_restore_params_args {
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
u_int flags;
};
struct remote_domain_save_image_get_xml_desc_args {
remote_nonnull_string file;
u_int flags;
};
struct remote_domain_save_image_get_xml_desc_ret {
remote_nonnull_string xml;
};
struct remote_domain_save_image_define_xml_args {
remote_nonnull_string file;
remote_nonnull_string dxml;
u_int flags;
};
struct remote_domain_core_dump_args {
remote_nonnull_domain dom;
remote_nonnull_string to;
u_int flags;
};
struct remote_domain_core_dump_with_format_args {
remote_nonnull_domain dom;
remote_nonnull_string to;
u_int dumpformat;
u_int flags;
};
struct remote_domain_screenshot_args {
remote_nonnull_domain dom;
u_int screen;
u_int flags;
};
struct remote_domain_screenshot_ret {
remote_string mime;
};
struct remote_domain_get_xml_desc_args {
remote_nonnull_domain dom;
u_int flags;
};
struct remote_domain_get_xml_desc_ret {
remote_nonnull_string xml;
};
struct remote_domain_migrate_prepare_args {
remote_string uri_in;
uint64_t flags;
remote_string dname;
uint64_t resource;
};
struct remote_domain_migrate_prepare_ret {
struct {
u_int cookie_len;
char * cookie_val;
} cookie;
remote_string uri_out;
};
struct remote_domain_migrate_perform_args {
remote_nonnull_domain dom;
struct {
u_int cookie_len;
char * cookie_val;
} cookie;
remote_nonnull_string uri;
uint64_t flags;
remote_string dname;
uint64_t resource;
};
struct remote_domain_migrate_finish_args {
remote_nonnull_string dname;
struct {
u_int cookie_len;
char * cookie_val;
} cookie;
remote_nonnull_string uri;
uint64_t flags;
};
struct remote_domain_migrate_finish_ret {
remote_nonnull_domain ddom;
};
struct remote_domain_migrate_prepare2_args {
remote_string uri_in;
uint64_t flags;
remote_string dname;
uint64_t resource;
remote_nonnull_string dom_xml;
};
struct remote_domain_migrate_prepare2_ret {
struct {
u_int cookie_len;
char * cookie_val;
} cookie;
remote_string uri_out;
};
struct remote_domain_migrate_finish2_args {
remote_nonnull_string dname;
struct {
u_int cookie_len;
char * cookie_val;
} cookie;
remote_nonnull_string uri;
uint64_t flags;
int retcode;
};
struct remote_domain_migrate_finish2_ret {
remote_nonnull_domain ddom;
};
struct remote_connect_list_defined_domains_args {
int maxnames;
};
struct remote_connect_list_defined_domains_ret {
struct {
u_int names_len;
remote_nonnull_string * names_val;
} names;
};
struct remote_connect_num_of_defined_domains_ret {
int num;
};
struct remote_domain_create_args {
remote_nonnull_domain dom;
};
struct remote_domain_create_with_flags_args {
remote_nonnull_domain dom;
u_int flags;
};
struct remote_domain_create_with_flags_ret {
remote_nonnull_domain dom;
};
struct remote_domain_create_with_files_args {
remote_nonnull_domain dom;
u_int flags;
};
struct remote_domain_create_with_files_ret {
remote_nonnull_domain dom;
};
struct remote_domain_define_xml_args {
remote_nonnull_string xml;
};
struct remote_domain_define_xml_ret {
remote_nonnull_domain dom;
};
struct remote_domain_define_xml_flags_args {
remote_nonnull_string xml;
u_int flags;
};
struct remote_domain_define_xml_flags_ret {
remote_nonnull_domain dom;
};
struct remote_domain_undefine_args {
remote_nonnull_domain dom;
};
struct remote_domain_undefine_flags_args {
remote_nonnull_domain dom;
u_int flags;
};
struct remote_domain_inject_nmi_args {
remote_nonnull_domain dom;
u_int flags;
};
struct remote_domain_send_key_args {
remote_nonnull_domain dom;
u_int codeset;
u_int holdtime;
struct {
u_int keycodes_len;
u_int * keycodes_val;
} keycodes;
u_int flags;
};
struct remote_domain_send_process_signal_args {
remote_nonnull_domain dom;
int64_t pid_value;
u_int signum;
u_int flags;
};
struct remote_domain_set_vcpus_args {
remote_nonnull_domain dom;
u_int nvcpus;
};
struct remote_domain_set_vcpus_flags_args {
remote_nonnull_domain dom;
u_int nvcpus;
u_int flags;
};
struct remote_domain_get_vcpus_flags_args {
remote_nonnull_domain dom;
u_int flags;
};
struct remote_domain_get_vcpus_flags_ret {
int num;
};
struct remote_domain_pin_vcpu_args {
remote_nonnull_domain dom;
u_int vcpu;
struct {
u_int cpumap_len;
char * cpumap_val;
} cpumap;
};
struct remote_domain_pin_vcpu_flags_args {
remote_nonnull_domain dom;
u_int vcpu;
struct {
u_int cpumap_len;
char * cpumap_val;
} cpumap;
u_int flags;
};
struct remote_domain_get_vcpu_pin_info_args {
remote_nonnull_domain dom;
int ncpumaps;
int maplen;
u_int flags;
};
struct remote_domain_get_vcpu_pin_info_ret {
struct {
u_int cpumaps_len;
char * cpumaps_val;
} cpumaps;
int num;
};
struct remote_domain_pin_emulator_args {
remote_nonnull_domain dom;
struct {
u_int cpumap_len;
char * cpumap_val;
} cpumap;
u_int flags;
};
struct remote_domain_get_emulator_pin_info_args {
remote_nonnull_domain dom;
int maplen;
u_int flags;
};
struct remote_domain_get_emulator_pin_info_ret {
struct {
u_int cpumaps_len;
char * cpumaps_val;
} cpumaps;
int ret;
};
struct remote_domain_get_vcpus_args {
remote_nonnull_domain dom;
int maxinfo;
int maplen;
};
struct remote_domain_get_vcpus_ret {
struct {
u_int info_len;
remote_vcpu_info * info_val;
} info;
struct {
u_int cpumaps_len;
char * cpumaps_val;
} cpumaps;
};
struct remote_domain_get_max_vcpus_args {
remote_nonnull_domain dom;
};
struct remote_domain_get_max_vcpus_ret {
int num;
};
struct remote_domain_iothread_info {
u_int iothread_id;
struct {
u_int cpumap_len;
char * cpumap_val;
} cpumap;
};
struct remote_domain_get_iothread_info_args {
remote_nonnull_domain dom;
u_int flags;
};
struct remote_domain_get_iothread_info_ret {
struct {
u_int info_len;
remote_domain_iothread_info * info_val;
} info;
u_int ret;
};
struct remote_domain_pin_iothread_args {
remote_nonnull_domain dom;
u_int iothreads_id;
struct {
u_int cpumap_len;
char * cpumap_val;
} cpumap;
u_int flags;
};
struct remote_domain_add_iothread_args {
remote_nonnull_domain dom;
u_int iothread_id;
u_int flags;
};
struct remote_domain_del_iothread_args {
remote_nonnull_domain dom;
u_int iothread_id;
u_int flags;
};
struct remote_domain_set_iothread_params_args {
remote_nonnull_domain dom;
u_int iothread_id;
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
u_int flags;
};
struct remote_domain_get_security_label_args {
remote_nonnull_domain dom;
};
struct remote_domain_get_security_label_ret {
struct {
u_int label_len;
char * label_val;
} label;
int enforcing;
};
struct remote_domain_get_security_label_list_args {
remote_nonnull_domain dom;
};
struct remote_domain_get_security_label_list_ret {
struct {
u_int labels_len;
remote_domain_get_security_label_ret * labels_val;
} labels;
int ret;
};
struct remote_node_get_security_model_ret {
struct {
u_int model_len;
char * model_val;
} model;
struct {
u_int doi_len;
char * doi_val;
} doi;
};
struct remote_domain_attach_device_args {
remote_nonnull_domain dom;
remote_nonnull_string xml;
};
struct remote_domain_attach_device_flags_args {
remote_nonnull_domain dom;
remote_nonnull_string xml;
u_int flags;
};
struct remote_domain_detach_device_args {
remote_nonnull_domain dom;
remote_nonnull_string xml;
};
struct remote_domain_detach_device_flags_args {
remote_nonnull_domain dom;
remote_nonnull_string xml;
u_int flags;
};
struct remote_domain_update_device_flags_args {
remote_nonnull_domain dom;
remote_nonnull_string xml;
u_int flags;
};
struct remote_domain_detach_device_alias_args {
remote_nonnull_domain dom;
remote_nonnull_string alias;
u_int flags;
};
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;
};
struct remote_domain_set_metadata_args {
remote_nonnull_domain dom;
int type;
remote_string metadata;
remote_string key;
remote_string uri;
u_int flags;
};
struct remote_domain_get_metadata_args {
remote_nonnull_domain dom;
int type;
remote_string uri;
u_int flags;
};
struct remote_domain_get_metadata_ret {
remote_nonnull_string metadata;
};
struct remote_domain_block_job_abort_args {
remote_nonnull_domain dom;
remote_nonnull_string path;
u_int flags;
};
struct remote_domain_get_block_job_info_args {
remote_nonnull_domain dom;
remote_nonnull_string path;
u_int flags;
};
struct remote_domain_get_block_job_info_ret {
int found;
int type;
uint64_t bandwidth;
uint64_t cur;
uint64_t end;
};
struct remote_domain_block_job_set_speed_args {
remote_nonnull_domain dom;
remote_nonnull_string path;
uint64_t bandwidth;
u_int flags;
};
struct remote_domain_block_pull_args {