All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mats Petersson <mats@planetcatfish.com>
To: shacky <shacky83@gmail.com>, xen-devel@lists.xensource.com
Subject: Re: Windows XenU creation
Date: Mon, 30 Jul 2007 17:26:07 +0100	[thread overview]
Message-ID: <46ae1139.287c420a.7fbd.ffff84a2@mx.google.com> (raw)
In-Reply-To: <7fedbc910707300918i64cd3d45s7c92da0d458156cb@mail.gmail.co m>

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@lists.xensource.com
>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@lists.xensource.com
>http://lists.xensource.com/xen-devel

  parent reply	other threads:[~2007-07-30 16:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-30 16:18 Windows XenU creation shacky
     [not found] ` <7fedbc910707300918i64cd3d45s7c92da0d458156cb@mail.gmail.co m>
2007-07-30 16:26   ` Mats Petersson [this message]
2007-07-30 17:12     ` shacky
     [not found]       ` <7fedbc910707301012n3495cb25p15f65a0d681c180@mail.gmail.com >
2007-07-30 17:15         ` Mats Petersson
2007-07-30 17:21           ` shacky
     [not found]             ` <7fedbc910707301021o5293bdb0jb7d871d95cc9febd@mail.gmail.co m>
2007-07-30 17:25               ` Mats Petersson
2007-07-30 17:40                 ` shacky
2007-07-30 18:44                   ` shacky
2007-07-31  1:35                     ` Mark Williamson
2007-07-31  8:55                       ` shacky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46ae1139.287c420a.7fbd.ffff84a2@mx.google.com \
    --to=mats@planetcatfish.com \
    --cc=shacky83@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.