[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] libxl: error: libxl_dm.c:1212:device_model_spawn_outcome: domain 1 device model: spawn failed (rc=-3) when creating VM using upstream qemu on Xen 4.2.



Thanks, Marc.

I changed disk line to 

disk = [ 'phy:/dev/VolGroup/lv_home,hda,w', 'file:/usr/src/Windows2003.iso,hdc:cdrom,r' ]

but same error occur.

libxl: error: libxl_dm.c:1212:device_model_spawn_outcome: domain 1 device model: spawn failed (rc=-3)
libxl: error: libxl_qmp.c:641:libxl__qmp_initialize: Connection error: No such file or directory


I guess installation of upstream-qemu is wrong. 
I refer to http://wiki.xen.org/wiki/QEMU_Upstream .

1. Download 'upstream-qemu'
2. ./configure --enable-xen --enable-spice --target-list=i386-softmmu --extra-cflags="-I/usr/share/doc/xen-licenses-4.2.0/tools/include -I/usr/share/doc/xen-licenses-4.2.0/tools/libxc -I/usr/share/doc/xen-licenses-4.2.0/tools/xenstore" --extra-ldflags="-L$/usr/share/doc/xen-licenses-4.2.0/tools/libxc -L$path_to_xen_source/tools/xenstore"
3. make

How should I do to get more information about this error.
Thanks.


2012/11/15 Marc Tousignant <myrdhn@xxxxxxxxx>
Your disk line looks wrong.
Here is mine for comparison:
disk = [ 'phy:/dev/md3,hda,w', 'file:/media/System ISOs/en_windows_server_2008_r2_standard_enterprise_datacenter_web_x64_dvd_x15-50365.iso,hdc:cdrom,r' ]

MarcT

On Wed, Nov 14, 2012 at 1:59 AM, HyoCheol Kim <hchkim@xxxxxxxxx> wrote:
Hello,

I've tested Xen 4.2 on CentOS 6.3(x86_x64)
My goal is to connect to Windows VM on Xen 4.2 using SPICE client.

Installation of Xen 4.2 was successful. 
Also creating Windows VM using qemu-dm and connecting to it using VNC are OK.
But qemu-dm can't support SPICE, so I installed upstream qemu. (http://wiki.xen.org/wiki/QEMU_Upstream)
I also installed spice-server and spice-protocol as newest version.
Configuration and installation seems like successful. But not work with error message above.

=========================================================================================
[root@localhost xen]# xl -f create Windows2003.cfg 
Parsing config from Windows2003.cfg
xc: info: VIRTUAL MEMORY ARRANGEMENT:
  Loader:        0000000000100000->000000000019bae4
  TOTAL:         0000000000000000->000000003c000000
  ENTRY ADDRESS: 0000000000100000
xc: info: PHYSICAL MEMORY ALLOCATION:
  4KB PAGES: 0x0000000000000200
  2MB PAGES: 0x00000000000001df
  1GB PAGES: 0x0000000000000000
libxl: error: libxl_dm.c:1212:device_model_spawn_outcome: domain 1 device model: spawn failed (rc=-3)
libxl: error: libxl_qmp.c:641:libxl__qmp_initialize: Connection error: No such file or directory
Daemon running with PID 3912
=========================================================================================

My Windows2003.cfg file is above.

builder = "hvm"
name = "Windows2003"
memory = 1024

>
>
>

vcpus = 2
disk = [ '/dev/VolGroup/lv_home,,hda', '/usr/src/Windows2003.iso,,hdc,cdrom' ]

# using qemu-dm is success to work.
#device_model='qemu-dm'
device_model_version='qemu-xen'
device_model_override='/usr/src/qemu/i386-softmmu/qemu-system-i386'
#device_model_override='/usr/src/qemu/x86_64-softmmu/qemu-system-x86_64'

boot="dc"
acpi=1
xen_platform_pci=1
xiridian=1
stdvga=1

#sdl = 1
vnc =0
vncconsole=0
vncpasswd=''
vncunused=1
vnclisten='0.0.0.0'
vncdisplay=3

spice=1
spicehost='0.0.0.0'
spiceport=6000
spicedisable_ticketing=1
spicepasswd = 'password'


Thanks in advance.

Daniel.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.