ivshmem: generalize ivshmem_setup_interrupts
commitfd47bfe5ad423b4b09dc0244bda3b1346fa189ba
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 21 Dec 2015 11:08:54 +0000 (21 12:08 +0100)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 2 Feb 2016 12:28:58 +0000 (2 13:28 +0100)
tree618159bfda83022c6e3405f12b080e34bb867295
parent00ffc3c166d2100e1fb6b5bd192868d338ee825e
ivshmem: generalize ivshmem_setup_interrupts

Call ivshmem_setup_interrupts() with or without MSI, always allocate
msi_vectors that is going to be used in all case in the following patch.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
hw/misc/ivshmem.c