Skip to contentSkip to conversation

Porting spice to xen

DISCUSSION ZhouPeng 2 participants 5 messages Apr 7, 2011 – Apr 9, 2011

lore
Share & tools
lore

ZhouPeng

author
#0 lore raw

Hi all,

We have tried to port spice to Xen (Xen 4.0.1, Dom0 kernel 2.6.18). The current porting allows basic spice run for xen-fv.

Now We are trying to port the qxl component, but it's difficult because of the big difference between xen-qemu and upstream qemu. If you enable the qxl device in our current porting(do it by setting 'qxl=1' in xm config file), you are most likely to get a mess screen. :(

So any help in qxl porting will be much appreciated.

Our work is shared here: http://code.google.com/p/spice4xen/

It's not be a good way to port spice to xen-qemu because of tremendous difference. But before the Xen with upstream-qemu supported has been released and runs stable, it may be a choice.

Best,
--
Zhou Peng
Operating System Technology Group
Institute of Software, the Chinese Academy of Sciences (ISCAS)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 11 lines · ZhouPeng

Hi all,

We have tried to port spice to Xen (Xen 4.0.1, Dom0 kernel 2.6.18). The current porting allows basic spice run for xen-fv.

Now We are trying to port the qxl component, but it's difficult because of the big difference between xen-qemu and upstream qemu. If you enable the qxl device in our current porting(do it by setting 'qxl=1' in xm config file), you are most likely to get a mess screen. :(

Quoted 7 lines

So any help in qxl porting will be much appreciated.

Our work is shared here: http://code.google.com/p/spice4xen/

It's not be a good way to port spice to xen-qemu because of tremendous difference. But before the Xen with upstream-qemu supported has been released and runs stable, it may be a choice.

I think that porting spice and qxl to the current qemu-xen tree is not worth the effort, considering that we are very close to having xen support in upstream qemu right now.
Also if you don't want to wait for xen support to go upstream in qemu you can checkout Anthony Perard's git qemu branch and work directly on it:

git://xenbits.xen.org/people/aperard/qemu-dm.git qemu-dm-v12

author
#2 lore raw

2011/4/7 Stefano Stabellini <[email protected]>

Quoted 16 lines · ZhouPeng
Quoted 15 lines

Hi all,

We have tried to port spice to Xen (Xen 4.0.1, Dom0 kernel 2.6.18). The current porting allows basic spice run for xen-fv.

Now We are trying to port the qxl component, but it's difficult because of the big difference between xen-qemu and upstream qemu. If you enable the qxl device in our current porting(do it by setting 'qxl=1' in xm config file), you are most likely to get a mess screen. :(

So any help in qxl porting will be much appreciated.

Our work is shared here: http://code.google.com/p/spice4xen/

Quoted 8 lines
Quoted 3 lines

It's not be a good way to port spice to xen-qemu because of tremendous difference. But before the Xen with upstream-qemu supported has been released and runs stable, it may be a choice.

I think that porting spice and qxl to the current qemu-xen tree is not worth the effort, considering that we are very close to having xen support in upstream qemu right now.

Good news. How long will it be released?

Also if you don't want to wait for xen support to go upstream in qemu

Quoted 5 lines

you can checkout Anthony Perard's git qemu branch and work directly on it:

git://xenbits.xen.org/people/aperard/qemu-dm.git qemu-dm-v12

Signature · 4 lines
Zhou Peng
Operating System Technology Group
Institute of Software, the Chinese Academy of Sciences (ISCAS)
<[email protected]>

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
Quoted 6 lines · ZhouPeng

I think that porting spice and qxl to the current qemu-xen tree is not worth the effort, considering that we are very close to having xen support in upstream qemu right now.


  Good news. How long will it be released?

It should be almost a matter of days now.
If I were you I would start working on Anthony's tree because it is very similar to what is going to look like qemu upstream after the patch series is accepted.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#4 lore raw

I will have a try of Anthony's tree.
Thank you, Stefano Stabellini.

2011/4/8 Stefano Stabellini <[email protected]>

Quoted 12 lines · ZhouPeng
Quoted 6 lines

I think that porting spice and qxl to the current qemu-xen tree is not worth the effort, considering that we are very close to having xen support in upstream qemu right now.

Good news. How long will it be released?

It should be almost a matter of days now.
If I were you I would start working on Anthony's tree because it is very similar to what is going to look like qemu upstream after the patch series is accepted.

Signature · 4 lines
Zhou Peng
Operating System Technology Group
Institute of Software, the Chinese Academy of Sciences (ISCAS)
<[email protected]>

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel