Bug 785594 - curl backend is broken
Summary: curl backend is broken
Keywords:
Status: CLOSED DUPLICATE of bug 971790
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Virtualization Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-29 20:48 UTC by Fabian Deutsch
Modified: 2013-06-07 18:04 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-07 18:04:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fabian Deutsch 2012-01-29 20:48:25 UTC
Qemu got support for it's curl backend, but sadly it seems to be broken. UPstream can't confirm this, so it might be related to the fedora specific patches.

Can be tested using
$ qemu -cdrom http://mirror.de.leaseweb.net/fedora/linux//releases/16/Fedora/x86_64/os/images/boot.iso

Comment 1 Fedora Admin XMLRPC Client 2012-03-15 17:58:06 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Cole Robinson 2012-07-10 13:25:49 UTC
Rawhide bugs tend to linger, so moving to F17.

Comment 3 Cole Robinson 2013-05-23 20:49:11 UTC
Hmm. Rich, I know you've followed the upstream thread about this, and I saw you mention something about Fedora's curl being 'broken'. Can you elaborate on that? Will the upstream patch series fix things even with Fedora's curl ?

Comment 4 Richard W.M. Jones 2013-05-24 07:50:00 UTC
(In reply to Cole Robinson from comment #3)
> Hmm. Rich, I know you've followed the upstream thread about this, and I saw
> you mention something about Fedora's curl being 'broken'. Can you elaborate
> on that? Will the upstream patch series fix things even with Fedora's curl ?

Fedora's curl simply doesn't work.  Upstream curl from git
works fine.

Try this test on Fedora 19 w/ qemu >= 1.4 and libguestfs 1.22.
You will need a remote disk image of some sort available over HTTP.

With Fedora curl:

$ export LIBGUESTFS_BACKEND=direct
$ guestfish -a http://192.168.0.249/scratch/winxp.img -i -v
[it just hangs when running qemu using 100% CPU]

With upstream curl compiled from git:

$ export LD_LIBRARY_PATH=~/d/curl/lib/.libs
$ export LIBGUESTFS_BACKEND=direct
$ guestfish -a http://192.168.0.249/scratch/winxp.img -i -v
[...]

Welcome to guestfish, the guest filesystem shell for
editing virtual machine filesystems and disk images.

Type: 'help' for help on commands
      'man' to read the manual
      'quit' to quit the shell

Operating system: Microsoft Windows XP
/dev/sda1 mounted on /

><fs> 

I don't know why this is.  We seem to patch curl heavily
in Fedora.

Comment 5 Richard W.M. Jones 2013-05-24 07:55:47 UTC
(In reply to Cole Robinson from comment #3)
> Will the upstream patch series fix things even with Fedora's curl ?

No.

Comment 6 Cole Robinson 2013-06-07 18:04:13 UTC

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


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