mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Add flag to BaselineCPU API to return detailed CPU features
Currently the virConnectBaselineCPU API does not expose the CPU features that are part of the CPU's model. This patch adds a new flag, VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES, that causes the API to explicitly list all features that are part of that model. Signed-off-by: Don Dugger <donald.d.dugger@intel.com> Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
@@ -4007,6 +4007,15 @@ int virConnectCompareCPU(virConnectPtr conn,
|
||||
unsigned int flags);
|
||||
|
||||
|
||||
/**
|
||||
* virConnectBaselineCPUFlags
|
||||
*
|
||||
* Flags when getting XML description of a computed CPU
|
||||
*/
|
||||
typedef enum {
|
||||
VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES = (1 << 0), /* show all features */
|
||||
} virConnectBaselineCPUFlags;
|
||||
|
||||
/**
|
||||
* virConnectBaselineCPU:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user