xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* COLO Xen patch v12 - Unable to start virtual machine
@ 2016-03-24 10:22 Alexis RIES
  2016-03-24 13:57 ` Wei Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Alexis RIES @ 2016-03-24 10:22 UTC (permalink / raw)
  To: xen-devel


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

I have managed to compile Xen, the kernel, COLO, following the 
information in this thread.
http://lists.xenproject.org/archives/html/xen-devel/2016-02/msg03507.html

Github branche : changlox/colo_v12
https://github.com/Pating/xen/tree/changlox/colo_v12

Xen (COLO version) is now compiled and installed, the kernel patched and 
network cards are configured as in the documentation below:
http://wiki.xen.org/wiki/COLO_-_Coarse_Grain_Lock_Stepping


When I try to start a virtual machine, I receive this error message:

[root@xen1 ~]# xl create /var/virtualStore/test/test.cfg
Parsing config from /var/virtualStore/test/test.cfg
libxl: warning: libxl_dm.c:1447:libxl__build_device_model_args_new: 
Could not find user xen-qemuuser-shared, starting QEMU as root
libxl: error: libxl_device.c:963:device_backend_callback: unable to add 
device with path /local/domain/0/backend/vif/3/0
libxl: error: libxl_create.c:1443:domcreate_attach_vtpms: unable to add 
nic devices
libxl: error: libxl_device.c:963:device_backend_callback: unable to 
remove device with path /local/domain/0/backend/vif/3/0
libxl: error: libxl.c:1638:devices_destroy_cb: libxl__devices_destroy 
failed for 3
libxl: error: libxl.c:1565:libxl__destroy_domid: non-existant domain 3
libxl: error: libxl.c:1523:domain_destroy_callback: unable to destroy 
guest with domid 3
libxl: error: libxl.c:1452:domain_destroy_cb: destruction of domain 3 failed

When I commented the network line in the virtual machine configuration 
file, it works correctly.

I tried with or without COLO in the virtual machine configuration file, 
without success.

Attached, the virtual machine configuration file.

Someone an idea for this problem?

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

[-- Attachment #2: testmachine.cfg --]
[-- Type: text/plain, Size: 924 bytes --]

builder='hvm'
memory = 2048
vcpus=2
cpus=["2", "3"]
name = "hvm_nopv_colo"

#disk = [ 'format=raw,devtype=disk,acces=w,vdev=hda,backendtype=qdisk,colo,colo-params=10.0.2.2:9000:exportname=qdisk1,active-disk=/mnt/ramfs/active_disk.img,hidden-disk=/mnt/ramfs/hidden_disk.img,target=/var/virtualStore/test/XenGuest1.img' ]
disk = [ 'file:/var/virtualStore/test/XenGuest1.img,hda,w', 'file:/var/virtualStore/iso/windows7.iso,hdc:cdrom,r' ]

vif = [ 'mac=00:16:4f:00:00:11, bridge=br0, model=virtio-net, forwarddev=eth1' ]
#vif = [ 'mac=00:16:4f:00:00:11, bridge=br0' ]

#-----------------------------------------------------------------------------
# boot on floppy (a), hard disk (c), Network (n) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
boot="c"
sdl=0
vnc=1
vnclisten='0.0.0.0'
vncunused = 1
stdvga = 0
serial='pty'
apic=1
apci=1
pae=1
extid=0
keymap="en-us"
localtime=1
hpet=1
usbdevice='tablet'
xen_platform_pci=0

[-- Attachment #3: 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:[~2016-03-24 13:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-24 10:22 COLO Xen patch v12 - Unable to start virtual machine Alexis RIES
2016-03-24 13:57 ` Wei Liu

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).