virtio-pci: Use DEV_NVECTORS_UNSPECIFIED instead of -1 for virtio-serial
commit573fb60c97721328f71b866c0561c6250d6cb25a
authorAmit Shah <amit.shah@redhat.com>
Thu, 25 Feb 2010 11:54:44 +0000 (25 17:24 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 8 Mar 2010 17:30:09 +0000 (8 11:30 -0600)
tree45943d6950d3dd9d364b1dc0f13041ad04546d42
parent75422b0d38029d2e098309da4dd7199dc7b2d2a9
virtio-pci: Use DEV_NVECTORS_UNSPECIFIED instead of -1 for virtio-serial

Use the named constant instead of -1.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Reported-by: "Michael S. Tsirkin" <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-pci.c