-
Notifications
You must be signed in to change notification settings - Fork 168
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
add case for virtio-mem access and discard setting #5290
add case for virtio-mem access and discard setting #5290
Conversation
00e4357
to
53a734f
Compare
@dzhengfy Could you please help add request arm label on this pr , and I have tested and updated it on rhel9 & aarch 64 ,PASSED |
53a734f
to
79acd2f
Compare
2276248
to
dd0547e
Compare
xxxx-299163: Virtio-mem memory device with access and discard settings Signed-off-by: nanli <[email protected]>
dd0547e
to
123b5ee
Compare
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
return mem_list | ||
|
||
|
||
def check_access_and_discard(test, params, vm, |
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.
vm , expected_share, expected_discard ,those values can be extracted from params, so they are not necessary to be pass in as independent parameters
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.
Thanks you advice chunfu. There maybe sometimes that the def check_access_and_discard
is not always checking the same expected result in one case. So I splitted the expected result out of the function.
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
Signed-off-by: nanli [email protected]
rhel9 & x86
rhel9 & aarch64