]> git.proxmox.com Git - mirror_qemu.git/commit
ATA: Allow WIN_SECURITY_FREEZE_LOCK as nop
authorAlexander Graf <agraf@suse.de>
Thu, 26 Apr 2012 10:45:07 +0000 (12:45 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 2 May 2012 16:47:08 +0000 (18:47 +0200)
commitd5b406d95b4259baf622f73e1ffad6ee144633b8
treeaba90f8e4133a327171bf699ce715155abc30137
parent787f31330eb51ef7621d7c316b90262c7bb5d6d3
ATA: Allow WIN_SECURITY_FREEZE_LOCK as nop

When using Windows 8 with an AHCI disk drive, it issues a blue screen.
The reason is that WIN_SECURITY_FREEZE_LOCK / CFA_WEAR_LEVEL is not
supported by our ATA implementation, but Windows expects it to be there.

Since without security stuff implemented, the lock would be a nop anyway
and CFA_WEAR_LEVEL already is treated as a nop, let's just allow the cmd
for HD drives as well. That way Windows is happy.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c