mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +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;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* You should normally avoid this function and use
|
||||||
static bool
|
* qemuDomainMachineIsQ35() instead. */
|
||||||
|
bool
|
||||||
qemuDomainMachineIsQ35(const char *machine,
|
qemuDomainMachineIsQ35(const char *machine,
|
||||||
const virArch arch)
|
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,
|
qemuDomainMachineIsI440FX(const char *machine,
|
||||||
const virArch arch)
|
const virArch arch)
|
||||||
{
|
{
|
||||||
@ -9179,7 +9182,10 @@ qemuDomainMachineIsMipsMalta(const char *machine,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
|
||||||
|
/* You should normally avoid this function and use
|
||||||
|
* qemuDomainMachineIsXenFV() instead. */
|
||||||
|
bool
|
||||||
qemuDomainMachineIsXenFV(const char *machine,
|
qemuDomainMachineIsXenFV(const char *machine,
|
||||||
const virArch arch)
|
const virArch arch)
|
||||||
{
|
{
|
||||||
|
@ -823,10 +823,16 @@ virDomainChrDef *qemuFindAgentConfig(virDomainDef *def);
|
|||||||
|
|
||||||
/* You should normally avoid these functions and use the variant that
|
/* You should normally avoid these functions and use the variant that
|
||||||
* doesn't have "Machine" in the name instead. */
|
* 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,
|
bool qemuDomainMachineIsARMVirt(const char *machine,
|
||||||
const virArch arch);
|
const virArch arch);
|
||||||
bool qemuDomainMachineIsPSeries(const char *machine,
|
bool qemuDomainMachineIsPSeries(const char *machine,
|
||||||
const virArch arch);
|
const virArch arch);
|
||||||
|
bool qemuDomainMachineIsXenFV(const char *machine,
|
||||||
|
const virArch arch);
|
||||||
bool qemuDomainMachineHasBuiltinIDE(const char *machine,
|
bool qemuDomainMachineHasBuiltinIDE(const char *machine,
|
||||||
const virArch arch);
|
const virArch arch);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user