On 15 January 2014 14:36, Paolo Bonzini <pbonz...@redhat.com> wrote: > Il 15/01/2014 15:20, Peter Maydell ha scritto: >>> > >>> > On RHEL6 I tried "qemu-system-x86_64 -cdrom >>> > http://boot.ipxe.org/ipxe.iso" and it worked, but it failed on Fedora. >>> > I don't know if it's a QEMU or curl bug. >> Doesn't work on MacOSX either: it says >> qemu-system-x86_64: -cdrom http://boot.ipxe.org/ipxe.iso: could not >> open disk image http://boot.ipxe.org/ipxe.iso: Unknown protocol > > Had you installed QEMU before starting it? Fam, I think you need a way > to override CONFIG_MODDIR (even an environment variable could do).
No, I pretty much never install QEMU. I always run it out of a build directory. Module loading should IMHO work with similar semantics to the data dir we use for BIOS file loading: one of the places checked is relative to the executable path. Maybe we should also have better error messages for "I tried to load a module and this error is because I couldn't find one", so the user might be prompted to install the modules package his distro provides or investigate config if it's self-built, or whatever... >> (a non module build works, or at least sits there without giving an >> error message; I didn't feel like sitting there without a progress bar >> while it downloaded a whole ISO image, so I ^C'd it...) > > It's really hung. The ISO is just 1M. With RHEL6 it boots fine. Hrrm. I guess I should investigate that... thanks -- PMM