msix: fix reset value for enable bit
commit1f944c661a821774e7b8cfbf5560a238795f2a60
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 25 Nov 2009 10:00:10 +0000 (25 12:00 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 1 Dec 2009 16:00:00 +0000 (1 18:00 +0200)
tree5665679277dac50aaa9eaedf025a1ca954ab38fc
parentae1be0bbc127a9a6289873efdb7cb22c57d81a9d
msix: fix reset value for enable bit

On reset, we currently clear all bits in msix control register *except*
enable bit.  This is wrong: the spec says we should clear writeable
bits: function mask and enable bit.
Correct this.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/msix.c