Am 31.05.2012 15:06, schrieb Paolo Bonzini:
> Il 31/05/2012 14:33, Paolo Bonzini ha scritto:
case 0x02: /* write cache enable */
+bdrv_set_enable_write_cache(s->bs, true);
+identify_data = (uint16_t *)s->identify_data;
+
Il 31/05/2012 14:33, Paolo Bonzini ha scritto:
>> > case 0x02: /* write cache enable */
>> > +bdrv_set_enable_write_cache(s->bs, true);
>> > +identify_data = (uint16_t *)s->identify_data;
>> > +put_le16(identify_data + 85, (1 << 14) |
Il 31/05/2012 13:53, Kevin Wolf ha scritto:
>> > case 0x02: /* write cache enable */
>> > +bdrv_set_enable_write_cache(s->bs, true);
>> > +identify_data = (uint16_t *)s->identify_data;
>> > +put_le16(identify_data + 85, (1 << 14) | (1 << 5) | 1);
> How a
Am 22.05.2012 18:17, schrieb Paolo Bonzini:
> 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
> ---
> hw/ide/core.c | 18 +++---
> 1 files changed,
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
---
hw/ide/core.c | 18 +++---
1 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/hw/ide/core.c