mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Fix python pciif script to reference correct 2.0 compatibility variable.
In the Xen 2.0.x compatibility section of xend (where we try to parse the s-expressions if they came from an SXP configuration file for Xen 2.0.x), the wrong variable is referenced. This fix corrects the python script to use the correct variable. Thanks to Mike Wright for reporting this. Signed-off-by: Ryan Wilson <hap9@epoch.ncsc.mil>
This commit is contained in:
1 parent
5451ced6be
commit
be3309cba2
1 file changed
+1
-1
@@ -94,7 +94,7 @@ class PciController(DevController):
|
||||
|
||||
else:
|
||||
# Xen 2.0 configuration compatibility
|
||||
domain = get_param(dev_config, 'domain', 0)
|
||||
domain = get_param(config, 'domain', 0)
|
||||
bus = get_param(config, 'bus')
|
||||
slot = get_param(config, 'dev')
|
||||
func = get_param(config, 'func')
|
||||
|
||||