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

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

 



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.
If a certain libvirt version supports host-model, but the UPDATE_CPU
flag doesn't exist, a WARN image will show up on UI to give a WARN tips.

Guannan Ren(3)

 [PATCH 1/3] checking libvirt version and UPDATE_CPU flag
 [PATCH 2/3] cpu: add reset() function to reset cpu related variables
 [PATCH 3/3] add a checkbox for cpu host-model mode, remove 'copy'

 ui/vmm-details.ui         | 246 ++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------
 virtManager/connection.py |   7 +++
 virtManager/details.py    |  44 +++++++++++--------
 virtManager/domain.py     |  17 +++++---
 virtinst/CPU.py           |   9 ++++
 virtinst/support.py       |  12 +++++
 6 files changed, 184 insertions(+), 151 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