Skip to content

Commit

Permalink
Fix crash_regression_mix_boot_order_os_boot failure
Browse files Browse the repository at this point in the history
os_xml.boots support list instead of dictionary

Signed-off-by: chunfuwen <[email protected]>
  • Loading branch information
chunfuwen committed Nov 25, 2024
1 parent 73969d9 commit babc3ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvirt/tests/src/daemon/crash_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def run_mix_boot_order_os_boot(params, libvirtd, vm):
try:
if not vm_xml.os.boots:
os_xml = vm_xml.os
os_xml.boots = {'dev': 'hd'}
os_xml.boots = ['hd']
vm_xml.os = os_xml
else:
logging.debug(vm_xml.os.boots)
Expand Down

0 comments on commit babc3ac

Please sign in to comment.