Bug 760226 - RFE: Support optional argument introspection from perl
RFE: Support optional argument introspection from perl
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libguestfs (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Richard W.M. Jones
Virtualization Bugs
: FutureFeature
Depends On: libguestfs_rebase6.3
  Show dependency treegraph
Reported: 2011-12-05 11:46 EST by Matthew Booth
Modified: 2011-12-05 11:51 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-12-05 11:51:28 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Matthew Booth 2011-12-05 11:46:40 EST
It is not currently possible for a perl program to determine if a particular optional argument to a guestfs API is supported in the current release. This information is available to other language bindings. A fix for this is currently available upstream.

While this enhancement will have no impact on the current release, it will allow future releases to test for the availability of optional arguments and degrade gracefully if they are not available. V2V would have used this feature for drive hints if it had been available.

The upstream patch is:

    perl: Add %guestfs_introspection hash with introspection information.
Comment 1 Richard W.M. Jones 2011-12-05 11:51:28 EST
This is already in stable-1.14, so it'll go into RHEL 6.3
by default because of the rebase.

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