[v4,4/6] dt-bindings: hypervisor: Rename virtio to hypervisor
Commit Message
Rename virtio folder to more generic hypervisor, so that this can
accommodate more devices of similar type.
Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
---
Documentation/devicetree/bindings/gpio/gpio-virtio.yaml | 4 ++--
Documentation/devicetree/bindings/{virtio => hypervisor}/mmio.yaml | 2 +-
.../devicetree/bindings/{virtio => hypervisor}/pci-iommu.yaml | 2 +-
.../devicetree/bindings/{virtio => hypervisor}/virtio-device.yaml | 2 +-
Documentation/devicetree/bindings/i2c/i2c-virtio.yaml | 4 ++--
MAINTAINERS | 2 +-
6 files changed, 8 insertions(+), 8 deletions(-)
rename Documentation/devicetree/bindings/{virtio => hypervisor}/mmio.yaml (95%)
rename Documentation/devicetree/bindings/{virtio => hypervisor}/pci-iommu.yaml (98%)
rename Documentation/devicetree/bindings/{virtio => hypervisor}/virtio-device.yaml (93%)
Comments
On Mon, Feb 06, 2023 at 11:49:57PM -0800, Saurabh Sengar wrote:
> Rename virtio folder to more generic hypervisor, so that this can
> accommodate more devices of similar type.
>
> Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
> ---
> Documentation/devicetree/bindings/gpio/gpio-virtio.yaml | 4 ++--
> Documentation/devicetree/bindings/{virtio => hypervisor}/mmio.yaml | 2 +-
> .../devicetree/bindings/{virtio => hypervisor}/pci-iommu.yaml | 2 +-
> .../devicetree/bindings/{virtio => hypervisor}/virtio-device.yaml | 2 +-
> Documentation/devicetree/bindings/i2c/i2c-virtio.yaml | 4 ++--
> MAINTAINERS | 2 +-
> 6 files changed, 8 insertions(+), 8 deletions(-)
> rename Documentation/devicetree/bindings/{virtio => hypervisor}/mmio.yaml (95%)
> rename Documentation/devicetree/bindings/{virtio => hypervisor}/pci-iommu.yaml (98%)
> rename Documentation/devicetree/bindings/{virtio => hypervisor}/virtio-device.yaml (93%)
virtio is used for more than just an interface to hypervisors. I think
this should remain. Instead, I'd put vmbus under bindings/bus/.
Rob
On Tue, Feb 07, 2023 at 12:39:31PM -0600, Rob Herring wrote:
> On Mon, Feb 06, 2023 at 11:49:57PM -0800, Saurabh Sengar wrote:
> > Rename virtio folder to more generic hypervisor, so that this can
> > accommodate more devices of similar type.
> >
> > Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
> > ---
> > Documentation/devicetree/bindings/gpio/gpio-virtio.yaml | 4 ++--
> > Documentation/devicetree/bindings/{virtio => hypervisor}/mmio.yaml | 2 +-
> > .../devicetree/bindings/{virtio => hypervisor}/pci-iommu.yaml | 2 +-
> > .../devicetree/bindings/{virtio => hypervisor}/virtio-device.yaml | 2 +-
> > Documentation/devicetree/bindings/i2c/i2c-virtio.yaml | 4 ++--
> > MAINTAINERS | 2 +-
> > 6 files changed, 8 insertions(+), 8 deletions(-)
> > rename Documentation/devicetree/bindings/{virtio => hypervisor}/mmio.yaml (95%)
> > rename Documentation/devicetree/bindings/{virtio => hypervisor}/pci-iommu.yaml (98%)
> > rename Documentation/devicetree/bindings/{virtio => hypervisor}/virtio-device.yaml (93%)
>
> virtio is used for more than just an interface to hypervisors. I think
> this should remain. Instead, I'd put vmbus under bindings/bus/.
Agree, will move to bus in v5
>
> Rob
@@ -10,10 +10,10 @@ maintainers:
- Viresh Kumar <viresh.kumar@linaro.org>
allOf:
- - $ref: /schemas/virtio/virtio-device.yaml#
+ - $ref: /schemas/hypervisor/virtio-device.yaml#
description:
- Virtio GPIO controller, see /schemas/virtio/virtio-device.yaml for more
+ Virtio GPIO controller, see /schemas/hypervisor/virtio-device.yaml for more
details.
properties:
similarity index 95%
rename from Documentation/devicetree/bindings/virtio/mmio.yaml
rename to Documentation/devicetree/bindings/hypervisor/mmio.yaml
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
-$id: http://devicetree.org/schemas/virtio/mmio.yaml#
+$id: http://devicetree.org/schemas/hypervisor/mmio.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: virtio memory mapped devices
similarity index 98%
rename from Documentation/devicetree/bindings/virtio/pci-iommu.yaml
rename to Documentation/devicetree/bindings/hypervisor/pci-iommu.yaml
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
-$id: http://devicetree.org/schemas/virtio/pci-iommu.yaml#
+$id: http://devicetree.org/schemas/hypervisor/pci-iommu.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: virtio-iommu device using the virtio-pci transport
similarity index 93%
rename from Documentation/devicetree/bindings/virtio/virtio-device.yaml
rename to Documentation/devicetree/bindings/hypervisor/virtio-device.yaml
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
-$id: http://devicetree.org/schemas/virtio/virtio-device.yaml#
+$id: http://devicetree.org/schemas/hypervisor/virtio-device.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Virtio device
@@ -11,10 +11,10 @@ maintainers:
allOf:
- $ref: /schemas/i2c/i2c-controller.yaml#
- - $ref: /schemas/virtio/virtio-device.yaml#
+ - $ref: /schemas/hypervisor/virtio-device.yaml#
description:
- Virtio I2C device, see /schemas/virtio/virtio-device.yaml for more details.
+ Virtio I2C device, see /schemas/hypervisor/virtio-device.yaml for more details.
properties:
$nodename:
@@ -21977,7 +21977,7 @@ L: virtualization@lists.linux-foundation.org
S: Maintained
F: Documentation/ABI/testing/sysfs-bus-vdpa
F: Documentation/ABI/testing/sysfs-class-vduse
-F: Documentation/devicetree/bindings/virtio/
+F: Documentation/devicetree/bindings/hypervisor/
F: Documentation/driver-api/virtio/
F: drivers/block/virtio_blk.c
F: drivers/crypto/virtio/