From 9b32d5a5f75b6823940faf2ffa05341608ec5423 Mon Sep 17 00:00:00 2001 From: aliguori Date: Thu, 11 Dec 2008 21:20:03 +0000 Subject: pci: virtio: use pci id defines (Gerd Hoffman) Use the defines added by the previous patch in the virtio drivers. Also remove the pointless vendor and device args from the virtio_blk_init() function. Signed-off-by: Gerd Hoffmann Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5987 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/virtio-balloon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hw/virtio-balloon.c') diff --git a/hw/virtio-balloon.c b/hw/virtio-balloon.c index e668436ca1..07655168db 100644 --- a/hw/virtio-balloon.c +++ b/hw/virtio-balloon.c @@ -172,7 +172,8 @@ void *virtio_balloon_init(PCIBus *bus) VirtIOBalloon *s; s = (VirtIOBalloon *)virtio_init_pci(bus, "virtio-balloon", - 6900, 0x1002, + PCI_VENDOR_ID_REDHAT_QUMRANET, + PCI_DEVICE_ID_VIRTIO_BALLOON, 0, VIRTIO_ID_BALLOON, 0x05, 0x00, 0x00, 8, sizeof(VirtIOBalloon)); -- cgit v1.2.3