Skip to content

Conversation

heywji
Copy link
Contributor

@heywji heywji commented Aug 2, 2025

Poll mode is a must-have feature for Windows Server 2025 and Windows 11.

ID: 2267

Signed-off-by: Wenkang Ji [email protected]

@heywji
Copy link
Contributor Author

heywji commented Aug 2, 2025

Test result:

 (01/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.unattended_install.cdrom.extra_cdrom_ks.default_install.aio_thr
eads.q35: STARTED                                                                                                                                                       
 (01/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.unattended_install.cdrom.extra_cdrom_ks.default_install.aio_thr
eads.q35: PASS (1863.84 s)                                                                                                                                              
 (02/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2025.x86_64.io-github-autotest-qemu.unattended_install.cdrom.extra_cdrom_ks.default_install.aio_t
hreads.q35: STARTED                                                                                                                                                     
 (02/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2025.x86_64.io-github-autotest-qemu.unattended_install.cdrom.extra_cdrom_ks.default_install.aio_t
hreads.q35: PASS (2419.12 s)                                                                                                                                            
 (03/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.netkvm_poll_mode.queue4_smp4.rss_16.q35: STARTED               
 (03/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.netkvm_poll_mode.queue4_smp4.rss_16.q35: PASS (318.76 s)       
 (04/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.netkvm_poll_mode.queue4_smp4.rss_2.q35: STARTED                
 (04/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.netkvm_poll_mode.queue4_smp4.rss_2.q35: PASS (303.40 s)        
 (05/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.netkvm_poll_mode.queue4_smp2.q35: STARTED                      
 (05/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.netkvm_poll_mode.queue4_smp2.q35: PASS (335.38 s)              
 (06/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.netkvm_poll_mode.queue32_smp20.q35: STARTED                    
 (06/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win11.x86_64.io-github-autotest-qemu.netkvm_poll_mode.queue32_smp20.q35: PASS (306.80 s)            
 (07/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2025.x86_64.io-github-autotest-qemu.netkvm_poll_mode.queue4_smp4.rss_16.q35: STARTED             
 (07/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2025.x86_64.io-github-autotest-qemu.netkvm_poll_mode.queue4_smp4.rss_16.q35: PASS (362.45 s)     
 (08/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2025.x86_64.io-github-autotest-qemu.netkvm_poll_mode.queue4_smp4.rss_2.q35: STARTED              
 (08/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2025.x86_64.io-github-autotest-qemu.netkvm_poll_mode.queue4_smp4.rss_2.q35: PASS (308.13 s)      
 (09/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2025.x86_64.io-github-autotest-qemu.netkvm_poll_mode.queue4_smp2.q35: STARTED                    
 (09/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2025.x86_64.io-github-autotest-qemu.netkvm_poll_mode.queue4_smp2.q35: PASS (324.31 s)
 (10/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2025.x86_64.io-github-autotest-qemu.netkvm_poll_mode.queue32_smp20.q35: STARTED                  
 (10/10) Host_RHEL.m9.u7.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2025.x86_64.io-github-autotest-qemu.netkvm_poll_mode.queue32_smp20.q35: PASS (297.05 s)
RESULTS    : PASS 10 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0        

@heywji heywji force-pushed the add_pollmode_case2 branch from 3a430f1 to 653d703 Compare August 2, 2025 02:09
Poll mode is a must-have feature for Windows Server 2025 and Windows 11.

Signed-off-by: Wenkang Ji <[email protected]>
@heywji heywji force-pushed the add_pollmode_case2 branch from 653d703 to 9b32bdb Compare August 2, 2025 04:02
@heywji
Copy link
Contributor Author

heywji commented Aug 4, 2025

@leidwang Hi Leidong, please help review this poll mode patch. I have completed it now.


:param test: QEMU test object
:param params: Dictionary with the test parameters
:param env: Dictionary with test environmen.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
:param env: Dictionary with test environmen.
:param env: Dictionary with test environment.

mapping_output = re.findall(keyword, result)
if not mapping_output:
test.error("Can't get %s from traceview", keyword)
return mapping_output
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to return any value for run()

Comment on lines +14 to +15
setup_rss_queues = '"*NumRssQueues" %s'
check_rss_queues = "*NumRssQueues"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rss_queue_name = "*NumRssQueues"

Please update these lines as we discussed.

queues = ${smp}
variants:
- rss_16:
rss_queues = 16
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rss_queue_value = 1

restore_image_after_testing = yes
# this case only tested on prewhql255 or higher version
cdroms += " virtio"
required_virtio_win_prewhql = [0.1.255, )
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we also need add virtio-win version here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants