mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
cpu: add function to get the models for an arch
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
committed by
Eric Blake
parent
f90857b32a
commit
36cc09420a
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* cpu.h: internal functions for CPU manipulation
|
||||
*
|
||||
* Copyright (C) 2009-2010 Red Hat, Inc.
|
||||
* Copyright (C) 2009-2010, 2013 Red Hat, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
@@ -175,4 +175,7 @@ cpuModelIsAllowed(const char *model,
|
||||
const char **models,
|
||||
unsigned int nmodels);
|
||||
|
||||
extern int
|
||||
cpuGetModels(const char *arch, char ***models);
|
||||
|
||||
#endif /* __VIR_CPU_H__ */
|
||||
|
||||
Reference in New Issue
Block a user