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

Han Han posted 4 patches 1 year, 9 months ago

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

Posted by Han Han 1 year, 9 months ago
Signed-off-by: Han Han <hhan@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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list