]> Git Repo - qemu.git/commit - hw/msi.c
msi: Guard msi/msix_write_config with msi_present
authorJan Kiszka <[email protected]>
Fri, 11 May 2012 14:42:39 +0000 (11:42 -0300)
committerMichael S. Tsirkin <[email protected]>
Thu, 7 Jun 2012 14:19:00 +0000 (17:19 +0300)
commit7c9958b04333a79a1fdb11583aca48a6df2edeb9
treeecae498219e60b1993a32e18ab2bed5d03aac780
parentcbd2d4342b3d42ab33baa99f5b7a23491b5692f2
msi: Guard msi/msix_write_config with msi_present

Terminate msi/msix_write_config early if support is not enabled. This
allows to remove checks at the caller site if MSI is optional.

Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/msi.c
hw/msix.c
This page took 0.026474 seconds and 4 git commands to generate.