mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-27 03:21:44 +03:00
36230c9a18
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> |
||
---|---|---|
.. | ||
capabilities-xml | ||
cli-test-xml | ||
clone-xml | ||
inject-data | ||
interface-xml | ||
nodedev-xml/devxml | ||
storage-xml | ||
uitests | ||
virtconv-files | ||
xmlconfig-xml | ||
xmlparse-xml | ||
__init__.py | ||
capabilities.py | ||
checkprops.py | ||
clitest.py | ||
clonetest.py | ||
interface.py | ||
misc.py | ||
nodedev.py | ||
osdict.py | ||
pycodestyle.cfg | ||
pylint.cfg | ||
storage.py | ||
test_inject.py | ||
test_urls.py | ||
testdriver.xml | ||
uriparse.py | ||
utils.py | ||
virtconvtest.py | ||
xmlconfig.py | ||
xmlparse.py |