xref: /kvm-unit-tests/lib/s390x/stsi.h (revision 6afb94812d924a754e2d44f6c5de9e1859b2df28)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Structures used to Store System Information
4  *
5  * Copyright IBM Corp. 2022
6  */
7 
8 #ifndef _S390X_STSI_H_
9 #define _S390X_STSI_H_
10 
11 struct sysinfo_3_2_2 {
12 	uint8_t reserved[31];
13 	uint8_t count;
14 	struct {
15 		uint8_t reserved2[4];
16 		uint16_t total_cpus;
17 		uint16_t conf_cpus;
18 		uint16_t standby_cpus;
19 		uint16_t reserved_cpus;
20 		uint8_t name[8];
21 		uint32_t caf;
22 		uint8_t cpi[16];
23 		uint8_t reserved5[3];
24 		uint8_t ext_name_encoding;
25 		uint32_t reserved3;
26 		uint8_t uuid[16];
27 	} vm[8];
28 	uint8_t reserved4[1504];
29 	uint8_t ext_names[8][256];
30 };
31 
32 #endif  /* _S390X_STSI_H_ */
33