Re: Help ! libvirt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 22, 2023 at 10:48:55AM +0000, Michael Kjörling wrote:
> On 22 Sep 2023 01:34 -0700, from abologna@xxxxxxxxxx (Andrea Bolognani):
> >> If I switch the suspend-to-disk enabled="yes"
> >> I strangely get an error
> >> error: operation failed: Unable to find any firmware to satisfy 'efi'
> >
> > I can explain that one.
> >
> > suspend-to-disk.enabled=yes requires a firmware image that advertises
> > the acpi-s4 feature, and you probably don't have one on your system.
> >
> > For example, on my Fedora 38 machine:
> >
> >   $ grep acpi-s4 /usr/share/qemu/firmware/*.json
> >   $
> >
> > Yeah, the error message is not very helpful. Unfortunately, due to
> > the way firmware autoselection works, emitting a better one would be
> > pretty much impossible :(
>
> Might a simple fix to make the error message at least slightly more
> helpful be to change it to something like: "Unable to find any
> firmware to satisfy '<whatever>' with specified settings"
>
> That would make it clearer that it isn't _necessarily_ the "efi" part
> (or whatever it happens to be in the specific case) which is the
> actual, _specific_ problem.

Good idea. I've thought about doing this several times, but never
actually gotten around to it. Patch on the list :)

https://listman.redhat.com/archives/libvir-list/2023-September/242219.html

-- 
Andrea Bolognani / Red Hat / Virtualization





[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux