blob: 5acd8f47711354f6d78adc799e38996bec86731e [file]
// Copyright 2026 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
{
name: "virtio_socket_bind",
composite_name: "virtio_socket",
include: [
"driver/dml/pci.constants.dml",
"driver_component/driver.shard.cml",
],
program: {
binary: "driver/virtio_socket.so",
},
capabilities: [
{
service: [ "fuchsia.hardware.vsock.Service" ],
},
],
use: [
{
name: "pci",
service: "fuchsia.hardware.pci.Service",
primary: true,
bind: {
pci: {
vid: "pci.VID.VIRTIO",
did: "pci.DID.VIRTIO_DEV_TYPE_SOCKET",
},
},
},
{
name: "acpi",
service: "fuchsia.hardware.acpi.Service",
availability: "optional",
},
],
expose: [
{
service: [ "fuchsia.hardware.vsock.Service" ],
from: "self",
},
],
}