Re: [Qemu-block] [PATCH] ide: avoid referencing NULL dev in rotational rate setting

2017-10-24 Thread Stefan Hajnoczi
On Tue, Oct 24, 2017 at 08:43:24AM +0100, Daniel P. Berrange wrote: > CC John Feel free to ping me if John doesn't respond by next Wednesday and I'll merge this trivial fix. Stefan

Re: [Qemu-block] [PATCH] ide: avoid referencing NULL dev in rotational rate setting

2017-10-24 Thread Daniel P. Berrange
CC John 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 > --- > hw/ide/core.c | 4 +++- > 1 file changed, 3 ins

Re: [Qemu-block] [PATCH] ide: avoid referencing NULL dev in rotational rate setting

2017-10-20 Thread Stefan Hajnoczi
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 > --- > hw/ide/core.c | 4 +++- > 1 file changed, 3 insertions(+

[Qemu-block] [PATCH] ide: avoid referencing NULL dev in rotational rate setting

2017-10-20 Thread Daniel P. Berrange
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 --- hw/ide/core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/ide/core.c b/hw/ide/core.c index a04766aee7..471