Revision cd3b4ff4 lib/hypervisor/hv_xen.py
b/lib/hypervisor/hv_xen.py | ||
---|---|---|
295 | 295 |
else: |
296 | 296 |
mode = "r" |
297 | 297 |
|
298 |
if cfdev.dev_type == constants.LD_FILE:
|
|
298 |
if cfdev.dev_type in [constants.DT_FILE, constants.DT_SHARED_FILE]:
|
|
299 | 299 |
driver = _FILE_DRIVER_MAP[cfdev.physical_id[0]] |
300 | 300 |
else: |
301 | 301 |
driver = "phy" |
Also available in: Unified diff