Daniel Bareiro | 1 Feb 2008 02:01
Picon

VMWare VM to Xen domU

Hi all!

I've a XP VMWare VM and I'd like to 'convert' it to domU Xen. ¿Is it
possible?

Thanks in advance.

Regards,
Daniel
--

-- 
Daniel Bareiro - System Administrator
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Etch - Linux user #188.598
_______________________________________________
Xen-users mailing list
Xen-users <at> lists.xensource.com
http://lists.xensource.com/xen-users
Todd Deshane | 1 Feb 2008 02:31
Picon
Gravatar

Re: VMWare VM to Xen domU



On Jan 31, 2008 8:01 PM, Daniel Bareiro <daniel-listas <at> gmx.net> wrote:
Hi all!

I've a XP VMWare VM and I'd like to 'convert' it to domU Xen. ¿Is it
possible?

You should be able to do that with qemu-img tricks

here is a decent reference on it:
http://ian.blenke.com/vmware/vmdk/xen/hvm/qemu/vmware_to_xen_hvm.html
 

Thanks in advance.

Regards,
Daniel
--
Daniel Bareiro - System Administrator
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Etch - Linux user #188.598

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHom9RZpa/GxTmHTcRAqnRAJ46NE9M1Je6GW9THD5J7y+VRjs2PwCffdoS
RIXLxFPAcMz0dBIFvXKTQHk=
=VCm1
-----END PGP SIGNATURE-----

_______________________________________________
Xen-users mailing list
Xen-users <at> lists.xensource.com
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users <at> lists.xensource.com
http://lists.xensource.com/xen-users
Stephan Seitz | 1 Feb 2008 05:26
Picon

Re: Compile 64 bit hypervisor&kernel on 32bit kernel ?

I've tried to cross compile xen on ubuntu a few times and it always failed. i found it more convenient to setup
a 
seconcd, 64bit machine for developing.

i've made 64bit ubuntu 7.10 deb's of the 3.2.0 release but was too short on time to setup a repo. just leave me a
note, if you want to try them.

cheers,

Stephan

Emre Erenoglu schrieb:
> No my OS is actually 32 bit. I guess it will be a big hassle to 
> cross-compile a 64 bit kernel on 32 bit os. So I decided to install 
> another Ubuntu 64 bit on another partition.
> 
> Thanks anyway,
> 
> Emre
> 
> On Jan 31, 2008 10:49 PM, Ian Tobin <itobin <at> tidyhosts.com 
> <mailto:itobin <at> tidyhosts.com>> wrote:
> 
>     Hi,
> 
>      
> 
>     Is your OS actually 64 bit? If not then i believe it has to be 64bit
>     before XEN will see it as 64bit.
> 
>      
> 
>     Thanks
> 
>      
> 
>     Ian
> 
>      
> 
>     *From:* xen-users-bounces <at> lists.xensource.com
>     <mailto:xen-users-bounces <at> lists.xensource.com>
>     [mailto:xen-users-bounces <at> lists.xensource.com
>     <mailto:xen-users-bounces <at> lists.xensource.com>] *On Behalf Of *Emre
>     Erenoglu
>     *Sent:* 31 January 2008 20:51
>     *To:* Xen-Users
>     *Subject:* [Xen-users] Compile 64 bit hypervisor&kernel on 32bit
>     kernel ?
> 
>      
> 
>     Hi,
> 
>     I'm running 32 bit Ubuntu 7.10 on my system with a 32-bit Xen
>     Hypervisor. I would like try 64 bit Xen Hypervisor & 64 bit kernel.
> 
>     How can I build them? When I issue "make world" and "make install",
>     it gives me 32 bit. I read the readme but no information inside. I
>     also couldn't find something on the Wiki, just somethings about
>     cross-compiling, which I didn't understand well enough...
> 
>     Can anyone give a clue?
>      
>     Emre Erenoglu
>     erenoglu <at> gmail.com <mailto:erenoglu <at> gmail.com>
> 
> 
> 
> 
> -- 
> Emre Erenoglu
> erenoglu <at> gmail.com <mailto:erenoglu <at> gmail.com>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users <at> lists.xensource.com
> http://lists.xensource.com/xen-users

-- 
Stephan Seitz
Senior System Administrator

*netz-haut* e.K.
multimediale kommunikation

