From mboxrd@z Thu Jan 1 00:00:00 1970 From: yueqiang Subject: Xen 4.0.1 creates HVM error Date: Wed, 24 Nov 2010 09:50:55 +0800 Message-ID: <4CEC6F7F.3060409@phdis.smu.edu.sg> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1320595527==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1320595527== Content-Type: multipart/alternative; boundary="------------050707030709000802030704" --------------050707030709000802030704 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Hi All: I'm sorry to re-post the email. I do not get any response from xen-user mail list. the platform is on Xen 4.0.1 with Intel(R) Core(TM) i7 CPU . when I create HVM domain, I found an error: sudo xm create winxp.cfg [2010-11-23 17:00:24 4993] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=1 [2010-11-23 17:00:24 4993] DEBUG (XendDomainInfo:2416) No device model [2010-11-23 17:00:24 4993] DEBUG (XendDomainInfo:2418) Releasing devices [2010-11-23 17:00:24 4993] ERROR (XendDomainInfo:106) Domain construction failed Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", line 104, in create vm.start() File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", line 469, in start XendTask.log_progress(31, 60, self._initDomain) File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", line 2912, in _initDomain raise VmError(str(exn)) VmError: (38, 'Function not implemented') the configuration file is: kernel = "/usr/lib/xen/boot/hvmloader" builder='hvm' memory = 1024 vcpus=1 name = "winxp" disk = ['file:/hvm/winxp.img,ioemu:hda,w', 'file:/hvm/winxp/winxp-pro.iso,ioemu:hdc:cdrom,r'] vif = [ 'type=ioemu, bridge=virbr0' ] usbdevice='tablet' on_poweroff = 'destroy' on_reboot = 'destroy' on_crash = 'destroy' boot='d' vnc=1 sdl=0 vncdisplay=3 import os, re arch = os.uname()[4] if re.search('64', arch): arch_libdir = 'lib64' else: arch_libdir = 'lib' device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' I have search on the web, but do not find a solution. Is it a bug, or the problem of my configuration file? Regards, Yueqiang --------------050707030709000802030704 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Hi All:
    I'm sorry to re-post the email. I do not get any response from xen-user mail list.
    the platform is on  Xen 4.0.1 with Intel(R) Core(TM) i7 CPU . when I create HVM domain, I found an error:
sudo xm create winxp.cfg

[2010-11-23 17:00:24 4993] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=1
[2010-11-23 17:00:24 4993] DEBUG (XendDomainInfo:2416) No device model
[2010-11-23 17:00:24 4993] DEBUG (XendDomainInfo:2418) Releasing devices
[2010-11-23 17:00:24 4993] ERROR (XendDomainInfo:106) Domain construction failed
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", line 104, in create
    vm.start()
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", line 469, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", line 2912, in _initDomain
    raise VmError(str(exn))
VmError: (38, 'Function not implemented')


the configuration file is:
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'

memory = 1024
vcpus=1
name = "winxp"

disk = ['file:/hvm/winxp.img,ioemu:hda,w',
        'file:/hvm/winxp/winxp-pro.iso,ioemu:hdc:cdrom,r']

vif = [ 'type=ioemu, bridge=virbr0' ]
usbdevice='tablet'

on_poweroff = 'destroy'
on_reboot = 'destroy'
on_crash = 'destroy'

boot='d'
vnc=1
sdl=0

vncdisplay=3

import os, re
arch = os.uname()[4]
if re.search('64', arch):
   arch_libdir = 'lib64'
else:
   arch_libdir = 'lib'
   device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'

I have search on the web, but do not find a solution. Is it a bug, or the problem of my configuration file?

Regards,

