All of lore.kernel.org
 help / color / mirror / Atom feed
* Xen 4.0.1 creates HVM error
@ 2010-11-24  1:50 yueqiang
  2010-11-24 10:33 ` Keir Fraser
  0 siblings, 1 reply; 4+ messages in thread
From: yueqiang @ 2010-11-24  1:50 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1854 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 3152 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Xen 4.0.1 creates HVM error
  2010-11-24  1:50 Xen 4.0.1 creates HVM error yueqiang
@ 2010-11-24 10:33 ` Keir Fraser
  2010-11-24 12:11   ` yueqiang
  0 siblings, 1 reply; 4+ messages in thread
From: Keir Fraser @ 2010-11-24 10:33 UTC (permalink / raw)
  To: yueqiang, xen-devel

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" <yqcheng.2008@phdis.smu.edu.sg> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Xen 4.0.1 creates HVM error
  2010-11-24 10:33 ` Keir Fraser
@ 2010-11-24 12:11   ` yueqiang
  2010-11-26  5:23     ` Thomas Goirand
  0 siblings, 1 reply; 4+ messages in thread
From: yueqiang @ 2010-11-24 12:11 UTC (permalink / raw)
  To: Keir Fraser; +Cc: xen-devel

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"<yqcheng.2008@phdis.smu.edu.sg>  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
>
> .
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Xen 4.0.1 creates HVM error
  2010-11-24 12:11   ` yueqiang
@ 2010-11-26  5:23     ` Thomas Goirand
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Goirand @ 2010-11-26  5:23 UTC (permalink / raw)
  To: yueqiang; +Cc: xen-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-26  5:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-24  1:50 Xen 4.0.1 creates HVM error yueqiang
2010-11-24 10:33 ` Keir Fraser
2010-11-24 12:11   ` yueqiang
2010-11-26  5:23     ` Thomas Goirand

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.