qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] atapi: classify read_cd as conditionally return


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH] atapi: classify read_cd as conditionally returning data
Date: Mon, 31 Oct 2016 15:06:48 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Am 29.10.2016 um 00:32 hat John Snow geschrieben:
> For the purposes of byte_count_limit verification, add a new flag that
> identifies read_cd as sometimes returning data, then check the BCL in
> its command handler after we know that it will indeed return data.
> 
> Reported-by: Hervé Poussineau <address@hidden>
> Signed-off-by: John Snow <address@hidden>

Wouldn't it be useful to actually add the new flag to cmd_read_cd then?
While at it, I would also split the patch into one for adding the flag
and one for updating cmd_read_cd.

Also, would it be hard to add a qtest case for this?

Kevin



reply via email to

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