virtio-serial: Use MSI vectors for port virtqueues
authorAmit Shah <amit.shah@redhat.com>
Tue, 19 Jan 2010 19:06:58 +0000 (00:36 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 20 Jan 2010 14:25:23 +0000 (08:25 -0600)
commita1829205a5e4b766b67b843f12cb8235d2387b35
treec86de90ff1fc320430ff54a8c4884aedb1078cbd
parent4d3053a3c68e25b813db65394ca3e6d32dbc50a7
virtio-serial: Use MSI vectors for port virtqueues

This commit enables the use of MSI interrupts for virtqueue
notifications for ports. We use nr_ports + 1 (for control channel) msi
entries for the ports, as only the in_vq operations need an interrupt on
the guest.

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