We're going to need them in a minute.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
src/qemu/qemu_domain.c | 14 ++++++++++----
src/qemu/qemu_domain.h | 6 ++++++
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index d1767c326d..aa4a2b50bb 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -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)
{
diff --git a/src/qemu/qemu_domain.h b/src/qemu/qemu_domain.h
index 1179b0d6dc..d799f6c086 100644
--- a/src/qemu/qemu_domain.h
+++ b/src/qemu/qemu_domain.h
@@ -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);
--
2.46.0