virt-manager/tests
Daniel P. Berrangé 9a578e1ac5 virtinst: prefer cores when exposing topology to the guest
In real world silicon though it is rare to have high socket/die counts,
but common to have huge core counts.

Some OS will even refuse to use sockets over a certain count.

Thus we prefer to expose cores to the guest rather than sockets as the
default for missing fields.

This matches a recent change made in QEMU for new machine types

  commit 4a0af2930a4e4f64ce551152fdb4b9e7be106408
  Author: Yanan Wang <wangyanan55@huawei.com>
  Date:   Wed Sep 29 10:58:09 2021 +0800

    machine: Prefer cores over sockets in smp parsing since 6.2

Closes: https://github.com/virt-manager/virt-manager/issues/155
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-01-20 14:16:38 -05:00
..
data virtinst: validate that the CPU topology is sane 2022-01-20 14:16:38 -05:00
uitests uitests: top off test coverage 2022-01-17 17:11:18 -05:00
__init__.py Replace deprecated `imp` usage with `importlib` 2021-10-04 16:04:44 -04:00
conftest.py tests: Move checkprops.py magic skipping to pytest 2020-07-17 16:47:58 -04:00
magicuri.py virtinst: uri: Rework MagicURI to work with passed in fakeuri 2020-02-03 07:05:11 -05:00
test_capabilities.py domcaps: Fix error if enum not found 2020-09-28 13:44:34 -04:00
test_checkprops.py cli: Fill in all --filesystem suboptions 2020-09-11 09:00:33 -04:00
test_cli.py virtinst: validate that the CPU topology is sane 2022-01-20 14:16:38 -05:00
test_cloner.py tests: data: Move all cli/ bits to their own directories 2020-09-08 17:48:40 -04:00
test_conn.py tests: Drop most unittest usage from virtinst tests 2020-09-19 13:46:46 -04:00
test_disk.py diskbackend: Fix volume lookup for existing rbd disk 2020-11-11 19:06:32 -05:00
test_dist.py tests: test_dist: filter out harmless xgettext warning 2020-09-14 09:57:23 -04:00
test_inject.py tests: Drop most unittest usage from virtinst tests 2020-09-19 13:46:46 -04:00
test_misc.py virtinst: prefer cores when exposing topology to the guest 2022-01-20 14:16:38 -05:00
test_nodedev.py tests: fix pycodestyle violation with missing blank line 2021-11-24 22:42:32 +00:00
test_osdict.py virtinst/osdict: remove osinfo legacy aliases 2022-01-17 14:51:36 -05:00
test_storage.py tests: storage: Fix with latest libvirt XML output 2021-04-06 15:21:00 -04:00
test_uriparse.py tests: Drop most unittest usage from virtinst tests 2020-09-19 13:46:46 -04:00
test_urldetect.py tests: add Mageia 5 detection test 2020-08-31 13:20:41 -04:00
test_urls.py Fix some pylint, exclude some new warnings 2021-10-04 16:04:33 -04:00
test_xmlparse.py cli: add 'ioapic.driver' to --features 2022-01-11 18:26:06 -05:00
testdriver.xml tests: Move all testdriver XML to the same dir 2020-08-26 15:20:05 -04:00
urlfetcher_mock.py tests: data: Move all cli/ bits to their own directories 2020-09-08 17:48:40 -04:00
utils.py tests: verify MDEV support 2021-06-01 17:07:36 -04:00