]> git.proxmox.com Git - qemu.git/commit - hw/ide/core.c
ide: support enable/disable write cache
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Jun 2012 22:04:54 +0000 (00:04 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 15 Jun 2012 12:03:43 +0000 (14:03 +0200)
commit7cdd481cdf15d610f83e38f15c7e7979420c6ac0
tree26db4df9248e2edf182c76428ca2225aaf05784b
parente1e9b0aca05747be9e2174a53205bd904c10da49
ide: support enable/disable write cache

Enabling or disabling the write cache is done with the SET FEATURES
command.  The command can be issued with sg_sat_set_features from
sg3-utils.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c