aboutsummaryrefslogtreecommitdiff
path: root/hw/msix.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-02-01 22:15:47 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2011-02-14 12:39:44 -0200
commit46481d3921b86ef5ded7be7b5ce8194608f30e6b (patch)
treeff9342abfc7b5a0ccaf65edc7681de8c519806cb /hw/msix.h
parent8e1b90ecc59573c4c5e9fc4934b4e30476b43e2f (diff)
Flatten the main loop
First of all, vm_can_run is a misnomer, it actually means "no request pending". Moreover, there is no need to check all pending requests twice, the first time via the inner loop check and then again when actually processing the requests. We can simply remove the inner loop and do the checks directly. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'hw/msix.h')
0 files changed, 0 insertions, 0 deletions