<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Dec 10, 2015 at 10:41 AM, Michal Skrivanek <span dir="ltr">&lt;<a href="mailto:mskrivan@redhat.com" target="_blank">mskrivan@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div><div class="h5"><blockquote type="cite"><div>On 10 Dec 2015, at 00:11, Gianluca Cecchi &lt;<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Dec 9, 2015 at 10:21 PM, Sandro Bonazzola <span dir="ltr"></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><span><div><br></div></span><div>No idea. If it&#39;s libvirt issue, can you test <a href="http://cbs.centos.org/koji/buildinfo?buildID=4726" target="_blank">http://cbs.centos.org/koji/buildinfo?buildID=4726</a> ? it&#39;s from centos virt sig, introduced for Xen but should work on kvm as well. or the 7.2 libvirt from <a href="http://mirror.centos.org/centos/7/cr/x86_64/Packages/" target="_blank">http://mirror.centos.org/centos/7/cr/x86_64/Packages/</a>.</div><div><div><div><br></div><div><br></div></div></div></div></div></div></blockquote></div><br><br>Then I reboot my HV, exit from maintenance, connect to engine and start VM.<br>VM situation<br>$ free<br>              total        used        free      shared  buff/cache   available<br>Mem:        8172900      147356     7875692        8480      149852     7847248<br>Swap:        839676           0      839676<br><br></div><div class="gmail_extra">I set memory from 8192Mb to 10240Mb<br></div><div class="gmail_extra">I get the same window I got with previous libvirt version.<br></div><div class="gmail_extra">I select OK (I don&#39;t select &quot;Apply later&quot; checkbox)<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Inside guest there is no changed memory, but I can see this in /var/log/messages:<br></div></div></div></blockquote><div><br></div></div></div>could it be perhaps the guest has troubles recognizing hotplug? Is it also a CentOS 7.1 guest?</div></div></blockquote><div><br></div><div>Yes, CentOS 7.1 updated up to a couple of days ago.</div><div><br></div><div>  </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div><span class=""><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><br>Dec  9 23:56:18 racclient1 kernel: init_memory_mapping: [mem 0x240000000-0x2bfffffff]<br><br></div><div class="gmail_extra">ANd output of dmesg contains:<br></div><div class="gmail_extra"><br>[  219.363640] ACPI: \_SB_.MP00: ACPI_NOTIFY_DEVICE_CHECK event<br>[  219.364248] init_memory_mapping: [mem 0x240000000-0x2bfffffff]<br>[  219.364253]  [mem 0x240000000-0x2bfffffff] page 2M<br>[  219.366773]  [ffffea0009000000-ffffea00091fffff] PMD -&gt; [ffff8800b7e00000-ffff8800b7ffffff] on node 0<br>[  219.368433]  [ffffea0009200000-ffffea00093fffff] PMD -&gt; [ffff880231400000-ffff8802315fffff] on node 0<br>[  219.369838]  [ffffea0009400000-ffffea00095fffff] PMD -&gt; [ffff880233600000-ffff8802337fffff] on node 0<br>[  219.371226]  [ffffea0009600000-ffffea00097fffff] PMD -&gt; [ffff880233000000-ffff8802331fffff] on node 0<br>[  219.372790]  [ffffea0009800000-ffffea00099fffff] PMD -&gt; [ffff880232c00000-ffff880232dfffff] on node 0<br>[  219.374185]  [ffffea0009a00000-ffffea0009bfffff] PMD -&gt; [ffff880232200000-ffff8802323fffff] on node 0<br>[  219.377349]  [ffffea0009c00000-ffffea0009ffffff] PMD -&gt; [ffff8800b7400000-ffff8800b77fffff] on node 0<br>[  219.378716]  [ffffea000a000000-ffffea000a1fffff] PMD -&gt; [ffff8800b7000000-ffff8800b71fffff] on node 0<br>[  219.380115]  [ffffea000a200000-ffffea000a3fffff] PMD -&gt; [ffff880230c00000-ffff880230dfffff] on node 0<br>[  219.388147]  [ffffea000a400000-ffffea000abfffff] PMD -&gt; [ffff880227c00000-ffff8802283fffff] on node 0<br>[  219.389687]  [ffffea000ac00000-ffffea000adfffff] PMD -&gt; [ffff8800b7200000-ffff8800b73fffff] on node 0<br></div></div></div></blockquote><div><br></div></span>but “free” sstill shows the same value as before hotplug?</div></div></blockquote><div><br></div><div><br></div><div>Yes, output of &quot;free&quot; command show the same amount of memory</div><div><br></div><div>  </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div><span class=""><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><br>I then shutdown the VM and power on it again and I get the changed memory:<br></div></div></div></blockquote><div><br></div></span>well, yeah, but that doesn’t count since you’ve shut it down, so the next run is initialized with 10GB</div><div><span class=""><br></span></div></div></blockquote><div><br></div><div>It was only to verify that after shutdown/power on the changed setting would have been applied to the VM</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div><span class=""><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra">$ free<br>              total        used        free      shared  buff/cache   available<br>Mem:       10237276      167872     9919656        8480      149748     9891280<br>Swap:        839676           0      839676<br><br></div><div class="gmail_extra">BTW: When I press ok in the gui for memory increase I get these events in webadmin:<br>Dec 9, 2015 11:56:22 PM<br>VM racclient1 c71_Disk1_newtemplate disk was updated by admin@internal.<br></div></div></div></blockquote><div><br></div></span>hm..doesn’t sound right. Did the confirmation window show any more fields as changed other than memory?</div></div></blockquote><div><br></div><div>The window I got when I increased the amount of memory was the same as in a previous test where I selected &quot;Cancel&quot;, before libvirt update; see</div><div><a href="https://drive.google.com/file/d/0BwoPbcrMv8mvbUw2VnpCMTNNQlU/view?usp=sharing" target="_blank" style="font-size:12.8px">https://drive.google.com/file/d/0BwoPbcrMv8mvbUw2VnpCMTNNQlU/view?usp=sharing</a><br></div><div><br></div><div>And I also commented about misleading information inside it: I didn&#39;t clearly understand what would have been changed and what not, because I see memory information in both parts.....</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div><span class=""><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><br></div><div class="gmail_extra">It doesn&#39;t seem as expected, does it?<br></div></div></div></blockquote><div><br></div></span>I think we’re almost there. Just need to figure out what happened in the guest. I would suspect a problem there</div><div><br></div><div>Thanks,</div><div>michal</div><div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra">Gianluca<br></div><div class="gmail_extra"><br></div></div>
</div></blockquote></div><br></div></blockquote><div><br></div><div><br></div><div>The gui events have the same timestamp of the moment when I pressed ok. After 2-3 minutes I did shutdown and power on of the VM and I only got the down/up events...</div><div>I&#39;m available to make further test you need.</div><div><br></div><div>GIanluca </div></div><br></div></div>