Bug 1011010 - Buggy error checking and reporting for -kernel
Summary: Buggy error checking and reporting for -kernel
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Markus Armbruster
QA Contact: Yiqian Wei
URL:
Whiteboard:
Depends On: 862206
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-23 13:24 UTC by Ademar Reis
Modified: 2018-12-10 21:25 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 862206
Environment:
Last Closed: 2018-12-10 21:25:41 UTC
Target Upstream Version:


Attachments (Terms of Use)

Comment 8 Markus Armbruster 2018-08-09 08:10:07 UTC
Error checking and reporting for -kernel, -initrd etc. is as poor as ever.  Here's an example with current upstream:

$ qemu-system-x86_64 -nodefaults -S -display none -kernel /dev/null
qemu: could not load kernel '/dev/null': No such file or directory

The "No such file or directory" is bogus.

A reasonably complete fix shouldn't be technically challenging, just tedious work (the bugs are both in generic and machine-specific code).

Comment 9 Ademar Reis 2018-12-10 21:25:41 UTC
(In reply to Markus Armbruster from comment #8)
> Error checking and reporting for -kernel, -initrd etc. is as poor as ever. 
> Here's an example with current upstream:
> 
> $ qemu-system-x86_64 -nodefaults -S -display none -kernel /dev/null
> qemu: could not load kernel '/dev/null': No such file or directory
> 
> The "No such file or directory" is bogus.
> 
> A reasonably complete fix shouldn't be technically challenging, just tedious
> work (the bugs are both in generic and machine-specific code).

These are corner-cases we typically don't support anyway (customers don't hit them using libvirt). I'm closing it as WONTFIX. If there are specific use-cases that customers might hit, then please report them.


Note You need to log in before you can comment on or make changes to this bug.