xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* 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.
@ 2012-11-14  1:45 HyoCheol Kim
  0 siblings, 0 replies; 2+ messages in thread
From: HyoCheol Kim @ 2012-11-14  1:45 UTC (permalink / raw)
  To: xen-devel


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

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

on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"

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.

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

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

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

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

* Re: 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.
@ 2012-11-14 14:47 Fabio Fantoni
  0 siblings, 0 replies; 2+ messages in thread
From: Fabio Fantoni @ 2012-11-14 14:47 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1.1: Type: text/plain, Size: 3940 bytes --]

> 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) 
> <http://wiki.xen.org/wiki/QEMU_Upstream%29>
>
> 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 #1.1.2: Type: text/html, Size: 5386 bytes --]

[-- Attachment #1.2: Firma crittografica S/MIME --]
[-- Type: application/pkcs7-signature, Size: 4510 bytes --]

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

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

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

end of thread, other threads:[~2012-11-14 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-14  1:45 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 HyoCheol Kim
  -- strict thread matches above, loose matches on Subject: below --
2012-11-14 14:47 Fabio Fantoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).