qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 940973: ide: Correct improper smart self test


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 940973: ide: Correct improper smart self test counter rese...
Date: Mon, 14 Apr 2014 06:00:04 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 940973ae0b45c9b6817bab8e4cf4df99a9ef83d7
      
https://github.com/qemu/qemu/commit/940973ae0b45c9b6817bab8e4cf4df99a9ef83d7
  Author: BenoƮt Canet <address@hidden>
  Date:   2014-04-14 (Mon, 14 Apr 2014)

  Changed paths:
    M hw/ide/core.c

  Log Message:
  -----------
  ide: Correct improper smart self test counter reset in ide core.

The SMART self test counter was incorrectly being reset to zero,
not 1. This had the effect that on every 21st SMART EXECUTE OFFLINE:
 * We would write off the beginning of a dynamically allocated buffer
 * We forgot the SMART history
Fix this.

Signed-off-by: Benoit Canet <address@hidden>
Message-id: address@hidden
Reviewed-by: Markus Armbruster <address@hidden>
Cc: address@hidden
Acked-by: Kevin Wolf <address@hidden>
[PMM: tweaked commit message as per suggestions from Markus]
Signed-off-by: Peter Maydell <address@hidden>



reply via email to

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