scsi_hd: fix notify() method.

This commit is contained in:
Maxim Poliakovski 2022-10-25 02:41:58 +02:00
parent eeb576a927
commit 9efac80271
2 changed files with 2 additions and 7 deletions

View File

@ -54,11 +54,6 @@ ScsiHardDisk::ScsiHardDisk(int my_id) : ScsiDevice(my_id)
this->hdd_img.seekg(0, std::ios_base::beg);
}
void ScsiHardDisk::notify(ScsiMsg msg_type, int param)
{
LOG_F(INFO, "SCSI_HD: message of type %d received", msg_type);
}
int ScsiHardDisk::test_unit_ready() {
if (img_path.empty() || img_path == " ") {
return ScsiError::DEV_NOT_READY;
@ -144,4 +139,4 @@ void ScsiHardDisk::rewind() {
static const PropMap SCSI_HD_Properties = {
{"hdd_img", new StrProperty("")},
{"hdd_wr_prot", new BinProperty(0)},
};
};

View File

@ -66,4 +66,4 @@ protected:
char serial_info[8] = {'0', '0', '0', '0', '0', '0', '0', '0'};
};
#endif
#endif