All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix PCI passthrough for HVM with stubdomain
@ 2016-10-18  1:53 Marek Marczykowski-Górecki
  2016-10-18  1:53 ` [PATCH 1/3] libxl: attach xen-pciback only to PV domains Marek Marczykowski-Górecki
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Marek Marczykowski-Górecki @ 2016-10-18  1:53 UTC (permalink / raw)
  To: xen-devel; +Cc: Wei Liu, Ian Jackson, Samuel Thibault

This series is follow up to previous attempts to fix this. Related threads:
 - http://markmail.org/thread/dwjcdfk3y7s5c5kl "PCI passthrough with stubdomain"
 - http://xen.markmail.org/thread/l7tvqcxbiyc2grvr "Json config and stubdomain"

With those patches applied, HVM finally have PCI devices working. Tested on
Linux 4.4.14 and Window 7 pro guests (both 64bit).


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: [PATCH 1/3] libxl: attach xen-pciback only to PV domains
@ 2016-10-18 23:07 Juergen Schinker
  0 siblings, 0 replies; 17+ messages in thread
From: Juergen Schinker @ 2016-10-18 23:07 UTC (permalink / raw)
  To: Marek Marczykowski-Górecki; +Cc: xen-devel

----- On 18 Oct, 2016, at 21:03, Marek Marczykowski-Górecki marmarek@invisiblethingslab.com wrote:

> On Tue, Oct 18, 2016 at 04:52:29PM -0400, Konrad Rzeszutek Wilk wrote:
>> On Tue, Oct 18, 2016 at 03:53:31AM +0200, Marek Marczykowski-Górecki wrote:
>> > HVM domains use IOMMU and device model assistance for communicating with
>> > PCI devices, xen-pcifront/pciback is used only in PV domains.
>> > When HVM domain has device model in stubdomain, attaching xen-pciback to
>> > the target domain itself is not only useless, but also may prevent
>> > attaching xen-pciback to the stubdomain, effectively breaking PCI
>> > passthrough.
>> 
>> This has the consequence that the "reset" of the device that
>> pciback does will no longer be done.
>> 
>> That is the FLR functionality will not be exercised anymore.
> 
> Are you sure about that? libxl__device_pci_add calls
> libxl__device_pci_reset, regardless of my patch.
 
does this mean that you don't need a FLR+ capable graphics card for pass-throu ?

that is what is stopping me from doing a passthrou - my goal is to have my Desktop on a VM

start an X-Server with direct access to the gfx with according performance

I use this one with passive cooling

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde PRO [Radeon HD 7750/8740 / R7 250E]

Juergen

are you the same Marek from Qubes?

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2016-10-25 19:42 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-18  1:53 [PATCH 0/3] Fix PCI passthrough for HVM with stubdomain Marek Marczykowski-Górecki
2016-10-18  1:53 ` [PATCH 1/3] libxl: attach xen-pciback only to PV domains Marek Marczykowski-Górecki
2016-10-18 20:52   ` Konrad Rzeszutek Wilk
2016-10-18 21:03     ` Marek Marczykowski-Górecki
2016-10-19  9:37   ` Wei Liu
2016-10-19 20:46     ` Konrad Rzeszutek Wilk
2016-10-19 22:42       ` Marek Marczykowski-Górecki
2016-10-25 13:10         ` Konrad Rzeszutek Wilk
2016-10-25 19:22           ` Marek Marczykowski-Górecki
2016-10-25 19:42             ` Andrew Cooper
2016-10-18  1:53 ` [PATCH 2/3] libxl: attach PCI device to qemu only after setting pciback/pcifront Marek Marczykowski-Górecki
2016-10-19  9:37   ` Wei Liu
2016-10-18  1:53 ` [PATCH 3/3] libxl: don't try to manipulate json config for stubdomain Marek Marczykowski-Górecki
2016-10-19  9:38   ` Wei Liu
2016-10-19 10:32     ` Marek Marczykowski-Górecki
2016-10-18 18:44 ` [PATCH 0/3] Fix PCI passthrough for HVM with stubdomain Samuel Thibault
  -- strict thread matches above, loose matches on Subject: below --
2016-10-18 23:07 [PATCH 1/3] libxl: attach xen-pciback only to PV domains Juergen Schinker

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.