WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Xen and Windows

To: franck@xxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Xen and Windows
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Tue, 19 Jun 2007 13:05:05 +0200
Delivery-date: Tue, 19 Jun 2007 04:04:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <62133.82.127.101.47.1182250243.squirrel@xxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceyX8TG13BhwLzuS624fVbWaWkPhAAAUVUQ
Thread-topic: [Xen-users] Xen and Windows
 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Franck
> Sent: 19 June 2007 11:51
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Xen and Windows
> 
> Hi,
> 
> xend work fine now :) YAHOO
> 
> I'm trying to install Win2003 on xen 3.1 64Bits with this tutorial :
> http://www.xensource.com/files/xen_install_windows.pdf
> 
> All is fine except at the end :(
> xm create /etc/xen/available/win2003.hvm
> Error: (22, 'Invalid argument')
> 

Don't think the xend-log is useful here... The error message indicates
that your config file is "brokened". 
> 
> win2003.hvm is a copy of xmexample.hvm
> 
> # win2003.hvm
> # ===========
> import os, re
> arch = os.uname()[4]
> if re.search('64', arch):
>     arch_libdir = 'lib64'
> else:
>     arch_libdir = 'lib'
> 
> kernel = "/usr/lib/xen/boot/hvmloader"
> builder='hvm'
> memory = 1024
> name = "windows2003"
> vif = [ 'type=ioemu, bridge=xenbr0' ]
> disk = [ 'phy:vg00/windows2003,ioemu:hda,w' ]
> cdrom="/media/iso_images/windows_2003_standard.iso"

I'm not sure if 3.1 accepts the "cdrom=" statement. Better to use the
new model of adding something like this on the "disk=" line:
"file:some-filename-with-path,hdc:cdrom,r"

You should also have a line for the device model:
device_model='/usr/' + arch_libdir + '/xen/bin/qemu-dm"

No guarantees, other subtle errors have been known to cause problems... 

--
Mats

> boot="d"
> sdl=1
> vnc=0
> stdvga=0
> 
> Regards
> 
> Franck
> -- 
> http://www.linuxpourtous.com
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users