Bug 532493

Summary: guestfish doesn't accept target parameter with space in it
Product: [Community] Virtualization Tools Reporter: Ray Van Dolson <rayvd>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: mbooth, rjones, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-02 17:01:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ray Van Dolson 2009-11-02 16:18:17 UTC
Description of problem:
Passing a target filename with a space in it to guestfish fails.

Version-Release number of selected component (if applicable):
guestfish-1.0.72-1.fc11.i586

How reproducible:
Always

Steps to Reproduce:
1. Run guestfish <params> -i <file name with spaces.vmdk>
2. Observe errors
  
Actual results:
$ guestfish --ro -i "New Virtual Machine-flat.vmdk"
open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
New: No such file or directory


Expected results:
No errors.

Additional info:
Also fails with backslashes in front of the spaces (no double quotes used).

Comment 1 Ray Van Dolson 2009-11-02 16:37:50 UTC
Hmm, perhaps you already had filed a bug for this :)

  https://bugzilla.redhat.com/show_bug.cgi?id=507810

Comment 2 Richard W.M. Jones 2009-11-02 17:01:55 UTC
Sorry about that ... it does indeed appear to be a duplicate.

*** This bug has been marked as a duplicate of bug 507810 ***