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 614397 Details for
Bug 858687
virtio_serialport changes the order of 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.
Reproducer writen in C
test.cpp (text/x-c++src), 1.04 KB, created by
Lukáš Doktor
on 2012-09-19 13:50:20 UTC
(
hide
)
Description:
Reproducer writen in C
Filename:
MIME Type:
Creator:
Lukáš Doktor
Created:
2012-09-19 13:50:20 UTC
Size:
1.04 KB
patch
obsolete
>#include <windows.h> >#include <stdio.h> >#include <conio.h> >#include <stdlib.h> > >#define VIOSERIAL_PORT_PATH L"\\\\.\\Global\\com.redhat.spice.0" > >int main(int argc, char* argv[]) >{ > HANDLE _handle; > _handle = CreateFile(VIOSERIAL_PORT_PATH, GENERIC_READ | GENERIC_WRITE , 0, NULL, > OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); > if (_handle == INVALID_HANDLE_VALUE) { > printf("create %ls failed: %u\n", VIOSERIAL_PORT_PATH, GetLastError()); > } > char buffer_a[1] = {'a'}; > char buffer_b[1] = {'b'}; > ULONG ret = 0; > > for (int i = 0; i < 20480; i ++) > { > if(!WriteFile(_handle, buffer_a, 1, &ret, NULL)) > { > printf("cannot write buffer_a i = %d, last_error = %d", i, GetLastError()); > } > if(!WriteFile(_handle, buffer_b, 1, &ret, NULL)) > { > printf("cannot write buffer_b i = %d, last_error = %d", i, GetLastError()); > } > } > _getch(); > > if (_handle != INVALID_HANDLE_VALUE) { > CloseHandle(_handle); > } > return 0; >}
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 858687
: 614397 |
614398
|
614400