Re: [libvirt] [PATCH v4 1/2] qemu_domain: NVLink2 bridge detection function for PPC64

2019-04-08 Thread Alexey Kardashevskiy
On 04/04/2019 00:52, Daniel Henrique Barboza wrote: > > > On 4/3/19 4:05 AM, Erik Skultety wrote: >> On Tue, Apr 02, 2019 at 05:27:55PM -0300, Daniel Henrique Barboza wrote: >>> >>> On 4/2/19 5:34 AM, Erik Skultety wrote: On Tue, Mar 12, 2019 at 06:55:49PM -0300, Daniel Henrique Barboza

Re: [libvirt] [PATCH v4 1/2] qemu_domain: NVLink2 bridge detection function for PPC64

2019-04-03 Thread David Gibson
On Tue, 2 Apr 2019 10:34:27 +0200 Erik Skultety wrote: > On Tue, Mar 12, 2019 at 06:55:49PM -0300, Daniel Henrique Barboza wrote: > > The NVLink2 support in QEMU implements the detection of NVLink2 > > capable devices by verifying the attributes of the VFIO mem region > > QEMU allocates for the

Re: [libvirt] [PATCH v4 1/2] qemu_domain: NVLink2 bridge detection function for PPC64

2019-04-03 Thread Daniel Henrique Barboza
On 4/3/19 4:05 AM, Erik Skultety wrote: On Tue, Apr 02, 2019 at 05:27:55PM -0300, Daniel Henrique Barboza wrote: On 4/2/19 5:34 AM, Erik Skultety wrote: On Tue, Mar 12, 2019 at 06:55:49PM -0300, Daniel Henrique Barboza wrote: The NVLink2 support in QEMU implements the detection of NVLink2

Re: [libvirt] [PATCH v4 1/2] qemu_domain: NVLink2 bridge detection function for PPC64

2019-04-03 Thread Erik Skultety
On Tue, Apr 02, 2019 at 05:27:55PM -0300, Daniel Henrique Barboza wrote: > > > On 4/2/19 5:34 AM, Erik Skultety wrote: > > On Tue, Mar 12, 2019 at 06:55:49PM -0300, Daniel Henrique Barboza wrote: > > > The NVLink2 support in QEMU implements the detection of NVLink2 > > > capable devices by

Re: [libvirt] [PATCH v4 1/2] qemu_domain: NVLink2 bridge detection function for PPC64

2019-04-02 Thread Daniel Henrique Barboza
On 4/2/19 5:34 AM, Erik Skultety wrote: On Tue, Mar 12, 2019 at 06:55:49PM -0300, Daniel Henrique Barboza wrote: The NVLink2 support in QEMU implements the detection of NVLink2 capable devices by verifying the attributes of the VFIO mem region QEMU allocates for the NVIDIA GPUs. To properly

Re: [libvirt] [PATCH v4 1/2] qemu_domain: NVLink2 bridge detection function for PPC64

2019-04-02 Thread Daniel Henrique Barboza
On 4/2/19 4:46 AM, Ján Tomko wrote: On Tue, Apr 02, 2019 at 09:21:53AM +0200, Peter Krempa wrote: On Tue, Mar 12, 2019 at 18:55:49 -0300, Daniel Henrique Barboza wrote: The NVLink2 support in QEMU implements the detection of NVLink2 capable devices by verifying the attributes of the VFIO

Re: [libvirt] [PATCH v4 1/2] qemu_domain: NVLink2 bridge detection function for PPC64

2019-04-02 Thread Daniel Henrique Barboza
On 4/2/19 4:21 AM, Peter Krempa wrote: On Tue, Mar 12, 2019 at 18:55:49 -0300, Daniel Henrique Barboza wrote: The NVLink2 support in QEMU implements the detection of NVLink2 capable devices by verifying the attributes of the VFIO mem region QEMU allocates for the NVIDIA GPUs. To properly

Re: [libvirt] [PATCH v4 1/2] qemu_domain: NVLink2 bridge detection function for PPC64

2019-04-02 Thread Erik Skultety
On Tue, Mar 12, 2019 at 06:55:49PM -0300, Daniel Henrique Barboza wrote: > The NVLink2 support in QEMU implements the detection of NVLink2 > capable devices by verifying the attributes of the VFIO mem region > QEMU allocates for the NVIDIA GPUs. To properly allocate an > adequate amount of

Re: [libvirt] [PATCH v4 1/2] qemu_domain: NVLink2 bridge detection function for PPC64

2019-04-02 Thread Ján Tomko
On Tue, Apr 02, 2019 at 09:21:53AM +0200, Peter Krempa wrote: On Tue, Mar 12, 2019 at 18:55:49 -0300, Daniel Henrique Barboza wrote: The NVLink2 support in QEMU implements the detection of NVLink2 capable devices by verifying the attributes of the VFIO mem region QEMU allocates for the NVIDIA

Re: [libvirt] [PATCH v4 1/2] qemu_domain: NVLink2 bridge detection function for PPC64

2019-04-02 Thread Peter Krempa
On Tue, Mar 12, 2019 at 18:55:49 -0300, Daniel Henrique Barboza wrote: > The NVLink2 support in QEMU implements the detection of NVLink2 > capable devices by verifying the attributes of the VFIO mem region > QEMU allocates for the NVIDIA GPUs. To properly allocate an > adequate amount of memLock,

[libvirt] [PATCH v4 1/2] qemu_domain: NVLink2 bridge detection function for PPC64

2019-03-12 Thread Daniel Henrique Barboza
The NVLink2 support in QEMU implements the detection of NVLink2 capable devices by verifying the attributes of the VFIO mem region QEMU allocates for the NVIDIA GPUs. To properly allocate an adequate amount of memLock, Libvirt needs this information before a QEMU instance is even created, thus