From: Jack Lange Date: Fri, 10 Apr 2009 01:04:31 +0000 (-0500) Subject: removed debugging output X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=639901d32ea8c5144ce9bb8f44bc6efa81a947a0 removed debugging output --- diff --git a/palacios/src/devices/ide.c b/palacios/src/devices/ide.c index 4acc679..86d2b73 100644 --- a/palacios/src/devices/ide.c +++ b/palacios/src/devices/ide.c @@ -948,17 +948,7 @@ static int read_cd_data(uint8_t * dst, uint_t length, struct vm_device * dev, st return -1; } - { - static uint32_t read_cnt = 0; - - if ((read_cnt % 200) == 0) { - PrintError("CD data port read %d\n", read_cnt); - } - - read_cnt++; - } - - + if ((data_offset == 0) && (drive->transfer_index > 0)) { if (atapi_update_data_buf(dev, channel) == -1) { PrintError("Could not update CDROM data buffer\n");