fog / fog-libvirt

libvirt provider for fog
MIT License
16 stars 42 forks source link

Support for cpu mode #18

Closed rski closed 7 years ago

rski commented 8 years ago

Hi,

I'd like to be able to set the cpu mode on my VMs on creation, but fog-libvirt doesn't seem to currently support this. This would require adding a line like that can render to <cpu mode='something'/> to fog-libvirt/lib/fog/libvirt/models/compute/templates/server.xml.erb, along with other things.

Is this the right place to look for a feature like this? If yes, would it be ok if I hacked on this and submitted a PR to add this functionality?