kevin.zhang@octlink.com
2013-Jun-27 02:06 UTC
SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
Hi all, These days I installed xen 4.3 unstable from source and recompiled qemu upstream with spice support. After xl create , the windows domU started successfully and spice client can visit the VDI. However, it display blue screen before entering the windows welcome screen. Is it a bug in current upstream qemu support? My domU configuration file is: builder = 'hvm' memory = '1024' device_model_version = 'qemu-xen' device_model_override = '/usr/src/qemu-dm/i386-softmmu/qemu-system-i386' disk = [ 'tap2:vhd:/srv/win7_noDriver,sda,w'] vif = ['bridge=xenbr0'] boot='cd' vcpus=4 name = 'UserVM' usbdevice='tablet' vnc=1 vnclisten="0.0.0.0" vncdisplay=1 vncunused = 0 #spice=1 #spicehost='0.0.0.0' #spiceport=6000 #spicedisable_ticketing=1 #device_model_args_hvm = [ '-vga', 'qxl' ] videoram = 128 apic=1 pae=1 Best Regards 北京信联云通科技有限责任公司 Beijing Octopus link Co. Ltd 北京市朝阳区安定路1号奥体中心2266室 技术服务部 张 沛 手机:13683299045 Email: support@octlink.com _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
jacek burghardt
2013-Jun-27 02:26 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
So what drivers did you loaded ? Why is spice disabled in your configuration file. Also I don''t see qxl configured in your config file. On Wed, Jun 26, 2013 at 8:06 PM, kevin.zhang@octlink.com < kevin.zhang@octlink.com> wrote:> ** > Hi all, > > These days I installed xen 4.3 unstable from source and recompiled > qemu upstream with spice support. > After xl create , the windows domU started successfully and spice > client can visit the VDI. However, it display blue screen > before entering the windows welcome screen. > Is it a bug in current upstream qemu support? > My domU configuration file is: > > builder = ''hvm'' > memory = ''1024'' > device_model_version = ''qemu-xen'' > device_model_override = ''/usr/src/qemu-dm/i386-softmmu/qemu-system-i386'' > disk = [ ''tap2:vhd:/srv/win7_noDriver,sda,w''] > vif = [''bridge=xenbr0''] > boot=''cd'' > vcpus=4 > name = ''UserVM'' > usbdevice=''tablet'' > vnc=1 > vnclisten="0.0.0.0" > vncdisplay=1 > vncunused = 0 > #spice=1 > #spicehost=''0.0.0.0'' > #spiceport=6000 > #spicedisable_ticketing=1 > #device_model_args_hvm = [ ''-vga'', ''qxl'' ] > videoram = 128 > apic=1 > pae=1 > > ------------------------------ > Best Regards > 北京信联云通科技有限责任公司 > Beijing Octopus link Co. Ltd > 北京市朝阳区安定路1号奥体中心2266室 > 技术服务部 > 张 沛 > 手机:13683299045 > > Email: support@octlink.com**** > > _______________________________________________ > 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
jacek burghardt
2013-Jun-27 02:30 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
I forgot to add You need this stdvga=1 vga = "qxl" videoram=32 On Wed, Jun 26, 2013 at 8:26 PM, jacek burghardt <jaceksburghardt@gmail.com>wrote:> So what drivers did you loaded ? Why is spice disabled in your > configuration file. Also I don''t see qxl configured in your config file. > > > On Wed, Jun 26, 2013 at 8:06 PM, kevin.zhang@octlink.com < > kevin.zhang@octlink.com> wrote: > >> ** >> Hi all, >> >> These days I installed xen 4.3 unstable from source and recompiled >> qemu upstream with spice support. >> After xl create , the windows domU started successfully and spice >> client can visit the VDI. However, it display blue screen >> before entering the windows welcome screen. >> Is it a bug in current upstream qemu support? >> My domU configuration file is: >> >> builder = ''hvm'' >> memory = ''1024'' >> device_model_version = ''qemu-xen'' >> device_model_override = ''/usr/src/qemu-dm/i386-softmmu/qemu-system-i386'' >> disk = [ ''tap2:vhd:/srv/win7_noDriver,sda,w''] >> vif = [''bridge=xenbr0''] >> boot=''cd'' >> vcpus=4 >> name = ''UserVM'' >> usbdevice=''tablet'' >> vnc=1 >> vnclisten="0.0.0.0" >> vncdisplay=1 >> vncunused = 0 >> #spice=1 >> #spicehost=''0.0.0.0'' >> #spiceport=6000 >> #spicedisable_ticketing=1 >> #device_model_args_hvm = [ ''-vga'', ''qxl'' ] >> videoram = 128 >> apic=1 >> pae=1 >> >> ------------------------------ >> Best Regards >> 北京信联云通科技有限责任公司 >> Beijing Octopus link Co. Ltd >> 北京市朝阳区安定路1号奥体中心2266室 >> 技术服务部 >> 张 沛 >> 手机:13683299045 >> >> Email: support@octlink.com**** >> >> _______________________________________________ >> 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
kevin.zhang@octlink.com
2013-Jun-27 02:31 UTC
回复: Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
Hi , jacek, Thank you for your reply, spice=1 spicehost='0.0.0.0' spiceport=6000 spicedisable_ticketing=1 device_model_args_hvm = [ '-vga', 'qxl' ] videoram = 128 These lines were not comment out when I did my windows domU test. All drivers are xl default, and the windows domU did not have any pvdrivers installed. I noticed that if I use spice protocol, I have to use qxl vga option, or the qemu will exit with error. Best Regards 北京信联云通科技有限责任公司 Beijing Octopus link Co. Ltd 北京市朝阳区安定路1号奥体中心2266室 技术服务部 张 沛 手机:13683299045 Email: support@octlink.com 发件人: jacek burghardt 发送时间: 2013-06-27 10:26 收件人: kevin.zhang 抄送: xen-users 主题: Re: [Xen-users] SPICE with Upstream QEMU and qxl VGA cause Windows BSOD So what drivers did you loaded ? Why is spice disabled in your configuration file. Also I don't see qxl configured in your config file. On Wed, Jun 26, 2013 at 8:06 PM, kevin.zhang@octlink.com <kevin.zhang@octlink.com> wrote: Hi all, These days I installed xen 4.3 unstable from source and recompiled qemu upstream with spice support. After xl create , the windows domU started successfully and spice client can visit the VDI. However, it display blue screen before entering the windows welcome screen. Is it a bug in current upstream qemu support? My domU configuration file is: builder = 'hvm' memory = '1024' device_model_version = 'qemu-xen' device_model_override = '/usr/src/qemu-dm/i386-softmmu/qemu-system-i386' disk = [ 'tap2:vhd:/srv/win7_noDriver,sda,w'] vif = ['bridge=xenbr0'] boot='cd' vcpus=4 name = 'UserVM' usbdevice='tablet' vnc=1 vnclisten="0.0.0.0" vncdisplay=1 vncunused = 0 #spice=1 #spicehost='0.0.0.0' #spiceport=6000 #spicedisable_ticketing=1 #device_model_args_hvm = [ '-vga', 'qxl' ] videoram = 128 apic=1 pae=1 Best Regards 北京信联云通科技有限责任公司 Beijing Octopus link Co. Ltd 北京市朝阳区安定路1号奥体中心2266室 技术服务部 张 沛 手机:13683299045 Email: support@octlink.com _______________________________________________ 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
jacek burghardt
2013-Jun-27 02:40 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
I use spice with this stdvga=1 vga = "stdvga" videoram=32 shadow_memory = 16 I belive you need stdvga=0 videoram=128 device_model_args=["-device","qxl-vga"] or vga = "qxlvga" I know there is driver for qxl did you install it? On Wed, Jun 26, 2013 at 8:31 PM, kevin.zhang@octlink.com < kevin.zhang@octlink.com> wrote:> ** > Hi , jacek, > > Thank you for your reply, > spice=1 > spicehost=''0.0.0.0'' > spiceport=6000 > spicedisable_ticketing=1 > > device_model_args_hvm = [ ''-vga'', ''qxl'' ] > videoram = 128 > > These lines were not comment out when I did my windows domU test. All > drivers are xl default, and the windows domU did not have any pvdrivers > installed. > I noticed that if I use spice protocol, I have to use qxl vga option, > or the qemu will exit with error. > > ------------------------------ > Best Regards > 北京信联云通科技有限责任公司 > Beijing Octopus link Co. Ltd > 北京市朝阳区安定路1号奥体中心2266室 > 技术服务部 > 张 沛 > 手机:13683299045 > > Email: support@octlink.com**** > > *发件人:* jacek burghardt <jaceksburghardt@gmail.com> > *发送时间:* 2013-06-27 10:26 > *收件人:* kevin.zhang <kevin.zhang@octlink.com> > *抄送:* xen-users <xen-users@lists.xen.org> > *主题:* Re: [Xen-users] SPICE with Upstream QEMU and qxl VGA cause Windows > BSOD > So what drivers did you loaded ? Why is spice disabled in your > configuration file. Also I don''t see qxl configured in your config file. > > > On Wed, Jun 26, 2013 at 8:06 PM, kevin.zhang@octlink.com < > kevin.zhang@octlink.com> wrote: > >> ** >> Hi all, >> >> These days I installed xen 4.3 unstable from source and recompiled >> qemu upstream with spice support. >> After xl create , the windows domU started successfully and spice >> client can visit the VDI. However, it display blue screen >> before entering the windows welcome screen. >> Is it a bug in current upstream qemu support? >> My domU configuration file is: >> >> builder = ''hvm'' >> memory = ''1024'' >> device_model_version = ''qemu-xen'' >> device_model_override = ''/usr/src/qemu-dm/i386-softmmu/qemu-system-i386'' >> disk = [ ''tap2:vhd:/srv/win7_noDriver,sda,w''] >> vif = [''bridge=xenbr0''] >> boot=''cd'' >> vcpus=4 >> name = ''UserVM'' >> usbdevice=''tablet'' >> vnc=1 >> vnclisten="0.0.0.0" >> vncdisplay=1 >> vncunused = 0 >> #spice=1 >> #spicehost=''0.0.0.0'' >> #spiceport=6000 >> #spicedisable_ticketing=1 >> #device_model_args_hvm = [ ''-vga'', ''qxl'' ] >> videoram = 128 >> apic=1 >> pae=1 >> >> ------------------------------ >> Best Regards >> 北京信联云通科技有限责任公司 >> Beijing Octopus link Co. Ltd >> 北京市朝阳区安定路1号奥体中心2266室 >> 技术服务部 >> 张 沛 >> 手机:13683299045 >> >> Email: support@octlink.com**** >> >> _______________________________________________ >> 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
kevin.zhang@octlink.com
2013-Jun-27 02:42 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
Hi jacek, vga='qxl' is not recognized by xen 4.3 xl toolstack, the error message is: root@debian:/srv/vm1# xl create 1.cfg Parsing config from 1.cfg Unknown vga "qxl" specified Could you give me some suggestions on how to successfully use spice and qxl graphics on xen ? Thank you very much! Best Regards 发件人: jacek burghardt 发送时间: 2013-06-27 10:30 收件人: kevin.zhang 抄送: xen-users 主题: Re: [Xen-users] SPICE with Upstream QEMU and qxl VGA cause Windows BSOD I forgot to add You need this stdvga=1 vga = "qxl" videoram=32 On Wed, Jun 26, 2013 at 8:26 PM, jacek burghardt <jaceksburghardt@gmail.com> wrote: So what drivers did you loaded ? Why is spice disabled in your configuration file. Also I don't see qxl configured in your config file. On Wed, Jun 26, 2013 at 8:06 PM, kevin.zhang@octlink.com <kevin.zhang@octlink.com> wrote: Hi all, These days I installed xen 4.3 unstable from source and recompiled qemu upstream with spice support. After xl create , the windows domU started successfully and spice client can visit the VDI. However, it display blue screen before entering the windows welcome screen. Is it a bug in current upstream qemu support? My domU configuration file is: builder = 'hvm' memory = '1024' device_model_version = 'qemu-xen' device_model_override = '/usr/src/qemu-dm/i386-softmmu/qemu-system-i386' disk = [ 'tap2:vhd:/srv/win7_noDriver,sda,w'] vif = ['bridge=xenbr0'] boot='cd' vcpus=4 name = 'UserVM' usbdevice='tablet' vnc=1 vnclisten="0.0.0.0" vncdisplay=1 vncunused = 0 #spice=1 #spicehost='0.0.0.0' #spiceport=6000 #spicedisable_ticketing=1 #device_model_args_hvm = [ '-vga', 'qxl' ] videoram = 128 apic=1 pae=1 Best Regards 北京信联云通科技有限责任公司 Beijing Octopus link Co. Ltd 北京市朝阳区安定路1号奥体中心2266室 技术服务部 张 沛 手机:13683299045 Email: support@octlink.com _______________________________________________ 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
jacek burghardt
2013-Jun-27 02:51 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
Well i use only standard vga you should try it I belive qxl is ddisabled You can reverse http://xen.1045712.n5.nabble.com/xen-master-libxl-Remove-qxl-support-for-the-4-3-release-td5716574.htmland recompile http://lists.xen.org/archives/html/xen-devel/2013-02/msg01217.html On Wed, Jun 26, 2013 at 8:42 PM, kevin.zhang@octlink.com < kevin.zhang@octlink.com> wrote:> ** > Hi jacek, > > vga=''qxl'' is not recognized by xen 4.3 xl toolstack, the error > message is: > > root@debian:/srv/vm1# xl create 1.cfg > Parsing config from 1.cfg > Unknown vga "qxl" specified > > Could you give me some suggestions on how to successfully use spice > and qxl graphics on xen ? > Thank you very much! > > ------------------------------ > Best Regards > > *发件人:* jacek burghardt <jaceksburghardt@gmail.com> > *发送时间:* 2013-06-27 10:30 > *收件人:* kevin.zhang <kevin.zhang@octlink.com> > *抄送:* xen-users <xen-users@lists.xen.org> > *主题:* Re: [Xen-users] SPICE with Upstream QEMU and qxl VGA cause Windows > BSOD > I forgot to add > You need this > stdvga=1 > vga = "qxl" > videoram=32 > > > > On Wed, Jun 26, 2013 at 8:26 PM, jacek burghardt < > jaceksburghardt@gmail.com> wrote: > >> So what drivers did you loaded ? Why is spice disabled in your >> configuration file. Also I don''t see qxl configured in your config file. >> >> >> On Wed, Jun 26, 2013 at 8:06 PM, kevin.zhang@octlink.com < >> kevin.zhang@octlink.com> wrote: >> >>> ** >>> Hi all, >>> >>> These days I installed xen 4.3 unstable from source and >>> recompiled qemu upstream with spice support. >>> After xl create , the windows domU started successfully and spice >>> client can visit the VDI. However, it display blue screen >>> before entering the windows welcome screen. >>> Is it a bug in current upstream qemu support? >>> My domU configuration file is: >>> >>> builder = ''hvm'' >>> memory = ''1024'' >>> device_model_version = ''qemu-xen'' >>> device_model_override = ''/usr/src/qemu-dm/i386-softmmu/qemu-system-i386'' >>> disk = [ ''tap2:vhd:/srv/win7_noDriver,sda,w''] >>> vif = [''bridge=xenbr0''] >>> boot=''cd'' >>> vcpus=4 >>> name = ''UserVM'' >>> usbdevice=''tablet'' >>> vnc=1 >>> vnclisten="0.0.0.0" >>> vncdisplay=1 >>> vncunused = 0 >>> #spice=1 >>> #spicehost=''0.0.0.0'' >>> #spiceport=6000 >>> #spicedisable_ticketing=1 >>> #device_model_args_hvm = [ ''-vga'', ''qxl'' ] >>> videoram = 128 >>> apic=1 >>> pae=1 >>> >>> ------------------------------ >>> Best Regards >>> 北京信联云通科技有限责任公司 >>> Beijing Octopus link Co. Ltd >>> 北京市朝阳区安定路1号奥体中心2266室 >>> 技术服务部 >>> 张 沛 >>> 手机:13683299045 >>> >>> Email: support@octlink.com**** >>> >>> _______________________________________________ >>> 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
jacek burghardt
2013-Jun-27 04:56 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
I reversed patch and I was able to start xen with qxl On Wed, Jun 26, 2013 at 8:51 PM, jacek burghardt <jaceksburghardt@gmail.com>wrote:> Well i use only standard vga you should try it I belive qxl is ddisabled > You can reverse > http://xen.1045712.n5.nabble.com/xen-master-libxl-Remove-qxl-support-for-the-4-3-release-td5716574.htmland recompile > http://lists.xen.org/archives/html/xen-devel/2013-02/msg01217.html > > > On Wed, Jun 26, 2013 at 8:42 PM, kevin.zhang@octlink.com < > kevin.zhang@octlink.com> wrote: > >> ** >> Hi jacek, >> >> vga=''qxl'' is not recognized by xen 4.3 xl toolstack, the error >> message is: >> >> root@debian:/srv/vm1# xl create 1.cfg >> Parsing config from 1.cfg >> Unknown vga "qxl" specified >> >> Could you give me some suggestions on how to successfully use spice >> and qxl graphics on xen ? >> Thank you very much! >> >> ------------------------------ >> Best Regards >> >> *发件人:* jacek burghardt <jaceksburghardt@gmail.com> >> *发送时间:* 2013-06-27 10:30 >> *收件人:* kevin.zhang <kevin.zhang@octlink.com> >> *抄送:* xen-users <xen-users@lists.xen.org> >> *主题:* Re: [Xen-users] SPICE with Upstream QEMU and qxl VGA cause Windows >> BSOD >> I forgot to add >> You need this >> stdvga=1 >> vga = "qxl" >> videoram=32 >> >> >> >> On Wed, Jun 26, 2013 at 8:26 PM, jacek burghardt < >> jaceksburghardt@gmail.com> wrote: >> >>> So what drivers did you loaded ? Why is spice disabled in your >>> configuration file. Also I don''t see qxl configured in your config file. >>> >>> >>> On Wed, Jun 26, 2013 at 8:06 PM, kevin.zhang@octlink.com < >>> kevin.zhang@octlink.com> wrote: >>> >>>> ** >>>> Hi all, >>>> >>>> These days I installed xen 4.3 unstable from source and >>>> recompiled qemu upstream with spice support. >>>> After xl create , the windows domU started successfully and >>>> spice client can visit the VDI. However, it display blue screen >>>> before entering the windows welcome screen. >>>> Is it a bug in current upstream qemu support? >>>> My domU configuration file is: >>>> >>>> builder = ''hvm'' >>>> memory = ''1024'' >>>> device_model_version = ''qemu-xen'' >>>> device_model_override = ''/usr/src/qemu-dm/i386-softmmu/qemu-system-i386'' >>>> disk = [ ''tap2:vhd:/srv/win7_noDriver,sda,w''] >>>> vif = [''bridge=xenbr0''] >>>> boot=''cd'' >>>> vcpus=4 >>>> name = ''UserVM'' >>>> usbdevice=''tablet'' >>>> vnc=1 >>>> vnclisten="0.0.0.0" >>>> vncdisplay=1 >>>> vncunused = 0 >>>> #spice=1 >>>> #spicehost=''0.0.0.0'' >>>> #spiceport=6000 >>>> #spicedisable_ticketing=1 >>>> #device_model_args_hvm = [ ''-vga'', ''qxl'' ] >>>> videoram = 128 >>>> apic=1 >>>> pae=1 >>>> >>>> ------------------------------ >>>> Best Regards >>>> 北京信联云通科技有限责任公司 >>>> Beijing Octopus link Co. Ltd >>>> 北京市朝阳区安定路1号奥体中心2266室 >>>> 技术服务部 >>>> 张 沛 >>>> 手机:13683299045 >>>> >>>> Email: support@octlink.com**** >>>> >>>> _______________________________________________ >>>> 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
Dario Faggioli
2013-Jun-27 09:18 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
On gio, 2013-06-27 at 10:06 +0800, kevin.zhang@octlink.com wrote:> Hi all,Hi,> These days I installed xen 4.3 unstable from source and > recompiled qemu upstream with spice support. > After xl create , the windows domU started successfully and > spice client can visit the VDI. However, it display blue screen > before entering the windows welcome screen. > Is it a bug in current upstream qemu support? >Well, the basics of SPICE/qxl support should all be in Xen 4.3. However, there is a bug triggered by some, well, emulation issues (it''s a SSE instruction emulation and then communication with qemu, there''s a thread on xen-devel about this). That''s why we have that patch in the tree that jacek is talking about. In fact, the Xorg qxl driver was triggering right that situation, leading to a crash. So, officially, SPICE support is _not_ in 4.3, as that bug was discovered too late in the release cycle. It''s on the agenda already for 4.4, though. :-) However, since I think we''re talking about Windows, aren''t we?, if reverting the patch works for you, that would be a fine path to go, I guess... Perhaps the Windoes qxl driver does not use the critical SSE instruction. Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Dario Faggioli
2013-Jun-27 09:22 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
On mer, 2013-06-26 at 22:56 -0600, jacek burghardt wrote:> I reversed patch and I was able to start xen with qxl >Oh, really? And you''re using Windows too in such guest? Or, if not, are you able to start Xorg without qemu crashing? Can I also ask on what hardware? Thanks and Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Dario Faggioli
2013-Jun-27 09:35 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
On gio, 2013-06-27 at 11:18 +0200, Dario Faggioli wrote:> On gio, 2013-06-27 at 10:06 +0800, kevin.zhang@octlink.com wrote: > > Hi all, > Hi, > > > These days I installed xen 4.3 unstable from source and > > recompiled qemu upstream with spice support. > > After xl create , the windows domU started successfully and > > spice client can visit the VDI. However, it display blue screen > > before entering the windows welcome screen. > > Is it a bug in current upstream qemu support? > > > Well, the basics of SPICE/qxl support should all be in Xen 4.3. However, > there is a bug triggered by some, well, emulation issues (it''s a SSE > instruction emulation and then communication with qemu, there''s a thread > on xen-devel about this). > > That''s why we have that patch in the tree that jacek is talking about. > In fact, the Xorg qxl driver was triggering right that situation, > leading to a crash. > > So, officially, SPICE support is _not_ in 4.3, as that bug was > discovered too late in the release cycle. It''s on the agenda already for > 4.4, though. :-) >Actually, SPICE support is indeed there, it is _only_ qxl support that was causing the crash and that has been reverted by the said commit. Sorry for the mixup. :-P Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Lars Kurth
2013-Jun-27 11:18 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
Dario, George, would it be possible for somebody to take the information in this thread and create a wiki page with a valid config? I added a TODO entry for the next docs day, in case this doesn''t happen before. Lars On 27/06/2013 10:35, Dario Faggioli wrote:> On gio, 2013-06-27 at 11:18 +0200, Dario Faggioli wrote: >> On gio, 2013-06-27 at 10:06 +0800, kevin.zhang@octlink.com wrote: >>> Hi all, >> Hi, >> >>> These days I installed xen 4.3 unstable from source and >>> recompiled qemu upstream with spice support. >>> After xl create , the windows domU started successfully and >>> spice client can visit the VDI. However, it display blue screen >>> before entering the windows welcome screen. >>> Is it a bug in current upstream qemu support? >>> >> Well, the basics of SPICE/qxl support should all be in Xen 4.3. However, >> there is a bug triggered by some, well, emulation issues (it''s a SSE >> instruction emulation and then communication with qemu, there''s a thread >> on xen-devel about this). >> >> That''s why we have that patch in the tree that jacek is talking about. >> In fact, the Xorg qxl driver was triggering right that situation, >> leading to a crash. >> >> So, officially, SPICE support is _not_ in 4.3, as that bug was >> discovered too late in the release cycle. It''s on the agenda already for >> 4.4, though. :-) >> > Actually, SPICE support is indeed there, it is _only_ qxl support that > was causing the crash and that has been reverted by the said commit. > > Sorry for the mixup. :-P > > Dario > > > > _______________________________________________ > 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
Dario Faggioli
2013-Jun-27 11:39 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
On gio, 2013-06-27 at 12:18 +0100, Lars Kurth wrote:> Dario, George, > would it be possible for somebody to take the information in this > thread and create a wiki page with a valid config? >I believe it is possible, provided we get enough useful information, i.e., we have a real success report about using SPICE and qxl for Windows guests... Let''s see. Might be interesting to ask if Fabio would be up to it, as he probably knows this better than anyone else (for sure better than me :-D).> I added a TODO entry for the next docs day, in case this doesn''t > happen before. >Ok. Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
jacek burghardt
2013-Jun-27 12:28 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
I run server 2012 on qemu git. It seems to be working fine. It is bit slower but it maybe because changes to hard drive the whole cache paches. I never tested linux with it. On Thu, Jun 27, 2013 at 5:39 AM, Dario Faggioli <dario.faggioli@citrix.com>wrote:> On gio, 2013-06-27 at 12:18 +0100, Lars Kurth wrote: > > Dario, George, > > would it be possible for somebody to take the information in this > > thread and create a wiki page with a valid config? > > > I believe it is possible, provided we get enough useful information, > i.e., we have a real success report about using SPICE and qxl for > Windows guests... Let''s see. > > Might be interesting to ask if Fabio would be up to it, as he probably > knows this better than anyone else (for sure better than me :-D). > > > I added a TODO entry for the next docs day, in case this doesn''t > > happen before. > > > Ok. > > Regards, > Dario > > -- > <<This happens because I choose it to happen!>> (Raistlin Majere) > ----------------------------------------------------------------- > Dario Faggioli, Ph.D, http://about.me/dario.faggioli > Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) > > > _______________________________________________ > 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
Dario Faggioli
2013-Jun-27 13:08 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
On gio, 2013-06-27 at 06:28 -0600, jacek burghardt wrote:> I run server 2012 on qemu git. >Ok, thanks for sharing this info. :-) When you say ''qemu git'' you mean qemu-xen, i.e., our snapshot of qemu upstream, right? Or you really use what they currently have in the official qemu.org git tree?> It seems to be working fine. >Cool.> It is bit slower but it maybe because changes to hard drive the whole > cache paches. >Mmm... ''slower'' as compared to what, if I can ask?> I never tested linux with it. >Ok, that''s fine, it''s good to know that at least Windows works with qxl, without causing that SSE issues we''re seeing with Xorg. Actually, that''s why I''m asking all these question, to try to figure out what the functional configuration is, so that we can share it with others, and make sure we start with the right foot, when working on re-enabling qxl for everyone in 4.4. Thanks and Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
jacek burghardt
2013-Jun-27 13:12 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
I use qemu git . I also use 64 bit qemu with Xen. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
kevin.zhang@octlink.com
2013-Jun-28 02:11 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
Hi Dario, Though I had no enough time recompile xen unstable, I made the windows domU running successfully yesterday. I noticed that all windows domU image installed under traditional qemu-dm will have BSOD if switched to upstream qemu, even without qxl vga setting. My workaround is : Firstly boot windows domU image with traditional qemu-dm , install spice guest tools, Then, switch to upstream qemu with the same windows image, This time , windows domU will boot sucessfully. Is there any explanation on this problem? How can I directly boot old images with upstream qemu. Best Regards From: Dario Faggioli Date: 2013-06-27 17:35 To: kevin.zhang CC: xen-users; George Dunlap; PasiKärkkäinen Subject: Re: [Xen-users] SPICE with Upstream QEMU and qxl VGA cause Windows BSOD On gio, 2013-06-27 at 11:18 +0200, Dario Faggioli wrote:> On gio, 2013-06-27 at 10:06 +0800, kevin.zhang@octlink.com wrote: > > Hi all, > Hi, > > > These days I installed xen 4.3 unstable from source and > > recompiled qemu upstream with spice support. > > After xl create , the windows domU started successfully and > > spice client can visit the VDI. However, it display blue screen > > before entering the windows welcome screen. > > Is it a bug in current upstream qemu support? > > > Well, the basics of SPICE/qxl support should all be in Xen 4.3. However, > there is a bug triggered by some, well, emulation issues (it's a SSE > instruction emulation and then communication with qemu, there's a thread > on xen-devel about this). > > That's why we have that patch in the tree that jacek is talking about. > In fact, the Xorg qxl driver was triggering right that situation, > leading to a crash. > > So, officially, SPICE support is _not_ in 4.3, as that bug was > discovered too late in the release cycle. It's on the agenda already for > 4.4, though. :-) >Actually, SPICE support is indeed there, it is _only_ qxl support that was causing the crash and that has been reverted by the said commit. Sorry for the mixup. :-P Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Pasi Kärkkäinen
2013-Jun-28 06:08 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
On Fri, Jun 28, 2013 at 10:11:17AM +0800, kevin.zhang@octlink.com wrote:> Hi Dario** > > Though I had no enough time recompile xen unstable, I made the > windows domU running successfully yesterday. > I noticed that all windows domU image installed under traditional qemu-dm > will have BSOD if switched to upstream qemu, even without qxl vga setting. >Switching from qemu-traditional to upstream qemu is the same as switching the full motherboard on a physical computer, so a lot of devices will change. Windows doesn''t like that. So install Windows with upstream qemu. -- Pasi> My workaround is : > Firstly boot windows domU image with traditional qemu-dm , install > spice guest tools, > Then, switch to upstream qemu with the same windows image, > This time , windows domU will boot sucessfully. > Is there any explanation on this problem? How can I directly boot old > images with upstream qemu. > > > -------------------------------------------------------------------------- > > Best Regards > > From: [1]Dario Faggioli > Date: 2013-06-27 17:35 > To: [2]kevin.zhang > CC: [3]xen-users; [4]George Dunlap; [5]PasiKärkkäinen > Subject: Re: [Xen-users] SPICE with Upstream QEMU and qxl VGA cause > Windows BSOD > On gio, 2013-06-27 at 11:18 +0200, Dario Faggioli wrote: > > On gio, 2013-06-27 at 10:06 +0800, kevin.zhang@octlink.com wrote: > > > Hi all, > > Hi, > > > > > These days I installed xen 4.3 unstable from source and > > > recompiled qemu upstream with spice support. > > > After xl create , the windows domU started successfully and > > > spice client can visit the VDI. However, it display blue screen > > > before entering the windows welcome screen. > > > Is it a bug in current upstream qemu support? > > > > > Well, the basics of SPICE/qxl support should all be in Xen 4.3. However, > > there is a bug triggered by some, well, emulation issues (it''s a SSE > > instruction emulation and then communication with qemu, there''s a thread > > on xen-devel about this). > > > > That''s why we have that patch in the tree that jacek is talking about. > > In fact, the Xorg qxl driver was triggering right that situation, > > leading to a crash. > > > > So, officially, SPICE support is _not_ in 4.3, as that bug was > > discovered too late in the release cycle. It''s on the agenda already for > > 4.4, though. :-) > > > Actually, SPICE support is indeed there, it is _only_ qxl support that > was causing the crash and that has been reverted by the said commit. > > Sorry for the mixup. :-P > > Dario > > -- > <<This happens because I choose it to happen!>> (Raistlin Majere) > ----------------------------------------------------------------- > Dario Faggioli, Ph.D, http://about.me/dario.faggioli > Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) > > > > References > > Visible links > 1. mailto:raistlin@linux.it > 2. mailto:kevin.zhang@octlink.com > 3. mailto:xen-users@lists.xen.org > 4. mailto:George.Dunlap@eu.citrix.com > 5. mailto:pasik@iki.fi
George Dunlap
2013-Jun-28 09:44 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
On 28/06/13 07:08, Pasi Kärkkäinen wrote:> On Fri, Jun 28, 2013 at 10:11:17AM +0800, kevin.zhang@octlink.com wrote: >> Hi Dario** >> >> Though I had no enough time recompile xen unstable, I made the >> windows domU running successfully yesterday. >> I noticed that all windows domU image installed under traditional qemu-dm >> will have BSOD if switched to upstream qemu, even without qxl vga setting. >> > Switching from qemu-traditional to upstream qemu is the same as switching the > full motherboard on a physical computer, so a lot of devices will change. > Windows doesn''t like that. > > So install Windows with upstream qemu.What version of Windows are you running? Are you specifying any particular hardware in qemu? I did a small test where I installed several different versions of Windows (including, IIRC, XP, Win7, w2k3, and w2k8) on qemu-traditional and then upgraded to qemu-upstream. The only issue I had was when I had specified a network card available in qemu-traditional but not qemu-xen, and so when I switched the network card switched and Windows didn''t have the right driver installed. When I just went with the default network card everything worked fine. -George
kevin.zhang@octlink.com
2013-Jun-29 03:29 UTC
Re: SPICE with Upstream QEMU and qxl VGA cause Windows BSOD
Hi Dario, I made a test on 4.3.0-rc6, spice without qxl works well for win7 now, whileeven spice without qxl will cause qemu upstream crash before 4.3.0-rc6 . By the way , my self-compiled qemu upstream work well with qxl, it's really strange. However, I found another problem here: qemu-upstream cannot boot with a snapshot vhd disk, it's really upset. Best Regards From: Dario Faggioli Date: 2013-06-27 17:35 To: kevin.zhang CC: xen-users; George Dunlap; PasiKärkkäinen Subject: Re: [Xen-users] SPICE with Upstream QEMU and qxl VGA cause Windows BSOD On gio, 2013-06-27 at 11:18 +0200, Dario Faggioli wrote:> On gio, 2013-06-27 at 10:06 +0800, kevin.zhang@octlink.com wrote: > > Hi all, > Hi, > > > These days I installed xen 4.3 unstable from source and > > recompiled qemu upstream with spice support. > > After xl create , the windows domU started successfully and > > spice client can visit the VDI. However, it display blue screen > > before entering the windows welcome screen. > > Is it a bug in current upstream qemu support? > > > Well, the basics of SPICE/qxl support should all be in Xen 4.3. However, > there is a bug triggered by some, well, emulation issues (it's a SSE > instruction emulation and then communication with qemu, there's a thread > on xen-devel about this). > > That's why we have that patch in the tree that jacek is talking about. > In fact, the Xorg qxl driver was triggering right that situation, > leading to a crash. > > So, officially, SPICE support is _not_ in 4.3, as that bug was > discovered too late in the release cycle. It's on the agenda already for > 4.4, though. :-) >Actually, SPICE support is indeed there, it is _only_ qxl support that was causing the crash and that has been reverted by the said commit. Sorry for the mixup. :-P Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Spice works good with xen except qxl (for now), also vdagent and usbredirection works. About vdagent I posted the libxl patch for support it and for usbredirection I''ll post also. About qxl I retried it now on windows 7, with qxl driver have the same problem of very bad performance and random crash after some time, without qxl driver (as standard vga) working correctly (was already since last year). -- View this message in context: http://xen.1045712.n5.nabble.com/SPICE-with-Upstream-QEMU-and-qxl-VGA-cause-Windows-BSOD-tp5717206p5717316.html Sent from the Xen - User mailing list archive at Nabble.com.
Apparently Analagous Threads
- [PATCH v2] Handle xen_platform_pci=0 case
- [PATCHv2 0 of 2] Deal with IOMMU faults in softirq context.
- [PATCH 0 of 3] xen: sched_credit: fix tickling and add some tracing
- [PATCH v2 0/5] xl: allow for node-wise specification of vcpu pinning
- [OSSTest PATCH 0/2] MegaRAID SAS support and RebootTimeExtra documentation