serial/windows_support.py: Fix data type conversion issue
In Python 3, there is a clear distinction between string and bytes objects, so we need to convert the memoryview object to a bytes object. To fix this problem, we need to change the type of whole from a string to a bytes object.
ID: 2227 Signed-off-by: Dehan Meng [email protected]
@leidwang , could you please help to review it? (1/1) Host_RHEL.m9.u5.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.vioser_in_use.with_reboot.guest_to_host.q35: PASS (385.52 s)
Hi @nanliu-r
Would you please help review this patch? I guess you will use this script too,thanks.
Hi @6-dehan
I think we can move this PR to ready status, and re-start/continue the review progress.Thanks!
It's able to fix the issue, so please help to approve it and merge it @leidwang and @vivianQizhu
@leidwang Any other comments?
@leidwang Any other comments?
No more comments for me.Thanks!