Radostin Stoyanov
b93cc3bbc9
pycodestyle: Do not use bare 'except:'
...
A bare 'except:' catches all exceptions [1], including SystemExit,
KeyboardInterrupt, and GeneratorExit (which is not an error and should
not normally be caught by user code). In situations where you need to
catch all “normal” errors, you can catch the base class for all normal
exceptions, Exception [2].
[1] https://docs.python.org/2/howto/doanddont.html#except
[2] https://docs.python.org/2/library/exceptions.html#Exception
2017-08-02 13:57:43 -04:00
Pavel Hrdina
0dbfb399cd
virtinst: prepare XML parsers to handle GIC for ARM
...
GIC is used instead of APIC on ARM and libvirt allows configure specific
version of GIC for guests.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2016-06-11 18:41:24 +02:00
Cole Robinson
e796efeaf9
domcaps: Add pep8 fix
2016-06-07 11:03:32 -04:00
Cole Robinson
9afdceef4e
domcaps: Add some generic uefi<->arch catchall regexs
...
Not strictly required, but may help new distros make packaging
decisions that will 'just work'
2016-06-07 10:22:58 -04:00
Cole Robinson
7f3ddf3818
Fix some pep8 warnings
2016-02-15 12:55:45 -05:00
Jim Fehlig
1c221fd034
virtinst: Support paths to SUSE OVMF firmwares
...
Extend the domcapabilities regex to include SUSE's OVMF
file naming convention.
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
2016-01-28 11:26:58 -05:00
Cole Robinson
070664b9e7
tests: Enable property checking for all objects
...
And loosen restrictions a bit so any read/write will trigger the
tracking.
2015-04-22 16:26:03 -04:00
Cole Robinson
6634053533
domcapabilities: Can and log error fetching XML (bz #1209723 )
2015-04-08 09:53:30 -04:00
Cole Robinson
0befc54abe
details: Handle libvirt reporting multiple firmware paths
2015-02-22 11:19:50 -05:00
Cole Robinson
4ee9fdf944
domcapabilities: Get arch from caps XML
2015-02-22 11:13:59 -05:00
Cole Robinson
a5b3e2adab
create: Try to default to UEFI for aarch64
...
If we detect AAVMF, set it up, and allow all install options.
If we don't find AAVMF, disable all options except import install (the
current behavior) and show a warning.
2015-02-22 10:25:51 -05:00
Cole Robinson
a04307cd70
virt-install: Add --boot uefi
...
Will enable UEFI if we know libvirt + hypervisor support it, and libvirt
is advertising a suitable UEFI binary.
2015-02-22 10:25:47 -05:00
Cole Robinson
052220cfc8
virtinst: Add DomainCapabilities parser
2014-09-17 18:29:24 -04:00