Re: [Qemu-devel] [PATCH] Fix ATA SMART and CHECK POWER MODE

2011-02-09 Thread Ryan Harper
* Brian Wheeler [2011-02-07 16:48]: > This patch fixes two things: > > 1) CHECK POWER MODE > > The error return value wasn't always zero, so it would show up as > offline. Error is now explicitly set to zero. > > 2) SMART > > The smart values that were returned were invalid and tools like skd

[Qemu-devel] [PATCH] Fix ATA SMART and CHECK POWER MODE

2011-02-07 Thread Brian Wheeler
This patch fixes two things: 1) CHECK POWER MODE The error return value wasn't always zero, so it would show up as offline. Error is now explicitly set to zero. 2) SMART The smart values that were returned were invalid and tools like skdump would not recognize that the smart data was actually