All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Fantoni <fantonifabio@tiscali.it>
To: xen-devel <xen-devel@lists.xen.org>
Subject: 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.
Date: Wed, 14 Nov 2012 15:47:51 +0100	[thread overview]
Message-ID: <50A3AF17.4090701@tiscali.it> (raw)


[-- 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

             reply	other threads:[~2012-11-14 14:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-14 14:47 Fabio Fantoni [this message]
  -- strict thread matches above, loose matches on Subject: below --
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50A3AF17.4090701@tiscali.it \
    --to=fantonifabio@tiscali.it \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.