[PATCH TRIVIAL] qemu: Fix a few comments

Kamil Szczęk posted 1 patch 3 weeks ago
src/qemu/qemu_domain.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH TRIVIAL] qemu: Fix a few comments
Posted by Kamil Szczęk 3 weeks ago
Signed-off-by: Kamil Szczęk <kamil@szczek.dev>
Fixes: d292c5ba1775bd70488fc1646e986c1987844549
---
 src/qemu/qemu_domain.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index aa4a2b50bb..93dbbcbc0b 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -9046,7 +9046,7 @@ qemuFindAgentConfig(virDomainDef *def)
 }
 
 /* You should normally avoid this function and use
- * qemuDomainMachineIsQ35() instead. */
+ * qemuDomainIsQ35() instead. */
 bool
 qemuDomainMachineIsQ35(const char *machine,
                        const virArch arch)
@@ -9064,7 +9064,7 @@ qemuDomainMachineIsQ35(const char *machine,
 
 
 /* You should normally avoid this function and use
- * qemuDomainMachineIsI440FX() instead. */
+ * qemuDomainIsI440FX() instead. */
 bool
 qemuDomainMachineIsI440FX(const char *machine,
                           const virArch arch)
@@ -9184,7 +9184,7 @@ qemuDomainMachineIsMipsMalta(const char *machine,
 
 
 /* You should normally avoid this function and use
- * qemuDomainMachineIsXenFV() instead. */
+ * qemuDomainIsXenFV() instead. */
 bool
 qemuDomainMachineIsXenFV(const char *machine,
                          const virArch arch)
-- 
2.45.0
Re: [PATCH TRIVIAL] qemu: Fix a few comments
Posted by Andrea Bolognani 3 weeks ago
On Thu, Aug 29, 2024 at 10:25:19AM GMT, Kamil Szczęk wrote:
>  /* You should normally avoid this function and use
> - * qemuDomainMachineIsQ35() instead. */
> + * qemuDomainIsQ35() instead. */
>  bool
>  qemuDomainMachineIsQ35(const char *machine,
>                         const virArch arch)

Well that's embarrassing :) Thanks for catching it.

  Reviewed-by: Andrea Bolognani <abologna@redhat.com>

and pushed.

-- 
Andrea Bolognani / Red Hat / Virtualization