Bug 1011010

Summary: Buggy error checking and reporting for -kernel
Product: Red Hat Enterprise Linux 7 Reporter: Ademar Reis <areis>
Component: qemu-kvm-rhevAssignee: Markus Armbruster <armbru>
Status: CLOSED WONTFIX QA Contact: Yiqian Wei <yiwei>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: areis, armbru, chayang, hhuang, jhradile, jinzhao, juzhang, michen, mkenneth, mnovacek, qzhang, virt-maint, yiwei
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 862206 Environment:
Last Closed: 2018-12-10 21:25:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 862206    
Bug Blocks:    

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.