mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
qemu: Export a few functions
We're going to need them in a minute. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
21562c4df6
commit
d292c5ba17
@ -9045,8 +9045,9 @@ qemuFindAgentConfig(virDomainDef *def)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static bool
|
||||
/* You should normally avoid this function and use
|
||||
* qemuDomainMachineIsQ35() instead. */
|
||||
bool
|
||||
qemuDomainMachineIsQ35(const char *machine,
|
||||
const virArch arch)
|
||||
{
|
||||
@ -9062,7 +9063,9 @@ qemuDomainMachineIsQ35(const char *machine,
|
||||
}
|
||||
|
||||
|
||||
static bool
|
||||
/* You should normally avoid this function and use
|
||||
* qemuDomainMachineIsI440FX() instead. */
|
||||
bool
|
||||
qemuDomainMachineIsI440FX(const char *machine,
|
||||
const virArch arch)
|
||||
{
|
||||
@ -9179,7 +9182,10 @@ qemuDomainMachineIsMipsMalta(const char *machine,
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool
|
||||
|
||||
/* You should normally avoid this function and use
|
||||
* qemuDomainMachineIsXenFV() instead. */
|
||||
bool
|
||||
qemuDomainMachineIsXenFV(const char *machine,
|
||||
const virArch arch)
|
||||
{
|
||||
|
@ -823,10 +823,16 @@ virDomainChrDef *qemuFindAgentConfig(virDomainDef *def);
|
||||
|
||||
/* You should normally avoid these functions and use the variant that
|
||||
* doesn't have "Machine" in the name instead. */
|
||||
bool qemuDomainMachineIsQ35(const char *machine,
|
||||
const virArch arch);
|
||||
bool qemuDomainMachineIsI440FX(const char *machine,
|
||||
const virArch arch);
|
||||
bool qemuDomainMachineIsARMVirt(const char *machine,
|
||||
const virArch arch);
|
||||
bool qemuDomainMachineIsPSeries(const char *machine,
|
||||
const virArch arch);
|
||||
bool qemuDomainMachineIsXenFV(const char *machine,
|
||||
const virArch arch);
|
||||
bool qemuDomainMachineHasBuiltinIDE(const char *machine,
|
||||
const virArch arch);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user