]> git.proxmox.com Git - mirror_qemu.git/commit
virtio-pci: Report an error when msix vectors init fails
authorFam Zheng <famz@redhat.com>
Mon, 23 Jun 2014 09:06:25 +0000 (17:06 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 23 Jun 2014 14:38:00 +0000 (17:38 +0300)
commitc7ff54825b74f27c3aac85aad540542801630d0a
treeb3580b9b7be8116ca821e43fa7a1e6dd356643d2
parentd2fc39b4208709db95b6825c0e1b00ce6fbf0ecc
virtio-pci: Report an error when msix vectors init fails

Currently vectors silently cleared to 0 if the initialization is failed,
but user should at least have one way to notice this.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio-pci.c