pcie/aer: fix inject aer error command
commit74d63b65479f4d8a72c1bba54256eee029cd5d5f
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 5 Aug 2011 09:22:06 +0000 (5 18:22 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 24 Aug 2011 12:52:54 +0000 (24 15:52 +0300)
tree94b6b24c9036c5d340a7838177a054208cd895cd
parent1553d4f1fc6b7455234de93d105e7b46bc7a0844
pcie/aer: fix inject aer error command

various fixes to make aer inject error command work.
- wrong assert
- command line parser
- err.status needs initialization

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pcie_aer.c