Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 846636 Details for
Bug 858674
virtio_serialport corrupts the data guest->host using 32bit Windows XP guest
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
guest sender script
guest.py (text/x-python), 764 bytes, created by
Lukáš Doktor
on 2014-01-07 12:34:11 UTC
(
hide
)
Description:
guest sender script
Filename:
MIME Type:
Creator:
Lukáš Doktor
Created:
2014-01-07 12:34:11 UTC
Size:
764 bytes
patch
obsolete
>""" >Sends random data generated by given random seed to defined port. Reports >write failures. >""" >from ctypes import * >from win32file import * >import time >import random > ># TODO: Change the port name here >port = CreateFile("\\\\.\\vc1", GENERIC_WRITE | GENERIC_READ, 0, None, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, None) > >random.seed(5) >show_time = time.time() + 10 >count = 0 > >while True: > # TODO: CHange the port send buffer here > buf = [chr(random.randrange(65, 90)) for _ in xrange(250)] > ret = WriteFile(port, "".join(buf)) > count += ret[1] > if ret[1] != len(buf): > print "sent only %s" % ret[1] > ret = ret[0] > if ret != 0: > print "ERR" > if time.time() > show_time: > print count > show_time = time.time() + 10 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 858674
:
846628
|
846631
| 846636 |
846638