-
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
Guestvcpus: enable/disable max vcpu by guest agent #5899
Guestvcpus: enable/disable max vcpu by guest agent #5899
Conversation
cc96bdc
to
ac9c73e
Compare
b1d0ee8
to
beb9351
Compare
ba27908
to
b156973
Compare
Can you please help confirm if we can check vcpu count using virsh.guestvcpus instead of virsh.vcpucount in this test? in polarion, it used vcpucount:
|
40fec16
to
a9951d1
Compare
The main checkpoint is to test guestvcpus could enable/disable vcpu normally. How to check the online vcpu number is not a key checkpoint. So it is ok to use virsh.guestvcpus to get the vcpu number. |
As the code structure is changed very much, could you help rerun all test cases in this python file as we usually do? |
@rh-jugraham Please help add the polarion case id info in the PR description, then the reviewer could easily find and understand the case steps. |
Thanks for adding it, and I will keep this in mind for the future |
a65595f
to
fe602f3
Compare
fe602f3
to
5c2c857
Compare
Result:
|
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
Case ID: VIRT-301878
Automates the case that verifies that the maximum vcpu (numbers = #host_online_cpu - 1) in the guest can be disabled and then enabled. This is done by modifying the existing virsh_guestvcpus.py test file.
Evidence of tests passing: