Bug 886915
| Summary: | libguestfs with libvirt attach-method fails with odd error if default hypervisor is Xen | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Richard W.M. Jones <rjones> |
| Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
| Status: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | dyasny, mbooth |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-12-16 20:58:35 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: | |||
|
Description
Richard W.M. Jones
2012-12-13 15:15:34 UTC
I fixed libguestfs so it now parses the capabilities XML returned by libvirt and finds the valid domain types. If none of the domain types are "qemu" or "kvm" then it fails early with a useful error message: $ export LIBGUESTFS_ATTACH_METHOD=libvirt:test:///default $ libguestfs-test-tool libguestfs: error: libvirt hypervisor doesn't support qemu or KVM, so we cannot create the libguestfs appliance. The current attach-method is: libvirt:test:///default Try setting: export LIBGUESTFS_ATTACH_METHOD=libvirt:qemu:///session or if you want to have libguestfs run qemu directly, try: export LIBGUESTFS_ATTACH_METHOD=appliance or read the guestfs(3) man page Fixed in https://github.com/libguestfs/libguestfs/commit/11b6293d1bf7a6c0133c609e0e8067b4422dc794 |