Hello ,
I use Centos 5.4 , with the redhat version of xen . I need for some guest to change the hardware for the network . So in my xen config i add the model option in the vif line .
When the guest boot , i had the right emulation , but after a reboot , the guest loose the configuration .
Someone can confirm the bug in centos 5.5 ?
Have someone a patch ?
Extract of my config :
builder = "hvm" vif = [ 'type=ioemu, mac=00:16:3e:50:10:45, bridge=xenbr0, model=ne2k_pci'] device_model = "/usr/lib64/xen/bin/qemu-dm"
#grep spa.*/usr/lib64/xen/bin/qemu-dm /var/log/xen/xend.log
[2010-05-24 11:47:23 xend 3782] INFO (image:434) spawning device models: /usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d', '75', '-m', '192', '-boot', 'dc', '-serial', 'pty', '-vcpus', '1', '-k', 'fr', '-domain-name', 'orange', '-net', 'nic,vlan=1,macaddr=00:16:3e:50:10:45,model=pcnet', '-net', 'tap,vlan=1,bridge=xenbr0', '-vnc', '127.0.0.45:1'] [2010-05-24 11:47:40 xend 3782] INFO (image:434) spawning device models: /usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d', '76', '-m', '192', '-boot', 'dc', '-serial', 'pty', '-vcpus', '1', '-k', 'fr', '-domain-name', 'orange', '-net', 'nic,vlan=1,macaddr=00:16:3e:50:10:45,model=rtl8139', '-net', 'tap,vlan=1,bridge=xenbr0', '-vnc', '127.0.0.45:1']
#rpm -qa | grep ^xen xen-libs-3.0.3-94.el5_4.2 xen-3.0.3-94.el5_4.2
#xm info host : james.mas.nom.fr release : 2.6.18-164.6.1.el5.centos.plusxen version : #1 SMP Wed Nov 4 10:10:32 EST 2009 machine : x86_64 nr_cpus : 2 nr_nodes : 1 sockets_per_node : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2104 hw_caps : 178bfbff:ebd3fbff:00000000:00000010:00002001:00000000:0000011f total_memory : 4078 free_memory : 1738 node_to_cpu : node0:0-1 xen_major : 3 xen_minor : 1 xen_extra : .2-164.6.1.el5. xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable cc_compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-46) cc_compile_by : mockbuild cc_compile_domain : centos.org cc_compile_date : Wed Nov 4 09:23:54 EST 2009 xend_config_format : 2
On Mon, May 24, 2010 at 11:16:56PM +0200, Erwan MAS wrote:
Hello ,
I use Centos 5.4 , with the redhat version of xen . I need for some guest to change the hardware for the network . So in my xen config i add the model option in the vif line .
When the guest boot , i had the right emulation , but after a reboot , the guest loose the configuration .
So when you first "xm create" it, it's ok, and after you reboot the guest, the NIC model has changed?
Someone can confirm the bug in centos 5.5 ?
Did you search Redhat bugzilla?
-- Pasi
Have someone a patch ?
Extract of my config :
builder = "hvm" vif = [ 'type=ioemu, mac=00:16:3e:50:10:45, bridge=xenbr0, model=ne2k_pci'] device_model = "/usr/lib64/xen/bin/qemu-dm"
#grep spa.*/usr/lib64/xen/bin/qemu-dm /var/log/xen/xend.log
[2010-05-24 11:47:23 xend 3782] INFO (image:434) spawning device models: /usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d', '75', '-m', '192', '-boot', 'dc', '-serial', 'pty', '-vcpus', '1', '-k', 'fr', '-domain-name', 'orange', '-net', 'nic,vlan=1,macaddr=00:16:3e:50:10:45,model=pcnet', '-net', 'tap,vlan=1,bridge=xenbr0', '-vnc', '127.0.0.45:1'] [2010-05-24 11:47:40 xend 3782] INFO (image:434) spawning device models: /usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d', '76', '-m', '192', '-boot', 'dc', '-serial', 'pty', '-vcpus', '1', '-k', 'fr', '-domain-name', 'orange', '-net', 'nic,vlan=1,macaddr=00:16:3e:50:10:45,model=rtl8139', '-net', 'tap,vlan=1,bridge=xenbr0', '-vnc', '127.0.0.45:1']
#rpm -qa | grep ^xen xen-libs-3.0.3-94.el5_4.2 xen-3.0.3-94.el5_4.2
#xm info host : james.mas.nom.fr release : 2.6.18-164.6.1.el5.centos.plusxen version : #1 SMP Wed Nov 4 10:10:32 EST 2009 machine : x86_64 nr_cpus : 2 nr_nodes : 1 sockets_per_node : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2104 hw_caps : 178bfbff:ebd3fbff:00000000:00000010:00002001:00000000:0000011f total_memory : 4078 free_memory : 1738 node_to_cpu : node0:0-1 xen_major : 3 xen_minor : 1 xen_extra : .2-164.6.1.el5. xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable cc_compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-46) cc_compile_by : mockbuild cc_compile_domain : centos.org cc_compile_date : Wed Nov 4 09:23:54 EST 2009 xend_config_format : 2
-- ____________________________________________________________ / Erwan MAS /\ | mailto:erwan@mas.nom.fr |_/ ___|________________________________________________________ | _____________________________________________________________/ _______________________________________________ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
On Tue, May 25, 2010 at 10:43:23AM +0300, Pasi Kärkkäinen wrote:
On Mon, May 24, 2010 at 11:16:56PM +0200, Erwan MAS wrote:
Hello ,
I use Centos 5.4 , with the redhat version of xen . I need for some guest to change the hardware for the network . So in my xen config i add the model option in the vif line .
When the guest boot , i had the right emulation , but after a reboot , the guest loose the configuration .
So when you first "xm create" it, it's ok, and after you reboot the guest, the NIC model has changed?
It's a very old bug :-( . Cf http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=867
Someone can confirm the bug in centos 5.5 ?
Centos 5.5 use a new version of xen , and i hope than my bug is fixed in it , but before upgrade i want a confirmation .
Did you search Redhat bugzilla?
Yes .
On Tue, May 25, 2010 at 10:59:38AM +0200, Erwan MAS wrote:
On Tue, May 25, 2010 at 10:43:23AM +0300, Pasi Kärkkäinen wrote:
On Mon, May 24, 2010 at 11:16:56PM +0200, Erwan MAS wrote:
Hello ,
I use Centos 5.4 , with the redhat version of xen . I need for some guest to change the hardware for the network . So in my xen config i add the model option in the vif line .
When the guest boot , i had the right emulation , but after a reboot , the guest loose the configuration .
So when you first "xm create" it, it's ok, and after you reboot the guest, the NIC model has changed?
It's a very old bug :-( . Cf http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=867
For bugs related to Xen in RHEL/CentOS you usually have to search from Redhat bugzilla, since Redhat has heavily customized and patches their version of Xen in RHEL5.
Someone can confirm the bug in centos 5.5 ?
Centos 5.5 use a new version of xen , and i hope than my bug is fixed in it , but before upgrade i want a confirmation .
Did you search Redhat bugzilla?
Yes .
Did you find it from Redhat bugzilla? If not, you need to report it there.
-- Pasi