zweierweg 22
97074 würzburg

fon: +49 931 2876247
fax: +49 931 2876248

web: www.netz-haut.de <http://www.netz-haut.de/>

registriergericht: amtsgericht würzburg, hra 5054
Attachment (s_seitz.vcf): text/x-vcard, 321 bytes
_______________________________________________
Xen-users mailing list
Xen-users <at> lists.xensource.com
http://lists.xensource.com/xen-users
--[ UxBoD ]-- | 1 Feb 2008 08:38

Moving to Xen

Hi,

First post so please be gentle! ;)

I am looking to switch to Xen from using VMware but would like a little help with my understanding.  My current
setup is a CentOS5.1 server with a VMWare server instance installed on top of it.

Am I able to install Xen and make my current CentOS installation the default domain without losing anything
? If this is possible then I would setup two additional domains 1) for the applications that were running in
the default ie. www, smtp and the 2) moving the VMware server which runs Zimbra to a Xen domain.  This would
leave the default domain as the management domain.

Is my thinking correct ?  TIA.

Regards,

-- 
--[ UxBoD ]--
// PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import"
// Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84
// Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84
// Phone: +44 845 869 2749 SIP Phone: uxbod <at> sip.splatnix.net

--

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Vitaly Dodonov | 1 Feb 2008 10:37
Picon

shutdownmon problem

i have centos 5.1 x64 dom0 and i386 domu windows 2003
gplpv drivers installed but shutdownmon does not connecting to kernel driver

line "handle = CreateFile( <at> "\\.\XenShutdown"," succesfully executes
next line "FileStream fs = new FileStream(handle, FileAccess.Read);" stops

what i must do with this?

_______________________________________________
Xen-users mailing list
Xen-users <at> lists.xensource.com
http://lists.xensource.com/xen-users
James Harper | 1 Feb 2008 11:20
Picon

RE: shutdownmon problem

> i have centos 5.1 x64 dom0 and i386 domu windows 2003
> gplpv drivers installed but shutdownmon does not connecting to kernel
> driver
> 
> line "handle = CreateFile( <at> "\\.\XenShutdown"," succesfully executes
> next line "FileStream fs = new FileStream(handle, FileAccess.Read);"
stops

Stops and does nothing, or stops with an exception? Can you see what the
value of 'handle' is?

Also what version of the PV drivers are you running?

James
Vitaly Dodonov | 1 Feb 2008 12:50
Picon

Re: shutdownmon problem

On Feb 1, 2008 1:20 PM, James Harper <james.harper <at> bendigoit.com.au> wrote:

> i have centos 5.1 x64 dom0 and i386 domu windows 2003
> gplpv drivers installed but shutdownmon does not connecting to kernel
> driver
>
> line "handle = CreateFile( <at> "\\.\XenShutdown"," succesfully executes
> next line "FileStream fs = new FileStream(handle, FileAccess.Read);"
stops

Stops and does nothing, or stops with an exception? Can you see what the
value of 'handle' is?

Also what version of the PV drivers are you running?

James

stops and does nothing
version 061
handle value "Microsoft.Win32.SafeHandles.SafeFileHandle"



_______________________________________________
Xen-users mailing list
Xen-users <at> lists.xensource.com
http://lists.xensource.com/xen-users
James Harper | 1 Feb 2008 12:53
Picon

RE: shutdownmon problem

> 
> stops and does nothing
> version 061
> handle value "Microsoft.Win32.SafeHandles.SafeFileHandle"
> 

Hmmm... 'xm shutdown' doesn't appear to work anymore. I guess I broke
it. I'll try and fix it for the next release, as soon as I get xenvbd
working properly on all combinations (32 or 64) of Dom0 and DomU.

James
Stephan Seitz | 1 Feb 2008 13:22
Picon

Re: Compile 64 bit hypervisor&kernel on 32bit kernel ?

Hi Emre,

You might download the packages from
	http://boreas.netz-haut.net/pub/
	ftp://boreas.netz-haut.net/pub/

To answer your question, i've only made packages of the hypervisor, not of the kernel.
Anyway, I packed the 2.6.18.8 64bit and 2.6.18.8 32bit kernel, initrd and modules-dir
each into a tar.gz.

