OSDN Git Service

virtio-pci: Allow to specify additional interfaces for the base type
authorDavid Hildenbrand <david@redhat.com>
Wed, 19 Jun 2019 09:49:02 +0000 (15:19 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 2 Jul 2019 16:59:22 +0000 (12:59 -0400)
commit1e33b513f261a24b4340eca5a6f8f5726b92e097
tree1c15788609a1bc9f012040826e0e77f037cf81d3
parent5f503cd9f38856285a83afe5b928c94f40e43fb7
virtio-pci: Allow to specify additional interfaces for the base type

Let's allow to specify additional interfaces for the base type (e.g.
later TYPE_MEMORY_DEVICE), something that was possible before the
rework of virtio PCI device instantiation.

Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190619094907.10131-3-pagupta@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio-pci.c
hw/virtio/virtio-pci.h