HyoCheol Kim
2012-Nov-14 06:59 UTC
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.
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. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Marc Tousignant
2012-Nov-14 16:25 UTC
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.
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@gmail.com> 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 > > 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. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
HyoCheol Kim
2012-Dec-06 06:25 UTC
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.
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@gmail.com>> 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@gmail.com> 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 >> >> 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. >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users