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