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

Re: [virt-tools-list] [PATCH 2/2] To add huge page configuration in virt-manager



On 11/29/2011 06:59 PM, yes zhlbj-host POK IBM COM wrote:
From: Li Zhang<zhlcindy linux vnet ibm com>

This patch is to add the huge page configuration
in GUI. A GTK check button is added in memory
customization page.

Signed-off-by: Li Zhang<zhlcindy linux vnet ibm com>
---
  src/vmm-details.glade |   35 ++++++++++++++++++++++++++++++++++-
  1 files changed, 34 insertions(+), 1 deletions(-)

diff --git a/src/vmm-details.glade b/src/vmm-details.glade
index 852db1f..9f2cfc3 100644
--- a/src/vmm-details.glade
+++ b/src/vmm-details.glade
@@ -2661,7 +2661,7 @@ I/O:</property>
                                            <widget class="GtkTable" id="table6">
                                              <property name="visible">True</property>
                                              <property name="border_width">3</property>
-                                             <property name="n_rows">3</property>
+                                             <property name="n_rows">4</property>
                                              <property name="n_columns">2</property>
                                              <property name="column_spacing">6</property>
                                              <property name="row_spacing">6</property>
@@ -2806,6 +2806,39 @@ I/O:</property>
                                                  <property name="y_options"></property>
                                                </packing>
                                              </child>
+                                             <child>
+                                               <widget class="GtkCheckButton" id="config-hugepage">
+                                                 <property name="visible">True</property>
+                                                 <property name="can_focus">True</property>
+                                                 <property name="receives_default">False</property>
+                                                 <property name="use_action_appearance">False</property>
+                                                 <property name="draw_indicator">True</property>
+                                                 <signal name="toggled" handler="on_config_hugepage_changed" swapped="no"/>
+                                               </widget>
+                                               <packing>
+                                                 <property name="left_attach">1</property>
+                                                 <property name="right_attach">2</property>
+                                                 <property name="top_attach">3</property>
+                                                 <property name="bottom_attach">4</property>
+                                                 <property name="x_options">GTK_FILL</property>
+                                                 <property name="y_options"></property>
+                                               </packing>
+                                             </child>
+                                             <child>
+                                               <widget class="GtkLabel" id="label80">
+                                                 <property name="visible">True</property>
+                                                 <property name="can_focus">False</property>
+                                                 <property name="label" translatable="yes">Enable _Hugepage</property>
+                                                 <property name="use_underline">True</property>
+                                                 <property name="mnemonic_widget">config-hugepage</property>
+                                               </widget>
+                                               <packing>
+                                                 <property name="top_attach">3</property>
+                                                 <property name="bottom_attach">4</property>
+                                                 <property name="x_options">GTK_FILL</property>
+                                                 <property name="y_options"></property>
+                                               </packing>
+                                             </child>
                                            </widget>
                                          </child>
                                        </widget>

Correct "from" mail address display. Sorry for that.


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