-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
case update: add new disk to check domblkthreshold #5938
base: master
Are you sure you want to change the base?
case update: add new disk to check domblkthreshold #5938
Conversation
xxxx-294599: Do domblkthreshold for device with backing chain element Signed-off-by: nanli <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
test_obj.backingchain_common_setup(create_snap=True, | ||
snap_num=4) | ||
snap_num=4, extra=snap_extra) | ||
test.log.debug(vm_xml.VMXML.new_from_dumpxml(vm.name)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest to add stdout_text to make the output more clear to debug.
domblk_threshold = '1' | ||
actual_domblk = "1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From our discussion, I think actual_threshold is more better to describe the expected bytes.
actual_domblk = "1" | ||
disk_type = "file" | ||
disk_image_format = "raw" | ||
disk_dict = {"type_name":"${disk_type}", "target":{"dev": "${target_disk}", "bus": "virtio"}, "driver": {"name": "qemu", "type":"raw"}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The variant disk_image_format is not used here. I think maybe you want to use it to instead type:
disk_dict = {......"driver": {"name": "qemu", "type": "${disk_image_format}"}}
A space also should be added after "type":.
xxxx-294599: Do domblkthreshold for device with backing chain element
Signed-off-by: nanli [email protected]