[PATCH v2 0/3] add cpu mode 'host-model' support

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

 



v1 to v2:
  removed UPDATE_CPU flag checking
  renamed helper function name from reset() to clear_attrs()
  change the check box to be labeled 'Use host CPU model'
  remove the lightbulb icon, use tooltip instead
  reword the tooltip from Cole's
  remove the WARN image icon from UI

Add a checkbox for 'host-model' mode and removed 'Copy host CPU configuration'
button.

If the host-model is selected, disable the cpu model drop down and features list.
But they still show what exact configuration the host-model is using after the
vm is defined.

For the old libvirt which doesn't support <cpu mode='host-model'/> virt-manager
still copy cpu configs from caps XML to domain XML.

Guannan Ren(3)
 [PATCH v2 1/3] check cpu host-model mode support
 [PATCH v2 2/3] cpu: add helper function to reset cpu related variables
 [PATCH v2 3/3] add a checkbox for cpu host-model mode, remove 'copy'

 ui/vmm-details.ui         | 121 +++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------
 virtManager/connection.py |   7 +++++++
 virtManager/details.py    |  37 ++++++++++++++++++++-----------------
 virtManager/domain.py     |  17 ++++++++++-------
 virtinst/CPU.py           |   9 +++++++++
 virtinst/support.py       |   5 +++++
 6 files changed, 84 insertions(+), 112 deletions(-)

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux