Hi, Fabio <div><br></div><div>Thank you for your advice! I have successfully added the patch to xen-4.2.0 and set the parameters as you said.</div><div><br></div><div>It works and the client seems to be better than before.</div>
<div><br></div><div>Still, there is a little problem that the screen is upside down when the win7 started, exactly the moment the four colorful blocks appeared.</div><div><br></div><div>After that, the client is stable and everything is OK. Have you run into the same problem?</div>
<div><br></div><div>huqian</div><div><br>
<br><div class="gmail_quote">2012/11/20 Fabio Fantoni <span dir="ltr"><<a href="mailto:fabio.fantoni@heliman.it" target="_blank">fabio.fantoni@heliman.it</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Il 20/11/2012 09:29, Qian Hu ha
      scritto:<br>
    </div><div><div>
    <blockquote type="cite">Hi,
      <div><br>
      </div>
      <div>I have tried your patch with xen-4.2.0, but it shows "patch
        unexpected ends in middle of line" at the end.</div>
      <div><br>
      </div>
      <div>Is there any problem with that?</div>
      <div><br>
      </div>
      <div>
        I can still compile xen and try to add
        "device_model_args=["-device","qxl-vga"]" in the config file,
        but it didn't work </div>
      <div><br>
      </div>
      <div>with command "xl". The error message is as below, and the log
        says "RAMBlock "vga.vram" already registered, abort!"</div>
      <div><br>
      </div>
      <div>Did I miss something?</div>
      <div><br>
      </div>
      <div>Thank you!</div>
      <div><br>
      </div>
      <div>----------------------error message-------------------------</div>
      <div>
        <div>Parsing config from win7.cfg</div>
        <div>xc: info: VIRTUAL MEMORY ARRANGEMENT:</div>
        <div>  Loader:        0000000000100000->000000000019bbc4</div>
        <div>  TOTAL:         0000000000000000->0000000038000000</div>
        <div>  ENTRY ADDRESS: 0000000000100000</div>
        <div>xc: info: PHYSICAL MEMORY ALLOCATION:</div>
        <div>  4KB PAGES: 0x0000000000000200</div>
        <div>  2MB PAGES: 0x00000000000001bf</div>
        <div>  1GB PAGES: 0x0000000000000000</div>
        <div>libxl: error: libxl_dm.c:1217:device_model_spawn_outcome:
          domain 2 device model: spawn failed (rc=-3)</div>
        <div>libxl: error: libxl_qmp.c:641:libxl__qmp_initialize:
          Connection error: Connection refused</div>
        <div>Daemon running with PID 4468</div>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
        <div class="gmail_quote">2012/11/13 Fabio Fantoni <span dir="ltr"><<a href="mailto:fabio.fantoni@heliman.it" target="_blank">fabio.fantoni@heliman.it</a>></span><br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              Hi, everyone!<br>
              <br>
              I am doing research on remote connect with Xen. My host is
              Fedora 14 and my<br>
              guest is win7.<br>
              <br>
              I have installed spice package and now I can connect to my
              guest by spice<br>
              client.<br>
              <br>
              Now I want to use QXL, but I don't know if it is supported
              by the spice in<br>
              xen-4.2.0.<br>
              <br>
              Could anyone help me?<br>
              <br>
              Thank you!<br>
              <br>
              huqian<br>
            </blockquote>
            QXL support in xen is planned for 4.3, you can add manually
            the actual patch for add it, see attachment.<br>
            I tried it many times, months ago was working but xorg on
            linux domU not started and on windows domU had blu screen
            refered to qxl driver, recently starting domU with spice and
            qxl caused qemu crash with this error on log:<br>
            (/usr/sbin/xl:3463): Spice-CRITICAL **:
            red_memslots.c:123:get_virt: slot_id 194 too big,
            addr=c2c2c2c2c2c2c2c2<br>
            <br>
            Some details on one of my latest test: <a href="http://lists.xen.org/archives/html/xen-devel/2012-10/msg01820.html" target="_blank">http://lists.xen.org/archives/html/xen-devel/2012-10/msg01820.html</a><br>
            Already reported 2 times (on xen) but no reply, I not know
            if is xen, qemu and/or spice problem.<br>
            Is now a year I try to have spice with qxlrunning on xen, I
            have done numerous tests and reports, some bugs/changes on
            xen and qemu have been made, but are not yet sufficient to
            have qxl functioning as of kvm:(<br>
            If someone solve this problem can tell me how please?<br>
            Thanks for any reply and sorry for bad english<br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote></div></div>
    "patch unexpected ends in middle of line" at the end is not a
    problem, you can continue to build xen, about xl configuration file
    remove device_model_args, videoram, set vnc=0, qxl=1 and other spice
    parameters you need
  </div>

</blockquote></div><br></div>