[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH] ide: avoid referencing NULL dev in rotational r
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [PATCH] ide: avoid referencing NULL dev in rotational rate setting |
Date: |
Fri, 20 Oct 2017 11:34:56 +0200 |
User-agent: |
Mutt/1.9.1 (2017-09-22) |
On Fri, Oct 20, 2017 at 10:14:03AM +0100, Daniel P. Berrange wrote:
> The 'dev' variable can be NULL when the guest OS calls identify on an IDE
> unit that does not have a drive attached to it.
>
> Signed-off-by: Daniel P. Berrange <address@hidden>
> ---
> hw/ide/core.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>