* Spice in unstable
@ 2012-02-08 22:23 Fantu
2012-02-09 1:02 ` Todd Deshane
0 siblings, 1 reply; 8+ messages in thread
From: Fantu @ 2012-02-08 22:23 UTC (permalink / raw)
To: xen-devel
I see there is spice support in unstable, seem to be a very good vdi and we
want use it on server with xen but I not found documentation about in xen,
only about kvm.
Someone can tell me anything about it please?
Thanks for any reply and sorry for bad english.
--
View this message in context: http://xen.1045712.n5.nabble.com/Spice-in-unstable-tp5467907p5467907.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Spice in unstable
2012-02-08 22:23 Spice in unstable Fantu
@ 2012-02-09 1:02 ` Todd Deshane
2012-02-09 8:57 ` Ian Campbell
0 siblings, 1 reply; 8+ messages in thread
From: Todd Deshane @ 2012-02-09 1:02 UTC (permalink / raw)
To: Fantu; +Cc: xen-devel
On Wed, Feb 8, 2012 at 5:23 PM, Fantu <fantonifabio@tiscali.it> wrote:
> I see there is spice support in unstable, seem to be a very good vdi and we
> want use it on server with xen but I not found documentation about in xen,
> only about kvm.
usage here:
http://xen.markmail.org/search/?q=spice#query:spice%20list%3Acom.xensource.lists.xen-changelog+page:1+mid:gx7eglq7wdvfmtxc+state:results
Thanks,
Todd
--
Todd Deshane
http://www.linkedin.com/in/deshantm
http://blog.xen.org/
http://wiki.xen.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Spice in unstable
2012-02-09 1:02 ` Todd Deshane
@ 2012-02-09 8:57 ` Ian Campbell
2012-02-10 13:47 ` Fantu
0 siblings, 1 reply; 8+ messages in thread
From: Ian Campbell @ 2012-02-09 8:57 UTC (permalink / raw)
To: Todd Deshane; +Cc: xen-devel@lists.xensource.com, Fantu
On Thu, 2012-02-09 at 01:02 +0000, Todd Deshane wrote:
> On Wed, Feb 8, 2012 at 5:23 PM, Fantu <fantonifabio@tiscali.it> wrote:
> > I see there is spice support in unstable, seem to be a very good vdi and we
> > want use it on server with xen but I not found documentation about in xen,
> > only about kvm.
>
> usage here:
>
> http://xen.markmail.org/search/?q=spice#query:spice%20list%3Acom.xensource.lists.xen-changelog+page:1+mid:gx7eglq7wdvfmtxc+state:results
>
The syntax is also documented in the xl.cfg(5) manpage which is
available online at
http://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html#spice_graphics_support
I suspect it needs device_model_version="qemu-xen" (i.e. upstream qemu)
as well.
Ian.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Spice in unstable
2012-02-09 8:57 ` Ian Campbell
@ 2012-02-10 13:47 ` Fantu
2012-02-10 17:35 ` Stefano Stabellini
0 siblings, 1 reply; 8+ messages in thread
From: Fantu @ 2012-02-10 13:47 UTC (permalink / raw)
To: xen-devel
I have try Precise PV on HVM with qemu upstream and spice but not work.
Dom0 is Squeeze 6.0.4 64 bit with kernel 2.6.32-5-xen-amd64 version
2.6.32-41, xen from xen-unstable.hg changeset 24709:8ba7ae0b070b
DomU xl configuration file:
----------------------------------------------------------------
name='PRECISEHVM'
builder="hvm"
memory=1024
vcpus=2
hap=1
pae=1
acpi=1
apic=1
nx=1
vif=['bridge=xenbr0']
#vfb=['vnc=1,vncunused=1,vnclisten="0.0.0.0",keymap="it"']
disk=['/mnt/vm/disks/PRECISEHVM.disk1.xm,raw,xvda,rw',
'/dev/scd0,raw,xvdb,ro,cdrom']
boot='c'
xen_platform_pci=1
device_model_version="qemu-xen"
vnc=1
vncunused=1
vnclisten="0.0.0.0"
keymap="it"
stdvga=0
sdl=0
spice=1
spicehost="0.0.0.0"
spiceport=6000
spicepasswd="test"
----------------------------------------------------------------
Without spice the domU starts but vnc is unusable and network doesn't work.
With spice it doesn't start:
xl create /etc/xen/PRECISEHVM.cfg
Parsing config file /etc/xen/PRECISEHVM.cfg
xc: info: VIRTUAL MEMORY ARRANGEMENT:
Loader: 0000000000100000->000000000019bc70
TOTAL: 0000000000000000->000000003f800000
ENTRY ADDRESS: 0000000000100000
xc: info: PHYSICAL MEMORY ALLOCATION:
4KB PAGES: 0x0000000000000200
2MB PAGES: 0x00000000000001fb
1GB PAGES: 0x0000000000000000
libxl: error: libxl_qmp.c:636:libxl__qmp_initialize: Connection error: No
such file or directory
libxl: error: libxl_exec.c:200:libxl__wait_for_offspring: Device Model died
during startup
libxl: error: libxl_create.c:602:do_domain_create: device model did not
start: -1
And on log:
qemu-system-i386: -spice
port=6000,tls-port=0,addr=0.0.0.0,password=test,agent-mouse=on: there is no
option group "spice"
spice is not supported by this qemu build.
Is there something wrong on configuration file or are there some bugs?
Thanks for any reply and sorry for bad english.
--
View this message in context: http://xen.1045712.n5.nabble.com/Spice-in-unstable-tp5467907p5472477.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Spice in unstable
2012-02-10 13:47 ` Fantu
@ 2012-02-10 17:35 ` Stefano Stabellini
2012-02-10 22:01 ` Fantu
0 siblings, 1 reply; 8+ messages in thread
From: Stefano Stabellini @ 2012-02-10 17:35 UTC (permalink / raw)
To: Fantu; +Cc: xen-devel@lists.xensource.com
On Fri, 10 Feb 2012, Fantu wrote:
> I have try Precise PV on HVM with qemu upstream and spice but not work.
> Dom0 is Squeeze 6.0.4 64 bit with kernel 2.6.32-5-xen-amd64 version
> 2.6.32-41, xen from xen-unstable.hg changeset 24709:8ba7ae0b070b
>
> DomU xl configuration file:
> ----------------------------------------------------------------
> name='PRECISEHVM'
> builder="hvm"
> memory=1024
> vcpus=2
> hap=1
> pae=1
> acpi=1
> apic=1
> nx=1
> vif=['bridge=xenbr0']
> #vfb=['vnc=1,vncunused=1,vnclisten="0.0.0.0",keymap="it"']
> disk=['/mnt/vm/disks/PRECISEHVM.disk1.xm,raw,xvda,rw',
> '/dev/scd0,raw,xvdb,ro,cdrom']
You shouldn't use xvda/xvdb in HVM guests config file unless you want a
PV only disk, that is OK for a secondary disk but you are not going to
be able to boot from it.
So at least your primary disk should be hda.
> boot='c'
> xen_platform_pci=1
> device_model_version="qemu-xen"
> vnc=1
> vncunused=1
> vnclisten="0.0.0.0"
> keymap="it"
> stdvga=0
> sdl=0
> spice=1
> spicehost="0.0.0.0"
> spiceport=6000
> spicepasswd="test"
> ----------------------------------------------------------------
>
> Without spice the domU starts but vnc is unusable and network doesn't work.
Those are quite a serious issues, what kind of guest is this?
I suggest you try to get network and vnc to work without spice before
proceeding any further.
I use upstream qemu with xen rather regularly and I haven't seen these
problems. Could you please post your qemu logs? Does the guest work
correctly with the old qemu?
> With spice it doesn't start:
> xl create /etc/xen/PRECISEHVM.cfg
> Parsing config file /etc/xen/PRECISEHVM.cfg
> xc: info: VIRTUAL MEMORY ARRANGEMENT:
> Loader: 0000000000100000->000000000019bc70
> TOTAL: 0000000000000000->000000003f800000
> ENTRY ADDRESS: 0000000000100000
> xc: info: PHYSICAL MEMORY ALLOCATION:
> 4KB PAGES: 0x0000000000000200
> 2MB PAGES: 0x00000000000001fb
> 1GB PAGES: 0x0000000000000000
> libxl: error: libxl_qmp.c:636:libxl__qmp_initialize: Connection error: No
> such file or directory
> libxl: error: libxl_exec.c:200:libxl__wait_for_offspring: Device Model died
> during startup
> libxl: error: libxl_create.c:602:do_domain_create: device model did not
> start: -1
>
> And on log:
> qemu-system-i386: -spice
> port=6000,tls-port=0,addr=0.0.0.0,password=test,agent-mouse=on: there is no
> option group "spice"
> spice is not supported by this qemu build.
>
> Is there something wrong on configuration file or are there some bugs?
> Thanks for any reply and sorry for bad english.
Your QEMU build doesn't support spice. You might have to compile
upstream QEMU yourself, passing the right option to configure to enable
spice.
The QEMU tree is cloned in tools/qemu-xen-dir by default, give a look at
tools/Makefile:subdir-all-qemu-xen-dir to see the configure options used
by the Xen build system.
Something like this should work:
./configure --enable-xen --target-list=i386-softmmu --extra-cflags="-I$(XEN_ROOT)/tools/include -I$(XEN_ROOT)/tools/libxc -I$(XEN_ROOT)/tools/xenstore" --extra-ldflags="-L$(XEN_ROOT)/tools/libxc -L$(XEN_ROOT)/tools/xenstore" --disable-kvm --enable-spice
provided that you have all the dependencies to build qemu+spice on your
system and that XEN_ROOT points to the xen-unstable directory.
I have to warn you that spice requires lots of libraries in order to
compile succesfully, see:
http://people.adams.edu/~cdmiller/posts/Ubuntu-Lucid-server-qemu-kvm-spice/
Once you manage to do this, maybe you would like to volunteer to update
the wiki with more detailed instructions on how to compile and use SPICE
on Xen? ;-)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Spice in unstable
2012-02-10 17:35 ` Stefano Stabellini
@ 2012-02-10 22:01 ` Fantu
2012-02-13 14:30 ` Stefano Stabellini
0 siblings, 1 reply; 8+ messages in thread
From: Fantu @ 2012-02-10 22:01 UTC (permalink / raw)
To: xen-devel
I have redo...
Install precise daily build 64 bit with this config:
------------------------------------------------------------------------------
name='PRECISEHVM'
builder="hvm"
memory=1024
vcpus=2
hap=1
pae=1
acpi=1
apic=1
nx=1
vif=['bridge=xenbr0']
#vfb=['vnc=1,vncunused=1,vnclisten="0.0.0.0",keymap="it"']
disk=['/mnt/vm/disks/PRECISEHVM.disk1.xm,raw,hda,rw',
'/dev/scd0,raw,hdb,ro,cdrom']
boot='d'
xen_platform_pci=1
device_model_version='qemu-xen'
vnc=1
vncunused=1
vnclisten="0.0.0.0"
keymap="it"
stdvga=0
sdl=0
------------------------------------------------------------------------------
Vnc is working but have refresh heavy lag and and some partial refresh
problem (I not know good english for explain good), , is near unusable,
network now seem to be working.
After I change boot to 'c', vnc same problem.
Nothing on log about, and vnc on PV domU work correctly.
I tried also with qemu traditional and the mouse is not working (is lock on
center), performance problem persist but there aren't partial image refresh
problem.
About spice need compiled as default, I'll try to do the patch for the
missing parts in build and xl and xen requirements in readme.
Thanks for any reply and sorry for bad english.
--
View this message in context: http://xen.1045712.n5.nabble.com/Spice-in-unstable-tp5467907p5473881.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Spice in unstable
2012-02-10 22:01 ` Fantu
@ 2012-02-13 14:30 ` Stefano Stabellini
2012-02-14 9:48 ` Fantu
0 siblings, 1 reply; 8+ messages in thread
From: Stefano Stabellini @ 2012-02-13 14:30 UTC (permalink / raw)
To: Fantu; +Cc: xen-devel@lists.xensource.com
On Fri, 10 Feb 2012, Fantu wrote:
> I have redo...
>
> Install precise daily build 64 bit with this config:
> ------------------------------------------------------------------------------
> name='PRECISEHVM'
I take you are talking about Ubuntu 12.04?
> builder="hvm"
> memory=1024
> vcpus=2
> hap=1
> pae=1
> acpi=1
> apic=1
> nx=1
> vif=['bridge=xenbr0']
> #vfb=['vnc=1,vncunused=1,vnclisten="0.0.0.0",keymap="it"']
> disk=['/mnt/vm/disks/PRECISEHVM.disk1.xm,raw,hda,rw',
> '/dev/scd0,raw,hdb,ro,cdrom']
> boot='d'
> xen_platform_pci=1
> device_model_version='qemu-xen'
> vnc=1
> vncunused=1
> vnclisten="0.0.0.0"
> keymap="it"
> stdvga=0
> sdl=0
> ------------------------------------------------------------------------------
> Vnc is working but have refresh heavy lag and and some partial refresh
> problem (I not know good english for explain good), , is near unusable,
> network now seem to be working.
>
> After I change boot to 'c', vnc same problem.
Try to disable Compiz in the guest and/or set stdvga=1 in the config
file. Does it help?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Spice in unstable
2012-02-13 14:30 ` Stefano Stabellini
@ 2012-02-14 9:48 ` Fantu
0 siblings, 0 replies; 8+ messages in thread
From: Fantu @ 2012-02-14 9:48 UTC (permalink / raw)
To: xen-devel
Thanks for reply, stdvga=1 seem to solve some of the more important problem
but not all and not performance/refresh, also try with add videoram=16 but
not improve.
I tried also with compiz disabled and gnome classic instead of unity but
nothing changed.
--
View this message in context: http://xen.1045712.n5.nabble.com/Spice-in-unstable-tp5467907p5481990.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-02-14 9:48 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-08 22:23 Spice in unstable Fantu
2012-02-09 1:02 ` Todd Deshane
2012-02-09 8:57 ` Ian Campbell
2012-02-10 13:47 ` Fantu
2012-02-10 17:35 ` Stefano Stabellini
2012-02-10 22:01 ` Fantu
2012-02-13 14:30 ` Stefano Stabellini
2012-02-14 9:48 ` Fantu
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).