Re: [openstack-dev] [nova][libvirt]How to customize cpu features in nova
On Tue, Dec 23, 2014 at 05:27:20PM +0800, CloudBeyond wrote: > Dear Developers, > > Sorry for interrupting if i sent to wrong email group, but i got a problem on > running Solaris 10 on icehouse openstack. > I found it is need to disable CPU feature x2apic so that solaris 10 NIC > could work in KVM as following code in libvirt.xml > > > SandyBridge > Intel > > > > if without line > > the NIC in Solaris could not work well. > > And I try to migrate the KVM libvirt xml to Nova. I found only two options > to control the result. > > First I used default setting cpu_mdoe = None in nova.conf , the Solaris 10 > would keep rebooting before enter desktop env. > > And then I set cpu_mode = custom, cpu_model = SandyBridge. Solaris 10 could > start up but NIC not work. > > I also set cpu_mode = host-model, cpu_model = None. Solaris 10 could work > but NIC not. > > I read the code located > in /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py. Is that > possible to do some hacking to customize the cpu feature? Correct, the only way is to change the code. Really a bug needs to be filed against QEMU to report the problem with x2apic, because it is not something that should be allowed to break any guest OS. Regards, Daniel -- |: http://berrange.com -o-http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova][libvirt]How to customize cpu features in nova
- Original Message - > From: "CloudBeyond" > To: openstack-dev@lists.openstack.org > > Dear Developers, > > Sorry for interrupting if i sent to wrong email group, but i got a problem on > running Solaris 10 on icehouse openstack. > I found it is need to disable CPU feature x2apic so that solaris 10 NIC > could work in KVM as following code in libvirt.xml > > > SandyBridge > Intel > > > > if without line > > the NIC in Solaris could not work well. > > And I try to migrate the KVM libvirt xml to Nova. I found only two options > to control the result. > > First I used default setting cpu_mdoe = None in nova.conf , the Solaris 10 > would keep rebooting before enter desktop env. > > And then I set cpu_mode = custom, cpu_model = SandyBridge. Solaris 10 could > start up but NIC not work. > > I also set cpu_mode = host-model, cpu_model = None. Solaris 10 could work > but NIC not. > > I read the code located > in /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py. Is that > possible to do some hacking to customize the cpu feature? It's possible though as you note requires modification of the driver, if you want to try and do this in a way that is compatible with other efforts to handle guest OS specific customizations you might want to review this proposal: https://review.openstack.org/#/c/133945/4 -Steve ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [nova][libvirt]How to customize cpu features in nova
Dear Developers, Sorry for interrupting if i sent to wrong email group, but i got a problem on running Solaris 10 on icehouse openstack. I found it is need to disable CPU feature x2apic so that solaris 10 NIC could work in KVM as following code in libvirt.xml SandyBridge Intel if without line the NIC in Solaris could not work well. And I try to migrate the KVM libvirt xml to Nova. I found only two options to control the result. First I used default setting cpu_mdoe = None in nova.conf , the Solaris 10 would keep rebooting before enter desktop env. And then I set cpu_mode = custom, cpu_model = SandyBridge. Solaris 10 could start up but NIC not work. I also set cpu_mode = host-model, cpu_model = None. Solaris 10 could work but NIC not. I read the code located in /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py. Is that possible to do some hacking to customize the cpu feature? Thank you and I am really looking forward your reply. Have a nice day and Merry Christmas! Best Regard. Elbert Wang ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev