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

Guannan Ren gren at redhat.com
Tue Apr 16 11:02:13 UTC 2013


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(-)




More information about the virt-tools-list mailing list