allow VM configuration with both sdl=1 and vnc=1
Hi Stefano,
HVM can't boot up with sdl this week. I found it's caused by one section of this patch (see below). With it Qemu exits because of unrecognized option (-sdl). I'm not familiar with vfb. Can you check it's necessary?
Thanks,
xiaowei
tools/python/xen/xend/image.py Fri Mar 06 19:13:23 2009 +0000 renamed from tools/python/xen/xend/image.py Fri Mar 06 19:10:29 2009 +0000 +4 -3
@@ -335,11 +336,12 @@ class ImageHandler: if int(vnc_config.get('vncunused', 1)) != 0: ret.append('-vncunused') - elif has_sdl: - # SDL is default in QEMU. + if has_sdl: + ret.append('-sdl') if int(vmConfig['platform'].get('opengl', opengl)) != 1 : ret.append('-disable-opengl') - else: + + if not has_sdl and not has_vnc : ret.append('-nographic') if int(vmConfig['platform'].get('monitor', 0)) != 0:
Quoted 4 lines · Xiaowei
Hi Stefano,
HVM can't boot up with sdl this week. I found it's caused by one section of this patch (see below). With it Qemu exits because of unrecognized option (-sdl). I'm not familiar with vfb. Can you check it's necessary?
I think I understand what the problem is: the patch you quoted requires the DisplayState patch series applied to qemu-xen in order to work correctly.
Unfortunately the DisplayState patch series has not been applied yet, but this patch has been.
Keir, I think it is better to temporary revert this patch, unless Ian is going to apply the series soon.
Stefano Stabellini writes ("Re: [Xen-devel] [PATCH] allow VM configuration with both sdl=1 and vnc=1"):
Quoted 2 lines
Keir, I think it is better to temporary revert this patch, unless Ian is going to apply the series soon.
I'm hoping to do the DisplayState patches today.
Ian.