<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Just a quick correction and apologies, the actual issue is that http  will not work, https will so I dont think this is a bug as such I think this is by design likely for security.</p>
<p><br>
</p>
<p>Looking at the man page for qemu-kvm it states http will work with examples given however only https works, my best guess from looking at the spec file from the srpm is that it has only been enabled in the centos qemu-kvm-ev with https:</p>
<p><br>
</p>
<p>except from spec file: </p>
<p></p>
<div>- Resolves: bz#1132569</div>
<div>  (RFE: Enable curl driver in qemu-kvm-rhev: https only)</div>
<br>
<p></p>
<p>example working XML except:</p>
<p><br>
</p>
<p></p>
<div><disk type='network' device='cdrom'></div>
<div>    <driver name='qemu' type='raw'/></div>
<div>    <source protocol="https" name="/debian-cd/current/amd64/iso-cd/debian-9.5.0-amd64-netinst.iso"></div>
<div>      <host name="mirror.bytemark.co.uk" port="443"/></div>
<div>    </source></div>
<div>    <target dev='hdb' bus='ide' tray='closed'/></div>
<div>    <readonly/></div>
<br>
<p></p>
<p>I have tested this on a base install with the regular packages and can confirm that it works fine over https.</p>
<p><br>
</p>
<p>Thanks again and sorry for any confusion caused.</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Daniel P. Berrangé <berrange@redhat.com><br>
<b>Sent:</b> 09 August 2018 11:29:25<br>
<b>To:</b> Inception Hosting<br>
<b>Cc:</b> Vasiliy Tolstov; libvirt-users@redhat.com<br>
<b>Subject:</b> Re: [libvirt-users] Mount URL as cdrom/iso KVM/QEMU</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On Thu, Aug 09, 2018 at 10:20:54AM +0000, Inception Hosting wrote:<br>
> Resolved this morning,<br>
> <br>
> <br>
> the issue is that the qemu-kvm-ev rpm's released by centos have not<br>
> been compiled with curl support, I rebuild it myself from source with<br>
> curl support and it works fine now.<br>
<br>
Hmm that's bad, because if curl was disabled, we really want to have<br>
QEMU refuse to startup, rather than start & give you an inaccessible<br>
file. So this feels like a QEMU bug to me that ought to be reported.<br>
<br>
<br>
Regards,<br>
Daniel<br>
-- <br>
|: <a href="https://berrange.com">https://berrange.com</a>      -o-    <a href="https://www.flickr.com/photos/dberrange">
https://www.flickr.com/photos/dberrange</a> :|<br>
|: <a href="https://libvirt.org">https://libvirt.org</a>         -o-            <a href="https://fstop138.berrange.com">
https://fstop138.berrange.com</a> :|<br>
|: <a href="https://entangle-photo.org">https://entangle-photo.org</a>    -o-    <a href="https://www.instagram.com/dberrange">
https://www.instagram.com/dberrange</a> :|<br>
</div>
</span></font>
</body>
</html>