]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: domain: Remove unused qemuDomainGetVcpuHalted
authorPeter Krempa <pkrempa@redhat.com>
Tue, 29 Jul 2025 12:07:01 +0000 (14:07 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 6 Aug 2025 13:51:25 +0000 (15:51 +0200)
Unused since commit 2222548b1e55257dc8806abdbefa71a87b22dea1

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h

index a2c7c88a7e3557b0e65bf4e9809a6be74972a1b8..e45757ccd50630fe61ca25ef10b7b77b48f2b3c0 100644 (file)
@@ -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
index 1afd932764147ae86a6acc976d8f2f99502851b0..ffe5bee1bfee68789d51b9061f453bbe4d61e207 100644 (file)
@@ -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);