Re: [PATCH] Add support for disabling S3 and S4 states

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

 



On Mon, Jul 30, 2012 at 02:25:04PM +0200, Martin Kletzander wrote:
> There a two new elements in <features> implemented, which control what
> ACPI sleeping states will be advertised. The default is to have both
> states enabled, so this means no change for current machines.

> diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
> index b7562ad..859cb26 100644
> --- a/docs/schemas/domaincommon.rng
> +++ b/docs/schemas/domaincommon.rng
> @@ -2788,6 +2788,16 @@
>                <empty/>
>              </element>
>            </optional>
> +          <optional>
> +            <element name="disable_s3">
> +              <empty/>
> +            </element>
> +          </optional>
> +          <optional>
> +            <element name="disable_s4">
> +              <empty/>
> +            </element>
> +          </optional>
>          </interleave>
>        </element>
>      </optional>

This is not very nice design.  With this if an app wants to request
S3, and have an error if it is not supported, they can't do that.

I think we need a tri-state for S3/S4

 - Default (hypervisor-specific)
 - On
 - Off

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]