xl.cfg: gfx_passthru documentation improvements
PATCH 1/1 xl.cfg: gfx_passthru documentation improvements
Hello,
xl.cfg.pod.5 documentation improvements:
- gfx_passthru: Document gfx_passthru makes the GPU become primary in the guest and other generic info about gfx_passthru.
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +37 -1
@@ -968,7 +968,43 @@ =item B<gfx_passthru=BOOLEAN> -Enable graphics device PCI passthrough. XXX which device is passed through ? +Enable graphics device PCI passthrough. This option makes the passthru +graphics card become primary graphics card in the VM, so the Qemu emulated +graphics adapter is disabled, and the VNC console for the VM won't have +any graphics output. All graphics output, including boot time Qemu BIOS +messages from the VM, will go to the physical outputs of the passed thru +physical graphics card. + +Graphics card PCI device to passthru is chosen with B<pci> option, +exactly in the same way as normal Xen PCI device passthru/assignment is done. +Note that gfx_passthru doesn't do any kind of sharing +of the GPU, so you can only assign the GPU to one single VM at a time. + +gfx_passthru also enables various legacy VGA memory ranges, BARs, MMIOs, +and ioports to be passed thru to the VM, since those are required +for correct operation of things like VGA BIOS, text mode, VBE, etc. + +Enabling gfx_passthru option also copies the physical graphics card +video bios to the guest memory, and executes the vbios in the guest +to get the graphics card initialized. + +Most graphics adapters require vendor specific tweaks for properly +working graphics passthru. Xen currently includes necessary tweaks +for Intel IGD (Integrated Graphics Device) GPUs. + +Support for AMD/Nvidia gfx_passthru is not yet merged to Xen, +but there are out-of-tree patches available. + +gfx_passthru is currently only supported with the qemu-xen-traditional +device-model. Upstream qemu-xen device-model currently doesn't have +support for gfx_passthru. + +Note that some graphics adapters (AMD/ATI cards, for example) don't +necessarily require gfx_passthru option, so you can use the normal +Xen PCI passthru to assign the graphics card as a secondary graphics card +to the VM. Qemu emulated graphics card stays as the primary graphics card, +and you get VNC output from the Qemu-emulated primary adapter. + =item B<nomigrate=BOOLEAN>
man/xl.cfg.pod.5 renamed from man/xl.cfg.pod.5.orig1 +37 -1
@@ -968,7 +968,43 @@ =item B<gfx_passthru=BOOLEAN> -Enable graphics device PCI passthrough. XXX which device is passed through ? +Enable graphics device PCI passthrough. This option makes the passthru +graphics card become primary graphics card in the VM, so the Qemu emulated +graphics adapter is disabled, and the VNC console for the VM won't have +any graphics output. All graphics output, including boot time Qemu BIOS +messages from the VM, will go to the physical outputs of the passed thru +physical graphics card. + +Graphics card PCI device to passthru is chosen with B<pci> option, +exactly in the same way as normal Xen PCI device passthru/assignment is done. +Note that gfx_passthru doesn't do any kind of sharing +of the GPU, so you can only assign the GPU to one single VM at a time. + +gfx_passthru also enables various legacy VGA memory ranges, BARs, MMIOs, +and ioports to be passed thru to the VM, since those are required +for correct operation of things like VGA BIOS, text mode, VBE, etc. + +Enabling gfx_passthru option also copies the physical graphics card +video bios to the guest memory, and executes the vbios in the guest +to get the graphics card initialized. + +Most graphics adapters require vendor specific tweaks for properly +working graphics passthru. Xen currently includes necessary tweaks +for Intel IGD (Integrated Graphics Device) GPUs. + +Support for AMD/Nvidia gfx_passthru is not yet merged to Xen, +but there are out-of-tree patches available. + +gfx_passthru is currently only supported with the qemu-xen-traditional +device-model. Upstream qemu-xen device-model currently doesn't have +support for gfx_passthru. + +Note that some graphics adapters (AMD/ATI cards, for example) don't +necessarily require gfx_passthru option, so you can use the normal +Xen PCI passthru to assign the graphics card as a secondary graphics card +to the VM. Qemu emulated graphics card stays as the primary graphics card, +and you get VNC output from the Qemu-emulated primary adapter. + =item B<nomigrate=BOOLEAN>
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 12 lines · Pasi Kärkkäinen
Hello,
xl.cfg.pod.5 documentation improvements:
-
gfx_passthru: Documentgfx_passthrumakes the GPU become primary in the guest and other generic info aboutgfx_passthru.Signed-off-by Pasi Kärkkäinen <[email protected]>
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 line 972
Quoted 6 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +2
-1@@ -968,7 +968,43 @@ =item B<gfx_passthru=BOOLEAN> -Enable graphics device PCI passthrough. XXX which device is passed through ? +Enable graphics device PCI passthrough. This option makes the passthru +graphics card become primary graphics card in the VM,
The option is slightly misnamed then I guess, a better name would have been gfx_passthru_primary? oh well, we are stuck with it now.
(Am I alone in thinking that "thru" is a horrible alternative to through?)
Quoted 7 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +6
-0so the Qemu emulated +graphics adapter is disabled, and the VNC console for the VM won't have +any graphics output. All graphics output, including boot time Qemu BIOS +messages from the VM, will go to the physical outputs of the passed thru +physical graphics card. + +Graphics card PCI device to passthru is chosen with B<pci> option,
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 line 988
Quoted 10 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +10
-0+exactly in the same way as normal Xen PCI device passthru/assignment is done. +Note that gfx_passthru doesn't do any kind of sharing +of the GPU, so you can only assign the GPU to one single VM at a time. + +gfx_passthru also enables various legacy VGA memory ranges, BARs, MMIOs, +and ioports to be passed thru to the VM, since those are required +for correct operation of things like VGA BIOS, text mode, VBE, etc. + +Enabling gfx_passthru option also copies the physical graphics card +video bios to the guest memory, and executes the vbios in the guest
"BIOS" and (I expect) "VBIOS"?
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 line 996
Quoted 8 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +8
-0+to get the graphics card initialized. + +Most graphics adapters require vendor specific tweaks for properly +working graphics passthru. Xen currently includes necessary tweaks +for Intel IGD (Integrated Graphics Device) GPUs. + +Support for AMD/Nvidia gfx_passthru is not yet merged to Xen, +but there are out-of-tree patches available.
If there is a comprehensive list of supported/not-supported devices on the wiki then I think a reference here would be more useful than these two brief paragraphs.
In particular the second isn't very useful without links and those tend to become out of date in docs IME, I would tend to omit this from here and instead include them in the wiki where they can be kept up to date (or better yet somebody could finally submit the patches for inclusion).
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 line 1009
Quoted 13 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +10
-0+gfx_passthru is currently only supported with the qemu-xen-traditional +device-model. Upstream qemu-xen device-model currently doesn't have +support for gfx_passthru. + +Note that some graphics adapters (AMD/ATI cards, for example) don't +necessarily require gfx_passthru option, so you can use the normal +Xen PCI passthru to assign the graphics card as a secondary graphics card +to the VM. Qemu emulated graphics card stays as the primary graphics card, +and you get VNC output from the Qemu-emulated primary adapter. + =item B<nomigrate=BOOLEAN>
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 14 lines · Ian Campbell
Quoted 13 lines · Pasi Kärkkäinen
Hello,
xl.cfg.pod.5 documentation improvements:
-
gfx_passthru: Documentgfx_passthrumakes the GPU become primary in the guest and other generic info aboutgfx_passthru.Signed-off-by Pasi Kärkkäinen <[email protected]>man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +0
-0@@ -968,7 +968,43 @@
Quoted 9 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300
Quoted 5 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +2
-1=item B<gfx_passthru=BOOLEAN> -Enable graphics device PCI passthrough. XXX which device is passed through ? +Enable graphics device PCI passthrough. This option makes the passthru +graphics card become primary graphics card in the VM,The option is slightly misnamed then I guess, a better name would have been
gfx_passthru_primary? oh well, we are stuck with it now.
Yeah.. I think earlier gfx_passthru wasn't a boolean, but an integer, to choose the mode.
Quoted 3 lines
(Am I alone in thinking that "thru" is a horrible alternative to through?)
:)
Quoted 11 lines
Quoted 11 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +10
-0so the Qemu emulated +graphics adapter is disabled, and the VNC console for the VM won't have +any graphics output. All graphics output, including boot time Qemu BIOS +messages from the VM, will go to the physical outputs of the passed thru +physical graphics card. + +Graphics card PCI device to passthru is chosen with B<pci> option, +exactly in the same way as normal Xen PCI device passthru/assignment is done. +Note that gfx_passthru doesn't do any kind of sharing +of the GPU, so you can only assign the GPU to one single VM at a time. +
Quoted 9 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 line 988
Quoted 6 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +6
-0+gfx_passthru also enables various legacy VGA memory ranges, BARs, MMIOs, +and ioports to be passed thru to the VM, since those are required +for correct operation of things like VGA BIOS, text mode, VBE, etc. + +Enabling gfx_passthru option also copies the physical graphics card +video bios to the guest memory, and executes the vbios in the guest"BIOS" and (I expect) "VBIOS"?
video bios == vbios, or did you ask something else?
Quoted 4 lines
Quoted 4 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +4
-0+to get the graphics card initialized. + +Most graphics adapters require vendor specific tweaks for properly +working graphics passthru. Xen currently includes necessary tweaks
Quoted 9 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 line 996
Quoted 4 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +4
-0+for Intel IGD (Integrated Graphics Device) GPUs. + +Support for AMD/Nvidia gfx_passthru is not yet merged to Xen, +but there are out-of-tree patches available.If there is a comprehensive list of supported/not-supported devices on the wiki then I think a reference here would be more useful than these two brief paragraphs.
We have a list, but it's not up-to-date unfortunately:
http://wiki.xen.org/wiki/XenVGAPassthroughTestedAdapters
Quoted 4 lines
In particular the second isn't very useful without links and those tend to become out of date in docs IME, I would tend to omit this from here and instead include them in the wiki where they can be kept up to date
Ok. I'll fix that, and add a link to:
http://wiki.xen.org/wiki/XenVGAPassthrough
Quoted 2 lines
(or better yet somebody could finally submit the patches for inclusion).
Indeed. I was talking to both AMD and Nvidia engineers at XenSummit NA 2012, and there's some hope for them to do some work on this stuff :)
And I volunteered earlier for this aswell, but so far I've been way too busy with other things :(
Quoted 11 lines
Quoted 11 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +10
-0+gfx_passthru is currently only supported with the qemu-xen-traditional +device-model. Upstream qemu-xen device-model currently doesn't have +support for gfx_passthru. + +Note that some graphics adapters (AMD/ATI cards, for example) don't +necessarily require gfx_passthru option, so you can use the normal +Xen PCI passthru to assign the graphics card as a secondary graphics card +to the VM. Qemu emulated graphics card stays as the primary graphics card, +and you get VNC output from the Qemu-emulated primary adapter. +
Quoted 3 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 line 1009
Quoted 2 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +0
-0=item B<nomigrate=BOOLEAN>
-- Pasi
Quoted 25 lines · Pasi Kärkkäinen
Quoted 14 lines · Ian Campbell
Quoted 13 lines · Pasi Kärkkäinen
Hello,
xl.cfg.pod.5 documentation improvements:
-
gfx_passthru: Documentgfx_passthrumakes the GPU become primary in the guest and other generic info aboutgfx_passthru.Signed-off-by Pasi Kärkkäinen <[email protected]>man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +0
-0@@ -968,7 +968,43 @@Quoted 9 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300
Quoted 5 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +2
-1=item B<gfx_passthru=BOOLEAN> -Enable graphics device PCI passthrough. XXX which device is passed through ? +Enable graphics device PCI passthrough. This option makes the passthru +graphics card become primary graphics card in the VM,The option is slightly misnamed then I guess, a better name would have been
gfx_passthru_primary? oh well, we are stuck with it now.
Quoted 1 line
Yeah.. I think earlier
gfx_passthruwasn't a boolean, but an integer, to choose the mode.
Oh, do you happen to know what the meanings were?
Quoted 21 lines
Quoted 11 lines
Quoted 11 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +10
-0so the Qemu emulated +graphics adapter is disabled, and the VNC console for the VM won't have +any graphics output. All graphics output, including boot time Qemu BIOS +messages from the VM, will go to the physical outputs of the passed thru +physical graphics card. + +Graphics card PCI device to passthru is chosen with B<pci> option, +exactly in the same way as normal Xen PCI device passthru/assignment is done. +Note that gfx_passthru doesn't do any kind of sharing +of the GPU, so you can only assign the GPU to one single VM at a time. +Quoted 9 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 line 988
Quoted 6 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +6
-0+gfx_passthru also enables various legacy VGA memory ranges, BARs, MMIOs, +and ioports to be passed thru to the VM, since those are required +for correct operation of things like VGA BIOS, text mode, VBE, etc. + +Enabling gfx_passthru option also copies the physical graphics card +video bios to the guest memory, and executes the vbios in the guest"BIOS" and (I expect) "VBIOS"?
Quoted 1 line
video bios == vbios, or did you ask something else?
I was just commenting on the capitalisation differing from other mentions of the BIOS.
Quoted 14 lines
Quoted 4 lines
Quoted 4 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +4
-0+to get the graphics card initialized. + +Most graphics adapters require vendor specific tweaks for properly +working graphics passthru. Xen currently includes necessary tweaksQuoted 9 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 line 996
Quoted 4 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +4
-0+for Intel IGD (Integrated Graphics Device) GPUs. + +Support for AMD/Nvidia gfx_passthru is not yet merged to Xen, +but there are out-of-tree patches available.If there is a comprehensive list of supported/not-supported devices on the wiki then I think a reference here would be more useful than these two brief paragraphs.
Quoted 2 lines
We have a list, but it's not up-to-date unfortunately:
http://wiki.xen.org/wiki/XenVGAPassthroughTestedAdapters
I think it is worth referencing it, and perhaps adding a note to the page itself regarding its freshness (and then working to improve it, of course ;-))
Quoted 7 lines
Quoted 4 lines
In particular the second isn't very useful without links and those tend to become out of date in docs IME, I would tend to omit this from here and instead include them in the wiki where they can be kept up to date
Ok. I'll fix that, and add a link to:
http://wiki.xen.org/wiki/XenVGAPassthrough
Thanks.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 26 lines · Ian Campbell
Quoted 25 lines · Pasi Kärkkäinen
Quoted 23 lines · Ian Campbell
Quoted 12 lines · Pasi Kärkkäinen
Hello,
xl.cfg.pod.5 documentation improvements:
-
gfx_passthru: Documentgfx_passthrumakes the GPU become primary in the guest and other generic info aboutgfx_passthru.Signed-off-by Pasi Kärkkäinen <[email protected]>man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 line 972
Quoted 6 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +2
-1@@ -968,7 +968,43 @@ =item B<gfx_passthru=BOOLEAN> -Enable graphics device PCI passthrough. XXX which device is passed through ? +Enable graphics device PCI passthrough. This option makes the passthru +graphics card become primary graphics card in the VM,The option is slightly misnamed then I guess, a better name would have been
gfx_passthru_primary? oh well, we are stuck with it now.
Quoted 4 lines
Quoted 1 line
Yeah.. I think earlier
gfx_passthruwasn't a boolean, but an integer, to choose the mode.Oh, do you happen to know what the meanings were?
iirc off/primary/secondary..
Quoted 21 lines
Quoted 21 lines
Quoted 20 lines
Quoted 7 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +6
-0so the Qemu emulated +graphics adapter is disabled, and the VNC console for the VM won't have +any graphics output. All graphics output, including boot time Qemu BIOS +messages from the VM, will go to the physical outputs of the passed thru +physical graphics card. + +Graphics card PCI device to passthru is chosen with B<pci> option,man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 line 988
Quoted 10 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +10
-0+exactly in the same way as normal Xen PCI device passthru/assignment is done. +Note that gfx_passthru doesn't do any kind of sharing +of the GPU, so you can only assign the GPU to one single VM at a time. + +gfx_passthru also enables various legacy VGA memory ranges, BARs, MMIOs, +and ioports to be passed thru to the VM, since those are required +for correct operation of things like VGA BIOS, text mode, VBE, etc. + +Enabling gfx_passthru option also copies the physical graphics card +video bios to the guest memory, and executes the vbios in the guest"BIOS" and (I expect) "VBIOS"?
Quoted 5 lines
Quoted 1 line
video bios == vbios, or did you ask something else?
I was just commenting on the capitalisation differing from other mentions of the BIOS.
Ok.
Quoted 14 lines
Quoted 14 lines
Quoted 13 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 line 996
Quoted 8 lines
man/xl.cfg.pod.5 2012-09-02 08:26:40.081639087 +0300 renamed from man/xl.cfg.pod.5.orig1 2012-09-02 07:16:39.316782158 +0300 +8
-0+to get the graphics card initialized. + +Most graphics adapters require vendor specific tweaks for properly +working graphics passthru. Xen currently includes necessary tweaks +for Intel IGD (Integrated Graphics Device) GPUs. + +Support for AMD/Nvidia gfx_passthru is not yet merged to Xen, +but there are out-of-tree patches available.If there is a comprehensive list of supported/not-supported devices on the wiki then I think a reference here would be more useful than these two brief paragraphs.
Quoted 7 lines
Quoted 2 lines
We have a list, but it's not up-to-date unfortunately:
http://wiki.xen.org/wiki/XenVGAPassthroughTestedAdaptersI think it is worth referencing it, and perhaps adding a note to the page itself regarding its freshness (and then working to improve it, of course ;-))
Yep.
Quoted 10 lines
Quoted 7 lines
Quoted 4 lines
In particular the second isn't very useful without links and those tend to become out of date in docs IME, I would tend to omit this from here and instead include them in the wiki where they can be kept up to date
Ok. I'll fix that, and add a link to:
http://wiki.xen.org/wiki/XenVGAPassthroughThanks.
I'll send a new patch soon.
-- Pasi
PATCH v2 1/1 xl.cfg: gfx_passthru documentation improvements
In reply to Ian CampbellHello,
v2: address review comments.
xl.cfg.pod.5 documentation improvements:
- gfx_passthru: Document gfx_passthru makes the GPU become primary in the guest and other generic info about gfx_passthru.
docs/man/xl.cfg.pod.5 2012-09-05 23:02:29.746203364 +0300 renamed from docs/man/xl.cfg.pod.5.orig 2012-09-05 22:51:39.745137076 +0300 +38 -1
@@ -992,7 +992,44 @@ =item B<gfx_passthru=BOOLEAN> -Enable graphics device PCI passthrough. XXX which device is passed through ? +Enable graphics device PCI passthrough. This option makes the passthru +graphics card become primary graphics card in the VM, so the Qemu emulated +graphics adapter is disabled, and the VNC console for the VM won't have +any graphics output. All graphics output, including boot time Qemu BIOS +messages from the VM, will go to the physical outputs of the passed thru +physical graphics card. + +Graphics card PCI device to passthru is chosen with B<pci> option, +exactly in the same way as normal Xen PCI device passthru/assignment is done. +Note that gfx_passthru doesn't do any kind of sharing +of the GPU, so you can only assign the GPU to one single VM at a time. + +gfx_passthru also enables various legacy VGA memory ranges, BARs, MMIOs, +and ioports to be passed thru to the VM, since those are required +for correct operation of things like VGA BIOS, text mode, VBE, etc. + +Enabling gfx_passthru option also copies the physical graphics card +video BIOS to the guest memory, and executes the VBIOS in the guest +to get the graphics card initialized. + +Most graphics adapters require vendor specific tweaks for properly +working graphics passthru. See the XenVGAPassthroughTestedAdapters +L<http://wiki.xen.org/wiki/XenVGAPassthroughTestedAdapters> +wiki page for currently supported graphics cards for gfx_passthru. + +gfx_passthru is currently only supported with the qemu-xen-traditional +device-model. Upstream qemu-xen device-model currently doesn't have +support for gfx_passthru. + +Note that some graphics adapters (AMD/ATI cards, for example) don't +necessarily require gfx_passthru option, so you can use the normal +Xen PCI passthru to assign the graphics card as a secondary graphics card +to the VM. Qemu emulated graphics card stays as the primary graphics card, +and you get VNC output from the Qemu-emulated primary adapter. + +More information about Xen gfx_passthru feature is available +on the XenVGAPassthrough L<http://wiki.xen.org/wiki/XenVGAPassthrough> +wiki page. =item B<nomigrate=BOOLEAN>
docs/man/xl.cfg.pod.5 renamed from docs/man/xl.cfg.pod.5.orig +38 -1
@@ -992,7 +992,44 @@ =item B<gfx_passthru=BOOLEAN> -Enable graphics device PCI passthrough. XXX which device is passed through ? +Enable graphics device PCI passthrough. This option makes the passthru +graphics card become primary graphics card in the VM, so the Qemu emulated +graphics adapter is disabled, and the VNC console for the VM won't have +any graphics output. All graphics output, including boot time Qemu BIOS +messages from the VM, will go to the physical outputs of the passed thru +physical graphics card. + +Graphics card PCI device to passthru is chosen with B<pci> option, +exactly in the same way as normal Xen PCI device passthru/assignment is done. +Note that gfx_passthru doesn't do any kind of sharing +of the GPU, so you can only assign the GPU to one single VM at a time. + +gfx_passthru also enables various legacy VGA memory ranges, BARs, MMIOs, +and ioports to be passed thru to the VM, since those are required +for correct operation of things like VGA BIOS, text mode, VBE, etc. + +Enabling gfx_passthru option also copies the physical graphics card +video BIOS to the guest memory, and executes the VBIOS in the guest +to get the graphics card initialized. + +Most graphics adapters require vendor specific tweaks for properly +working graphics passthru. See the XenVGAPassthroughTestedAdapters +L<http://wiki.xen.org/wiki/XenVGAPassthroughTestedAdapters> +wiki page for currently supported graphics cards for gfx_passthru. + +gfx_passthru is currently only supported with the qemu-xen-traditional +device-model. Upstream qemu-xen device-model currently doesn't have +support for gfx_passthru. + +Note that some graphics adapters (AMD/ATI cards, for example) don't +necessarily require gfx_passthru option, so you can use the normal +Xen PCI passthru to assign the graphics card as a secondary graphics card +to the VM. Qemu emulated graphics card stays as the primary graphics card, +and you get VNC output from the Qemu-emulated primary adapter. + +More information about Xen gfx_passthru feature is available +on the XenVGAPassthrough L<http://wiki.xen.org/wiki/XenVGAPassthrough> +wiki page. =item B<nomigrate=BOOLEAN>
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 10 lines · Pasi Kärkkäinen
Hello,
v2: address review comments.
xl.cfg.pod.5 documentation improvements:
-
gfx_passthru: Documentgfx_passthrumakes the GPU become primary in the guest and other generic info aboutgfx_passthru.Signed-off-by Pasi Kärkkäinen <[email protected]>
Acked + applied, thanks.
Jan, I think this docs only change can be a candidate for 4.2.0, but if not then 4.2.1 would be good.
Ian.
Quoted 40 lines
docs/man/xl.cfg.pod.5 2012-09-05 23:02:29.746203364 +0300 renamed from docs/man/xl.cfg.pod.5.orig 2012-09-05 22:51:39.745137076 +0300 +31
-1@@ -992,7 +992,44 @@ =item B<gfx_passthru=BOOLEAN> -Enable graphics device PCI passthrough. XXX which device is passed through ? +Enable graphics device PCI passthrough. This option makes the passthru +graphics card become primary graphics card in the VM, so the Qemu emulated +graphics adapter is disabled, and the VNC console for the VM won't have +any graphics output. All graphics output, including boot time Qemu BIOS +messages from the VM, will go to the physical outputs of the passed thru +physical graphics card. + +Graphics card PCI device to passthru is chosen with B<pci> option, +exactly in the same way as normal Xen PCI device passthru/assignment is done. +Note that gfx_passthru doesn't do any kind of sharing +of the GPU, so you can only assign the GPU to one single VM at a time. + +gfx_passthru also enables various legacy VGA memory ranges, BARs, MMIOs, +and ioports to be passed thru to the VM, since those are required +for correct operation of things like VGA BIOS, text mode, VBE, etc. + +Enabling gfx_passthru option also copies the physical graphics card +video BIOS to the guest memory, and executes the VBIOS in the guest +to get the graphics card initialized. + +Most graphics adapters require vendor specific tweaks for properly +working graphics passthru. See the XenVGAPassthroughTestedAdapters +L<http://wiki.xen.org/wiki/XenVGAPassthroughTestedAdapters> +wiki page for currently supported graphics cards for gfx_passthru. + +gfx_passthru is currently only supported with the qemu-xen-traditional +device-model. Upstream qemu-xen device-model currently doesn't have +support for gfx_passthru. + +Note that some graphics adapters (AMD/ATI cards, for example) don't +necessarily require gfx_passthru option, so you can use the normal
docs/man/xl.cfg.pod.5 2012-09-05 23:02:29.746203364 +0300 line 1035
Quoted 10 lines
docs/man/xl.cfg.pod.5 2012-09-05 23:02:29.746203364 +0300 renamed from docs/man/xl.cfg.pod.5.orig 2012-09-05 22:51:39.745137076 +0300 +7
-0+Xen PCI passthru to assign the graphics card as a secondary graphics card +to the VM. Qemu emulated graphics card stays as the primary graphics card, +and you get VNC output from the Qemu-emulated primary adapter. + +More information about Xen gfx_passthru feature is available +on the XenVGAPassthrough L<http://wiki.xen.org/wiki/XenVGAPassthrough> +wiki page. =item B<nomigrate=BOOLEAN>
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 5 lines · Ian Campbell
Quoted 4 lines · Pasi Kärkkäinen
Hello,
v2: address review comments.
Quoted 9 lines
Quoted 6 lines
xl.cfg.pod.5 documentation improvements:
-
gfx_passthru: Documentgfx_passthrumakes the GPU become primary in the guest and other generic info aboutgfx_passthru.Signed-off-by Pasi Kärkkäinen <[email protected]>Acked + applied, thanks.
Thanks!
Quoted 3 lines
Jan, I think this docs only change can be a candidate for 4.2.0, but if not then 4.2.1 would be good.
Yes please, it would be nice to get this into 4.2.0 if possible.. it's a docs only patch.
-- Pasi
Quoted 54 lines
Ian.
Quoted 50 lines
docs/man/xl.cfg.pod.5 2012-09-05 23:02:29.746203364 +0300 renamed from docs/man/xl.cfg.pod.5.orig 2012-09-05 22:51:39.745137076 +0300 +38
-1@@ -992,7 +992,44 @@ =item B<gfx_passthru=BOOLEAN> -Enable graphics device PCI passthrough. XXX which device is passed through ? +Enable graphics device PCI passthrough. This option makes the passthru +graphics card become primary graphics card in the VM, so the Qemu emulated +graphics adapter is disabled, and the VNC console for the VM won't have +any graphics output. All graphics output, including boot time Qemu BIOS +messages from the VM, will go to the physical outputs of the passed thru +physical graphics card. + +Graphics card PCI device to passthru is chosen with B<pci> option, +exactly in the same way as normal Xen PCI device passthru/assignment is done. +Note that gfx_passthru doesn't do any kind of sharing +of the GPU, so you can only assign the GPU to one single VM at a time. + +gfx_passthru also enables various legacy VGA memory ranges, BARs, MMIOs, +and ioports to be passed thru to the VM, since those are required +for correct operation of things like VGA BIOS, text mode, VBE, etc. + +Enabling gfx_passthru option also copies the physical graphics card +video BIOS to the guest memory, and executes the VBIOS in the guest +to get the graphics card initialized. + +Most graphics adapters require vendor specific tweaks for properly +working graphics passthru. See the XenVGAPassthroughTestedAdapters +L<http://wiki.xen.org/wiki/XenVGAPassthroughTestedAdapters> +wiki page for currently supported graphics cards for gfx_passthru. + +gfx_passthru is currently only supported with the qemu-xen-traditional +device-model. Upstream qemu-xen device-model currently doesn't have +support for gfx_passthru. + +Note that some graphics adapters (AMD/ATI cards, for example) don't +necessarily require gfx_passthru option, so you can use the normal +Xen PCI passthru to assign the graphics card as a secondary graphics card +to the VM. Qemu emulated graphics card stays as the primary graphics card, +and you get VNC output from the Qemu-emulated primary adapter. + +More information about Xen gfx_passthru feature is available +on the XenVGAPassthrough L<http://wiki.xen.org/wiki/XenVGAPassthrough> +wiki page. =item B<nomigrate=BOOLEAN>