qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] allow disabling IDE block mode


From: Carlo Marcelo Arenas Belon
Subject: [Qemu-devel] [PATCH] allow disabling IDE block mode
Date: Sun, 11 Feb 2007 14:58:07 -0600
User-agent: Mutt/1.4.1i

Greetings,

the following patch changes the logic for the processing of WIN_SETMULT so
that setting it to 0 (off) is a valid operation as shown by (running Linux
on qemu)

  # hdparm -m0 /dev/hda

  /dev/hda:
  setting multcount to 0
  multcount    =  0 (off)

this is specially visible while running Ubuntu Linux 6.06 (dapper) on qemu as
it by default disables multmode at boot resulting in the following error :

  hda: set_multmode: status=0x41 { DriveReady Error }
  hda: set_multmode: error=0x04 { DriveStatusError }
  ide: failed opcode was: 0xef

Carlo

Attachment: qemu-disable-multsect.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]