Yueqiang --------------050707030709000802030704-- --===============1320595527== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1320595527==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Xen 4.0.1 creates HVM error Date: Wed, 24 Nov 2010 10:33:33 +0000 Message-ID: References: <4CEC6F7F.3060409@phdis.smu.edu.sg> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4CEC6F7F.3060409@phdis.smu.edu.sg> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: yueqiang , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org There are all sorts of things this could be really. Perhaps a version mismatch between toolstack and hypervisor? On 24/11/2010 01:50, "yueqiang" wrote: > Hi All: > I'm sorry to re-post the email. I do not get any response from xen-user > mail list. > the platform is on Xen 4.0.1 with Intel(R) Core(TM) i7 CPU . when I > create HVM domain, I found an error: > sudo xm create winxp.cfg > > [2010-11-23 17:00:24 4993] DEBUG (XendDomainInfo:3053) > XendDomainInfo.destroy: domid=1 > [2010-11-23 17:00:24 4993] DEBUG (XendDomainInfo:2416) No device model > [2010-11-23 17:00:24 4993] DEBUG (XendDomainInfo:2418) Releasing devices > [2010-11-23 17:00:24 4993] ERROR (XendDomainInfo:106) Domain construction > failed > Traceback (most recent call last): > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", > line 104, in create > vm.start() > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", > line 469, in start > XendTask.log_progress(31, 60, self._initDomain) > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendTask.py", line > 209, in log_progress > retval = func(*args, **kwds) > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", > line 2912, in _initDomain > raise VmError(str(exn)) > VmError: (38, 'Function not implemented') > > > the configuration file is: > kernel = "/usr/lib/xen/boot/hvmloader" > builder='hvm' > > memory = 1024 > vcpus=1 > name = "winxp" > > disk = ['file:/hvm/winxp.img,ioemu:hda,w', > 'file:/hvm/winxp/winxp-pro.iso,ioemu:hdc:cdrom,r'] > > vif = [ 'type=ioemu, bridge=virbr0' ] > usbdevice='tablet' > > on_poweroff = 'destroy' > on_reboot = 'destroy' > on_crash = 'destroy' > > boot='d' > vnc=1 > sdl=0 > > vncdisplay=3 > > import os, re > arch = os.uname()[4] > if re.search('64', arch): > arch_libdir = 'lib64' > else: > arch_libdir = 'lib' > device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' > > I have search on the web, but do not find a solution. Is it a bug, or the > problem of my configuration file? > > Regards, > > Yueqiang > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel From mboxrd@z Thu Jan 1 00:00:00 1970 From: yueqiang Subject: Re: Xen 4.0.1 creates HVM error Date: Wed, 24 Nov 2010 20:11:13 +0800 Message-ID: <4CED00E1.3050204@phdis.smu.edu.sg> References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 2010-11-24 18:33, Keir Fraser wrote: > There are all sorts of things this could be really. Perhaps a version > mismatch between toolstack and hypervisor? > But I can run PV model domu. Is there other problem related to HVM? yueqiang > On 24/11/2010 01:50, "yueqiang" wrote: > >> Hi All: >> I'm sorry to re-post the email. I do not get any response from xen-user >> mail list. >> the platform is on Xen 4.0.1 with Intel(R) Core(TM) i7 CPU . when I >> create HVM domain, I found an error: >> sudo xm create winxp.cfg >> >> [2010-11-23 17:00:24 4993] DEBUG (XendDomainInfo:3053) >> XendDomainInfo.destroy: domid=1 >> [2010-11-23 17:00:24 4993] DEBUG (XendDomainInfo:2416) No device model >> [2010-11-23 17:00:24 4993] DEBUG (XendDomainInfo:2418) Releasing devices >> [2010-11-23 17:00:24 4993] ERROR (XendDomainInfo:106) Domain construction >> failed >> Traceback (most recent call last): >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", >> line 104, in create >> vm.start() >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", >> line 469, in start >> XendTask.log_progress(31, 60, self._initDomain) >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendTask.py", line >> 209, in log_progress >> retval = func(*args, **kwds) >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py", >> line 2912, in _initDomain >> raise VmError(str(exn)) >> VmError: (38, 'Function not implemented') >> >> >> the configuration file is: >> kernel = "/usr/lib/xen/boot/hvmloader" >> builder='hvm' >> >> memory = 1024 >> vcpus=1 >> name = "winxp" >> >> disk = ['file:/hvm/winxp.img,ioemu:hda,w', >> 'file:/hvm/winxp/winxp-pro.iso,ioemu:hdc:cdrom,r'] >> >> vif = [ 'type=ioemu, bridge=virbr0' ] >> usbdevice='tablet' >> >> on_poweroff = 'destroy' >> on_reboot = 'destroy' >> on_crash = 'destroy' >> >> boot='d' >> vnc=1 >> sdl=0 >> >> vncdisplay=3 >> >> import os, re >> arch = os.uname()[4] >> if re.search('64', arch): >> arch_libdir = 'lib64' >> else: >> arch_libdir = 'lib' >> device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' >> >> I have search on the web, but do not find a solution. Is it a bug, or the >> problem of my configuration file? >> >> Regards, >> >> Yueqiang >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel > > . > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Goirand Subject: Re: Xen 4.0.1 creates HVM error Date: Fri, 26 Nov 2010 13:23:02 +0800 Message-ID: <4CEF4436.1090505@debian.org> References: <4CED00E1.3050204@phdis.smu.edu.sg> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4CED00E1.3050204@phdis.smu.edu.sg> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: yueqiang Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 11/24/2010 08:11 PM, yueqiang wrote: > On 2010-11-24 18:33, Keir Fraser wrote: >> There are all sorts of things this could be really. Perhaps a version >> mismatch between toolstack and hypervisor? >> > But I can run PV model domu. Is there other problem related to HVM? > >>From where did you install Xen? If in Debian, there's a xen-qemu-dm package to install... Thomas