[PATCH 6/7] qemuMonitorEjectMedia: Remove stale comment

Peter Krempa pkrempa at redhat.com
Fri Oct 29 13:14:21 UTC 2021


The QMP implementation didn't use any new approach. The command itself
is now only used with legacy qemu versions.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 src/qemu/qemu_monitor.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/qemu/qemu_monitor.h b/src/qemu/qemu_monitor.h
index 5c5df04130..cd1c1c4291 100644
--- a/src/qemu/qemu_monitor.h
+++ b/src/qemu/qemu_monitor.h
@@ -795,10 +795,6 @@ int qemuMonitorExpirePassword(qemuMonitor *mon,
 int qemuMonitorSetBalloon(qemuMonitor *mon,
                           unsigned long long newmem);

-/* XXX should we pass the virDomainDiskDef *instead
- * and hide dev_name details inside monitor. Reconsider
- * this when doing the QMP implementation
- */
 int qemuMonitorEjectMedia(qemuMonitor *mon,
                           const char *dev_name,
                           bool force);
-- 
2.31.1




More information about the libvir-list mailing list