<html>
    <head>
      <base href="https://bugzilla.rosalinux.ru/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:victorr2007&#64;yandex.ru" title="VictorR2007 &lt;victorr2007&#64;yandex.ru&gt;"> <span class="fn">VictorR2007</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_CONFIRMED "
   title="CONFIRMED - [Fix 21] plasma5-powerdevil - test build for virtual machines"
   href="https://bugzilla.rosalinux.ru/show_bug.cgi?id=13608">bug 13608</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
               &nbsp;
           </td>
           <td>victorr2007&#64;yandex.ru
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_CONFIRMED "
   title="CONFIRMED - [Fix 21] plasma5-powerdevil - test build for virtual machines"
   href="https://bugzilla.rosalinux.ru/show_bug.cgi?id=13608#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_CONFIRMED "
   title="CONFIRMED - [Fix 21] plasma5-powerdevil - test build for virtual machines"
   href="https://bugzilla.rosalinux.ru/show_bug.cgi?id=13608">bug 13608</a>
              from <span class="vcard"><a class="email" href="mailto:victorr2007&#64;yandex.ru" title="VictorR2007 &lt;victorr2007&#64;yandex.ru&gt;"> <span class="fn">VictorR2007</span></a>
</span></b>
        <pre>Описание к патчу из гит


To avoid hangs in virtual environments which don't support suspension.
This will uncheck the &quot;Suspend session&quot; checkbox and set &quot;When laptop lid
closed:&quot; to &quot;Do nothing&quot; for all modes in the energy saving settings on initial
setup and when restoring defaults, if it is detected that the system runs on a
virtual machine.
It is still possible for the user to change those settings and enable auto
suspend, or manually invoke suspend, even on a VM. Instead of changing default
for auto suspend, would it be more appropriate to always block suspend when
running in a VM? Is it possible to run a Plasma session with the same user
config sometimes in a VM and sometimes on bare metal? Are there use cases for
having Plasma inside a VM handle power management, rather than the host system?
I didn't actually test this with a real VM with source-built Plasma as that
would take a long time to set up; if someone has such a set-up lying around, it
would be great if you could test this. I did confirm that the profiles change
as desired when making the virtual machine check return a dummy. The check
itself is taken over from what Gnome does
(<a href="https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/blob/master/plugins/power/gpm-common.c#L158">https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/blob/master/plugins/power/gpm-common.c#L158</a>).</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>