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-devel

Re: [Xen-devel] Windows XenU creation

To: shacky <shacky83@xxxxxxxxx>,xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Windows XenU creation
From: Mats Petersson <mats@xxxxxxxxxxxxxxxxx>
Date: Mon, 30 Jul 2007 17:26:07 +0100
Delivery-date: Mon, 30 Jul 2007 10:03:03 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:x-mailer:date:to:from:subject:in-reply-to:references:mime-version:content-type:sender:message-id; b=pjjGuwkX/syONYA0+ShLU8PRlPveWzQaOYMflCJm5YricRDJf4ZdA6HwKk7g6Mx2ef+7eZIBqeXwyotN4vweq/2A5KS5JLGzaRVgu9QepXvbj7vW/COMNNS3pMMuETo4gWMKrBS5i+2jEO+PegnXJhHwK31UMKhzM/XYt4bC0hc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:x-mailer:date:to:from:subject:in-reply-to:references:mime-version:content-type:sender:message-id; b=KiBp3SQAZd21i30UJe84NOigp3C7rT+P8jAXLia7CLdN3nlHn/6WrRYj+2wRGboVosMpTLSOH5b5wvzmE2vepz8YCgy1fQeY9xA2SyexudSiODW0S+Ex5VSN0yBtNIrxkTTxEmvo3yYg1YMxA3ZJPvCPDDWh+bqSi7f8301meLQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <7fedbc910707300918i64cd3d45s7c92da0d458156cb@xxxxxxxxxxxxx m>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <7fedbc910707300918i64cd3d45s7c92da0d458156cb@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
At 17:18 30/07/2007, shacky wrote:
Hi.
When I try to create a new Windows XenU I get these error:

guineapig:/etc/xen# xm create win1.cfg
Using config file "./win1.cfg".
VNC= 1
Unexpected error: exceptions.OSError

Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in ?
    main.main(sys.argv)
  File "//usr/lib64/python/xen/xm/main.py", line 2453, in main
    _, rc = _run_cmd(cmd, cmd_name, args)
  File "//usr/lib64/python/xen/xm/main.py", line 2477, in _run_cmd
    return True, cmd(args)
  File "<string>", line 1, in <lambda>
  File "//usr/lib64/python/xen/xm/main.py", line 1266, in xm_importcommand
    cmd.main([command] + args)
  File "//usr/lib64/python/xen/xm/create.py", line 1309, in main
    dom = make_domain(opts, config)
  File "//usr/lib64/python/xen/xm/create.py", line 1054, in make_domain
    os.kill(vncpid, signal.SIGKILL)
OSError: [Errno 3] No such process

I'm using Xen 3.1.0 on a Dual Opteron 2212. The AMD-V technology is
enabled by BIOS.

This is the win1.cfg file:

kernel  = '/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
memory  = '512'
device_modem = '/usr/lib/xen/bin/qemu-dm'
root    = '/dev/sda1 ro'
disk    = [ 'phy:vserver/win1-disk,sda1,w',
'file:/home/mattia/win2003stdita.iso,ioemu:hda:cdrom,r' ]
name    = 'win1'
vif  = [ 'ip=192.168.1.55' ]
boot = 'd'
vnc=1
vncviewer=1
sdl=0
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

All other Linux virtual machines works without any problems.

I still don't think the HVM BIOS supports booting from SCSI/SATA drives. Try using "hda" instead of "sda" (and of course change your "hda" for the CDROM to perhaps "hdb").

You don't need a "root" in HVM domains.

You also can't set the IP address in a HVM domain, you need to do that inside windows using the control-panel (I find it easiest to use DHCP - but that depends on if you have a suitably configured DHCP-server or not).

--
Mats


Where is the problem?

Thank you very much!
Bye.

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


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

<Prev in Thread] Current Thread [Next in Thread>