[libvirt] [PATCH 2/4] libvirt: Remove comments of media update in virDomainAttachDeviceFlags

Han Han hhan at redhat.com
Wed Jan 15 08:24:56 UTC 2020


Signed-off-by: Han Han <hhan at redhat.com>
---
 src/libvirt-domain.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c
index eb66999f07..a6a246c3a4 100644
--- a/src/libvirt-domain.c
+++ b/src/libvirt-domain.c
@@ -8208,10 +8208,6 @@ virDomainAttachDevice(virDomainPtr domain, const char *xml)
  * return failure if LIVE is specified but it only supports modifying the
  * persisted device allocation.
  *
- * For compatibility, this method can also be used to change the media
- * in an existing CDROM/Floppy device, however, applications are
- * recommended to use the virDomainUpdateDeviceFlag method instead.
- *
  * Be aware that hotplug changes might not persist across a domain going
  * into S4 state (also known as hibernation) unless you also modify the
  * persistent domain definition.
-- 
2.24.0.rc1




More information about the libvir-list mailing list