ui: add a warning message for hyper-threading support

Not all CPUs support Hyper-Threading. This patch adds a warning
message next to the threads selection field of processor topology
box. It warns that "Selected CPU model does not support
Hyper-Threading" when # of Threads > 1 and the selected CPU model
does not support Hyper-Threading.

This UI modification was added using glade 3.18.3.

Signed-off-by: Wei Huang <wei@redhat.com>
virt-manager/details: add checking code for CPU threads

This patches adds the support to check the thread # against the
selected CPU model. If the selected # of CPU threads > 1 and CPU
model does not support hyper-threading, a warning message will be shown.

Signed-off-by: Wei Huang <wei@redhat.com>
pylint: Ignore new warnings
util: Simplify default_bridge to not confuse pylint
virt-manager: close the SPICE main channel on an AUTH error

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1152981

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
virtinst: fix some comment typos

s/occurence/occurrence

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
diskbackend: Fix typo
spec: move dependency to libosinfo from virt-manager to common

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1159370
tests: fix failure on 32-bit machines

clitest.py used the value 100000000000 (100 PB) for memory size, which
was parsed as 0 by older libvirt.  Latest release (1.2.10) has the
parsing fixed and properly reports an error on overflow.  Changing the
memory size to 4000000 (4 TB) is still an overcommit, at least most
development machines and it works properly.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
watchdog: add missing mnemonics in details UI

add missing mnemonics and fix an duplicated shortkey

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
details: add shortkey for controller model

shortkey 'o' for 'Model'.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
video: add missing mnemonics in details UI

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
boot options: add  mnemonics in details UI

Add mnemonics for 'Direct kernel' page
and sub-pages.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
cpu: add  mnemonics in details UI

Add mnemonics for 'Configuration' page,
'Topology' page, 'Pinning' page
and their sub-pages.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
sound: add missing mnemonics in details UI

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
Smartcard device: add missing mnemonics in details UI

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
Redirect device: remove underline property of 'Type' in details UI

redir-type is a label.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
import network uri parsing
Merge branch 'master' of https://git.fedorahosted.org/git/virt-manager
cleanup parsing network protocols