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

Re: [Xen-devel] 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.


  • To: xen-devel <xen-devel@xxxxxxxxxxxxx>
  • From: Fabio Fantoni <fantonifabio@xxxxxxxxxx>
  • Date: Wed, 14 Nov 2012 15:47:51 +0100
  • Delivery-date: Wed, 14 Nov 2012 14:48:22 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

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.

Hi, is also my goal have spice working on xen, is over one year that I'm testing it.
Now the main problem for me is a qemu crashes when running spice + qxl.
Start trying build with internal qemu upstream instead of external one (I did the same), see patch below and remove on domU cfg the qemudm override:

diff -r 10feb0933708 -r 2a3a5cf9d593 Config.mk
--- a/Config.mk    lun ott 29 15:08:56 2012 +0100
+++ b/Config.mk    ven nov 02 10:33:55 2012 +0100
@@ -202,12 +202,12 @@
 SEABIOS_UPSTREAM_URL ?= http://xenbits.xen.org/git-http/seabios.git
 else
 OVMF_UPSTREAM_URL ?= git://xenbits.xen.org/ovmf.git
-QEMU_UPSTREAM_URL ?= git://xenbits.xen.org/qemu-upstream-unstable.git
-SEABIOS_UPSTREAM_URL ?= git://xenbits.xen.org/seabios.git
+QEMU_UPSTREAM_URL ?= git://git.qemu.org/qemu.git
+SEABIOS_UPSTREAM_URL ?= git://code.coreboot.org/seabios.git
 endif
 OVMF_UPSTREAM_REVISION ?= b0855f925c6e2e0b21fbb03fab4b5fb5b6876871
 QEMU_UPSTREAM_REVISION ?= master
-SEABIOS_UPSTREAM_TAG ?= rel-1.6.3.2
+SEABIOS_UPSTREAM_TAG ?= master
 # Sun Mar 11 09:27:07 2012 -0400
 # Update version to 1.6.3.2
 
diff -r 10feb0933708 -r 2a3a5cf9d593 tools/Makefile
--- a/tools/Makefile    lun ott 29 15:08:56 2012 +0100
+++ b/tools/Makefile    ven nov 02 10:33:55 2012 +0100
@@ -199,6 +199,7 @@
         --bindir=$(LIBEXEC) \
         --datadir=$(SHAREDIR)/qemu-xen \
         --disable-kvm \
+        --enable-spice \
         --python=$(PYTHON) \
         $(IOEMU_CONFIGURE_CROSS); \
     $(MAKE) all

Attachment: smime.p7s
Description: Firma crittografica S/MIME

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

 


Rackspace

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