[openstack-dev] [Nova] Libvirt driver platform support

Balaji.P at freescale.com Balaji.P at freescale.com
Tue Jan 21 13:19:32 UTC 2014


Hi,

Libvert driver has the below code snippet, where it assumes that the Host platform supports "pit" etc when libvirt is configured for KVM.

For PowerPC [Freescale] platform below code is causing issues.

Code snippet from driver.py:

if CONF.libvirt_type == "kvm":
            # TODO(berrange) One day this should be per-guest
            # OS type configurable
            tmpit = vconfig.LibvirtConfigGuestTimer()
            tmpit.name = "pit"
            tmpit.tickpolicy = "delay"

            tmrtc = vconfig.LibvirtConfigGuestTimer()
            tmrtc.name = "rtc"

Is there any way where we can do the below in more generic way or is it mandatory that platform supporting KVM must support "pit" as well.

Regards,
Balaji.P

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140121/05fce7a5/attachment.html>


More information about the OpenStack-dev mailing list