-
Notifications
You must be signed in to change notification settings - Fork 173
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
Update the hv_kvm_unit_test to suitable Win10-32 #4134
Conversation
(1/1) Host_RHEL.m10.u0.qcow2.virtio_scsi.up.virtio_net.Guest.Win10.i386.io-github-autotest-qemu.hv_info_check.q35: STARTED (1/1) Host_RHEL.m10.u0.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win10.x86_64.io-github-autotest-qemu.hv_tlbflush.q35: STARTED @YongxueHong Could you help to review this patch? thanks! |
9da5ad5
to
8228e0c
Compare
Hi @YongxueHong Add some explanation here, after the patch https://github.com/avocado-framework/avocado-vt/pull/3828/files merged , 32 bits guest will add lm=off, pae=on flags. It doesn't suitable this case, with them, the case will fail, and actually, this case is not related to the windows vm version. So I set a workaround in this case. Thanks! |
Hi, Peixiu
I'd love to hear your thoughts on this. |
Hi @leidwang Please correct me if I am misunderstanding and I would like to hear your thoughts. |
Hi @YongxueHong Yes, I just want add these 2 cpu flags instead of rewrite it. I got your point, but it also works without |
Hi @leidwang
Obviously, the flag |
Okay, got it, thanks for the detailed explanation. I'll send a PR to avocado-vt to fix it. |
avocado-vt PR: avocado-framework/avocado-vt#3988 |
8228e0c
to
0627ca1
Compare
Based on the patch avocado-framework/avocado-vt#3988. python3 ConfigTest.py --testcase=hv_kvm_unit_test --guestname=Win10 --platform=i386 --clone=no --machines=q35 --firmware=default_bios --debug (1/1) Host_RHEL.m10.u0.qcow2.virtio_scsi.up.virtio_net.Guest.Win10.i386.io-github-autotest-qemu.hv_kvm_unit_test.q35: STARTED @YongxueHong Please help to review it again, thanks! |
Hi @peixiu Maybe we can modify other non-standard cpu_model_flags value(hv related test cases) by adding "," at the beginning of it.To avoid similar error.What do you think? cc @YongxueHong |
Yeah, that's it, thank @leidwang for reminding. Hi, @peixiu |
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.
Thank You @YongxueHong , I prefer to open a new PR instead. Thanks! |
Hi @peixiu |
0627ca1
to
d30d4a8
Compare
@YongxueHong Updated, thank you! |
969e38d
to
89d67b6
Compare
Remove the lm=off flag form hv_kvm_unit_test test Signed-off-by: Peixiu Hou <[email protected]>
89d67b6
to
512eed8
Compare
Set the workaround of hv_kvm_unit_test about lm=off
Remove the lm=off flag form hv_kvm_unit_test test
ID: 1897
Signed-off-by: Peixiu Hou [email protected]