projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a62d547
)
virtio_pci: support non-legacy balloon devices
author
Michael S. Tsirkin
<mst@redhat.com>
Wed, 15 Apr 2015 00:47:45 +0000
(10:17 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 15 Apr 2015 03:11:13 +0000
(12:41 +0930)
virtio_device_is_legacy_only is always false now,
drop the test from virtio pci.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_pci_modern.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/virtio/virtio_pci_modern.c
b/drivers/virtio/virtio_pci_modern.c
index cb175f7179d160b877bc213f99bf74c6de8968a3..e88e0997a8897e2ceaa25891f3ae080048d6e259 100644
(file)
--- a/
drivers/virtio/virtio_pci_modern.c
+++ b/
drivers/virtio/virtio_pci_modern.c
@@
-615,9
+615,6
@@
int virtio_pci_modern_probe(struct virtio_pci_device *vp_dev)
}
vp_dev->vdev.id.vendor = pci_dev->subsystem_vendor;
- if (virtio_device_is_legacy_only(vp_dev->vdev.id))
- return -ENODEV;
-
/* check for a common config: if not, use legacy mode (bar 0). */
common = virtio_pci_find_capability(pci_dev, VIRTIO_PCI_CAP_COMMON_CFG,
IORESOURCE_IO | IORESOURCE_MEM);