<div dir="ltr">I was just recently told I should try using virtio-scsi on arm64 -- that QEMU 2.4.0 has everything needed for block device hotplug on arm64 using virtio-scsi.  I see that nova appears to have support as of Feb 2014 (<a href="https://review.openstack.org/#/c/70263/">https://review.openstack.org/#/c/70263/</a>).  I am currently using the distro-provided libvirt on trusty and vivid.  Would this be new enough to have what I need?<div><br></div><div>Thank you,</div><div>Clark</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 22, 2015 at 3:58 PM, Daniel P. Berrange <span dir="ltr"><<a href="mailto:berrange@redhat.com" target="_blank">berrange@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Jul 22, 2015 at 02:53:31PM -0500, Clark Laughlin wrote:<br>
> I am running Openstack Tempest on an arm64 platform and am seeing some<br>
> test failures related to attaching volumes to an instance.  This is an<br>
> example of the disk XML generated by one of the tests:<br>
><br>
> <disk type="block" device="disk"><driver name="qemu" type="raw"<br>
> cache="none"/<source<br>
> dev="/dev/disk/by-path/ip-10.7.1.2:3260-iscsi-iqn.2010-10.org.openstack:volume-5a204339-80cb-4d06-aecf-2a8a2c970b0e-lun-1"/><target<br>
> bus="virtio" dev="vdb"/><serial>5a204339-80cb-4d06-aecf-2a8a2c970b0e</serial></disk><br>
><br>
> The test is failing with the error "XML error: No PCI buses<br>
> available".  I am trying to find the relevent source locations for<br>
> this functionality in either in the nova libvirt driver or in the<br>
> libvirt source itself.  I am not sure why I am getting an error about<br>
> no PCI buses when the bus specified in the XML is "virtio".<br>
><br>
> I would appreciate any pointers / help.<br>
<br>
</span>virtio is just a guest/host device communication protocol that<br>
can be run over multiple different transport. On x86 virtio has<br>
always used PCI, but on s390 it uses either s390 or ccw bus,<br>
and on arm7/aarch64 it uses mmio. I'm not sure that the mmio<br>
bus supports hotplug, which could be why you see the error in<br>
question. Very latest upstream QEMU does now support PCI with<br>
aarch64 so in the near future it should have parity of functionality<br>
with x86<br>
<br>
Regards,<br>
Daniel<br>
<span class="HOEnZb"><font color="#888888">--<br>
|: <a href="http://berrange.com" rel="noreferrer" target="_blank">http://berrange.com</a>      -o-    <a href="http://www.flickr.com/photos/dberrange/" rel="noreferrer" target="_blank">http://www.flickr.com/photos/dberrange/</a> :|<br>
|: <a href="http://libvirt.org" rel="noreferrer" target="_blank">http://libvirt.org</a>              -o-             <a href="http://virt-manager.org" rel="noreferrer" target="_blank">http://virt-manager.org</a> :|<br>
|: <a href="http://autobuild.org" rel="noreferrer" target="_blank">http://autobuild.org</a>       -o-         <a href="http://search.cpan.org/~danberr/" rel="noreferrer" target="_blank">http://search.cpan.org/~danberr/</a> :|<br>
|: <a href="http://entangle-photo.org" rel="noreferrer" target="_blank">http://entangle-photo.org</a>       -o-       <a href="http://live.gnome.org/gtk-vnc" rel="noreferrer" target="_blank">http://live.gnome.org/gtk-vnc</a> :|<br>
</font></span></blockquote></div><br></div>