virt-manager/tests
Pavel Hrdina 36230c9a18 devicepanic: use model instead of address.type
There are multiple models of the panic device, the address type is only
one and is valid only for "isa" model.

To not break the virt-install/virt-xml the command line parser needs to
be updated.  Before this patch there was only one parameter that
configured the "iobase".  Now the first parameter configures a model
but to keep it backward compatible it follows these rules:

1. there is only one parameter and it matches known model:

  --panic isa

  <panic model='isa'>
    <address iobase='0x505' type='isa'/>
  </panic>

2. there is only one parameter and it doesn't match any model:

  --panic 0x505

  <panic model='isa'>
    <address iobase='0x505' type='isa'/>
  </panic>

3. there are two parameters:

  --panic isa,iobase=0x505

  <panic model='isa'>
    <address iobase='0x505' type='isa'/>
  </panic>

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2017-09-09 10:09:46 +02:00
..
capabilities-xml capabilities: Drop cpu_map.xml handling 2017-07-17 11:47:01 -04:00
cli-test-xml devicepanic: use model instead of address.type 2017-09-09 10:09:46 +02:00
clone-xml tests: Add a clone test for importing nvram directory 2017-07-20 17:51:06 -04:00
inject-data tests: Add test_initrd_inject command 2013-09-28 16:50:08 -04:00
interface-xml Use XMLBuilder for Interface XML 2013-09-19 16:56:38 -04:00
nodedev-xml/devxml hostdev: add an address element for USB host devs if necessary 2015-08-05 13:32:04 +02:00
storage-xml storage: More support for network pools 2014-12-09 16:12:47 -05:00
uitests uitests: newvm: Fix after CPU UI tweaks 2017-07-20 17:54:11 -04:00
virtconv-files guest: Don't add default ps2 or xen mouse 2017-06-28 16:17:50 -04:00
xmlconfig-xml tests: Fix after vmvga change 2017-04-19 14:08:04 -04:00
xmlparse-xml Keep the value of filesystem/source when attribute is changed 2017-06-20 16:14:17 -04:00
__init__.py tests: Move __init__ logic into functions, for clarity 2017-02-23 18:47:57 -05:00
capabilities.py capabilities: Fix model list caching for different archs (bz 1451113) 2017-07-17 11:47:01 -04:00
checkprops.py tests: Stop using deprecated assertEquals 2017-05-05 12:40:52 -04:00
clitest.py devicepanic: use model instead of address.type 2017-09-09 10:09:46 +02:00
clonetest.py pycodestyle: fix all E203 warnings 2017-08-11 00:01:38 +08:00
interface.py pycodestyle: Do not use bare 'except:' 2017-08-02 13:57:43 -04:00
misc.py tests: Add msgfmt validation for pofiles 2017-03-21 19:23:29 -04:00
nodedev.py pycodestyle: fix all E203 warnings 2017-08-11 00:01:38 +08:00
osdict.py tests: Split out osdict and uriparse from misc.py 2015-04-04 14:43:12 -04:00
pycodestyle.cfg pycodestyle: fix all E131 warnings 2017-08-26 20:03:21 +08:00
pylint.cfg tests: pylint: Silence/fix a bunch of new warnings 2017-06-16 12:54:56 -04:00
storage.py storage: Check for pool name collisions against the pool cache 2017-07-20 17:28:38 -04:00
test_inject.py pycodestyle: Do not use bare 'except:' 2017-08-02 13:57:43 -04:00
test_urls.py test_urls: Remove dead link 2017-09-08 16:58:45 -04:00
testdriver.xml snapshots: Handle XML chars in snapshot name (bz 1468912) 2017-07-10 17:51:04 -04:00
uriparse.py connect: Handle \ in username 2017-06-01 14:26:46 -04:00
utils.py tests: bypass cache hacking for test:///default 2017-08-30 10:36:37 -04:00
virtconvtest.py tests: Open a new connection for each test 2017-07-20 17:27:22 -04:00
xmlconfig.py guest: Don't add default ps2 or xen mouse 2017-06-28 16:17:50 -04:00
xmlparse.py Keep the value of filesystem/source when attribute is changed 2017-06-20 16:14:17 -04:00