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 311382 Details for
Bug 454616
libvirt returns wrong console tty with xenner
[?]
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.
[patch]
Fix parsing of stdout to fetch TTYs
char-device.patch (text/plain), 850 bytes, created by
Daniel Berrangé
on 2008-07-09 15:15:21 UTC
(
hide
)
Description:
Fix parsing of stdout to fetch TTYs
Filename:
MIME Type:
Creator:
Daniel Berrangé
Created:
2008-07-09 15:15:21 UTC
Size:
850 bytes
patch
obsolete
>Index: qemu_driver.c >=================================================================== >RCS file: /data/cvs/libvirt/src/qemu_driver.c,v >retrieving revision 1.88 >diff -u -r1.88 qemu_driver.c >--- qemu_driver.c 26 Jun 2008 09:37:51 -0000 1.88 >+++ qemu_driver.c 9 Jul 2008 15:12:37 -0000 >@@ -528,6 +528,9 @@ > strncpy(path, tmp+sizeof(needle), pathmax-1); > path[pathmax-1] = '\0'; > >+ /* Update offset to point to where we found the needle..*/ >+ *offset = tmp - haystack; >+ > /* > * And look for first whitespace character and nul terminate > * to mark end of the pty path >@@ -536,6 +539,7 @@ > while (*tmp) { > if (c_isspace(*tmp)) { > *tmp = '\0'; >+ /* ... now further update offset till we get EOL */ > *offset += (sizeof(needle)-1) + strlen(path); > 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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 454616
:
311366
| 311382 |
320610