Hey folks, I''m trying to run a 32-bit guest via HVM on a 64bit dom0.. I don''t know how to tell Xen to emulate 32 bits though (the guest has to be 32bit, it''s a 32bit dev environment). In the hvm example config file, I see the following: device_model = ''/usr/lib64/xen/bin/qemu-dm'' And I don''t have an equivalent ''/usr/lib/xen'' 32-bit binary. I''m running CentOS 5.2, and "xm info" says: release : 2.6.18-92.1.17.el5xen version : #1 SMP Tue Nov 4 14:13:09 EST 2008 machine : x86_64 nr_cpus : 4 nr_nodes : 1 sockets_per_node : 1 cores_per_socket : 4 threads_per_core : 1 cpu_mhz : 2204 hw_caps : 178bfbff:efd3fbff: 00000000:00000110:00802009:00000000:000007ff total_memory : 3837 free_memory : 0 node_to_cpu : node0:0-3 xen_major : 3 xen_minor : 1 xen_extra : .2-92.1.17.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 Any ideas? Thanks! - David _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Azher Mughal
2009-Jan-29 20:34 UTC
Re: [Xen-users] How to run 32bit HVM guest on 64bit dom0?
I am running CentOS 5.2 64 bit with Debian Etch in 32 bit mode. I used xen GUI to install 6 guests and so far no issues other than Multicast traffic not passing through. Here is my xm info: release : 2.6.18-92.1.22.el5xen version : #1 SMP Tue Dec 16 12:26:32 EST 2008 machine : x86_64 nr_cpus : 4 nr_nodes : 1 sockets_per_node : 2 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2992 hw_caps : bfebfbff:20100800:00000000:00000140:0004e3bd:00000000:00000001 total_memory : 4094 free_memory : 1 node_to_cpu : node0:0-3 xen_major : 3 xen_minor : 1 xen_extra : .2-92.1.22.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 20071124 (Red Hat 4.1.2-42) cc_compile_by : mockbuild cc_compile_domain : centos.org cc_compile_date : Tue Dec 16 11:51:08 EST 2008 xend_config_format : 2 David Young wrote:> Hey folks, > > I''m trying to run a 32-bit guest via HVM on a 64bit dom0.. I don''t know > how to tell Xen to emulate 32 bits though (the guest has to be 32bit, > it''s a 32bit dev environment). > > In the hvm example config file, I see the following: > > device_model = ''/usr/lib64/xen/bin/qemu-dm'' > > And I don''t have an equivalent ''/usr/lib/xen'' 32-bit binary. > > I''m running CentOS 5.2, and "xm info" says: > > release : 2.6.18-92.1.17.el5xen > version : #1 SMP Tue Nov 4 14:13:09 EST 2008 > machine : x86_64 > nr_cpus : 4 > nr_nodes : 1 > sockets_per_node : 1 > cores_per_socket : 4 > threads_per_core : 1 > cpu_mhz : 2204 > hw_caps : > 178bfbff:efd3fbff:00000000:00000110:00802009:00000000:000007ff > total_memory : 3837 > free_memory : 0 > node_to_cpu : node0:0-3 > xen_major : 3 > xen_minor : 1 > xen_extra : .2-92.1.17.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 > > Any ideas? > > Thanks! > - David > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Jan-29 22:16 UTC
Re: [Xen-users] How to run 32bit HVM guest on 64bit dom0?
On Fri, Jan 30, 2009 at 3:27 AM, David Young <david@prophecy.net.nz> wrote:> Hey folks, > > I''m trying to run a 32-bit guest via HVM on a 64bit dom0.. I don''t know how > to tell Xen to emulate 32 bits though (the guest has to be 32bit, it''s a > 32bit dev environment).Simply create it like any other HVM guest you''ve tried. Whether its going to be 32bit* or 64bit depends on the OS used on domU, not on dom0''s config file. If you use a new-enough** Xen version on 64bit hypervisor*** , you can also use 32bit PAE pv guest on 64bit dom0. You didn''t say what domU OS you use, but if it''s Linux then you''d get much better performance with pv guests. Regards, Fajar * both 32bit PAE and non-PAE can work as HVM domU. This is what xen_caps "hvm-3.0-x86_32p" means ** RHEL 5.2''s Xen is new enough, as is Xen >= 3.2 *** Usually, but not always, this also means 64bit domU _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Jan-29 22:18 UTC
Re: [Xen-users] How to run 32bit HVM guest on 64bit dom0?
On Fri, Jan 30, 2009 at 5:16 AM, Fajar A. Nugraha <fajar@fajar.net> wrote:> * both 32bit PAE and non-PAE can work as HVM domU. This is what > xen_caps "hvm-3.0-x86_32p" meansIt should read "hvm-3.0-x86_32 hvm-3.0-x86_32p" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users