<div dir="ltr">Hi,<div><br></div><div>I wanted to know if there is any Python API exposed for libvirt using which I can attach a libvirt volume to a libvirt domain/VM.</div><div><br></div><div>I intend to do something similar to the `attach-disk` command of virsh using python.<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><div><i><span style="background-color:rgb(153,153,153)"></span><span style="color:rgb(153,153,153)">Regards,<br></span></i></div><span style="color:rgb(153,153,153)"><i>Varsha Verma<br></i></span></div><div><span style="color:rgb(153,153,153)"><i>Final Year Undergraduate<br></i></span></div><span style="color:rgb(153,153,153)"><i>Department of Electrical Engineering<br></i></span></div><i><font color="#999999">IIT-BHU, Varanasi<br></font></i></div></div><br></div><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/61f8c18b6f719adf9aa8c0d487f300743b03cc9f.png?u=1670425"></div>