summary refs log tree commit diff stats
path: root/hw/virtio-balloon.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/virtio-balloon.c')
-rw-r--r--hw/virtio-balloon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio-balloon.c b/hw/virtio-balloon.c
index 696a108667..0274bf6fc4 100644
--- a/hw/virtio-balloon.c
+++ b/hw/virtio-balloon.c
@@ -176,7 +176,7 @@ void *virtio_balloon_init(PCIBus *bus)
                                          PCI_DEVICE_ID_VIRTIO_BALLOON,
                                          PCI_VENDOR_ID_REDHAT_QUMRANET,
                                          VIRTIO_ID_BALLOON,
-                                         0x05, 0x00, 0x00,
+                                         PCI_CLASS_MEMORY_RAM, 0x00,
                                          8, sizeof(VirtIOBalloon));
     if (s == NULL)
         return NULL;