aboutsummaryrefslogtreecommitdiff
path: root/qemu-malloc.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2011-04-19 13:15:52 +0200
committerKevin Wolf <kwolf@redhat.com>2011-04-27 16:21:00 +0200
commit7a2c4b82340d621bff462672b29c88d2020d68c1 (patch)
tree427ce8ec7b31324bc85f03e2f65063a2e1084ca6 /qemu-malloc.c
parente119bcaceb8dc17fe4874d6b0d2b62752639e488 (diff)
downloadqemu-7a2c4b82340d621bff462672b29c88d2020d68c1.zip
qemu-7a2c4b82340d621bff462672b29c88d2020d68c1.tar.gz
qemu-7a2c4b82340d621bff462672b29c88d2020d68c1.tar.bz2
ide/atapi: Introduce CHECK_READY flag for commands
Some commands are supposed to report a Not Ready Condition (i.e. they require a medium to be present in order to execute successfully). Instead of duplicating the check in each command implementation, let's add a flag and check it before calling the command. This patch only converts existing checks, it does not introduce new checks for any of the other commands that can/should report a Not Ready Condition. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-malloc.c')
0 files changed, 0 insertions, 0 deletions