[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re : Re : Re : Re : Re : Re : Re : Re : Re : Re: Patches for VGA-Passthrough XEN 4.2 unstable



Hi David,

i tried it also (reboot DomU) and to my surprise it didnt crash anymore! :)

BUT the passed through Card in DomU has very decreased Performance after the 
reboot - i guess that has someting to do with what Allen Kay mentions in his 
slides here: http://www.linux-kvm.org/wiki/images/b/be/2011-forum-%24graphics-
direct-assignment.pdf (Slide 11) ?!

@Allen : i hope you dont mind me setting you CC here 

Greetings!
Tobias


Am Dienstag, 6. Dezember 2011, 23:28:39 schrieb David TECHER:
> Tobias,
> 
> When I restart my domU, my domU freezes (the boot screen of Windows XP is
> frozen with blue progression bar). Only my dom0 is available.
> 
> David.
> 
> 
> 
> ________________________________
>  De : Tobias Geiger [via Xen] <ml-node+s1045712n5052398h36@xxxxxxxxxxxxx>
> À : David TECHER <davidtecher@xxxxxxxx>
> Envoyé le : Mardi 6 Décembre 2011 16h21
> Objet : Re: Re : Re : Re : Re : Re : Re : Re : Re : Re: Patches for
> VGA-Passthrough XEN 4.2 unstable
> 
> 
> Hello,
> 
> glad to hear it works for you!
> 
> As i run a similar setup, perhaps you can share your experience regarding
> DomU-Reboot with a VGA Card passed through to it: Does a reboot work, i.e.
> does the passed-through VGA Card work after a DomU reboot?
> 
> My hole System (DomU + Dom0) freezes after a reboot of DomU (exaclty then,
> when the passed-through VGA Card is accessed...), therefore the question.
> 
> Thanks for your info!
> Greetings
> Tobias
> 
> Am Dienstag, 6. Dezember 2011, 14:57:30 schrieb David TECHER:
> > Hi
> > 
> > Thanks for these informations. I am on Debian. So it could be usefull for
> > Ubuntu users.
> > 
> > Thanks.
> > 
> > David
> > 
> > 
> > 
> > ________________________________
> >  De : n4rC0t1C <[hidden email]>
> > À : [hidden email]
> > Envoyé le : Mardi 6 Décembre 2011 13h04
> > Objet : Re: [Xen-devel] Re : Re : Re : Re : Re : Re : Re : Re: Patches
> > for VGA-Passthrough XEN 4.2 unstable
> > 
> > Iep I used your last patches, (your website it's at the top of my
> > bookmarks), and they apply to xen-unstable rev. 24341 as well (which i'm
> > using).
> > 
> > I forgot to mention that I had to make a couple of fix to xen tree, cause
> > it wasn't compiling on my system due to  "error: format not a string
> > literal and no format arguments":
> > 
> > 
> > --- /usr/src/xen-unstable.hg-rev-24341-460gtx/tools/libxl/libxl_create.c
> > +++ /usr/src/xen-unstable.hg-rev-24341-460gtx/tools/libxl/libxl_create.c
> > @@ -462,7 +462,7 @@
> >      path = libxl__xs_libxl_path(gc, domid);
> >      path = libxl__sprintf(gc, "%s/dm-version", path);
> >      return libxl__xs_write(gc, XBT_NULL, path, libxl__strdup(gc,
> > -    
> > libxl_device_model_version_to_string(dm_info->device_model_version)));
> > +    
> > libxl_device_model_version_to_string(dm_info->device_model_version)),"%s"
> > ); }
> > 
> > static int do_domain_create(libxl__gc *gc, libxl_domain_config *d_config,
> > 
> > 
> > --- /usr/src/xen-unstable.hg-rev-24341-460gtx/tools/libxl/libxl_device.c
> > +++ /usr/src/xen-unstable.hg-rev-24341-460gtx/tools/libxl/libxl_device.c
> > @@ -516,7 +516,7 @@
> >          for (j = 0; j < num_devs; j++) {
> >              path = libxl__sprintf(gc,
> > "/local/domain/%d/device/%s/%s/backend",
> >                                    domid, kinds[i], devs[j]);
> > -            path = libxl__xs_read(gc, XBT_NULL, libxl__sprintf(gc,
> > path)); +            path = libxl__xs_read(gc, XBT_NULL,
> > libxl__sprintf(gc, path,"%s"));
> >              if (path && libxl__parse_backend_path(gc, path, &dev) == 0)
> > { dev.domid = domid;
> >                  dev.kind = kind;
> > 
> > and an due to an argument missing:
> > 
> > --- /usr/src/xen-unstable.hg-rev-24341-460gtx/tools/libxl/libxl_dom.c
> > +++ /usr/src/xen-unstable.hg-rev-24341-460gtx/tools/libxl/libxl_dom.c
> > @@ -625,7 +625,7 @@
> >          break;
> >      }
> >      case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN:
> > -        fd2 = open(filename, O_WRONLY | O_CREAT | O_TRUNC);
> > +        fd2 = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0644);
> >          if (fd2 < 0) {
> >              LIBXL__LOG_ERRNO(ctx, LIBXL__LOG_ERROR,
> >                               "Unable to create a QEMU save file\n");
> > 
> > As far as I know those doesn't break anything, but dont take too
> > seriously, i'm not an experienced developer :)
> > 
> > 
> > Forgot 2:
> > Since I'm using an ubuntu kernel, the xen support is not integrated, but
> > you need to add xen modules at your inittrd file. I did this by adding
> > those:
> > 
> > xen-pciback passthrough=1
> > xen-blkback
> > xenfs
> > xen-netback
> > pci-stub
> > 
> > to /etc/xen/initramfs-tools/modules and the issuing update-initramfs.
> > 
> > In the future, I'll try to boot a linux domU, right now I'm still smiling
> > cause I can fully wipe my Windows installation from the hard disk. And
> > I'm sure that in future Win7 will be supported too.
> > 
> > Thanks again David and everyone,
> > Ivo
> 
> _______________________________________________
> Xen-devel mailing list
> [hidden email]
> http://lists.xensource.com/xen-devel
> 
> 
> ________________________________
> 
> If you reply to this email, your message will be added to the discussion
> below:http://xen.1045712.n5.nabble.com/Patches-for-VGA-Passthrough-XEN-4-2
> -unstable-tp4406265p5052398.html To unsubscribe from Patches for
> VGA-Passthrough XEN 4.2 unstable, click here. NAML
> 
> --
> View this message in context:
> http://xen.1045712.n5.nabble.com/Patches-for-VGA-Passthrough-XEN-4-2-unsta
> ble-tp4406265p5053675.html Sent from the Xen - Dev mailing list archive at
> Nabble.com.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.