Lines Matching +full:virtio +full:- +full:pci
2 * Virtio balloon PCI Bindings
11 * Contributions after 2012-01-13 are licensed under the terms of the
17 #include "hw/virtio/virtio-pci.h"
18 #include "hw/qdev-properties.h"
19 #include "hw/virtio/virtio-balloon.h"
27 * virtio-balloon-pci: This extends VirtioPCIProxy.
29 #define TYPE_VIRTIO_BALLOON_PCI "virtio-balloon-pci-base"
41 DeviceState *vdev = DEVICE(&dev->vdev); in virtio_balloon_pci_realize()
43 vpci_dev->class_code = PCI_CLASS_OTHERS; in virtio_balloon_pci_realize()
44 qdev_realize(vdev, BUS(&vpci_dev->bus), errp); in virtio_balloon_pci_realize()
52 k->realize = virtio_balloon_pci_realize; in virtio_balloon_pci_class_init()
53 set_bit(DEVICE_CATEGORY_MISC, dc->categories); in virtio_balloon_pci_class_init()
54 pcidev_k->vendor_id = PCI_VENDOR_ID_REDHAT_QUMRANET; in virtio_balloon_pci_class_init()
55 pcidev_k->device_id = PCI_DEVICE_ID_VIRTIO_BALLOON; in virtio_balloon_pci_class_init()
56 pcidev_k->revision = VIRTIO_PCI_ABI_VERSION; in virtio_balloon_pci_class_init()
57 pcidev_k->class_id = PCI_CLASS_OTHERS; in virtio_balloon_pci_class_init()
64 virtio_instance_init_common(obj, &dev->vdev, sizeof(dev->vdev), in virtio_balloon_pci_instance_init()
66 object_property_add_alias(obj, "guest-stats", OBJECT(&dev->vdev), in virtio_balloon_pci_instance_init()
67 "guest-stats"); in virtio_balloon_pci_instance_init()
68 object_property_add_alias(obj, "guest-stats-polling-interval", in virtio_balloon_pci_instance_init()
69 OBJECT(&dev->vdev), in virtio_balloon_pci_instance_init()
70 "guest-stats-polling-interval"); in virtio_balloon_pci_instance_init()
75 .generic_name = "virtio-balloon-pci",
76 .transitional_name = "virtio-balloon-pci-transitional",
77 .non_transitional_name = "virtio-balloon-pci-non-transitional",