mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
cpu_x86: Annotate virCPUx86Model fields
Document which fields are inherited when a CPU model is based on another model. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
6aed4360e5
commit
61dd5d6bef
@ -147,13 +147,21 @@ struct _virCPUx86Signatures {
|
|||||||
|
|
||||||
typedef struct _virCPUx86Model virCPUx86Model;
|
typedef struct _virCPUx86Model virCPUx86Model;
|
||||||
struct _virCPUx86Model {
|
struct _virCPUx86Model {
|
||||||
|
/* Not inherited from ancestor */
|
||||||
char *name;
|
char *name;
|
||||||
|
/* Not inherited from ancestor */
|
||||||
bool decodeHost;
|
bool decodeHost;
|
||||||
|
/* Not inherited from ancestor */
|
||||||
bool decodeGuest;
|
bool decodeGuest;
|
||||||
|
/* Not inherited from ancestor */
|
||||||
bool compatCheck;
|
bool compatCheck;
|
||||||
|
/* Inherited from ancestor */
|
||||||
virCPUx86Vendor *vendor;
|
virCPUx86Vendor *vendor;
|
||||||
|
/* Inherited from ancestor */
|
||||||
virCPUx86Signatures *signatures;
|
virCPUx86Signatures *signatures;
|
||||||
|
/* Inherited from ancestor */
|
||||||
virCPUx86Data data;
|
virCPUx86Data data;
|
||||||
|
/* Not inherited from ancestor */
|
||||||
GStrv removedFeatures;
|
GStrv removedFeatures;
|
||||||
|
|
||||||
/* Features added to the CPU model after its original version was released.
|
/* Features added to the CPU model after its original version was released.
|
||||||
@ -164,6 +172,7 @@ struct _virCPUx86Model {
|
|||||||
* included in the CPU model by the hypervisor, but libvirt didn't support
|
* included in the CPU model by the hypervisor, but libvirt didn't support
|
||||||
* them when introducing the CPU model. In other words, they were enabled,
|
* them when introducing the CPU model. In other words, they were enabled,
|
||||||
* but we ignored them.
|
* but we ignored them.
|
||||||
|
* Not inherited from ancestor.
|
||||||
*/
|
*/
|
||||||
GStrv addedFeatures;
|
GStrv addedFeatures;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user