From: Peter Krempa <pkre...@redhat.com>

Signed-off-by: Peter Krempa <pkre...@redhat.com>
---
 src/qemu/qemu_domain.c | 15 ---------------
 src/qemu/qemu_domain.h |  1 -
 2 files changed, 16 deletions(-)

diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index a2c7c88a7e..e45757ccd5 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -8603,21 +8603,6 @@ qemuDomainRefreshVcpuInfo(virDomainObj *vm,
     return ret;
 }

-/**
- * qemuDomainGetVcpuHalted:
- * @vm: domain object
- * @vcpu: cpu id
- *
- * Returns the vCPU halted state.
-  */
-bool
-qemuDomainGetVcpuHalted(virDomainObj *vm,
-                        unsigned int vcpuid)
-{
-    virDomainVcpuDef *vcpu = virDomainDefGetVcpu(vm->def, vcpuid);
-    return QEMU_DOMAIN_VCPU_PRIVATE(vcpu)->halted;
-}
-
 /**
  * qemuDomainRefreshVcpuHalted:
  * @driver: qemu driver data
diff --git a/src/qemu/qemu_domain.h b/src/qemu/qemu_domain.h
index 1afd932764..ffe5bee1bf 100644
--- a/src/qemu/qemu_domain.h
+++ b/src/qemu/qemu_domain.h
@@ -870,7 +870,6 @@ int qemuDomainValidateVcpuInfo(virDomainObj *vm);
 int qemuDomainRefreshVcpuInfo(virDomainObj *vm,
                               int asyncJob,
                               bool state);
-bool qemuDomainGetVcpuHalted(virDomainObj *vm, unsigned int vcpu);
 int qemuDomainRefreshVcpuHalted(virDomainObj *vm,
                                 int asyncJob);

-- 
2.50.1

Reply via email to