* [PATCH] tools: hv: lsvmbus: add pci pass-through UUID
@ 2016-04-22 16:20 Vitaly Kuznetsov
2016-04-23 1:21 ` Dexuan Cui
0 siblings, 1 reply; 3+ messages in thread
From: Vitaly Kuznetsov @ 2016-04-22 16:20 UTC (permalink / raw)
To: devel; +Cc: linux-kernel, K. Y. Srinivasan, Haiyang Zhang, Dexuan Cui
lsvmbus keeps its own copy of all VMBus UUIDs, add PCIe pass-through
device there to not report 'Unknown' for such devices.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
---
tools/hv/lsvmbus | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/hv/lsvmbus b/tools/hv/lsvmbus
index 162a378..e223284 100644
--- a/tools/hv/lsvmbus
+++ b/tools/hv/lsvmbus
@@ -35,6 +35,7 @@ vmbus_dev_dict = {
'{ba6163d9-04a1-4d29-b605-72e2ffb1dc7f}' : 'Synthetic SCSI Controller',
'{2f9bcc4a-0069-4af3-b76b-6fd0be528cda}' : 'Synthetic fiber channel adapter',
'{8c2eaf3d-32a7-4b09-ab99-bd1f1c86b501}' : 'Synthetic RDMA adapter',
+ '{44c4f61d-4444-4400-9d52-802e27ede19f}' : 'PCI Express pass-through',
'{276aacf4-ac15-426c-98dd-7521ad3f01fe}' : '[Reserved system device]',
'{f8e65716-3cb3-4a06-9a60-1889c5cccab5}' : '[Reserved system device]',
'{3375baf4-9e15-4b30-b765-67acb10d607b}' : '[Reserved system device]',
--
2.5.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [PATCH] tools: hv: lsvmbus: add pci pass-through UUID
2016-04-22 16:20 [PATCH] tools: hv: lsvmbus: add pci pass-through UUID Vitaly Kuznetsov
@ 2016-04-23 1:21 ` Dexuan Cui
2016-04-25 10:51 ` Vitaly Kuznetsov
0 siblings, 1 reply; 3+ messages in thread
From: Dexuan Cui @ 2016-04-23 1:21 UTC (permalink / raw)
To: Vitaly Kuznetsov, devel@linuxdriverproject.org
Cc: linux-kernel@vger.kernel.org, KY Srinivasan, Haiyang Zhang
> From: Vitaly Kuznetsov [mailto:vkuznets@redhat.com]
> Sent: Saturday, April 23, 2016 0:21
> To: devel@linuxdriverproject.org
> Cc: linux-kernel@vger.kernel.org; KY Srinivasan <kys@microsoft.com>; Haiyang
> Zhang <haiyangz@microsoft.com>; Dexuan Cui <decui@microsoft.com>
> Subject: [PATCH] tools: hv: lsvmbus: add pci pass-through UUID
>
> lsvmbus keeps its own copy of all VMBus UUIDs, add PCIe pass-through
> device there to not report 'Unknown' for such devices.
>
> Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
> ---
> tools/hv/lsvmbus | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/hv/lsvmbus b/tools/hv/lsvmbus
> index 162a378..e223284 100644
> --- a/tools/hv/lsvmbus
> +++ b/tools/hv/lsvmbus
> @@ -35,6 +35,7 @@ vmbus_dev_dict = {
> '{ba6163d9-04a1-4d29-b605-72e2ffb1dc7f}' : 'Synthetic SCSI Controller',
> '{2f9bcc4a-0069-4af3-b76b-6fd0be528cda}' : 'Synthetic fiber channel
> adapter',
> '{8c2eaf3d-32a7-4b09-ab99-bd1f1c86b501}' : 'Synthetic RDMA adapter',
> + '{44c4f61d-4444-4400-9d52-802e27ede19f}' : 'PCI Express pass-through',
Please use TAB rather than 8 space chars here. :-)
> '{276aacf4-ac15-426c-98dd-7521ad3f01fe}' : '[Reserved system device]',
> '{f8e65716-3cb3-4a06-9a60-1889c5cccab5}' : '[Reserved system
> device]',
> '{3375baf4-9e15-4b30-b765-67acb10d607b}' : '[Reserved system
> device]',
> --
Looks good to me except for the space/TAB issue.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] tools: hv: lsvmbus: add pci pass-through UUID
2016-04-23 1:21 ` Dexuan Cui
@ 2016-04-25 10:51 ` Vitaly Kuznetsov
0 siblings, 0 replies; 3+ messages in thread
From: Vitaly Kuznetsov @ 2016-04-25 10:51 UTC (permalink / raw)
To: Dexuan Cui
Cc: devel@linuxdriverproject.org, linux-kernel@vger.kernel.org,
KY Srinivasan, Haiyang Zhang
Dexuan Cui <decui@microsoft.com> writes:
>> From: Vitaly Kuznetsov [mailto:vkuznets@redhat.com]
>> Sent: Saturday, April 23, 2016 0:21
>> To: devel@linuxdriverproject.org
>> Cc: linux-kernel@vger.kernel.org; KY Srinivasan <kys@microsoft.com>; Haiyang
>> Zhang <haiyangz@microsoft.com>; Dexuan Cui <decui@microsoft.com>
>> Subject: [PATCH] tools: hv: lsvmbus: add pci pass-through UUID
>>
>> lsvmbus keeps its own copy of all VMBus UUIDs, add PCIe pass-through
>> device there to not report 'Unknown' for such devices.
>>
>> Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
>> ---
>> tools/hv/lsvmbus | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/tools/hv/lsvmbus b/tools/hv/lsvmbus
>> index 162a378..e223284 100644
>> --- a/tools/hv/lsvmbus
>> +++ b/tools/hv/lsvmbus
>> @@ -35,6 +35,7 @@ vmbus_dev_dict = {
>> '{ba6163d9-04a1-4d29-b605-72e2ffb1dc7f}' : 'Synthetic SCSI Controller',
>> '{2f9bcc4a-0069-4af3-b76b-6fd0be528cda}' : 'Synthetic fiber channel
>> adapter',
>> '{8c2eaf3d-32a7-4b09-ab99-bd1f1c86b501}' : 'Synthetic RDMA adapter',
>> + '{44c4f61d-4444-4400-9d52-802e27ede19f}' : 'PCI Express pass-through',
> Please use TAB rather than 8 space chars here. :-)
>
Oops, I was pretty sure checkpatch.pl catches such issues but apparently
it doesn't work for python scripts. And my text editor failed me as well)
>> '{276aacf4-ac15-426c-98dd-7521ad3f01fe}' : '[Reserved system device]',
>> '{f8e65716-3cb3-4a06-9a60-1889c5cccab5}' : '[Reserved system
>> device]',
>> '{3375baf4-9e15-4b30-b765-67acb10d607b}' : '[Reserved system
>> device]',
>> --
>
> Looks good to me except for the space/TAB issue.
Sure, will send v2.
--
Vitaly
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-04-25 10:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-22 16:20 [PATCH] tools: hv: lsvmbus: add pci pass-through UUID Vitaly Kuznetsov
2016-04-23 1:21 ` Dexuan Cui
2016-04-25 10:51 ` Vitaly Kuznetsov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox