Özhan,

Looks like the CentOS7 is b0rk3d. Can you please open a bug report in 
https://issues.apache.org/jira/ to get it fixed?
In the meanwhile using the latest CentOS6 profile should work just as well.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Özhan Rüzgar Karaman" <oruzgarkara...@gmail.com>
> To: users@cloudstack.apache.org
> Sent: Wednesday, 21 October, 2015 17:54:54
> Subject: Enabling virtio for CentOS 7 templates

> Hi;
> Today i noticed that when you create a Centos 7 vm by choosing os type as
> CentOS7 then the created vm did not use virtio it uses old hda/ide access
> technique this problem makes Centos 7 vm's to boot slowly, i nearly wait 30
> seconds after grub loads for CentOS 7. When i change this value to virtio
> it boots without any wait.
> 
> So how could i change this Centos 7 vm's default disk access type to
> virtio? This problem creates real headache on my system :)
> 
> Example CentOS libvirt disk part:
>    <emulator>/usr/bin/kvm-spice</emulator>
>    <disk type='network' device='disk'>
>      <driver name='qemu' type='raw' cache='none'/>
>      <auth username=xx'>
>        <secret type='ceph' uuid='xsw'/>
>      </auth>
>      <source protocol='rbd'
> name='jacknode/4e2cd1be-5c7f-43ff-b44b-bf9f87e84b19'>
>        <host name='172.16.44.22' port='6789'/>
>      </source>
> *      <target dev='hda' bus='ide'/>*
>      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
>    </disk>
> 
> Example Ubuntu Trusty libvirt disk part:
>    <disk type='network' device='disk'>
>      <driver name='qemu' type='raw' cache='none'/>
>      <auth username='xx'>
>        <secret type='ceph' uuid='xsw'/>
>      </auth>
>      <source protocol='rbd' name='xx/cfafb241-b9c7-4d41-acdc-aac937d96a19'>
>        <host name='172.16.44.22' port='6789'/>
>      </source>
> *     <target dev='vda' bus='virtio'/>*
>      <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
> function='0x0'/>
>    </disk>
> 
> Thanks
> Özhan Ruzgar Karaman

Reply via email to