Also available are updated packages of xen-tools and rinse pulled from cvs (or svn?,
cant remember. Thanks to Steve Kemp for working on this.)

Since these packages might be of interest for others, this also goes to xen-users.

The hypervisor packages differs from the original 3.2.0 release as listed below:

- pathes are changed to fit the debian/ubuntu way (as done in the upstream xen-3.1)
   (/lib vs /lib64, /etc/xen/ vs. /etc/xen/scripts)
- default network-setup is "dummy"
- hvm bios: i'm currently trying to enhance/beautify the bios, this is ongoing work
   and not ready by now, however it works as expected.

Feel free to give me a note if something doesn't work.

cheers,

Stephan

Emre Erenoglu schrieb:
> Hi Stephan, yes I'm interested. How can I get them? from Rapidshare maybe?
> 
> Is it the hypervisor or hypervisor+kernel? if so, which kernel?
> 
> Thanks a lot again,
> 
> Emre
> 
> 2008/2/1 Stephan Seitz <s.seitz <at> netz-haut.de <mailto:s.seitz <at> netz-haut.de>>:
> 
>     I've tried to cross compile xen on ubuntu a few times and it always
>     failed. i found it more convenient to setup a
>     seconcd, 64bit machine for developing.
> 
>     i've made 64bit ubuntu 7.10 deb's of the 3.2.0 release but was too
>     short on time to setup a repo. just leave me a
>     note, if you want to try them.
> 
>     cheers,
> 
>     Stephan
> 
> 
>     Emre Erenoglu schrieb:
>      > No my OS is actually 32 bit. I guess it will be a big hassle to
>      > cross-compile a 64 bit kernel on 32 bit os. So I decided to install
>      > another Ubuntu 64 bit on another partition.
>      >
>      > Thanks anyway,
>      >
>      > Emre
>      >
>      > On Jan 31, 2008 10:49 PM, Ian Tobin <itobin <at> tidyhosts.com
>     <mailto:itobin <at> tidyhosts.com>
>      > <mailto:itobin <at> tidyhosts.com <mailto:itobin <at> tidyhosts.com>>> wrote:
>      >
>      >     Hi,
>      >
>      >
>      >
>      >     Is your OS actually 64 bit? If not then i believe it has to
>     be 64bit
>      >     before XEN will see it as 64bit.
>      >
>      >
>      >
>      >     Thanks
>      >
>      >
>      >
>      >     Ian
>      >
>      >
>      >
>      >     *From:* xen-users-bounces <at> lists.xensource.com
>     <mailto:xen-users-bounces <at> lists.xensource.com>
>      >     <mailto:xen-users-bounces <at> lists.xensource.com
>     <mailto:xen-users-bounces <at> lists.xensource.com>>
>      >     [mailto:xen-users-bounces <at> lists.xensource.com
>     <mailto:xen-users-bounces <at> lists.xensource.com>
>      >     <mailto:xen-users-bounces <at> lists.xensource.com
>     <mailto:xen-users-bounces <at> lists.xensource.com>>] *On Behalf Of *Emre
>      >     Erenoglu
>      >     *Sent:* 31 January 2008 20:51
>      >     *To:* Xen-Users
>      >     *Subject:* [Xen-users] Compile 64 bit hypervisor&kernel on 32bit
>      >     kernel ?
>      >
>      >
>      >
>      >     Hi,
>      >
>      >     I'm running 32 bit Ubuntu 7.10 on my system with a 32-bit Xen
>      >     Hypervisor. I would like try 64 bit Xen Hypervisor & 64 bit
>     kernel.
>      >
>      >     How can I build them? When I issue "make world" and "make
>     install",
>      >     it gives me 32 bit. I read the readme but no information
>     inside. I
>      >     also couldn't find something on the Wiki, just somethings about
>      >     cross-compiling, which I didn't understand well enough...
>      >
>      >     Can anyone give a clue?
>      >
>      >     Emre Erenoglu
>      >     erenoglu <at> gmail.com <mailto:erenoglu <at> gmail.com>
>     <mailto:erenoglu <at> gmail.com <mailto:erenoglu <at> gmail.com>>
>      >
>      >
>      >
>      >
>      > --
>      > Emre Erenoglu
>      > erenoglu <at> gmail.com <mailto:erenoglu <at> gmail.com>
>     <mailto:erenoglu <at> gmail.com <mailto:erenoglu <at> gmail.com>>
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > Xen-users mailing list
>      > Xen-users <at> lists.xensource.com <mailto:Xen-users <at> lists.xensource.com>
>      > http://lists.xensource.com/xen-users
> 
> 
>     --
>     Stephan Seitz
>     Senior System Administrator
> 
>     *netz-haut* e.K.
>     multimediale kommunikation
> 
>     zweierweg 22
>     97074 würzburg
> 
>     fon: +49 931 2876247
>     fax: +49 931 2876248
> 
>     web: www.netz-haut.de <http://www.netz-haut.de>
>     <http://www.netz-haut.de/>
> 
>     registriergericht: amtsgericht würzburg, hra 5054
> 
> 
> 
> 
> -- 
> Emre Erenoglu
> erenoglu <at> gmail.com <mailto:erenoglu <at> gmail.com>

