On 02/02/2015 05:25 AM, Paolo Bonzini wrote:
On 30/01/2015 19:41, John Snow wrote:+ /* Construct our Command Header (set_command_header handles endianness.) */ + memset(&cmd, 0x00, sizeof(cmd)); + cmd.flags = 5; /* reg_h2d_fis is 5 double-words long */ + cmd.flags = 0x400; /* clear PxTFD.STS.BSY when done */And here |= became = ? Paolo+ cmd.prdtl = 1; /* One PRD table entry. */
A typo that testing didn't pick up on. (I wonder how?) Thank you.