ide: Turn debug messages into assertions
commit2860e3eb9695d7596507e82b98074937fbd7fa18
authorKevin Wolf <kwolf@redhat.com>
Mon, 9 May 2011 09:42:03 +0000 (9 11:42 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 18 May 2011 12:38:45 +0000 (18 14:38 +0200)
treeac687f284d48e1de058ac383d09bc82fd87504a2
parent1e71db3087ae9256fcfd8e9e322ad86edce48a96
ide: Turn debug messages into assertions

These printfs aren't really debug messages, but clearly indicate a bug if they
ever become effective. Noone uses DEBUG_IDE, let's re-enable the check
unconditionally and make it an assertion instead of printfs in the device
emulation.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
hw/ide/pci.c