-- 
Stephan Seitz
Senior System Administrator

*netz-haut* e.K.
multimediale kommunikation

zweierweg 22
97074 würzburg

fon: +49 931 2876247
fax: +49 931 2876248

web: www.netz-haut.de <http://www.netz-haut.de/>

registriergericht: amtsgericht würzburg, hra 5054
Attachment (s_seitz.vcf): text/x-vcard, 321 bytes
_______________________________________________
Xen-users mailing list
Xen-users <at> lists.xensource.com
http://lists.xensource.com/xen-users
Emre Erenoglu | 1 Feb 2008 14:33
Picon

Re: Compile 64 bit hypervisor&kernel on 32bit kernel ?

Hi Stephan,

thanks for the packages, I'll try in the evening.

Could you please confirm the steps to install it:

1) Start with 32 bit Ubuntu 7.10 with 32 bit hypervisor
2) remove existing hypervisor and xen packages (or issue make uninstall if you have a self build one from mercurial)
3) reboot the system with standard ubuntu kernel, non-xen environment
4) install 64 bit hypervisor
5) install/extract kernel, initrd and modules to necessary locations
6) install xen packages, libraries, tools and others
7) edit GRUB menu.lst to point to new hypervisor and kernel
8) reboot and select the new entry

Now what I wonder is, will the 32 bit userland environment boot just right on top of an 64 bit kernel, or if this does not work, will I be able to boot the 32 bit kernel on the 64 bit hypervisor?

Thanks,

Emre




2008/2/1 Stephan Seitz <s.seitz <at> netz-haut.de>:
Hi Emre,

You might download the packages from
       http://boreas.netz-haut.net/pub/
       ftp://boreas.netz-haut.net/pub/

To answer your question, i've only made packages of the hypervisor, not of the kernel.
Anyway, I packed the 2.6.18.8 64bit and 2.6.18.8 32bit kernel, initrd and modules-dir
each into a tar.gz.

Also available are updated packages of xen-tools and rinse pulled from cvs (or svn?,
cant remember. Thanks to Steve Kemp for working on this.)

Since these packages might be of interest for others, this also goes to xen-users.

The hypervisor packages differs from the original 3.2.0 release as listed below:

- pathes are changed to fit the debian/ubuntu way (as done in the upstream xen-3.1)
  (/lib vs /lib64, /etc/xen/ vs. /etc/xen/scripts)
- default network-setup is "dummy"
- hvm bios: i'm currently trying to enhance/beautify the bios, this is ongoing work
  and not ready by now, however it works as expected.

Feel free to give me a note if something doesn't work.

cheers,

Stephan



