ipmi_bmc_sim: Fix off by one in check.
commit93a5364620dbfcf3cc13866d0e218fc3624c1edf
authorCorey Minyard <cminyard@mvista.com>
Mon, 11 Jan 2016 13:32:31 +0000 (11 07:32 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 9 Feb 2016 14:46:54 +0000 (9 15:46 +0100)
tree0436dcca5dfa1b02cb7751589adb0bdfd40a8f43
parentac5e8acdaec7c3a97d460e76ea912fa8ea7a4570
ipmi_bmc_sim: Fix off by one in check.

Found by Paolo.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Shannon Zhao <zhaoshenglong@huawei.com>
Cc: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Message-Id: <1452519152-6500-2-git-send-email-minyard@acm.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/ipmi/ipmi_bmc_sim.c