libvirt/tools
Andrea Bolognani c661b675f1 host-validate: Improve CPU flags processing
Instead of relying on substring search, tokenize the input
and process each CPU flag separately. This ensures CPU flag
detection will continue to work correctly even if we start
looking for CPU flags whose name might appear as part of
other CPU flags' names.

The result of processing is stored in a virBitmap, which
means we don't have to parse /proc/cpuinfo in its entirety
for each single CPU flag we want to check.

Moreover, use of the newly-introduced virHostValidateCPUFlag
enumeration ensures we don't go looking for random CPU flags
which might actually be simple typos.
2016-04-07 17:31:41 +02:00
..
nss nss: FreeBSD support 2016-03-30 10:21:44 +03:00
wireshark build: Kill tools/wireshark Makefiles 2016-01-12 11:30:08 -05:00
libvirt_win_icon_16x16.ico
libvirt_win_icon_32x32.ico
libvirt_win_icon_48x48.ico
libvirt_win_icon_64x64.ico
libvirt-guests.init.in Fix LSB requirements in service script and sync them 2016-01-11 15:49:13 +01:00
libvirt-guests.service.in
libvirt-guests.sh.in
libvirt-guests.sysconf
Makefile.am nss: FreeBSD support 2016-03-30 10:21:44 +03:00
virsh_win_icon.rc
virsh-console.c
virsh-console.h
virsh-domain-monitor.c virsh: extend domstats command 2016-03-29 13:13:05 +01:00
virsh-domain-monitor.h
virsh-domain.c Pass the correct cpu count when calling virDomainGetCPUStats. 2016-04-01 11:36:04 +02:00
virsh-domain.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-edit.c virsh-edit: Make force editing usable 2015-02-20 07:46:54 +01:00
virsh-host.c
virsh-host.h
virsh-interface.c virsh: Create macro for common "interface" option 2016-01-11 18:14:01 -05:00
virsh-interface.h
virsh-network.c cmdNetworkUpdate: Prefer VSH_EXCLUSIVE_OPTIONS over if-else tree 2016-02-22 16:55:33 +01:00
virsh-network.h
virsh-nodedev.c virsh: Create macro for common "file" option 2016-01-11 18:14:00 -05:00
virsh-nodedev.h
virsh-nwfilter.c virsh: Create macro for common "file" option 2016-01-11 18:14:00 -05:00
virsh-nwfilter.h
virsh-pool.c virsh: Create macro for common "file" option 2016-01-11 18:14:00 -05:00
virsh-pool.h
virsh-secret.c virsh: Create macro for common "file" option 2016-01-11 18:14:00 -05:00
virsh-secret.h
virsh-snapshot.c virsh: Create macro for common "current" option 2016-01-11 18:14:00 -05:00
virsh-snapshot.h
virsh-volume.c virsh: Teach vol-create-as to --print-xml 2016-02-12 16:16:09 +01:00
virsh-volume.h
virsh.c tools: remove unnecessary defaultConn variable 2016-04-06 14:47:41 +02:00
virsh.h virsh: Add support for text based polkit authentication 2016-03-01 06:50:16 -05:00
virsh.pod virDomain{Get,Set}PerfEvents: support --config --live --current 2016-03-31 10:42:46 +02:00
virt-admin.c virt-admin: get rid of LIBVIRT_DEFAULT_ADMIN_URI env var 2016-04-06 14:57:21 +02:00
virt-admin.h Revert "admin: Rename virAdmConnect to virAdmDaemon" 2015-12-21 10:07:59 +01:00
virt-admin.pod
virt-host-validate-common.c host-validate: Improve CPU flags processing 2016-04-07 17:31:41 +02:00
virt-host-validate-common.h host-validate: Improve CPU flags processing 2016-04-07 17:31:41 +02:00
virt-host-validate-lxc.c host-validate: Fix suggestion for missing cpu cgroup 2016-03-30 09:41:54 +02:00
virt-host-validate-lxc.h
virt-host-validate-qemu.c host-validate: Improve CPU flags processing 2016-04-07 17:31:41 +02:00
virt-host-validate-qemu.h
virt-host-validate.c
virt-login-shell.c sysconf: Include unistd.h 2015-12-24 18:03:50 +01:00
virt-login-shell.conf
virt-login-shell.pod
virt-pki-validate.in
virt-sanlock-cleanup.in
virt-xml-validate.in
vsh.c vsh: Introduce helper to parse --bandwidth 2016-03-29 15:47:40 +02:00
vsh.h vsh: Introduce helper to parse --bandwidth 2016-03-29 15:47:40 +02:00