Emre Erenoglu schrieb:
> Hi Stephan, yes I'm interested. How can I get them? from Rapidshare maybe?
>
> Is it the hypervisor or hypervisor+kernel? if so, which kernel?
>
> Thanks a lot again,
>
> Emre
>
> 2008/2/1 Stephan Seitz <s.seitz <at> netz-haut.de <mailto:s.seitz <at> netz-haut.de>>:
>
>     I've tried to cross compile xen on ubuntu a few times and it always
>     failed. i found it more convenient to setup a
>     seconcd, 64bit machine for developing.
>
>     i've made 64bit ubuntu 7.10 deb's of the 3.2.0 release but was too
>     short on time to setup a repo. just leave me a
>     note, if you want to try them.
>
>     cheers,
>
>     Stephan
>
>
>     Emre Erenoglu schrieb:
>      > No my OS is actually 32 bit. I guess it will be a big hassle to
>      > cross-compile a 64 bit kernel on 32 bit os. So I decided to install
>      > another Ubuntu 64 bit on another partition.
>      >
>      > Thanks anyway,
>      >
>      > Emre
>      >
>      > On Jan 31, 2008 10:49 PM, Ian Tobin <itobin <at> tidyhosts.com
>     <mailto:itobin <at> tidyhosts.com>
>      > <mailto:itobin <at> tidyhosts.com <mailto:itobin <at> tidyhosts.com>>> wrote:
>      >
>      >     Hi,
>      >
>      >
>      >
>      >     Is your OS actually 64 bit? If not then i believe it has to
>     be 64bit
>      >     before XEN will see it as 64bit.
>      >
>      >
>      >
>      >     Thanks
>      >
>      >
>      >
>      >     Ian
>      >
>      >
>      >
>      >     *From:* xen-users-bounces <at> lists.xensource.com
>     <mailto:xen-users-bounces <at> lists.xensource.com>
>      >     <mailto:xen-users-bounces <at> lists.xensource.com
>     <mailto:xen-users-bounces <at> lists.xensource.com>>
>      >     [mailto:xen-users-bounces <at> lists.xensource.com
>     <mailto:xen-users-bounces <at> lists.xensource.com>
>      >     <mailto:xen-users-bounces <at> lists.xensource.com
>     <mailto:xen-users-bounces <at> lists.xensource.com>>] *On Behalf Of *Emre
>      >     Erenoglu
>      >     *Sent:* 31 January 2008 20:51
>      >     *To:* Xen-Users
>      >     *Subject:* [Xen-users] Compile 64 bit hypervisor&kernel on 32bit
>      >     kernel ?
>      >
>      >
>      >
>      >     Hi,
>      >
>      >     I'm running 32 bit Ubuntu 7.10 on my system with a 32-bit Xen
>      >     Hypervisor. I would like try 64 bit Xen Hypervisor & 64 bit
>     kernel.
>      >
>      >     How can I build them? When I issue "make world" and "make
>     install",
>      >     it gives me 32 bit. I read the readme but no information
>     inside. I
>      >     also couldn't find something on the Wiki, just somethings about
>      >     cross-compiling, which I didn't understand well enough...
>      >
>      >     Can anyone give a clue?
>      >
>      >     Emre Erenoglu
>      >     erenoglu <at> gmail.com <mailto:erenoglu <at> gmail.com>
>     <mailto:erenoglu <at> gmail.com <mailto:erenoglu <at> gmail.com>>
>      >
>      >
>      >
>      >
>      > --
>      > Emre Erenoglu
>      > erenoglu <at> gmail.com <mailto:erenoglu <at> gmail.com>
>     <mailto:erenoglu <at> gmail.com <mailto:erenoglu <at> gmail.com>>
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > Xen-users mailing list
>      > Xen-users <at> lists.xensource.com <mailto:Xen-users <at> lists.xensource.com>
>      > http://lists.xensource.com/xen-users
>
>
>     --
>     Stephan Seitz
>     Senior System Administrator
>
>     *netz-haut* e.K.
>     multimediale kommunikation
>
>     zweierweg 22
>     97074 würzburg
>
>     fon: +49 931 2876247
>     fax: +49 931 2876248
>
>     web: www.netz-haut.de <http://www.netz-haut.de>
>     <http://www.netz-haut.de/>
>
>     registriergericht: amtsgericht würzburg, hra 5054
>
>
>
>
> --
> Emre Erenoglu
> erenoglu <at> gmail.com <mailto:erenoglu <at> gmail.com>


--
Stephan Seitz
Senior System Administrator

*netz-haut* e.K.
multimediale kommunikation

zweierweg 22
97074 würzburg

fon: +49 931 2876247
fax: +49 931 2876248

web: www.netz-haut.de <http://www.netz-haut.de/>

registriergericht: amtsgericht würzburg, hra 5054



--
Emre Erenoglu
erenoglu <at> gmail.com
_______________________________________________
Xen-users mailing list
Xen-users <at> lists.xensource.com
http://lists.xensource.com/xen-users

Gmane