Cole Robinson
e241f4c957
tests: Open a new connection for each test
...
To ensure we are testing each time from a clean state. Isn't causing
obvious issues in practice at the moment but it may with future
changes
2017-07-20 17:27:22 -04:00
Cole Robinson
d3074141c8
cloner: Remove redundant setup() method
...
The functional callers use the individual setup methods, let's drop the
helper function and adjust the test suite
2017-07-20 17:27:22 -04:00
Cole Robinson
1e3e9a9fc4
uitests: Add 'host' window smoke tests
2017-07-20 17:27:22 -04:00
Cole Robinson
ca56f74ed7
capabilities: Fix model list caching for different archs (bz 1451113)
...
We could return cached x86_64 results for aarch64 VMs
https://bugzilla.redhat.com/show_bug.cgi?id=1451113
2017-07-17 11:47:01 -04:00
Cole Robinson
2eaf084b04
capabilities: Drop cpu_map.xml handling
...
We've had getCPUModelNames in libvirt for years now, and this
functionality isn't critical anyways, so drop the fallback
2017-07-17 11:47:01 -04:00
Cole Robinson
c6fdfbf3c3
cli: disk: add driver_detect_zeroes= support
2017-07-15 13:39:04 -04:00
Cole Robinson
f41844f3f2
guest: Use usb3 qemu-xhci for machvirt
...
This is what libvirt will default to nowadays for those configs,
so let's match it.
2017-07-10 19:46:13 -04:00
Cole Robinson
a51929fcd3
snapshots: Handle XML chars in snapshot name (bz 1468912)
...
https://bugzilla.redhat.com/show_bug.cgi?id=1468912
2017-07-10 17:51:04 -04:00
Cole Robinson
0633055fb9
guest: Drop old os type=linux back compat
...
We don't support libvirt versions that require this anymore
2017-07-10 09:34:38 -04:00
Cole Robinson
6d625ae45f
guest: Enable spice sound on more arches
...
If spice is enabled, just assume sound devices will work as well
2017-06-28 16:28:25 -04:00
Cole Robinson
a07a874497
guest: If graphics enabled, add usb tablet/keyboard for machvirt
2017-06-28 16:22:23 -04:00
Cole Robinson
2cabc2e386
guest: Don't add default ps2 or xen mouse
...
libvirt drivers have added these by default for a long time, so
its redudnant here
2017-06-28 16:17:50 -04:00
Cole Robinson
f2de47cee2
guest: Add USB3 controller for machvirt by default
...
...if libvirt is new enough to do machvirt PCI by default. We can
just use usb3 since all guest OS that support aarch64 are new enough
to support it
2017-06-28 15:35:07 -04:00
Cole Robinson
225d53c511
guest: Default to video type=virtio for machvirt
...
That's basically the only working config on KVM
2017-06-28 15:13:44 -04:00
Cole Robinson
0fe76d321b
guest: Enable default virtio-rng for pseries and machvirt
...
arm guys confirmed virtio-rng should be fine. pseries guys didn't
but I think it will be okay
2017-06-28 15:12:00 -04:00
Cole Robinson
47b127b49f
guest: Use virtio more for ppc64 pseries, and s390
...
qemu s390x is virtio only nowadays, and on ppc64 pseries is preferred,
and all relevant OS are going to support it for that case
2017-06-28 15:02:23 -04:00
Cole Robinson
4e7cd661ee
guest: Only add input devices if graphics are specified
2017-06-28 12:05:14 -04:00
Cole Robinson
5a1f2f7b66
tests: add aarch64 graphics test
2017-06-28 11:54:41 -04:00
Cole Robinson
1600ac39f0
fsdetails: Fix displaying filesystem type=ram devices
...
And add a test XML example to demonstrate it
2017-06-27 14:08:44 -04:00
Radostin Stoyanov
795a9d2d44
Set default Filesystem type for LXC to "Mount"
2017-06-20 16:14:17 -04:00
Radostin Stoyanov
0dfc371f18
Keep the value of filesystem/source when attribute is changed
...
When the attribute of filesystem/source is changed the old value was
not assigned to the new attribute.
2017-06-20 16:14:17 -04:00
Yuri Arabadji
4be3d030b5
cli: Add --disk logical/physical_block_size
2017-06-16 13:28:25 -04:00
Cole Robinson
4e7a6ad728
tests: pylint: Silence/fix a bunch of new warnings
2017-06-16 12:54:56 -04:00
Cole Robinson
c75b3a99b1
tests: pylint: Slim down the configuration file
...
Only list things that we change defaults for, or may want to in the future
2017-06-15 08:12:06 -04:00
Pavel Hrdina
b690908aa4
virtinst: enable secure feature together with smm for UEFI
...
The secure feature actually enforce the secure boot if Secure Boot
Mode is configured.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1387479
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2017-06-07 20:49:45 +02:00
Cole Robinson
1c22105a54
tests: inject: Update URL list
2017-06-07 12:40:46 -04:00
Cole Robinson
1d0b4a0a9e
connect: Handle \ in username
...
We need to quote URL values in the username, that's what libvirt expects.
Unquote the values before caching them in the URI object, so console
connections continue to work
https://bugzilla.redhat.com/show_bug.cgi?id=1452389
2017-06-01 14:26:46 -04:00
Pavel Hrdina
4f8e795c6a
virtinst: if required by UEFI enable SMM feature and set q35 machine type
...
If we detect that the UEFI image is build to require SMM feature we
should configure the guest to enable SMM feature and set q35 machine
type. Without this user wouldn't be able to boot the guest.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1387479
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2017-06-01 09:58:46 +02:00
Pavel Hrdina
24f9d05329
virt-install: add support for loader secure attribute
...
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2017-06-01 09:58:46 +02:00
Pavel Hrdina
f38c56c971
virt-install: add support for SMM feature
...
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2017-06-01 09:58:46 +02:00
Cole Robinson
69f19ca614
tests: test_urls: Update
2017-05-16 17:16:59 -04:00
Cole Robinson
f551d7e55d
Replace file() usage with open()
...
Same semantics, but the latter is needed for python3
2017-05-05 14:53:12 -04:00
Cole Robinson
55288c4551
Convert to python3 style print() syntax
...
Use __future__ imports to keep this working for python2
2017-05-05 14:52:37 -04:00
Cole Robinson
62feeb02a8
Switch to python3 style 'except X as Y' notation
...
Which also works with python2.7
2017-05-05 14:52:11 -04:00
Cole Robinson
fcebefd3bb
tests: Stop using deprecated assertEquals
...
The recommended way is assertEqual
2017-05-05 12:40:52 -04:00
Pavel Hrdina
a2985f07e6
virtinst: add support for memory device
...
This is the actual memory device that is used to hot(un)plug memory
to(from) a guest.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2017-05-05 12:20:52 +02:00
Pavel Hrdina
3ebbeef80e
virtinst: introduce support for <maxMemory> element
...
This element controls hot(un)plugable memory for the guest in
addition to the initial memory configured by <memory> element.
One has to configure <maxMemory> and guest numa nodes using <numa>
element to enable hot(un)plug of memory modules.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2017-05-05 11:49:27 +02:00
Lin Ma
ea85a3c680
tests: add test for network forward mode 'open'
...
Signed-off-by: Lin Ma <lma@suse.com>
2017-05-03 14:08:42 -04:00
Lin Ma
be6566a134
testdriver: Add network example of open network forward mode
...
Signed-off-by: Lin Ma <lma@suse.com>
2017-05-03 14:08:38 -04:00
Cole Robinson
7a4acfcd0c
devicedisk: Raise proper error on invalid source_volume (bz 1445198)
...
https://bugzilla.redhat.com/show_bug.cgi?id=1445198
2017-04-27 15:44:46 -04:00
Cole Robinson
8181e86098
guest: Only use define+start logic for vz
...
Handling this for qemu, which may need UNDEFINE_NVRAM flags to do
the cleanup, is a pain, so move this logic to only apply to vz
driver which doesn't support createXML
Mentioned on list: https://www.redhat.com/archives/virt-tools-list/2017-April/msg00037.html
2017-04-27 14:59:41 -04:00
Cole Robinson
4c4d31d67d
tests: Fix after vmvga change
2017-04-19 14:08:04 -04:00
Cole Robinson
ff3b4dc5b0
cli: Don't overwrite install bootorder with manual --boot (bz 1438946)
...
--boot should be for post-install bootorder only
https://bugzilla.redhat.com/show_bug.cgi?id=1438946
2017-04-04 18:22:15 -04:00
Lin Ma
fe9588d438
tests: add test for network of SR-IOV VF pool
...
Signed-off-by: Lin Ma <lma@suse.com>
2017-04-03 19:09:08 -04:00
Lin Ma
17ac04a62b
testdriver: Add missing net dev to match pci dev for SR-IOV network test
...
Add missing net device to match pci device for network ui test of the
SR-IOV VF pool.
Signed-off-by: Lin Ma <lma@suse.com>
2017-04-03 19:09:02 -04:00
Venkat Datta N H
66435cb03d
virt-install:support --features hyperv_synic=(on/off)
2017-03-30 14:19:06 -04:00
venkat
935c93812f
virt-install: support --features hyperv_reset=(on/off)
2017-03-27 17:50:35 -04:00
Lin Ma
7c8005b999
testdriver: Add network example of a pool of SRIOV VFs
...
Signed-off-by: Lin Ma <lma@suse.com>
2017-03-27 17:27:14 -04:00
Lin Ma
262376d16f
nodedev: Parse PCI capability_type for SR-IOV device
...
This will be used in the following patch to recognize SR-IOV capable
device.
Signed-off-by: Lin Ma <lma@suse.com>
2017-03-27 17:15:17 -04:00
Lin Ma
899f53b993
testdriver: Add SR-IOV example
...
Signed-off-by: Lin Ma <lma@suse.com>
2017-03-27 17:15:07 -04:00