All of lore.kernel.org
 help / color / mirror / Atom feed
From: David TECHER <davidtecher@yahoo.fr>
To: xen-devel@lists.xensource.com
Subject: Re : Re : Re : Re : Re : Re : Re : Re : Re : Re: Patches for VGA-Passthrough XEN 4.2 unstable
Date: Tue, 6 Dec 2011 14:28:39 -0800 (PST)	[thread overview]
Message-ID: <1323210509.34541.YahooMailNeo@web29813.mail.ird.yahoo.com> (raw)
In-Reply-To: <201112061619.56224.tobias.geiger@vido.info>


[-- Attachment #1.1: Type: text/plain, Size: 5561 bytes --]

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@n5.nabble.com>
À : David TECHER <davidtecher@yahoo.fr> 
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 
> 
> -- 
> View this message in context: 
> http://xen.1045712.n5.nabble.com/Patches-for-VGA-Passthrough-XEN-4-2-unsta
> ble-tp4406265p5051880.html Sent from the Xen - Dev mailing list archive at 
> Nabble.com. 
> 
> _______________________________________________ 
> Xen-devel mailing list 
> [hidden email] 
> http://lists.xensource.com/xen-devel

_______________________________________________ 
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-unstable-tp4406265p5053675.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

[-- Attachment #1.2: Type: text/html, Size: 9543 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

  parent reply	other threads:[~2011-12-06 22:28 UTC|newest]

Thread overview: 102+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-18 11:47 Patches for VGA-Passthrough XEN 4.2 unstable JavMV
2011-05-23 10:48 ` Stefano Stabellini
2011-05-23 12:35   ` Pasi Kärkkäinen
2011-05-23 12:49     ` Pavel Mateja
2011-05-30 10:53       ` JavMV
2011-05-31 12:10         ` JavMV
2011-06-23 19:18           ` JavMV
2011-06-27 15:33             ` Konrad Rzeszutek Wilk
2011-06-27 15:42               ` JavMV
     [not found] ` <1312297850948-4659036.post@n5.nabble.com>
2011-08-30 10:21   ` komkon555
2011-08-30 13:55     ` JavMV
2011-08-30 15:00       ` komkon555
2011-08-30 16:06         ` JavMV
2011-08-31  8:16           ` komkon555
2011-08-31  8:38             ` Pasi Kärkkäinen
2011-08-31  8:49               ` komkon555
2011-08-31 12:56                 ` komkon555
2011-08-31 15:19                   ` Pasi Kärkkäinen
2011-09-05 14:02                     ` David TECHER
2011-09-06 11:57                       ` komkon555
2011-09-06 21:17                         ` Re : " David TECHER
2011-09-07  8:05                           ` komkon555
2011-09-07  9:45                             ` David TECHER
2011-09-07  9:52                             ` Re : " David TECHER
2011-09-07 12:26                               ` komkon555
2011-09-07 12:51                                 ` Re : " David TECHER
2011-09-07 18:52                                   ` Konrad Rzeszutek Wilk
2011-09-07 19:57                                     ` Re : " David TECHER
2011-09-09  1:45                                   ` Weidong Han
2011-09-09  8:07                                     ` komkon555
2011-09-07 13:25                                 ` komkon555
2011-09-07 13:54                                   ` JavMV
2011-09-07 14:22                                     ` Re : " David TECHER
2011-09-07 14:32                                       ` komkon555
2011-09-07 15:22                                         ` JavMV
2011-09-07 16:21                                           ` komkon555
2011-09-07 16:25                                           ` Re : " David TECHER
2011-09-09  7:54                                           ` komkon555
2011-09-09 12:29                                             ` JavMV
2011-09-09 13:28                                             ` Pasi Kärkkäinen
2011-09-09 16:09                                               ` Wei Huang
2011-09-09 19:56                                             ` Re : " David TECHER
2011-09-10 10:27                                               ` Pasi Kärkkäinen
2011-09-21 13:44                                         ` JavMV
2011-09-21 13:56                                           ` komkon555
2011-09-21 14:08                                             ` JavMV
2011-09-21 14:24                                               ` JavMV
2011-09-21 14:32                                               ` komkon555
2011-09-21 14:40                                                 ` komkon555
2011-09-21 14:47                                                   ` komkon555
2011-09-21 14:52                                                     ` JavMV
2011-09-21 15:13                                                       ` Re : " David TECHER
2011-09-22 12:15                                                         ` JavMV
2011-09-22 12:45                                                           ` komkon555
2011-09-22 12:55                                                             ` JavMV
2011-09-22 17:41                                                               ` JavMV
2011-09-22 18:27                                                           ` Pasi Kärkkäinen
2011-09-22 21:54                                                             ` JavMV
2011-09-23 11:34                                                               ` JavMV
2011-09-23 14:00                                                                 ` JavMV
2011-09-23 14:52                                                                   ` JavMV
2011-09-23 15:12                                                                     ` komkon555
2011-09-23 17:21                                                                   ` Pasi Kärkkäinen
2011-10-15 10:00                                                                     ` David TECHER
2011-10-26 11:54                                                                       ` Zoltan Hubai
2011-10-26 13:35                                                                         ` Re : " David TECHER
2011-10-27  5:58                                                                           ` Zoltan Hubai
2011-10-27 10:14                                                                             ` Re : " David TECHER
2011-12-05 22:26                                                                               ` n4rC0t1C
2011-12-06 11:22                                                                                 ` Re : " David TECHER
2011-12-06 12:04                                                                                   ` n4rC0t1C
2011-12-06 13:57                                                                                     ` Re : " David TECHER
2011-12-06 15:19                                                                                       ` Tobias Geiger
2011-12-06 15:56                                                                                         ` Re : " David TECHER
2011-12-06 22:28                                                                                         ` David TECHER [this message]
2011-12-07 11:01                                                                                           ` n4rC0t1C
2011-12-07 11:44                                                                                           ` Tobias Geiger
2011-12-10  8:12                                                                                   ` Sythrar
2011-12-10 12:29                                                                                     ` n4rC0t1C
2011-12-13 21:03                                                                                       ` Sythrar
2011-12-14  9:43                                                                                         ` Tobias Geiger
2011-12-14 13:37                                                                                           ` n4rC0t1C
2012-02-16 13:38                                                                                           ` Jamesffs
2012-02-17  8:34                                                                                             ` Tobias Geiger
2012-02-17 11:32                                                                                               ` Jamesffs
2012-02-17 16:19                                                                                                 ` Tobias Geiger
2012-02-20 11:55                                                                                                   ` Jamesffs
2012-02-20 12:16                                                                                                     ` Jamesffs
2012-02-20 13:32                                                                                                       ` Tobias Geiger
2011-12-10 12:29                                                                                     ` n4rC0t1C
2011-09-09 11:31 ` Liwei
2011-09-09 16:17   ` Wei Huang
2011-09-09 16:42     ` Liwei
2011-09-12 12:49   ` Tobias Geiger
2012-01-05 23:15   ` romihs
2012-01-06  1:13     ` n4rC0t1C
2012-01-06 14:23       ` Re : " David TECHER
2012-01-06 16:22         ` -+= Lta =+-
2012-01-06 16:34           ` n4rC0t1C
2012-01-06 16:51             ` -+= Lta =+-
2012-01-06 16:58               ` Re : " David TECHER
2012-01-06 17:00                 ` David TECHER

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1323210509.34541.YahooMailNeo@web29813.mail.ird.yahoo.com \
    --to=davidtecher@yahoo.fr \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.